Next IPTables::IPv4::IPQueue #5            

What can you do with it?

You can write firewall logic in perl

    modprobe ip_queue

    iptables -F INPUT                                # flush
    iptables -A INPUT -i lo -j ACCEPT                # allow loopback
    iptables -A INPUT -s 207.8.132.192/26 -j ACCEPT  # backdoors
    iptables -A INPUT -j QUEUE                       # queue the rest

    iptables -F OUTPUT                               # flush
    iptables -A OUTPUT -o lo -j ACCEPT               # allow loopback
    iptables -A OUTPUT -d 207.8.132.192/26 -j ACCEPT # backdoors
    iptables -A OUTPUT -j QUEUE                      # queue the rest

continued...

            Next © 2003 Michael C. Toren