Date: Thu, 16 Sep 2004 03:54:13 -0000 From: Max Laier <max@love2party.net> To: "Michael O. Boev" <mike@tric.tomsk.gov.ru> Cc: pf4freebsd@freelists.org Subject: [pf4freebsd] Re: [patch] NOINET6 ; port numbers Message-ID: <1878050828.20031009164620@love2party.net> In-Reply-To: <GFEGLCJPLEIINPCCACNGAEGACAAA.mike@tric.tomsk.gov.ru> References: <GFEGLCJPLEIINPCCACNGAEGACAAA.mike@tric.tomsk.gov.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Michael, Thursday, October 9, 2003, 3:31:48 PM, you wrote: MOB> It's me again, asking for an IPv6-free port. MOB> When I build current port (1.66) and define NOINET6, MOB> the build fails inside pftcpdump. MOB> This simple patch seems to fix the build issue. ) Looks good to me. I have forwarded it to the Mike Frantzen @OpenBSD who is responsible for the original code. Thanks! MOB> P.S. pftcpdump doesn't show tcp/udp ports. It prints colons after MOB> destination, MOB> but no number after it. It prints nothing after source address. MOB> gw# pftcpdump -i pflog0 MOB> pftcpdump: WARNING: pflog0: no IPv4 address assigned MOB> pftcpdump: listening on pflog0 MOB> 20:30:20.670224 213.183.101.200 > 213.183.101.207: [|udp] MOB> 20:30:32.168202 200-171-18-234.speedyterra.com.br > 1.tric.tomsk.gov= .ru: MOB> [|tcp] (DF) [tos 0x20] Hum ... I get the portnumbers correctly. Note that the print-udp.c is an unmodified copy from 5.1R and hence it should work as the normal tcpdump you have from your default installation. Output of pftcpdump -in pflog0 would look like: "16:37:04.203063 80.144.56.177.36068 > 80.131.152.57.4662: ..." Note that the port number is separated by another dot not a colon as you expected. Can you please check if the normal tcpdump (on a normal interface) prints portnumbers? MOB> Am I missing something? Yes, the portnumbers ... obviously ;) I'll investigate. --=20 Best regards, Max mailto:max@love2party.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1878050828.20031009164620>