9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] NAT implementation
@ 2009-04-15 12:03 Patrick Kristiansen
  2009-04-15 12:32 ` Devon H. O'Dell
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Patrick Kristiansen @ 2009-04-15 12:03 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 689 bytes --]

Hello 9fans.
I'm thinking of writing a NAT implementation for plan 9. I have searched the
archives and I'm not quite sure how to get started.

As I see it there could be three ways of approaching this:

1. User space implementation using ipmux
2. User space using pkt interfaces in ipifc.
3. Kernel using something like sources/dho/nfil

Do you have any advices on how to capture packets and how to send them out
again after replacing src/dst addr and port?

Are there any ways of testing NAT in a virtual machine? Right now I'm using
vmware and it would be nice to be able to test it without setting up a real
machine with two Ethernet interfaces.

-Patrick Kristiansen

[-- Attachment #2: Type: text/html, Size: 866 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-04-15 17:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-15 12:03 [9fans] NAT implementation Patrick Kristiansen
2009-04-15 12:32 ` Devon H. O'Dell
2009-04-15 13:44   ` Patrick Kristiansen
2009-04-15 12:46 ` erik quanstrom
2009-04-15 16:06 ` Nathaniel W Filardo
2009-04-15 16:29   ` Anthony Sorace
2009-04-15 16:41     ` Devon H. O'Dell
2009-04-15 16:31   ` Devon H. O'Dell
2009-04-15 16:44     ` Anthony Sorace
2009-04-15 17:32       ` blstuart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).