Skip to contentSkip to conversation

target extension

DISCUSSION Michele Petrazzo - Unipex srl 2 participants 2 messages Nov 22, 2007

lore
Share & tools
lore
#0 lore raw

Hi all,
I'm looking for an extension that load the ip address from the proc fs, so there I can set the address that I want to match. Something like:

iptables -A INPUT -m proc_ext --proc_ext_parms -j ACCEPT cat my_ip_host >> /proc/net/ipt_proc_ext/host

(similar that I can do with the condition extension)

Looking on the net, but found none.

Thanks,
Michele

#1 lore raw

Take a look at ipset, maybe it will do the job for you.

В Чтв, 22/11/2007 в 12:54 +0100, Michele Petrazzo - Unipex srl пишет:

Quoted 10 lines

Hi all,
I'm looking for an extension that load the ip address from the proc fs, so there I can set the address that I want to match. Something like:

iptables -A INPUT -m proc_ext --proc_ext_parms -j ACCEPT cat my_ip_host >> /proc/net/ipt_proc_ext/host

(similar that I can do with the condition extension)

Looking on the net, but found none.

Signature · 1 line
Покотиленко Костик <[email protected]>