Re: Re :Re: ebtables, PF_PACKET and other stuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there, and my best wishes for this new year !

>> Mmh, ok, but from the userspace point of view, how can I get them ? A
>> SOCK_RAW ?
>>
> See http://ebtables.sourceforge.net/examples/basic.html#ex_ulog
>
> cheers,
> Bart

Thanks for your reply, but it is not exactly what I am looking for...
I have two rules, that enable the bridging between two of my
interfaces. When I receive IP or VLAN, these packets are droped by the
broute table.
I tried to add the rule :
ebtables -A FORWARD --ulog-nlgroup 5 -j DROP

But it seems  to send me all packets, when I am listening with a
netlink socket...
I have for example an interface connected the internet, that receives
packets, and these packets are received by my netlink socket...
I think I have to tell the Forward rule that I only want the packets
from my eth2 interface (which is the one where I receive my VLAN
packets) ?

Thanks again.
Best Regards,
JM
_______________________________________________
Bridge mailing list
Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/bridge

[Index of Archives]     [Netdev]     [AoE Tools]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux