1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/usr.sbin/natd
Brian Somers 27c20503c6 Reverse my previous change and use htons() on an int
instead of htonl() !

This results in the int a,b,c,d changing to b,a,c,d,
but as it's subsequently coerced to a u_short, the
ultimate answer is correct.

If this isn't fixed properly soon (by the author) I'll
have a look at it again.

Noted by:	eivind & ari@suutari.iki.fi
1997-12-06 12:00:32 +00:00
..
samples Bring natd into main source tree now that the 1997-06-22 04:19:08 +00:00
HISTORY Ingored incoming packets are now dropped when 1997-09-06 11:14:03 +00:00
icmp.c - Buffer space problem found by Sergio Lenzi <lenzi@bsi.com.br> 1997-08-10 21:55:52 +00:00
Makefile Bring natd into main source tree now that the 1997-06-22 04:19:08 +00:00
natd.8 Add -redirect_port and -redirect_address to the 1997-10-18 16:31:28 +00:00
natd.c Reverse my previous change and use htons() on an int 1997-12-06 12:00:32 +00:00
natd.h Bring natd into main source tree now that the 1997-06-22 04:19:08 +00:00
README - Buffer space problem found by Sergio Lenzi <lenzi@bsi.com.br> 1997-08-10 21:55:52 +00:00

	A Network Address Translation Daemon for FreeBSD


1. WHAT IS NATD ?

	This is a simple daemon based on FreeBSD divert sockets
	which performs network address translation (or masquerading)
	for IP packets (see related RFCs 1631 and 1918).
	It is based on packet aliasing package (see README.alias)
	written by Charles Mott (cmott@srv.net).

	This package works with any network interface (doesn't have
	to be ppp). I run it on a computer having two ethernet cards,
	one connected to internet and the other one to local network.

2. GETTING IT RUNNING

	1) Get FreeBSD 2.2 - I think the divert sockets are
	   not available on earlier versions,

	2) Compile this software by executing "make".

	3) Install the software by executing "make install".

	4) See man natd for further instructions.

3. FTP SITES FOR NATD

	This package is available at ftp://ftp.suutari.iki.fi/pub/natd.

4. AUTHORS

	This program is the result of the efforts of many people
	at different times:

	Archie Cobbs <archie@whistle.com>	Divert sockets
	Charles Mott <cmott@srv.net>		Packet aliasing engine
	Eivind Eklund <eivind@dimaga.com>	Packet aliasing engine
	Ari Suutari <suutari@iki.fi>		Natd
	Brian Somers <brian@awfulhak.org>	Manual page, glue and
						bunch of good ideas.
				
	The original package written by Charles Mott 
	is available at http://www.srv.net/~cmott.
	It is described in README.alias.

	Happy Networking - comments and fixes are welcome!

	Ari S.	(suutari@iki.fi)