public
Description: A rigorous set of firewall scripts for BSD ipfw, and Linux iptables
Homepage:
Clone URL: git://github.com/jwiegley/jw.firewall.git
jw.firewall / listen
100755 14 lines (11 sloc) 0.239 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
 
intf=$1
addr=$2
 
sudo tcpdump -i $intf host $addr and \
     not port mmcc and \
     not port 6667 and \
     not port jabber-client and \
     not port msnp and \
     not port aol and \
     not arp and \
     not port ssh