[ create a new paste ] login | about

Link: http://codepad.org/4xPmRF1i    [ raw code | output | fork ]

C, pasted on Oct 13:
# iptables -L -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     all  --  lo     *       0.0.0.0/0            0.0.0.0/0
   29  1784 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    0     0 DROP       all  --  *      *       10.0.0.0/8           0.0.0.0/0
    0     0 DROP       all  --  *      *       169.254.0.0/16       0.0.0.0/0
    0     0 DROP       all  --  *      *       172.16.0.0/12        0.0.0.0/0
    0     0 DROP       all  --  *      *       127.0.0.0/8          0.0.0.0/0
    0     0 DROP       all  --  *      *       224.0.0.0/4          0.0.0.0/0
    0     0 DROP       all  --  *      *       0.0.0.0/0            224.0.0.0/4
    0     0 DROP       all  --  *      *       240.0.0.0/5          0.0.0.0/0
    0     0 DROP       all  --  *      *       0.0.0.0/0            240.0.0.0/5
    0     0 DROP       all  --  *      *       0.0.0.0/8            0.0.0.0/0
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/8
    0     0 DROP       all  --  *      *       0.0.0.0/0            239.255.255.0/24
    0     0 DROP       all  --  *      *       0.0.0.0/0            255.255.255.255
    0     0 DROP       icmp --  *      *       0.0.0.0/0            0.0.0.0/0           icmp type 17
    0     0 DROP       icmp --  *      *       0.0.0.0/0            0.0.0.0/0           icmp type 13
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           icmp type 255 limit: avg 1/sec burst 5
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp flags:0x04/0x04 limit: avg 2/sec burst 2
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           recent: CHECK seconds: 86400 name: portscan side: source
    0     0            all  --  *      *       0.0.0.0/0            0.0.0.0/0           recent: REMOVE name: portscan side: source
    0     0 LOG        tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:139 recent: SET name: portscan side: source LOG flags 0 level 4 prefix `Portscan:'
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:139 recent: SET name: portscan side: source
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:8080
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:443
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:22
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           icmp type 8
    0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:8080
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           recent: CHECK seconds: 86400 name: portscan side: source
    0     0            all  --  *      *       0.0.0.0/0            0.0.0.0/0           recent: REMOVE name: portscan side: source
    0     0 LOG        tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:139 recent: SET name: portscan side: source LOG flags 0 level 4 prefix `Portscan:'
    0     0 DROP       tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:139 recent: SET name: portscan side: source
    0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination
    0     0 DROP       all  --  *      *       0.0.0.0/0            0.0.0.0/0           state INVALID
    0     0 ACCEPT     all  --  *      lo      0.0.0.0/0            0.0.0.0/0
   19  5984 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:25
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:53
    0     0 ACCEPT     udp  --  *      *       0.0.0.0/0            0.0.0.0/0           udp dpt:67
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:80
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:443
    0     0 ACCEPT     tcp  --  *      *       0.0.0.0/0            0.0.0.0/0           tcp dpt:22
    0     0 ACCEPT     icmp --  *      *       0.0.0.0/0            0.0.0.0/0           icmp type 8
    0     0 REJECT     all  --  *      *       0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable


Output:
Line 2: error: invalid preprocessing directive #iptables
Line 2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'INPUT'
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 25: error: stray '`' in program
Line 25: error: missing terminating ' character
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 39: error: stray '`' in program
Line 39: error: missing terminating ' character
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number
Line 47: error: too many decimal points in number
Line 68: error: too many decimal points in number


Create a new paste based on this one


Comments: