Skip to contentSkip to conversation

is netfilter hook and iptables rule are same

DISCUSSION Raghuveer Reddy 1 participant 1 message Aug 31, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

hi

is netfilter hook and the rules added by netfilter are same or not?

if they are equivalant what will be order of execution is iptable rule
(let say NAT table rule in PRE_ROUTING) or the netfilter hooks (in
PRE_ROUTING) ?

lets say iptables rule is excecuted first and which says drop the packet and hook function which says allow (if excuted second) what happen to the packet?

if we add the hook using the insmod (LKM) , will netfilter framework check for confilts?

Anybody please clarify this.

Thanks in advance

Raghuveer