Messages in this thread | | | Date | Thu, 23 Dec 1999 19:55:07 +0100 | From | Edgar Toernig <> | Subject | Re: PF_PACKET, ETH_P_IP does not catch outgoing packets. |
| |
Andi Kleen wrote: > I wrote: > > I noticed that raw sockets created with > > > > socket(PF_PACKET, SOCK_RAW, htons(ETH_P_IP)) > > > > and a later > > > > setsockopt(... ADD_MEMBERSHIP (PROMISC)...) > > > > do not receive outgoing packets. Just changing the > > protocol to ETH_P_ALL (or a later bind with that proto) > > will get all packets. Is this intentional? (I don't think > > so *g*) Any idea for a quick fix? > > I just tried it and it works fine here with 2.2.13
I did not test it with 2.2.13 because I need the receive ring buffer. With 2.3.33 it does not work and according to Alexey it's not supposed to do *g*.
Ciao, ET.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |