[prev in list] [next in list] [prev in thread] [next in thread]
List: ipfilter
Subject: Re: byte-swapped ports with nat rdr on FreeBSD 2.2.5
From: Michael Elbel <mwe () consol ! de>
Date: 1997-11-24 11:59:21
[Download RAW message or body]
On Mon, Nov 24, 1997 at 10:32:31PM +1100, Darren Reed wrote:
>
> This should fix it:
>
Thanks alot for the answer, this did indeed fix the problem.
Just one bit: I guess the following should be applied to samples/proxy.c:
--- proxy.c Sun Oct 5 09:52:25 1997
+++ proxy.c.new Mon Nov 24 12:57:57 1997
@@ -97,7 +97,7 @@
* Log it
*/
syslog(LOG_DAEMON|LOG_INFO, "connect to %s,%d",
- inet_ntoa(natlook.nl_realip), natlook.nl_realport);
+ inet_ntoa(natlook.nl_realip), ntohs(natlook.nl_realport));
printf("connect to %s,%d\n",
inet_ntoa(natlook.nl_realip), ntohs(natlook.nl_realport));
Again, thanks for your help.
Michel
--
Michael Elbel, ConSol*, Muenchen, Germany - mwe@consol.de
Fermentation fault (coors dumped)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic