Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi,
  
    Can somebody tell me why  function ptr  ip_nat_ptr  is used  in  ip_input() of 
/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 
significance ip_nat_ptr holds.
   
   Please clarify my doubts,

Thanks ,
Aravind.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hi,</DIV>
<DIV>&nbsp;<FONT color=#000000 size=2>&nbsp;</FONT></DIV>
<DIV><FONT color=#000000 size=2>&nbsp;&nbsp;&nbsp;<FONT size=3> Can somebody 
tell me why&nbsp; function ptr&nbsp; ip_nat_ptr&nbsp; is used&nbsp; in&nbsp; 
ip_input() of </FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>/usr/src/sys/netinet/ip_input.c 
file. as natd uses&nbsp; </FONT></FONT><FONT color=#000000 size=2><FONT 
size=3>divert sockets and the&nbsp; firewall</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>has to explicitly divert all 
packets to the port on which natd is running ,what&nbsp;</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>significance ip_nat_ptr 
holds.</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT 
size=3>&nbsp;&nbsp;&nbsp;</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>&nbsp;&nbsp; Please clarify my 
doubts,</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT color=#000000 size=2><FONT size=3>Thanks ,</FONT></FONT></DIV>
<DIV><FONT color=#000000 size=2><FONT 
size=3>Aravind.</FONT></FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01bf56b8$78969950$4502a8c0>