Show an example of not letting NetBIOS traffic keep the link up

PR:		17865
Submitted by: Glenn Johnson <glennpj@bayouhome.net>
This commit is contained in:
Brian Somers 2000-04-11 17:17:28 +00:00
parent 2a92d3584c
commit 9cf306dfe6

View File

@ -218,8 +218,14 @@ dodgy:
set filter alive 1 deny udp dst eq 520 # routed
set filter alive 2 deny udp src eq 513 # rwhod
set filter alive 3 deny udp src eq 525 # timed
set filter alive 4 deny 0/0 MYADDR icmp # Ping to us from outside
set filter alive 5 permit 0/0 0/0
set filter alive 4 deny udp src eq 137 # NetBIOS name service
set filter alive 5 deny udp src eq 138 # NetBIOS datagram service
set filter alive 6 deny udp src eq 139 # NetBIOS session service
set filter alive 7 deny udp dst eq 137 # NetBIOS name service
set filter alive 8 deny udp dst eq 138 # NetBIOS datagram service
set filter alive 9 deny udp dst eq 139 # NetBIOS session service
set filter alive 10 deny 0/0 MYADDR icmp # Ping to us from outside
set filter alive 11 permit 0/0 0/0
#
# And in auto mode, we don't want certain packets to cause a dialup
#