> It seems that /net/iproute is where I can start. It has a complete > interface for editing routes. What we need is a user space script that > implements routing, like http://www.openbgp.org/ does on OpenBSD. > Except that, it will only have to send add, delete and flush control > messages to the iproute file.
see ipconfig(8). > About Packet Classification. I read that iptables is not needed on > Plan 9 because its "mount /net over the network" concept achieved > anonymity or transparency -- something along those lines. "There are > no logs about who is sending what, and that is a good thing". that's not strictly true. as long as you restrict your network to plan 9 machines, it is possible to import /net from a gateway machine and avoid sticky things like packet filtering. there is also ipmux (discussed in ip(3)). i don't think ipmux has enough rewriting (or state) to implement something like nat. - erik