2002-05-31 16:33:18 +02:00
|
|
|
#
|
2003-02-15 01:09:44 +01:00
|
|
|
# Shorewall 1.4 -- RFC1918 File
|
2002-05-31 16:33:18 +02:00
|
|
|
#
|
|
|
|
# /etc/shorewall/rfc1918
|
|
|
|
#
|
|
|
|
# Lists the subnetworks that are blocked by the 'norfc1918' interface option.
|
|
|
|
#
|
2002-06-02 19:05:51 +02:00
|
|
|
# The default list includes those IP addresses listed in RFC 1918, those listed
|
|
|
|
# as 'reserved' by the IANA, the DHCP Autoconfig class B, and the class C
|
|
|
|
# reserved for use in documentation and examples.
|
|
|
|
#
|
2002-05-31 16:33:18 +02:00
|
|
|
# Columns are:
|
|
|
|
#
|
2002-06-01 02:28:18 +02:00
|
|
|
# SUBNET The subnet (host addresses also allowed)
|
2002-05-31 16:33:18 +02:00
|
|
|
# TARGET Where to send packets to/from this subnet
|
|
|
|
# RETURN - let the packet be processed normally
|
|
|
|
# DROP - silently drop the packet
|
|
|
|
# logdrop - log then drop
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
#SUBNET TARGET
|
|
|
|
255.255.255.255 RETURN # We need to allow limited broadcast
|
2002-06-04 17:08:50 +02:00
|
|
|
169.254.0.0/16 DROP # DHCP autoconfig
|
|
|
|
172.16.0.0/12 logdrop # RFC 1918
|
|
|
|
192.0.2.0/24 logdrop # Example addresses
|
|
|
|
192.168.0.0/16 logdrop # RFC 1918
|
|
|
|
#
|
2003-02-15 01:09:44 +01:00
|
|
|
# The following are generated with the help of the Python program found at:
|
2002-06-04 17:08:50 +02:00
|
|
|
#
|
|
|
|
# http://www.shorewall.net/pub/shorewall/contrib/iana_reserved/
|
|
|
|
#
|
2002-08-02 22:58:52 +02:00
|
|
|
# The program was contributed by Andy Wiggin
|
2002-06-13 16:13:10 +02:00
|
|
|
#
|
2002-06-03 04:48:32 +02:00
|
|
|
0.0.0.0/7 logdrop # Reserved
|
2002-06-02 19:05:51 +02:00
|
|
|
2.0.0.0/8 logdrop # Reserved
|
|
|
|
5.0.0.0/8 logdrop # Reserved
|
|
|
|
7.0.0.0/8 logdrop # Reserved
|
2002-06-04 17:08:50 +02:00
|
|
|
10.0.0.0/8 logdrop # Reserved
|
2002-06-02 19:05:51 +02:00
|
|
|
23.0.0.0/8 logdrop # Reserved
|
|
|
|
27.0.0.0/8 logdrop # Reserved
|
|
|
|
31.0.0.0/8 logdrop # Reserved
|
|
|
|
36.0.0.0/7 logdrop # Reserved
|
|
|
|
39.0.0.0/8 logdrop # Reserved
|
|
|
|
41.0.0.0/8 logdrop # Reserved
|
|
|
|
42.0.0.0/8 logdrop # Reserved
|
2003-02-15 01:09:44 +01:00
|
|
|
49.0.0.0/8 logdrop # JTC - Returned to IANA Mar 98
|
|
|
|
50.0.0.0/8 logdrop # JTC - Returned to IANA Mar 98
|
2002-06-02 19:05:51 +02:00
|
|
|
58.0.0.0/7 logdrop # Reserved
|
|
|
|
60.0.0.0/8 logdrop # Reserved
|
|
|
|
70.0.0.0/7 logdrop # Reserved
|
|
|
|
72.0.0.0/5 logdrop # Reserved
|
2002-12-04 01:03:01 +01:00
|
|
|
83.0.0.0/8 logdrop # Reserved
|
2002-06-02 19:05:51 +02:00
|
|
|
84.0.0.0/6 logdrop # Reserved
|
|
|
|
88.0.0.0/5 logdrop # Reserved
|
|
|
|
96.0.0.0/3 logdrop # Reserved
|
2002-08-18 00:15:41 +02:00
|
|
|
127.0.0.0/8 logdrop # Loopback
|
2002-06-04 17:08:50 +02:00
|
|
|
197.0.0.0/8 logdrop # Reserved
|
2003-02-15 01:09:44 +01:00
|
|
|
198.18.0.0/15 logdrop # Reserved
|
|
|
|
201.0.0.0/8 logdrop # Reserved - Central & South America
|
2002-05-31 16:33:18 +02:00
|
|
|
240.0.0.0/4 logdrop # Reserved
|
2002-06-04 17:08:50 +02:00
|
|
|
#
|
|
|
|
# End of generated entries
|
|
|
|
#
|
2002-06-02 19:05:51 +02:00
|
|
|
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE
|