2002-08-07 16:28:04 +02:00
|
|
|
#
|
|
|
|
# Shorewall 1.3 -- Blacklist File
|
|
|
|
#
|
|
|
|
# /etc/shorewall/blacklist
|
|
|
|
#
|
|
|
|
# This file contains a list of IP addresses, MAC addresses and/or subnetworks.
|
2002-09-16 19:02:08 +02:00
|
|
|
#
|
|
|
|
# Columns are:
|
|
|
|
#
|
|
|
|
# ADDRESS/SUBNET - Host address, subnetwork or MAC address
|
|
|
|
#
|
|
|
|
# MAC addresses must be prefixed with "~" and use "-"
|
|
|
|
# as a separator.
|
|
|
|
#
|
|
|
|
# Example: ~00-A0-C9-15-39-78
|
|
|
|
#
|
|
|
|
# PROTOCOL - Optional. If specified, must be a protocol number
|
|
|
|
# or a protocol name from /etc/protocols.
|
|
|
|
#
|
|
|
|
# PORTS - Optional. May only be specified if the protocol
|
|
|
|
# is TCP (6) or UDP (17). A comma-separated list
|
|
|
|
# of port numbers or service names from /etc/services.
|
|
|
|
#
|
2002-08-07 16:28:04 +02:00
|
|
|
# When a packet arrives on in interface that has the 'blacklist' option
|
|
|
|
# specified, its source IP address is checked against this file and disposed of
|
|
|
|
# according to the BLACKLIST_DISPOSITION and BLACKLIST_LOGLEVEL variables in
|
|
|
|
# /etc/shorewall/shorewall.conf
|
|
|
|
#
|
2002-09-16 19:02:08 +02:00
|
|
|
# If PROTOCOL or PROTOCOL and PORTS are supplied, only packets matching
|
|
|
|
# the protocol (and one of the ports if PORTS supplied) are blocked.
|
|
|
|
#
|
|
|
|
# Example:
|
|
|
|
#
|
|
|
|
# To block DNS queries from address 192.0.2.126:
|
|
|
|
#
|
|
|
|
# ADDRESS/SUBNET PROTOCOL PORT
|
|
|
|
# 192.0.2.126 udp 53
|
2002-08-07 16:28:04 +02:00
|
|
|
#
|
|
|
|
###############################################################################
|
2002-09-16 19:02:08 +02:00
|
|
|
#ADDRESS/SUBNET PROTOCOL PORT
|
2002-08-07 16:28:04 +02:00
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|
|
|
|
|
|
|
|
|