Re: [9fans] Do we have a catalog of 9P servers?



On Nov 13, 2008, at 8:55 AM, sqweek wrote:
I understand that if you import a gateway's /net on each computer in a
rather large internal network you will be consuming a huge amount of mostly
redundant resources on the gateway. My impression is that each imported
instance of /net requires a persistent session to be established between the
gateway and the host on the internal network. NAT in comparison is naturally
transient.

I'm not sure there's as much difference as you make out to be. On the
one hand, you have a NAT gateway listening for tcp/ip packets, and on
the other hand you have an open tcp/ip connection and a file server
waiting for 9p requests. It's not as though 9p is wasting bandwidth
chatting away while there's no activity, so the only cost is the
tcp/ip connection to each client on the network, which shouldn't
qualify as a huge amount of resources.

Exactly! An idle TCP connection costs you nothing except the state that
is kept by the kernels of the two connected end points. No packets
ever get generated unless there's an application level payload that
needs to be transferred. Not only that, but if you look at the amount
of state something like iptables on Linux needs to keep in order
to provide NAT capabilities it becomes a complete toss. With Plan9
as a gateway you're not paying a visible extra premium.

Thanks,
Roman.

.



Relevant Pages

  • n00b ipf/ipnat questions
    ... i've been trying to set up an ipf/ipnat gateway machine, to protect an internal network of two machines: ... pass out quick on xl0 proto tcp from any to any keep state ...
    (FreeBSD-Security)
  • Re: Still having firewall issues
    ... How many subnets are in your SBS internal network? ... > 4) Click Add Adapter and then select Server Local Area Connection. ... No default gateway difined. ... > to the same internal default gateway address as the ISA Server computer. ...
    (microsoft.public.windows.server.sbs)
  • Re: Exchange 2003 does not receive external mail
    ... was the one specified on the internal network. ... gateway for the external interface. ... I'm on our internal network and I telnet to the external address, ... Transport shows generates nothing in the event logs. ...
    (microsoft.public.exchange.connectivity)
  • Re: Something new?
    ... Would you be looking into something similar to a Checkpoint client auth, ... > some type of gateway or method for setting up an OS to ... > ports on the internal network would be blocked until ... Training features 6 hand-on courses on May 12-13 taught by professionals. ...
    (Security-Basics)
  • Is my routing table right?
    ... links to our internal network, and the external network card links to ... My hunch is that the default gateway could be getting in the way here. ... Persistent Routes: ...
    (microsoft.public.isa)