Firewalls and Filtering Routers
General
- Remember that firewalls may provide a false sense of security
- Use a router filter must on all external interfaces to validate traffic flows
- Having a few unused unfiltered DNS-registered addresses helps detect scans and probes
- The most common current scanner in "mscan" but more sophisticated scanners
are around
- Firewalls can have useful features - such as virus checking of e-mail - but
remember that viruses can still come in on disks and real virus protection on
each PC is still better
Sample Rules for a filtering router
- Deny incoming to port 1080 (SOCKS/WinGate)
- Possibly deny incoming to your proxy (Prevent traffic stealing)
- Deny outgoing from sources other than your network (Prevent IP spoofing)
- Possibly deny outgoing to IP addresses ending in 0 or 255 (Prevent SMURF)
- Deny incoming packets to IP addresses ending in 0 or 255 (Prevent SMURF)
- Deny directed broadcast in routers, unless needed (eg, Windows inter-subnet
browsing)
- Permit SMTP only to hosts which require it (Prevent accidental open relays
and dialup machine mail relays)
- Deny incoming packets to RPC portmapper and well-known RPC ports such has
NFS
- Deny incoming packets to Windows file sharing
- Deny incoming packets to AppleShare/IP file sharing
- Deny incoming packets to UDP Syslog
- If possible, deny large incoming ICMP echo
--
David Luyer
<david@luyer.net>