Hello, Paddie O'Brien a écrit :
My IP is dynamically assigned and I want a rule like this one: iptables -I INPUT 1 -d my_ip_address -m state --state NEW -j ULOG
Why ? What do you want to achieve exactly ?
Can a rule work out the IP address of its host?
What address ? A node may have more than one single address, and usually does : typically the loopback address range 127.0.0.0/8 and one or more addresses assigned to each "real" interface. If a packets arrives in the INPUT chain, it implies that its destination address is assigned to the node. Otherwise the packet is discarded if the node is a simple host, or sent in the FORWARD chain if the node is a router.
-- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html