Messages in this thread | | | Subject | Re: PF_PACKET, ETH_P_IP does not catch outgoing packets. | From | Andi Kleen <> | Date | 23 Dec 1999 18:33:51 +0100 |
| |
froese@gmx.de (Edgar Toernig) writes:
> Hi, > > 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
-Andi
-- This is like TV. I don't like TV.
- 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/
| |