Re: Howto send a limited broadcast?

2008-04-12 Thread Boris Kochergin
tmm wrote: Bruce M. Simpson wrote: tmm wrote: So, can anyone suggest how I can send a limited broadcast (on an interface that has been initalized with an IP and a subnet)? Use the IP_ONESBCAST option and send to the network broadcast address for that subnet. The stack will change it into 2

Re: Howto send a limited broadcast?

2008-04-12 Thread tmm
Bruce M. Simpson wrote: tmm wrote: So, can anyone suggest how I can send a limited broadcast (on an interface that has been initalized with an IP and a subnet)? Use the IP_ONESBCAST option and send to the network broadcast address for that subnet. The stack will change it into 255.255.255.2

Re: Howto send a limited broadcast?

2008-04-12 Thread Bruce M. Simpson
tmm wrote: So, can anyone suggest how I can send a limited broadcast (on an interface that has been initalized with an IP and a subnet)? Use the IP_ONESBCAST option and send to the network broadcast address for that subnet. The stack will change it into 255.255.255.255 on output. See man page

Redirect functionality in ng_nat

2008-04-12 Thread Christopher Cowart
Hello, I'm running a 7.0-RELEASE machine. I've backported the 7-STABLE for ng_nat, because I'm really interested in the static NAT features from libalias. ng_nat(4) says: | NGM_NAT_REDIRECT_ADDR (redirectaddr) | Redirect traffic for public IP address to a machine on the local | network. This

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

bridge interface down, yet still bridging?

2008-04-12 Thread david robertson
I've got an issue that only crops up every so often (every few months), and it's theoretically impossible. I've got two FreeBSD 6.2 firewalls in a failover state, using bridging (I don't control .1, and don't have a choice). I use ifstated and carp to monitor which one is master, and which

Howto send a limited broadcast?

2008-04-12 Thread tmm
Hi. I'm using the FreeBSD network stack (on top of the eCos embedded OS), and I want to send a limited broadcast (a broadcast with destination IP of 255.255.255.255). Normally (I believe) the stack will only send a broadcast like this if there is no subnet mask set on the interface, or an al

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