Skip to contentSkip to conversation

filling ipt_entry

DISCUSSION Andriy T. Yanko 1 participant 1 message Jul 10, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Hi

I'd like create a simple rule for INPUT chain with my progam wich use libiptc like it do iptables progam:
iptables -A INPUT -s 192.168.1.1 - j ACCEPT

Please show me piece of code how to fill ipt_entry in this case? I don't now how to add right target offset.

THANKS IN ADVANCE.

Signature · 5 lines
Andriy T. Yanko
[email protected]

*   Avoid The Gates of Hell use Linux
**  Wenn ich sterbe, legt mir eine Birne in mein Grab ...