Home page logo
/

snort logo Snort mailing list archives

Re: sfportscan not generating alerts or logs
From: Joel Esler <jesler () sourcefire com>
Date: Wed, 6 Oct 2010 17:36:34 -0400

What are your Snort command line options?  Remember that Snort's command line overrides the .conf file.

J

On Oct 6, 2010, at 5:01 PM, Barney Pause wrote:

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
<snort.conf>------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]