Skip to contentSkip to conversation

link layer hooks

DISCUSSION Huadong Liu 3 participants 3 messages Jul 8, 2004 – Jul 9, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

Hi All,

Quoted 1 line

From the netfilter documentation I know that hooks are inserted in the Ipv4, IPv6 and DecNET stack. Is there any link layer hook supported by netfilter? I need to process the link layer frames before they go up the stack, e.g. ip_rcv(). Is netfilter_bridge for this purpose?

Thanks,

Huadong

#1 lore raw

Hi,

2004-07-08, cs keltezéssel 17:10-kor Huadong Liu ezt írta:

Quoted 7 lines

Hi All,

From the netfilter documentation I know that hooks are inserted in the Ipv4, IPv6 and DecNET stack. Is there any link layer hook supported by netfilter? I need to process the link layer frames before they go up the stack, e.g. ip_rcv(). Is netfilter_bridge for this purpose?

Take a look at the layer2-hooks patchlet in POM-ng, I think that may
be what you're looking for.

Signature · 2 lines
 Regards,
   Krisztian KOVACS
#2 lore raw
In reply to Huadong Liu
Quoted 4 lines · Huadong Liu

From the netfilter documentation I know that hooks are inserted in the Ipv4, IPv6 and DecNET stack. Is there any link layer hook supported by netfilter? I need to process the link layer frames before they go up the stack, e.g. ip_rcv(). Is netfilter_bridge for this purpose?

See ebtables.

Regards
Henrik