Odd firewall messages

From: Michael Richards (michael@fastmail.ca)
Date: 02/22/01


To: freebsd-security@freebsd.org
From: "Michael Richards" <michael@fastmail.ca>
Date: Wed, 21 Feb 2001 21:31:39 -0500 (EST)


Aside from my bind problems, I finally got a firewall up and running
for our servers. The ipfilter rules catching the odd packets are:
# Nasty Packets:
# Block any packets which are too short to be real.
block in log quick all with short
# Block any packets with source routing set
block in log quick all with opt lsrr
block in log quick all with opt ssrr
# block any traffic claiming to be from an RFC reserved IP space
block in log quick on xl1 from 192.168.0.0/16 to any
block in log quick on xl1 from 172.16.0.0/12 to any
block in log quick on xl1 from 10.0.0.0/8 to any
# block localhost type IPs
block in log quick on xl1 from 127.0.0.0/8 to any
# block anything claiming to be a '0.x.x.x'
block in log quick on xl1 from 0.0.0.0/8 to any
# block IANA IPs reserved for use in auto-configuration
block in log quick on xl1 from 169.254.0.0/16 to any
# block IPs reserved for documentation authors
block in log quick on xl1 from 192.0.2.0/24 to any
# reserved SUN IPs for private cluster interlocks
block in log quick on xl1 from 204.152.64.0/23 to any
# multicast traffic
block in log quick on xl1 from 224.0.0.0/3 to any

Now I seem to be getting a number of weird packets presumably probing
my machine for various open ports:

21/02/2001 04:51:05.250782 2x xl1 @0:6 b 10.0.0.1,137 -> x.x.x.x,137
PR udp len 20 19968 IN
21/02/2001 04:51:05.357334 xl1 @0:4 b 192.168.0.1,137 -> x.x.x.x,137
PR udp len 20 19968 IN
21/02/2001 05:08:04.033088 xl1 @0:4 b 192.168.1.20,137 -> x.x.x.x,137
PR udp len 20 19968 IN
21/02/2001 05:08:05.529631 xl1 @0:4 b 192.168.1.20,137 -> x.x.x.x,137
PR udp len 20 19968 IN
21/02/2001 05:08:07.033451 xl1 @0:4 b 192.168.1.20,137 -> x.x.x.x,137
PR udp len 20 19968 IN
21/02/2001 05:30:15.651130 xl1 @0:1 b 205.188.246.17,46666 ->
x.x.x.x,25 PR tcp len 20 7168 - IN
21/02/2001 06:05:22.220902 xl1 @0:6 b 10.23.32.72,39666 -> x.x.x.x,25
PR tcp len 20 10240 -A IN

I haven't figured out what the last 2 log entries are or do only
because I haven't read into the docs far enough yet.

The thing I find curious is the first set of packets. These are
coming from RFC reserved IP addresses. Why on earth would I probe you
using a return address of 10.0.0.1 because I probably won't ever get
a response. Before the firewall was plugged in (it had a bypass
during setup and testing) I presume that the response for these
packets were just fired back and filtered out somewhere. Since rule
#2 and #3 do not seem to be firing I assume they are not source
routed so as to have the return source pass through the attacking
machine.

Anyone have any wisdom when it comes to decoding what I'm seeing here?

thanks
-Michael
_________________________________________________________________
     http://fastmail.ca/ - Fast Free Web Email for Canadians

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message



Relevant Pages

  • Re: Odd firewall messages
    ... > Aside from my bind problems, I finally got a firewall up and running ... The ipfilter rules catching the odd packets are: ... > block in log quick on xl1 from 192.168.0.0/16 to any ... they start with systematic probes for port 137. ...
    (FreeBSD-Security)
  • Re: iptables and dhcp
    ... > the same physical network segment as the firewall and the remote DHCP ... You used INPUT and not FORWARD chain ... # This target allows packets to be marked in the mangle table ...
    (comp.os.linux.networking)
  • Re: Trouble accessing Outlook Web Access from behind firewall
    ... When starting the firewall I also set ... > rejected and dropped packets are logged, however I see nothing in my log ... > # Higher ports needed to accept incoming/outgoing calls ...
    (comp.security.firewalls)
  • Re: Visnetic and 8signs firewall LOOPHOLE Read....
    ... I said I am just reporting bug in your Firewall, ... From the Port Scan/Properties control screen: ... The firewall filtered 100% of the packets that were received. ... operating system (I'm talking Windows, ...
    (comp.security.firewalls)
  • Re: strange network traffic
    ... Maybe not so wise to not have a firewall and trust a third party lurker to ... Subject: strange network traffic ... > -> connection established, following packets have neither SYN nor ...
    (Security-Basics)

Quantcast