Date: Tue, 4 Jan 2000 19:04:48 +0530 From: "Aravind Rao" <arao@chiplogic.com> To: <freebsd-questions@FreeBSD.ORG> Subject: Which are NAT modules Message-ID: <01bf56b8$78969950$4502a8c0@arao>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0006_01BF56E6.924ED550 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, =20 Can somebody tell me why function ptr ip_nat_ptr is used in = ip_input() of=20 /usr/src/sys/netinet/ip_input.c file. as natd uses divert sockets and = the firewall has to explicitly divert all packets to the port on which natd is = running ,what=20 significance ip_nat_ptr holds. =20 Please clarify my doubts, Thanks , Aravind. ------=_NextPart_000_0006_01BF56E6.924ED550 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <META content=3D'"MSHTML 4.71.1712.3"' name=3DGENERATOR> </HEAD> <BODY bgColor=3D#ffffff> <DIV>Hi,</DIV> <DIV> <FONT color=3D#000000 size=3D2> </FONT></DIV> <DIV><FONT color=3D#000000 size=3D2> <FONT size=3D3> = Can somebody=20 tell me why function ptr ip_nat_ptr is used = in =20 ip_input() of </FONT></FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><FONT = size=3D3>/usr/src/sys/netinet/ip_input.c=20 file. as natd uses </FONT></FONT><FONT color=3D#000000 = size=3D2><FONT=20 size=3D3>divert sockets and the firewall</FONT></FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><FONT size=3D3>has to explicitly = divert all=20 packets to the port on which natd is running = ,what </FONT></FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><FONT size=3D3>significance = ip_nat_ptr=20 holds.</FONT></FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><FONT=20 size=3D3> </FONT></FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><FONT size=3D3> Please = clarify my=20 doubts,</FONT></FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><FONT = size=3D3></FONT></FONT> </DIV> <DIV><FONT color=3D#000000 size=3D2><FONT size=3D3>Thanks = ,</FONT></FONT></DIV> <DIV><FONT color=3D#000000 size=3D2><FONT=20 size=3D3>Aravind.</FONT></FONT></DIV></BODY></HTML> ------=_NextPart_000_0006_01BF56E6.924ED550-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bf56b8$78969950$4502a8c0>