[Snort-users] sfportscan not generating alerts or logs

Barney Pause barney.pause at ...11827...
Wed Oct 6 17:01:01 EDT 2010


Hello,

I am having a problem with my snort sensor; sfportscan does not generates
alerts or logs.

I have configured sfportscan like this:

preprocessor sfportscan: proto  { all } memcap { 10000000 } scan_type { all
} sense_level { medium } logfile { /var/log/snort/portscan.log }

And stream5 like this:

preprocessor stream5_global: max_tcp 1048576, track_tcp yes, track_udp yes
preprocessor stream5_tcp: max_queued_bytes 0, policy windows,
use_static_footprint_sizes, ports client 21 22 23 25 42 53 79 80 109 110 111
113 119 135 136 137 139 143 110 111 161 445 513 514 691 1433 1521 2100 2301
3128 3306 6665 6666 6667 6668 6669 7000 8000 8080 8180 8888 32770 32771
32772 32773 32774 32775 32776 32777 32778 32779, ports both 443 465 563 636
989 992 993 994 995 7801 7702 7900 7901 7902 7903 7904 7905 7906 6907 7908
7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920
preprocessor stream5_udp:

The sensor logs to a unified2 file that is parsed by barnyard2 and inserted
in a MySQL database. When I check the log file generated by sfportscan I can
see that it detects a lot of portscan:

Time: 10/06-16:11:21.614835
event_ref: 0
172.21.x.x -> 10.127.x.x (portscan) TCP Portsweep
Priority Count: 32
Connection Count: 17
IP Count: 7
Scanned IP Range: 10.127.x.x:172.26.x.x
Port/Proto Count: 7
Port/Proto Range: 389:9494

Time: 10/06-16:11:23.666701
event_ref: 0
172.21.x.x -> 172.26.x.x (portscan) TCP Portscan
Priority Count: 10
Connection Count: 11
IP Count: 1
Scanner IP Range: 172.21.x.x:172.21.x.x
Port/Proto Count: 15
Port/Proto Range: 8879:29380
........

I tryed changing the alert mode to fast but I still could not see the
alerts.

My Snort version:
snort -V
   ,,_     -*> Snort! <*-
  o"  )~   Version 2.8.6.1 (Build 39)
   ''''    By Martin Roesch & The Snort Team:
http://www.snort.org/snort/snort-team
           Copyright (C) 1998-2010 Sourcefire, Inc., et al.
           Using PCRE version: 6.6 06-Feb-2006

The complete config file is attached to this e-mail.

Could someone please help me with this?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20101006/cd11eeaa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: snort.conf
Type: application/octet-stream
Size: 13151 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20101006/cd11eeaa/attachment.obj>


More information about the Snort-users mailing list