diff options
author | brian <brian@FreeBSD.org> | 1999-03-07 18:23:56 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-03-07 18:23:56 +0000 |
commit | cd09c9b12df9bdf045a8711ed884afcc08087469 (patch) | |
tree | 90805c7341de2c435ee2cfc268b9b37801e1386c /sbin/natd/natd.h | |
parent | 7ae299d980b74227ffb2395df09111e9e75a0a58 (diff) | |
download | FreeBSD-src-cd09c9b12df9bdf045a8711ed884afcc08087469.zip FreeBSD-src-cd09c9b12df9bdf045a8711ed884afcc08087469.tar.gz |
Upgrade (almost) to natd 2.0b1
- Transparent proxy support.
- PERMANENT_LINK IS NOW OBSOLETE, use redirect_port instead.
- Drop support for early FreeBSD 2.2 versions
- If separate input & output sockets are being used
use them to find out packet direction instead of
normal mechanism. This can be handy in complex environments
with multiple interfaces.
- PPTP redirect support by Dru Nelson <dnelson@redwoodsoft.com> added.
- Logging enhancements from Martin Machacek <mm@i.cz> added.
Obtained from: Ari Suutari <ari@suutari.iki.fi>
Diffstat (limited to 'sbin/natd/natd.h')
-rw-r--r-- | sbin/natd/natd.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sbin/natd/natd.h b/sbin/natd/natd.h index d398241..b45048e 100644 --- a/sbin/natd/natd.h +++ b/sbin/natd/natd.h @@ -1,5 +1,24 @@ +/* + * natd - Network Address Translation Daemon for FreeBSD. + * + * This software is provided free of charge, with no + * warranty of any kind, either expressed or implied. + * Use at your own risk. + * + * You may copy, modify and distribute this software (natd.h) freely. + * + * Ari Suutari <suutari@iki.fi> + * + * $Id:$ + */ + #define PIDFILE "/var/run/natd.pid" +#define INPUT 1 +#define OUTPUT 2 +#define DONT_KNOW 3 extern void Quit (char* msg); extern void Warn (char* msg); extern int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu); + + |