Re: bpf does not see packets forwarded with ipfw fwd

2008-04-15 Thread Jung-uk Kim
On Tuesday 15 April 2008 12:11 pm, Jung-uk Kim wrote: > On Tuesday 15 April 2008 11:05 am, Jung-uk Kim wrote: > > On Tuesday 15 April 2008 09:51 am, Eugene Grosbein wrote: > > > > Can you try the attached patch? > > > > > > Works for me :-) > > > > Sorry, I committed a different version: > > > > ht

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-15 Thread Jung-uk Kim
On Tuesday 15 April 2008 11:05 am, Jung-uk Kim wrote: > On Tuesday 15 April 2008 09:51 am, Eugene Grosbein wrote: > > > Can you try the attached patch? > > > > Works for me :-) > > Sorry, I committed a different version: > > http://docs.freebsd.org/cgi/mid.cgi?200804150050.m3F0o1aV091591 > > This p

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-15 Thread Jung-uk Kim
On Tuesday 15 April 2008 09:51 am, Eugene Grosbein wrote: > > Can you try the attached patch? > > Works for me :-) Sorry, I committed a different version: http://docs.freebsd.org/cgi/mid.cgi?200804150050.m3F0o1aV091591 This patch does not touch m_flags any more. Can you test it again? Thanks!

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-15 Thread Eugene Grosbein
> Can you try the attached patch? Works for me :-) Thanks! Eugene Grosbein ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-14 Thread Eugene Grosbein
Jung-uk Kim wrote: > Can you try the attached patch? I will this evening when get to my 7.0 home system. ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-14 Thread Jung-uk Kim
On Saturday 12 April 2008 02:22 am, Eugene Grosbein wrote: > Hi! > > One of 7.0 users has reported in some cyrillic newsgroup > a problem that I have reproduced in my 7.0-STABLE system. > That is: tcpdump does not show locally originated outgoing IP > packets that were processed by 'ipfw fwd' rule.

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-12 Thread Eugene Grosbein
On Sat, Apr 12, 2008 at 07:10:38PM +0100, Robert Watson wrote: > If you ping from host A to host B, does tcpdump see both the ICMP echo > request and reply on both boxes? In principle, ipfw fwd uses the same > output paths as the rest of the IP stack, so it would be useful to know > whether it

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-12 Thread Robert Watson
On Sat, 12 Apr 2008, Eugene Grosbein wrote: One of 7.0 users has reported in some cyrillic newsgroup a problem that I have reproduced in my 7.0-STABLE system. That is: tcpdump does not show locally originated outgoing IP packets that were processed by 'ipfw fwd' rule. The same configuration p

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-12 Thread Eugene Grosbein
On Sat, Apr 12, 2008 at 01:50:17PM +0100, Alireza Torabi wrote: > It'll be in tcpdump code where it sets up BPF. It's a new IOCTL in 7 BPF. How to check? > Is your tcpdump source up to date? I use stock tcpdump that comes with 7.0-STABLE. Eugene Grosbein ___

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-12 Thread Alireza Torabi
It'll be in tcpdump code where it sets up BPF. It's a new IOCTL in 7 BPF. Is your tcpdump source up to date? On Sat, Apr 12, 2008 at 1:43 PM, Eugene Grosbein <[EMAIL PROTECTED]> wrote: > On Sat, Apr 12, 2008 at 11:53:00AM +0100, Alireza Torabi wrote: > > > Is BIOCFEEDBACK set? > > What's that an

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-12 Thread Eugene Grosbein
On Sat, Apr 12, 2008 at 11:53:00AM +0100, Alireza Torabi wrote: > Is BIOCFEEDBACK set? What's that and how to check it? Eugene Grosbein ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send

Re: bpf does not see packets forwarded with ipfw fwd

2008-04-12 Thread Alireza Torabi
Is BIOCFEEDBACK set? On Sat, Apr 12, 2008 at 7:22 AM, Eugene Grosbein <[EMAIL PROTECTED]> wrote: > Hi! > > One of 7.0 users has reported in some cyrillic newsgroup > a problem that I have reproduced in my 7.0-STABLE system. > That is: tcpdump does not show locally originated outgoing IP packet

bpf does not see packets forwarded with ipfw fwd

2008-04-11 Thread Eugene Grosbein
Hi! One of 7.0 users has reported in some cyrillic newsgroup a problem that I have reproduced in my 7.0-STABLE system. That is: tcpdump does not show locally originated outgoing IP packets that were processed by 'ipfw fwd' rule. The same configuration presents no problems with 6.3-STABLE. Conside