freebsd-dev/sys/netinet/libalias
Ruslan Ermilov 680c8244a9 - Remove unused includes.
- Minor spelling fixes.
- Make IcmpAliasOut2() really work.

Before this change:

# natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P
natd[87923]: Aliasing to A.A.A.A, mtu 1500 bytes
In  [UDP]  [UDP] X.X.X.X:49562 -> P.P.P.P:50000 aliased to
           [UDP] X.X.X.X:49562 -> 192.168.1.1:50000
Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to
           [ICMP] A.A.A.A -> X.X.X.X 3(3)

# tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)"
tcpdump: listening on PUB_IFACE
X.X.X.X.49562 > P.P.P.P.50000: udp 3
A.A.A.A > X.X.X.X: icmp: A.A.A.A udp port 50000 unreachable

After this change:

# natd -v -n PUB_IFACE -p 12345 -redirect_address 192.168.1.1 P.P.P.P
natd[89360]: Aliasing to A.A.A.A, mtu 1500 bytes
In  [UDP]  [UDP] X.X.X.X:49563 -> P.P.P.P:50000 aliased to
           [UDP] X.X.X.X:49563 -> 192.168.1.1:50000
Out [ICMP] [ICMP] 192.168.1.1 -> X.X.X.X 3(3) aliased to
           [ICMP] P.P.P.P -> X.X.X.X 3(3)

# tcpdump -n -t -i PUB_IFACE host X.X.X.X and "(udp or icmp)"
tcpdump: listening on PUB_IFACE
X.X.X.X.49563 > P.P.P.P.50000: udp 3
P.P.P.P > X.X.X.X: icmp: P.P.P.P udp port 50000 unreachable
2000-04-05 14:27:34 +00:00
..
alias_cuseeme.c
alias_db.c Allow PacketAliasSetTarget() to be passed the following: 2000-03-31 20:36:29 +00:00
alias_ftp.c
alias_irc.c
alias_local.h - Moved NULL definition into private include file. 2000-04-05 14:23:42 +00:00
alias_nbt.c
alias_proxy.c
alias_util.c Minor spelling fixes. 2000-04-05 07:45:39 +00:00
alias.c - Remove unused includes. 2000-04-05 14:27:34 +00:00
alias.h - Moved NULL definition into private include file. 2000-04-05 14:23:42 +00:00
HISTORY Minor spelling fixes. 2000-04-05 07:45:39 +00:00
libalias.3 Correct Charles Mott's email address 2000-04-02 20:16:45 +00:00
Makefile Replace beforeinstall target with new variables used by .mk system. 2000-01-14 07:57:47 +00:00