Performance issue in 2.9.8.0
Phillip Deneault <[email protected]>
| Newsgroups | gmane.comp.security.ids.snort.devel |
|---|---|
| Message-ID | <CAJceJ9p8_0uVTmBdAGXLatbUb5dO023hNHkg0F4cbeRgOWwwvg@mail.gmail.com> |
Hello, I've noticed that the memory profile and performance of snort 2.9.8.0 has drastically changed in 2.9.8.0 over 2.9.7.6. I run a large PF_RING enabled sensor running 20 sessions of snort in 'AC' mode (to maximize performance) and each snort session now seems to consume nearly 4 times the memory of the previous version. After running the two on the same sample file, I found drastic differences. I've attached the full runs of each to this message, but to summarize (two runs on the same sample pcap). 2.9.7.6: [ Port Based Pattern Matching Memory ] +- [ Aho-Corasick Summary ] ------------------------------------- | Storage Format : Full-Q | Finite Automaton : DFA | Alphabet Size : 256 Chars | Sizeof State : 4 bytes | Instances : 955 | Characters : 4459913 | States : 3382768 | Transitions : 480562184 | State Density : 55.5% | Patterns : 333707 | Match States : 374584 | Memory (KB) : -651916.19 | Pattern : 34781.62 | Match Lists : 71479.36 +---------------------------------------------------------------- Run time for packet processing was 28.3331 seconds Snort processed 804001 packets. Snort ran for 0 days 0 hours 0 minutes 28 seconds Pkts/sec: 28714 Action Stats: Alerts: 443 ( 0.055%) Logged: 443 ( 0.055%) 2.9.8.0: [ Port Based Pattern Matching Memory ] +- [ Aho-Corasick Summary ] ------------------------------------- | Storage Format : Full-Q | Finite Automaton : DFA | Alphabet Size : 256 Chars | Sizeof State : 4 bytes | Instances : 1710 | Characters : 7831490 | States : 5940237 | Transitions : 834278207 | State Density : 54.9% | Patterns : 590748 | Match States : 660897 | Memory (MB) : 1979.09 | Patterns : 60.01 | Match Lists : 122.54 | DFA : 1795.65 +---------------------------------------------------------------- Run time for packet processing was 51.4997 seconds Snort processed 804001 packets. Snort ran for 0 days 0 hours 0 minutes 51 seconds Pkts/sec: 15764 Action Stats: Alerts: 482 ( 0.060%) Logged: 482 ( 0.060%) So while I concede it did find 40 extra alerts, its created a situation where I can't run as many snort instances without buying significantly more RAM nearly halved my packet throughput for each instance. If I run my typical configuration with 2.9.8.0 in production, I can't run 4 instances, the CPUs on the remaining instances are pegged, and nearly 40% of my packets fall off my ring unprocessed. That just doesn't justify 40 more alerts IMHO. I was going to submit this as a bug, but its not really a bug if the intention was to close potential gaps in the packet processing stream. I think people just crossed the 80/20 rule. If someone from SF wants to weigh in publicly or privately that its a bug and I should go down that road, let me know. I have not repeated this test in other pattern matching modes because the performance curve drops as many packets, if not more, in my production configuration. Others might have the same findings if they are not running such a saturated link. There seems to have been tidbits on the mailing list about dropped packets in 2.9.8.0 without much investigation behind it. I might be mirroring those findings. Thanks, Phil ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Snort-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/snort-devel Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel Please visit http://blog.snort.org for the latest news about Snort!
snort-2980run.log.txt
(text/plain, 32 KB)
$ /usr/local/bin/snort -c /etc/snort/snort.conf -d -r ../sampletest -l /var/log/snort/1 -R _1
Running in IDS mode
--== Initializing Snort ==--
Initializing Output Plugins!
Initializing Preprocessors!
Initializing Plug-ins!
Parsing Rules file "/etc/snort/snort.conf"
PortVar 'HTTP_PORTS' defined : [ 36 80:90 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1830 1942 2231 2301 2381 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5600 6080 6173 6988 7000:7001 7071 7144:7145 7510 7770 7777:7779 8000 8008 8014 8028 8080:8082 8085 8088 8090 8118 8123 8180:8181 8222 8243 8280 8300 8333 8344 8500 8509 8800 8888 8899 8983 9000 9060 9080 9090:9091 9111 9290 9443 9999:10000 11371 12601 13014 15489 29991 33300 34412 34443:34444 41080 44449 50000 50002 51423 53331 55252 55555 56712 ]
PortVar 'SHELLCODE_PORTS' defined : [ 0:79 81:65535 ]
PortVar 'ORACLE_PORTS' defined : [ 1024:65535 ]
PortVar 'SSH_PORTS' defined : [ 22 2222 22022 ]
PortVar 'FTP_PORTS' defined : [ 21 2100 3535 ]
PortVar 'SIP_PORTS' defined : [ 5060:5061 5600 ]
PortVar 'FILE_DATA_PORTS' defined : [ 36 80:90 110 143 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1830 1942 2231 2301 2381 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5600 6080 6173 6988 7000:7001 7071 7144:7145 7510 7770 7777:7779 8000 8008 8014 8028 8080:8082 8085 8088 8090 8118 8123 8180:8181 8222 8243 8280 8300 8333 8344 8500 8509 8800 8888 8899 8983 9000 9060 9080 9090:9091 9111 9290 9443 9999:10000 11371 12601 13014 15489 29991 33300 34412 34443:34444 41080 44449 50000 50002 51423 53331 55252 55555 56712 ]
PortVar 'GTP_PORTS' defined : [ 2123 2152 3386 ]
Detection:
Search-Method = AC-Full-Q
Found profile_rules config directive (print 20, sort total_ticks, filename /tmp/rules_20-avg_stats.log append)
Tagged Packet Limit: 256
Loading dynamic engine /usr/local/lib/snort_dynamicengine/libsf_engine.so... done
Loading all dynamic preprocessor libs from /usr/local/lib/snort_dynamicpreprocessor/...
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_imap_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_dns_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_pop_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_dnp3_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_sdf_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_modbus_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_ssh_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_ssl_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_smtp_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_dce2_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_sip_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_ftptelnet_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_gtp_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_reputation_preproc.so... done
Finished Loading all dynamic preprocessor libs from /usr/local/lib/snort_dynamicpreprocessor/
Log directory = /var/log/snort/1
Frag3 global config:
Max frags: 65536
Fragment memory cap: 4194304 bytes
Frag3 engine config:
Bound Address: default
Target-based policy: WINDOWS
Fragment timeout: 180 seconds
Fragment min_ttl: 1
Fragment Anomalies: Alert
Overlap Limit: 10
Min fragment Length: 100
Max Expected Streams: 1256
Stream global config:
Track TCP sessions: ACTIVE
Max TCP sessions: 512000
TCP cache pruning timeout: 30 seconds
TCP cache nominal timeout: 3600 seconds
Memcap (for reassembly packet storage): 8388608
Track UDP sessions: INACTIVE
Track ICMP sessions: INACTIVE
Track IP sessions: INACTIVE
Log info if session memory consumption exceeds 1048576
Send up to 0 active responses
Protocol Aware Flushing: ACTIVE
Maximum Flush Point: 16000
Stream TCP Policy config:
Bound Address: default
Reassembly Policy: LINUX
Timeout: 60 seconds
Limit on TCP Overlaps: 10
Maximum number of bytes to queue per session: 1048576
Maximum number of segs to queue per session: 2621
Options:
Require 3-Way Handshake: YES
3-Way Handshake Timeout: 60
Detect Anomalies: YES
Reassembly Ports:
21 client (Footprint)
22 client (Footprint)
23 client (Footprint)
25 client (Footprint)
36 client (Footprint) server (Footprint)
42 client (Footprint)
53 client (Footprint)
70 client (Footprint)
79 client (Footprint)
80 client (Footprint) server (Footprint)
81 client (Footprint) server (Footprint)
82 client (Footprint) server (Footprint)
83 client (Footprint) server (Footprint)
84 client (Footprint) server (Footprint)
85 client (Footprint) server (Footprint)
86 client (Footprint) server (Footprint)
87 client (Footprint) server (Footprint)
88 client (Footprint) server (Footprint)
89 client (Footprint) server (Footprint)
90 client (Footprint) server (Footprint)
additional ports configured but not printed.
PerfMonitor config:
Sample Time: 600 seconds
Packet Count: 100000
Max File Size: 2147483647
Base Stats: ACTIVE
Base Stats File: /var/log/snort/1/snort_stats.log
Max Perf Stats: INACTIVE
Flow Stats: INACTIVE
Event Stats: INACTIVE
Flow IP Stats: INACTIVE
Console Mode: INACTIVE
HttpInspect Config:
GLOBAL CONFIG
Detect Proxy Usage: NO
IIS Unicode Map Filename: /etc/snort/unicode.map
IIS Unicode Map Codepage: 1252
Memcap used for logging URI and Hostname: 150994944
Max Gzip Memory: 838860
Max Gzip Sessions: 1807
Gzip Compress Depth: 65535
Gzip Decompress Depth: 65535
DEFAULT SERVER CONFIG:
Server profile: All
Ports (PAF): 36 80 81 82 83 84 85 86 87 88 89 90 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1830 1942 2231 2301 2381 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5600 6080 6173 6988 7000 7001 7071 7144 7145 7510 7770 7777 7778 7779 8000 8008 8014 8028 8080 8081 8082 8085 8088 8090 8118 8123 8180 8181 8222 8243 8280 8300 8333 8344 8500 8509 8800 8888 8899 8983 9000 9060 9080 9090 9091 9111 9290 9443 9999 10000 11371 12601 13014 15489 29991 33300 34412 34443 34444 41080 44449 50000 50002 51423 53331 55252 55555 56712
Server Flow Depth: 0
Client Flow Depth: 0
Max Chunk Length: 500000
Small Chunk Length Evasion: chunk size <= 10, threshold >= 5 times
Max Header Field Length: 0
Max Number Header Fields: 0
Max Number of WhiteSpaces allowed with header folding: 200
Inspect Pipeline Requests: YES
URI Discovery Strict Mode: NO
Allow Proxy Usage: NO
Disable Alerting: YES
Oversize Dir Length: 500
Only inspect URI: NO
Normalize HTTP Headers: NO
Inspect HTTP Cookies: YES
Inspect HTTP Responses: YES
Extract Gzip from responses: YES
Decompress response files:
Unlimited decompression of gzip data from responses: YES
Normalize Javascripts in HTTP Responses: YES
Max Number of WhiteSpaces allowed with Javascript Obfuscation in HTTP responses: 200
Normalize HTTP Cookies: NO
Enable XFF and True Client IP: NO
Log HTTP URI data: NO
Log HTTP Hostname data: NO
Extended ASCII code support in URI: NO
Ascii: YES alert: NO
Double Decoding: YES alert: NO
%U Encoding: YES alert: YES
Bare Byte: YES alert: NO
UTF 8: YES alert: NO
IIS Unicode: YES alert: NO
Multiple Slash: YES alert: NO
IIS Backslash: YES alert: NO
Directory Traversal: YES alert: NO
Web Root Traversal: YES alert: NO
Apache WhiteSpace: YES alert: NO
IIS Delimiter: YES alert: NO
IIS Unicode Map: GLOBAL IIS UNICODE MAP CONFIG
Non-RFC Compliant Characters: 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
Whitespace Characters: 0x09 0x0b 0x0c 0x0d
SMTP Config:
Ports: 25 465 587 691
Inspection Type: Stateful
Normalize: ATRN AUTH BDAT DATA DEBUG EHLO EMAL ESAM ESND ESOM ETRN EVFY EXPN HELO HELP IDENT MAIL NOOP ONEX QUEU QUIT RCPT RSET SAML SEND STARTTLS SOML TICK TIME TURN TURNME VERB VRFY X-EXPS XADR XAUTH XCIR XEXCH50 XGEN XLICENSE X-LINK2STATE XQUE XSTA XTRN XUSR CHUNKING X-ADAT X-DRCP X-ERCP X-EXCH50
Ignore Data: No
Ignore TLS Data: No
Ignore SMTP Alerts: No
Max Command Line Length: 1024
Max auth Command Line Length: 1000
Max Specific Command Line Length:
ATRN:255 AUTH:246 BDAT:255 DATA:246 DEBUG:255
EHLO:500 EMAL:255 ESAM:255 ESND:255 ESOM:255
ETRN:246 EVFY:255 EXPN:255 HELO:500 HELP:500
IDENT:255 MAIL:260 NOOP:255 ONEX:246 QUEU:246
QUIT:246 RCPT:300 RSET:246 SAML:246 SEND:246
SIZE:255 STARTTLS:246 SOML:246 TICK:246 TIME:246
TURN:246 TURNME:246 VERB:246 VRFY:255 X-EXPS:246
XADR:246 XAUTH:246 XCIR:246 XEXCH50:246 XGEN:246
XLICENSE:246 X-LINK2STATE:246 XQUE:246 XSTA:246 XTRN:246
XUSR:246
Max Header Line Length: 1000
Max Response Line Length: 1024
X-Link2State Alert: Yes
Drop on X-Link2State Alert: No
Alert on commands: None
Alert on unknown commands: No
SMTP Memcap: 838860
MIME Max Mem: 838860
Base64 Decoding: Disabled
Quoted-Printable Decoding: Enabled
Quoted-Printable Decoding Depth: Unlimited
Unix-to-Unix Decoding: Enabled
Unix-to-Unix Decoding Depth: Unlimited
Non-Encoded MIME attachment Extraction: Enabled
Non-Encoded MIME attachment Extraction Depth: Unlimited
Log Attachment filename: Enabled
Log MAIL FROM Address: Enabled
Log RCPT TO Addresses: Enabled
Log Email Headers: Enabled
Email Hdrs Log Depth: 1464
SSH config:
Autodetection: ENABLED
Challenge-Response Overflow Alert: DISABLED
SSH1 CRC32 Alert: DISABLED
Server Version String Overflow Alert: DISABLED
Protocol Mismatch Alert: DISABLED
Bad Message Direction Alert: DISABLED
Bad Payload Size Alert: DISABLED
Unrecognized Version Alert: DISABLED
Max Encrypted Packets: 20
Max Server Version String Length: 100
Ports:
22
DNS config:
DNS Client rdata txt Overflow Alert: ACTIVE
Obsolete DNS RR Types Alert: INACTIVE
Experimental DNS RR Types Alert: INACTIVE
Ports: 53
SSLPP config:
Encrypted packets: not inspected
Ports:
443 465 563 636 989
992 993 994 995 7801
7802 7900 7901 7902 7903
7904 7905 7906 7907 7908
7909 7910 7911 7912 7913
7914 7915 7916 7917 7918
7919 7920
Server side data is trusted
Maximum SSL Heartbeat length: 0
SIP config:
Max number of sessions: 40000
Max number of dialogs in a session: 4 (Default)
Status: ENABLED
Ignore media channel: DISABLED
Max URI length: 512
Max Call ID length: 80
Max Request name length: 20 (Default)
Max From length: 256 (Default)
Max To length: 256 (Default)
Max Via length: 1024 (Default)
Max Contact length: 512
Max Content length: 2048
Ports:
5060 5061 5600
Methods:
invite cancel ack bye register options refer subscribe update join info message notify benotify do qauth sprack publish service unsubscribe prack
POP Config:
POP: INACTIVE
Ports: 110
POP Memcap: 838860
MIME Max Mem: 838860
Base64 Decoding: Enabled
Base64 Decoding Depth: Unlimited
Quoted-Printable Decoding: Enabled
Quoted-Printable Decoding Depth: Unlimited
Unix-to-Unix Decoding: Enabled
Unix-to-Unix Decoding Depth: Unlimited
Non-Encoded MIME attachment Extraction: Enabled
Non-Encoded MIME attachment Extraction Depth: Unlimited
+++++++++++++++++++++++++++++++++++++++++++++++++++
Initializing rule chains...
16104 Snort rules read
15003 detection rules
137 decoder rules
233 preprocessor rules
15373 Option Chains linked into 553 Chain Headers
0 Dynamic rules
+++++++++++++++++++++++++++++++++++++++++++++++++++
+-------------------[Rule Port Counts]---------------------------------------
| tcp udp icmp ip
| src 3843 64 0 0
| dst 8473 1894 0 0
| any 1784 40 20 6
| nc 377 1 0 1
| s+d 51 14 0 0
+----------------------------------------------------------------------------
+-----------------------[detection-filter-config]------------------------------
| memory-cap : 1048576 bytes
+-----------------------[detection-filter-rules]-------------------------------
-------------------------------------------------------------------------------
+-----------------------[rate-filter-config]-----------------------------------
| memory-cap : 1048576 bytes
+-----------------------[rate-filter-rules]------------------------------------
| none
-------------------------------------------------------------------------------
+-----------------------[event-filter-config]----------------------------------
| memory-cap : 1048576 bytes
+-----------------------[event-filter-global]----------------------------------
| none
+-----------------------[event-filter-local]-----------------------------------
|[redacted]
+-----------------------[suppression]------------------------------------------
| gen-id=119 sig-id=32 tracking=none
| gen-id=120 sig-id=8 tracking=none
| gen-id=137 sig-id=1 tracking=none
-------------------------------------------------------------------------------
Rule application order: activation->dynamic->pass->drop->sdrop->reject->alert->log
Verifying Preprocessor Configurations!
WARNING: flowbits key 'ETPRO.RTF' is checked but not ever set.
WARNING: flowbits key 'file.png' is checked but not ever set.
WARNING: flowbits key 'file.ttf' is checked but not ever set.
WARNING: flowbits key 'file.fdf' is checked but not ever set.
WARNING: flowbits key 'file.pdf' is checked but not ever set.
WARNING: flowbits key 'file.class' is checked but not ever set.
WARNING: flowbits key 'BaiduToolbar_detection' is set but not ever checked.
WARNING: flowbits key 'et.SweetOrangeURI' is set but not ever checked.
WARNING: flowbits key 'ET.Adobe.Site.Download' is checked but not ever set.
WARNING: flowbits key 'file.psfont' is checked but not ever set.
WARNING: flowbits key 'tivoli.backup' is set but not ever checked.
WARNING: flowbits key 'HTTP.UncompressedFlash' is checked but not ever set.
WARNING: flowbits key 'ms.webdav.propfind' is set but not ever checked.
WARNING: flowbits key 'file.iakerb' is set but not ever checked.
WARNING: flowbits key 'ssl_handshake' is set but not ever checked.
WARNING: flowbits key 'et.JavaArchiveOrClass' is checked but not ever set.
WARNING: flowbits key 'is_ssh_server_banner' is set but not ever checked.
WARNING: flowbits key 'tlsv1.0_handshake' is set but not ever checked.
WARNING: flowbits key 'file.universalbinary' is checked but not ever set.
WARNING: flowbits key 'SunDown.EK' is set but not ever checked.
WARNING: flowbits key 'ET.RDP.Morto' is set but not ever checked.
WARNING: flowbits key 'ET.JS.Obfus.Func' is checked but not ever set.
WARNING: flowbits key 'qualcom.worldmail.ok' is set but not ever checked.
WARNING: flowbits key 'file.bmp' is checked but not ever set.
WARNING: flowbits key 'file.mp4' is checked but not ever set.
WARNING: flowbits key 'vnc.auth' is set but not ever checked.
WARNING: flowbits key 'ET.Fareit.chk' is set but not ever checked.
WARNING: flowbits key 'ET.pdf.in.http' is checked but not ever set.
WARNING: flowbits key 'file.exe' is checked but not ever set.
WARNING: flowbits key 'file.zip' is checked but not ever set.
WARNING: flowbits key 'file.flv' is checked but not ever set.
WARNING: flowbits key 'file.jar' is checked but not ever set.
WARNING: flowbits key 'ET.ButterflyJoin' is set but not ever checked.
WARNING: flowbits key 'vnc.traffic' is set but not ever checked.
WARNING: flowbits key 'tlsv1.1_handshake' is set but not ever checked.
WARNING: flowbits key 'et.http.PK' is checked but not ever set.
WARNING: flowbits key 'NuclearEK' is set but not ever checked.
WARNING: flowbits key 'itunes.serverinfo.request' is set but not ever checked.
WARNING: flowbits key 'file.visio' is checked but not ever set.
WARNING: flowbits key 'file.application' is checked but not ever set.
WARNING: flowbits key 'ET.autoit.ua' is checked but not ever set.
WARNING: flowbits key 'BE.Radmin.Challenge' is set but not ever checked.
WARNING: flowbits key 'file.bcl' is checked but not ever set.
WARNING: flowbits key 'file.ole' is checked but not ever set.
WARNING: flowbits key 'ET.invalid.cab' is checked but not ever set.
WARNING: flowbits key 'ET.gadu.loggedin' is checked but not ever set.
WARNING: flowbits key 'tnftp' is set but not ever checked.
WARNING: flowbits key 'file.swf.cff' is checked but not ever set.
WARNING: flowbits key 'EXE2' is set but not ever checked.
WARNING: flowbits key 'ET.RUGGED.BANNER' is checked but not ever set.
WARNING: flowbits key 'hornet.2' is set but not ever checked.
WARNING: flowbits key 'FakeIEMinimal' is set but not ever checked.
WARNING: flowbits key 'file.tiff' is checked but not ever set.
WARNING: flowbits key 'smtp.contenttype.attachment' is set but not ever checked.
WARNING: flowbits key 'et.MS.XMLHTTP.no.exe.request' is checked but not ever set.
WARNING: flowbits key 'et.DocVBAProject' is checked but not ever set.
WARNING: flowbits key 'ET.ftp.user.login' is set but not ever checked.
WARNING: flowbits key 'et.MS.XMLHTTP.ip.request' is checked but not ever set.
WARNING: flowbits key 'tlsv1.2_handshake' is set but not ever checked.
WARNING: flowbits key 'ET.ZoneAlarm.Site.Download' is checked but not ever set.
WARNING: flowbits key 'spyrat_bd' is set but not ever checked.
WARNING: flowbits key 'ET.ms08067_header' is set but not ever checked.
WARNING: flowbits key 'file.docx' is checked but not ever set.
WARNING: flowbits key 'file.corel' is checked but not ever set.
WARNING: flowbits key 'file.junction' is set but not ever checked.
WARNING: flowbits key 'imagesource.redefine' is set but not ever checked.
WARNING: flowbits key 'file.doc' is checked but not ever set.
WARNING: flowbits key 'vnc.server.auth.types' is set but not ever checked.
WARNING: flowbits key 'veritas.vmd.connect' is set but not ever checked.
WARNING: flowbits key 'OLE.WithFlash' is checked but not ever set.
WARNING: flowbits key 'acunetix-scan' is set but not ever checked.
WARNING: flowbits key 'file.swf' is checked but not ever set.
WARNING: flowbits key 'file.otf' is checked but not ever set.
WARNING: flowbits key 'file.tiff.little' is checked but not ever set.
WARNING: flowbits key 'file.zip.winrar.spoof' is set but not ever checked.
WARNING: flowbits key 'ET.IRC.BOT.CntSOCPU' is set but not ever checked.
WARNING: flowbits key 'file.elf' is checked but not ever set.
WARNING: flowbits key 'et.WinHttpRequest' is checked but not ever set.
WARNING: flowbits key 'file.pct' is checked but not ever set.
WARNING: flowbits key 'asteriskmi' is set but not ever checked.
WARNING: flowbits key 'file.xlsx' is checked but not ever set.
WARNING: flowbits key 'file.jpeg' is checked but not ever set.
WARNING: flowbits key 'lp.controlfile' is set but not ever checked.
WARNING: flowbits key 'is_proto_irc' is checked but not ever set.
WARNING: flowbits key 'mscomctl' is set but not ever checked.
WARNING: flowbits key 'et.MCOFF' is checked but not ever set.
WARNING: flowbits key 'file.svg' is checked but not ever set.
WARNING: flowbits key 'file.cws' is checked but not ever set.
WARNING: flowbits key 'file.rtf' is checked but not ever set.
WARNING: flowbits key 'AnglerEK' is set but not ever checked.
WARNING: flowbits key 'file.silverlight' is checked but not ever set.
WARNING: flowbits key 'ET.wininet.UA' is checked but not ever set.
WARNING: flowbits key 'ipp.application' is set but not ever checked.
WARNING: flowbits key 'ET.CottonCastle.Exploit' is set but not ever checked.
WARNING: flowbits key 'file.mcl' is checked but not ever set.
WARNING: flowbits key 'ET.lethic.established' is set but not ever checked.
WARNING: flowbits key 'file.xls' is checked but not ever set.
WARNING: flowbits key 'file.tiff.big' is checked but not ever set.
WARNING: flowbits key 'file.rmp' is checked but not ever set.
WARNING: flowbits key 'file.drm.f4v' is set but not ever checked.
250 out of 1024 flowbits in use.
[ Port Based Pattern Matching Memory ]
+- [ Aho-Corasick Summary ] -------------------------------------
| Storage Format : Full-Q
| Finite Automaton : DFA
| Alphabet Size : 256 Chars
| Sizeof State : 4 bytes
| Instances : 1710
| Characters : 7831490
| States : 5940237
| Transitions : 834278207
| State Density : 54.9%
| Patterns : 590748
| Match States : 660897
| Memory (MB) : 1979.09
| Patterns : 60.01
| Match Lists : 122.54
| DFA : 1795.65
+----------------------------------------------------------------
pcap DAQ configured to read-file.
Acquiring network traffic from "../sampletest".
Reload thread starting...
Reload thread started, thread 0x7f8115f04700 (13948)
--== Initialization Complete ==--
,,_ -*> Snort! <*-
o" )~ Version 2.9.8.0 GRE (Build 229)
'''' By Martin Roesch & The Snort Team: http://www.snort.org/contact#team
Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved.
Copyright (C) 1998-2013 Sourcefire, Inc., et al.
Using libpcap version 1.6.2
Using PCRE version: 7.8 2008-09-05
Using ZLIB version: 1.2.3
Rules Engine: SF_SNORT_DETECTION_ENGINE Version 2.4 <Build 1>
Preprocessor Object: SF_REPUTATION Version 1.1 <Build 1>
Preprocessor Object: SF_GTP Version 1.1 <Build 1>
Preprocessor Object: SF_FTPTELNET Version 1.2 <Build 13>
Preprocessor Object: SF_SIP Version 1.1 <Build 1>
Preprocessor Object: SF_DCERPC2 Version 1.0 <Build 3>
Preprocessor Object: SF_SMTP Version 1.1 <Build 9>
Preprocessor Object: SF_SSLPP Version 1.1 <Build 4>
Preprocessor Object: SF_SSH Version 1.1 <Build 3>
Preprocessor Object: SF_MODBUS Version 1.1 <Build 1>
Preprocessor Object: SF_SDF Version 1.1 <Build 1>
Preprocessor Object: SF_DNP3 Version 1.1 <Build 1>
Preprocessor Object: SF_POP Version 1.0 <Build 1>
Preprocessor Object: SF_DNS Version 1.1 <Build 4>
Preprocessor Object: SF_IMAP Version 1.0 <Build 1>
Commencing packet processing (pid=13631)
[deleted a few processing status messages related to pruning sessions to memcap stay below memcap]
===============================================================================
Run time for packet processing was 51.4997 seconds
Snort processed 804001 packets.
Snort ran for 0 days 0 hours 0 minutes 51 seconds
Pkts/sec: 15764
===============================================================================
Memory usage summary:
Total non-mmapped bytes (arena): -1883516928
Bytes in mapped regions (hblkhd): 22122496
Total allocated space (uordblks): -1899530096
Total free space (fordblks): 16013168
Topmost releasable block (keepcost): 7364896
===============================================================================
Packet I/O Totals:
Received: 804001
Analyzed: 804001 (100.000%)
Dropped: 0 ( 0.000%)
Filtered: 0 ( 0.000%)
Outstanding: 0 ( 0.000%)
Injected: 0
===============================================================================
Breakdown by protocol (includes rebuilt packets):
Eth: 807112 (100.000%)
VLAN: 0 ( 0.000%)
IP4: 807101 ( 99.999%)
Frag: 3 ( 0.000%)
ICMP: 153 ( 0.019%)
UDP: 76853 ( 9.522%)
TCP: 729891 ( 90.432%)
IP6: 52 ( 0.006%)
IP6 Ext: 52 ( 0.006%)
IP6 Opts: 0 ( 0.000%)
Frag6: 0 ( 0.000%)
ICMP6: 48 ( 0.006%)
UDP6: 0 ( 0.000%)
TCP6: 0 ( 0.000%)
Teredo: 4 ( 0.000%)
ICMP-IP: 0 ( 0.000%)
IP4/IP4: 0 ( 0.000%)
IP4/IP6: 44 ( 0.005%)
IP6/IP4: 0 ( 0.000%)
IP6/IP6: 0 ( 0.000%)
GRE: 35 ( 0.004%)
GRE Eth: 0 ( 0.000%)
GRE VLAN: 0 ( 0.000%)
GRE IP4: 0 ( 0.000%)
GRE IP6: 0 ( 0.000%)
GRE IP6 Ext: 0 ( 0.000%)
GRE PPTP: 35 ( 0.004%)
GRE ARP: 0 ( 0.000%)
GRE IPX: 0 ( 0.000%)
GRE Loop: 0 ( 0.000%)
MPLS: 0 ( 0.000%)
ARP: 0 ( 0.000%)
IPX: 0 ( 0.000%)
Eth Loop: 0 ( 0.000%)
Eth Disc: 0 ( 0.000%)
IP4 Disc: 0 ( 0.000%)
IP6 Disc: 0 ( 0.000%)
TCP Disc: 0 ( 0.000%)
UDP Disc: 0 ( 0.000%)
ICMP Disc: 0 ( 0.000%)
All Discard: 0 ( 0.000%)
Other: 29 ( 0.004%)
Bad Chk Sum: 1 ( 0.000%)
Bad TTL: 0 ( 0.000%)
S5 G 1: 1061 ( 0.131%)
S5 G 2: 2049 ( 0.254%)
Total: 807112
===============================================================================
Action Stats:
Alerts: 482 ( 0.060%)
Logged: 482 ( 0.060%)
Passed: 0 ( 0.000%)
Limits:
Match: 0
Queue: 0
Log: 21
Event: 102
Alert: 0
Verdicts:
Allow: 605571 ( 75.320%)
Block: 0 ( 0.000%)
Replace: 0 ( 0.000%)
Whitelist: 198430 ( 24.680%)
Blacklist: 0 ( 0.000%)
Ignore: 0 ( 0.000%)
Retry: 0 ( 0.000%)
===============================================================================
Frag3 statistics:
Total Fragments: 3
Frags Reassembled: 1
Discards: 0
Memory Faults: 0
Timeouts: 0
Overlaps: 0
Anomalies: 0
Alerts: 1
Drops: 0
FragTrackers Added: 1
FragTrackers Dumped: 1
FragTrackers Auto Freed: 0
Frag Nodes Inserted: 3
Frag Nodes Deleted: 3
===============================================================================
===============================================================================
Stream statistics:
Total sessions: 9325
TCP sessions: 9325
UDP sessions: 0
ICMP sessions: 0
IP sessions: 0
TCP Prunes: 2171
UDP Prunes: 0
ICMP Prunes: 0
IP Prunes: 0
TCP StreamTrackers Created: 9326
TCP StreamTrackers Deleted: 9326
TCP Timeouts: 0
TCP Overlaps: 35
TCP Segments Queued: 336200
TCP Segments Released: 336200
TCP Rebuilt Packets: 52978
TCP Segments Used: 328836
TCP Discards: 3227
TCP Gaps: 2534
UDP Sessions Created: 0
UDP Sessions Deleted: 0
UDP Timeouts: 0
UDP Discards: 0
Events: 479
Internal Events: 0
TCP Port Filter
Filtered: 0
Inspected: 0
Tracked: 726780
UDP Port Filter
Filtered: 0
Inspected: 0
Tracked: 0
===============================================================================
HTTP Inspect - encodings (Note: stream-reassembled packets included):
POST methods: 111
GET methods: 3068
HTTP Request Headers extracted: 3290
HTTP Request Cookies extracted: 1604
Post parameters extracted: 78
HTTP response Headers extracted: 2895
HTTP Response Cookies extracted: 427
Unicode: 32
Double unicode: 0
Non-ASCII representable: 86
Directory traversals: 0
Extra slashes ("//"): 613
Self-referencing paths ("./"): 0
HTTP Response Gzip packets extracted: 597
Gzip Compressed Data Processed: 4153984.00
Gzip Decompressed Data Processed: 12206586.00
Total packets processed: 326181
===============================================================================
SMTP Preprocessor Statistics
Total sessions : 124
Max concurrent sessions : 38
Base64 attachments decoded : 0
Total Base64 decoded bytes : 0
Quoted-Printable attachments decoded : 15
Total Quoted decoded bytes : 471812
UU attachments decoded : 0
Total UU decoded bytes : 0
Non-Encoded MIME attachments extracted : 24
Total Non-Encoded MIME bytes extracted : 114682
Sessions not decoded due to memory unavailability : 16
===============================================================================
SSL Preprocessor:
SSL packets decoded: 44917
Client Hello: 2866
Server Hello: 2690
Certificate: 1842
Server Done: 6066
Client Key Exchange: 1841
Server Key Exchange: 1344
Change Cipher: 5387
Finished: 0
Client Application: 8461
Server Application: 3694
Alert: 689
Unrecognized records: 23354
Completed handshakes: 0
Bad handshakes: 0
Sessions ignored: 3418
Detection disabled: 555
===============================================================================
SIP Preprocessor Statistics
Total sessions: 1
Requests: 0
invite: 0
cancel: 0
ack: 0
bye: 0
register: 0
options: 0
refer: 0
subscribe: 0
update: 0
join: 0
info: 0
message: 0
notify: 0
prack: 0
Responses: 0
1xx: 0
2xx: 0
3xx: 0
4xx: 0
5xx: 0
6xx: 0
7xx: 0
8xx: 0
9xx: 0
Ignore sessions: 0
Ignore channels: 0
===============================================================================
+-----------------------[filtered events]--------------------------------------
|[redacted]
Snort exiting
snort-2796run.log.txt
(text/plain, 32 KB)
$ /usr/local/bin/snort -c /etc/snort/snort.conf -d -r sampletest -l /var/log/snort/1 -R _1
Running in IDS mode
--== Initializing Snort ==--
Initializing Output Plugins!
Initializing Preprocessors!
Initializing Plug-ins!
Parsing Rules file "/etc/snort/snort.conf"
PortVar 'HTTP_PORTS' defined : [ 36 80:90 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1830 1942 2231 2301 2381 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5600 6080 6173 6988 7000:7001 7071 7144:7145 7510 7770 7777:7779 8000 8008 8014 8028 8080:8082 8085 8088 8090 8118 8123 8180:8181 8222 8243 8280 8300 8333 8344 8500 8509 8800 8888 8899 8983 9000 9060 9080 9090:9091 9111 9290 9443 9999:10000 11371 12601 13014 15489 29991 33300 34412 34443:34444 41080 44449 50000 50002 51423 53331 55252 55555 56712 ]
PortVar 'SHELLCODE_PORTS' defined : [ 0:79 81:65535 ]
PortVar 'ORACLE_PORTS' defined : [ 1024:65535 ]
PortVar 'SSH_PORTS' defined : [ 22 2222 22022 ]
PortVar 'FTP_PORTS' defined : [ 21 2100 3535 ]
PortVar 'SIP_PORTS' defined : [ 5060:5061 5600 ]
PortVar 'FILE_DATA_PORTS' defined : [ 36 80:90 110 143 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1830 1942 2231 2301 2381 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5600 6080 6173 6988 7000:7001 7071 7144:7145 7510 7770 7777:7779 8000 8008 8014 8028 8080:8082 8085 8088 8090 8118 8123 8180:8181 8222 8243 8280 8300 8333 8344 8500 8509 8800 8888 8899 8983 9000 9060 9080 9090:9091 9111 9290 9443 9999:10000 11371 12601 13014 15489 29991 33300 34412 34443:34444 41080 44449 50000 50002 51423 53331 55252 55555 56712 ]
PortVar 'GTP_PORTS' defined : [ 2123 2152 3386 ]
Detection:
Search-Method = AC-Full-Q
Found profile_rules config directive (print 20, sort total_ticks, filename /tmp/rules_20-avg_stats.log append)
Tagged Packet Limit: 256
Loading dynamic engine /usr/local/lib/snort_dynamicengine/libsf_engine.so... done
Loading all dynamic preprocessor libs from /usr/local/lib/snort_dynamicpreprocessor/...
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_imap_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_dns_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_pop_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_dnp3_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_sdf_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_modbus_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_ssh_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_ssl_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_smtp_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_dce2_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_sip_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_ftptelnet_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_gtp_preproc.so... done
Loading dynamic preprocessor library /usr/local/lib/snort_dynamicpreprocessor//libsf_reputation_preproc.so... done
Finished Loading all dynamic preprocessor libs from /usr/local/lib/snort_dynamicpreprocessor/
Log directory = /var/log/snort/1
Frag3 global config:
Max frags: 65536
Fragment memory cap: 4194304 bytes
Frag3 engine config:
Bound Address: default
Target-based policy: WINDOWS
Fragment timeout: 180 seconds
Fragment min_ttl: 1
Fragment Anomalies: Alert
Overlap Limit: 10
Min fragment Length: 100
Max Expected Streams: 1256
Stream global config:
Track TCP sessions: ACTIVE
Max TCP sessions: 512000
TCP cache pruning timeout: 30 seconds
TCP cache nominal timeout: 3600 seconds
Memcap (for reassembly packet storage): 8388608
Track UDP sessions: INACTIVE
Track ICMP sessions: INACTIVE
Track IP sessions: INACTIVE
Log info if session memory consumption exceeds 1048576
Send up to 0 active responses
Protocol Aware Flushing: ACTIVE
Maximum Flush Point: 16000
Stream TCP Policy config:
Bound Address: default
Reassembly Policy: LINUX
Timeout: 60 seconds
Limit on TCP Overlaps: 10
Maximum number of bytes to queue per session: 1048576
Maximum number of segs to queue per session: 2621
Options:
Require 3-Way Handshake: YES
3-Way Handshake Timeout: 60
Detect Anomalies: YES
Reassembly Ports:
21 client (Footprint)
22 client (Footprint)
23 client (Footprint)
25 client (Footprint)
36 client (Footprint) server (Footprint)
42 client (Footprint)
53 client (Footprint)
70 client (Footprint)
79 client (Footprint)
80 client (Footprint) server (Footprint)
81 client (Footprint) server (Footprint)
82 client (Footprint) server (Footprint)
83 client (Footprint) server (Footprint)
84 client (Footprint) server (Footprint)
85 client (Footprint) server (Footprint)
86 client (Footprint) server (Footprint)
87 client (Footprint) server (Footprint)
88 client (Footprint) server (Footprint)
89 client (Footprint) server (Footprint)
90 client (Footprint) server (Footprint)
additional ports configured but not printed.
PerfMonitor config:
Sample Time: 600 seconds
Packet Count: 100000
Max File Size: 2147483647
Base Stats: ACTIVE
Base Stats File: /var/log/snort/1/snort_stats.log
Max Perf Stats: INACTIVE
Flow Stats: INACTIVE
Event Stats: INACTIVE
Flow IP Stats: INACTIVE
Console Mode: INACTIVE
HttpInspect Config:
GLOBAL CONFIG
Detect Proxy Usage: NO
IIS Unicode Map Filename: /etc/snort/unicode.map
IIS Unicode Map Codepage: 1252
Memcap used for logging URI and Hostname: 150994944
Max Gzip Memory: 838860
Max Gzip Sessions: 1807
Gzip Compress Depth: 65535
Gzip Decompress Depth: 65535
DEFAULT SERVER CONFIG:
Server profile: All
Ports (PAF): 36 80 81 82 83 84 85 86 87 88 89 90 311 383 555 591 593 631 801 808 818 901 972 1158 1220 1414 1533 1741 1830 1942 2231 2301 2381 2809 2980 3029 3037 3057 3128 3443 3702 4000 4343 4848 5000 5117 5250 5600 6080 6173 6988 7000 7001 7071 7144 7145 7510 7770 7777 7778 7779 8000 8008 8014 8028 8080 8081 8082 8085 8088 8090 8118 8123 8180 8181 8222 8243 8280 8300 8333 8344 8500 8509 8800 8888 8899 8983 9000 9060 9080 9090 9091 9111 9290 9443 9999 10000 11371 12601 13014 15489 29991 33300 34412 34443 34444 41080 44449 50000 50002 51423 53331 55252 55555 56712
Server Flow Depth: 0
Client Flow Depth: 0
Max Chunk Length: 500000
Small Chunk Length Evasion: chunk size <= 10, threshold >= 5 times
Max Header Field Length: 0
Max Number Header Fields: 0
Max Number of WhiteSpaces allowed with header folding: 200
Inspect Pipeline Requests: YES
URI Discovery Strict Mode: NO
Allow Proxy Usage: NO
Disable Alerting: YES
Oversize Dir Length: 500
Only inspect URI: NO
Normalize HTTP Headers: NO
Inspect HTTP Cookies: YES
Inspect HTTP Responses: YES
Extract Gzip from responses: YES
Decompress response files:
Unlimited decompression of gzip data from responses: YES
Normalize Javascripts in HTTP Responses: YES
Max Number of WhiteSpaces allowed with Javascript Obfuscation in HTTP responses: 200
Normalize HTTP Cookies: NO
Enable XFF and True Client IP: NO
Log HTTP URI data: NO
Log HTTP Hostname data: NO
Extended ASCII code support in URI: NO
Ascii: YES alert: NO
Double Decoding: YES alert: NO
%U Encoding: YES alert: YES
Bare Byte: YES alert: NO
UTF 8: YES alert: NO
IIS Unicode: YES alert: NO
Multiple Slash: YES alert: NO
IIS Backslash: YES alert: NO
Directory Traversal: YES alert: NO
Web Root Traversal: YES alert: NO
Apache WhiteSpace: YES alert: NO
IIS Delimiter: YES alert: NO
IIS Unicode Map: GLOBAL IIS UNICODE MAP CONFIG
Non-RFC Compliant Characters: 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
Whitespace Characters: 0x09 0x0b 0x0c 0x0d
SMTP Config:
Ports: 25 465 587 691
Inspection Type: Stateful
Normalize: ATRN AUTH BDAT DATA DEBUG EHLO EMAL ESAM ESND ESOM ETRN EVFY EXPN HELO HELP IDENT MAIL NOOP ONEX QUEU QUIT RCPT RSET SAML SEND STARTTLS SOML TICK TIME TURN TURNME VERB VRFY X-EXPS XADR XAUTH XCIR XEXCH50 XGEN XLICENSE X-LINK2STATE XQUE XSTA XTRN XUSR CHUNKING X-ADAT X-DRCP X-ERCP X-EXCH50
Ignore Data: No
Ignore TLS Data: No
Ignore SMTP Alerts: No
Max Command Line Length: 1024
Max Specific Command Line Length:
ATRN:255 AUTH:246 BDAT:255 DATA:246 DEBUG:255
EHLO:500 EMAL:255 ESAM:255 ESND:255 ESOM:255
ETRN:246 EVFY:255 EXPN:255 HELO:500 HELP:500
IDENT:255 MAIL:260 NOOP:255 ONEX:246 QUEU:246
QUIT:246 RCPT:300 RSET:246 SAML:246 SEND:246
SIZE:255 STARTTLS:246 SOML:246 TICK:246 TIME:246
TURN:246 TURNME:246 VERB:246 VRFY:255 X-EXPS:246
XADR:246 XAUTH:246 XCIR:246 XEXCH50:246 XGEN:246
XLICENSE:246 X-LINK2STATE:246 XQUE:246 XSTA:246 XTRN:246
XUSR:246
Max Header Line Length: 1000
Max Response Line Length: 1024
X-Link2State Alert: Yes
Drop on X-Link2State Alert: No
Alert on commands: None
Alert on unknown commands: No
SMTP Memcap: 838860
MIME Max Mem: 838860
Base64 Decoding: Disabled
Quoted-Printable Decoding: Enabled
Quoted-Printable Decoding Depth: Unlimited
Unix-to-Unix Decoding: Enabled
Unix-to-Unix Decoding Depth: Unlimited
Non-Encoded MIME attachment Extraction: Enabled
Non-Encoded MIME attachment Extraction Depth: Unlimited
Log Attachment filename: Enabled
Log MAIL FROM Address: Enabled
Log RCPT TO Addresses: Enabled
Log Email Headers: Enabled
Email Hdrs Log Depth: 1464
SSH config:
Autodetection: ENABLED
Challenge-Response Overflow Alert: DISABLED
SSH1 CRC32 Alert: DISABLED
Server Version String Overflow Alert: DISABLED
Protocol Mismatch Alert: DISABLED
Bad Message Direction Alert: DISABLED
Bad Payload Size Alert: DISABLED
Unrecognized Version Alert: DISABLED
Max Encrypted Packets: 20
Max Server Version String Length: 100
Ports:
22
DNS config:
DNS Client rdata txt Overflow Alert: ACTIVE
Obsolete DNS RR Types Alert: INACTIVE
Experimental DNS RR Types Alert: INACTIVE
Ports: 53
SSLPP config:
Encrypted packets: not inspected
Ports:
443 465 563 636 989
992 993 994 995 7801
7802 7900 7901 7902 7903
7904 7905 7906 7907 7908
7909 7910 7911 7912 7913
7914 7915 7916 7917 7918
7919 7920
Server side data is trusted
Maximum SSL Heartbeat length: 0
SIP config:
Max number of sessions: 40000
Max number of dialogs in a session: 4 (Default)
Status: ENABLED
Ignore media channel: DISABLED
Max URI length: 512
Max Call ID length: 80
Max Request name length: 20 (Default)
Max From length: 256 (Default)
Max To length: 256 (Default)
Max Via length: 1024 (Default)
Max Contact length: 512
Max Content length: 2048
Ports:
5060 5061 5600
Methods:
invite cancel ack bye register options refer subscribe update join info message notify benotify do qauth sprack publish service unsubscribe prack
POP Config:
POP: INACTIVE
Ports: 110
POP Memcap: 838860
MIME Max Mem: 838860
Base64 Decoding: Enabled
Base64 Decoding Depth: Unlimited
Quoted-Printable Decoding: Enabled
Quoted-Printable Decoding Depth: Unlimited
Unix-to-Unix Decoding: Enabled
Unix-to-Unix Decoding Depth: Unlimited
Non-Encoded MIME attachment Extraction: Enabled
Non-Encoded MIME attachment Extraction Depth: Unlimited
+++++++++++++++++++++++++++++++++++++++++++++++++++
Initializing rule chains...
16104 Snort rules read
15003 detection rules
137 decoder rules
233 preprocessor rules
15373 Option Chains linked into 553 Chain Headers
0 Dynamic rules
+++++++++++++++++++++++++++++++++++++++++++++++++++
+-------------------[Rule Port Counts]---------------------------------------
| tcp udp icmp ip
| src 3843 64 0 0
| dst 8473 1894 0 0
| any 1784 40 20 6
| nc 377 1 0 1
| s+d 51 14 0 0
+----------------------------------------------------------------------------
+-----------------------[detection-filter-config]------------------------------
| memory-cap : 1048576 bytes
+-----------------------[detection-filter-rules]-------------------------------
-------------------------------------------------------------------------------
+-----------------------[rate-filter-config]-----------------------------------
| memory-cap : 1048576 bytes
+-----------------------[rate-filter-rules]------------------------------------
| none
-------------------------------------------------------------------------------
+-----------------------[event-filter-config]----------------------------------
| memory-cap : 1048576 bytes
+-----------------------[event-filter-global]----------------------------------
| none
+-----------------------[event-filter-local]-----------------------------------
| [redacted]
+-----------------------[suppression]------------------------------------------
| gen-id=119 sig-id=32 tracking=none
| gen-id=120 sig-id=8 tracking=none
| gen-id=137 sig-id=1 tracking=none
-------------------------------------------------------------------------------
Rule application order: activation->dynamic->pass->drop->sdrop->reject->alert->log
Verifying Preprocessor Configurations!
WARNING: flowbits key 'file.corel' is checked but not ever set.
WARNING: flowbits key 'ET.lethic.established' is set but not ever checked.
WARNING: flowbits key 'file.tiff.big' is checked but not ever set.
WARNING: flowbits key 'ETPRO.RTF' is checked but not ever set.
WARNING: flowbits key 'file.rmp' is checked but not ever set.
WARNING: flowbits key 'OLE.WithFlash' is checked but not ever set.
WARNING: flowbits key 'BE.Radmin.Challenge' is set but not ever checked.
WARNING: flowbits key 'file.visio' is checked but not ever set.
WARNING: flowbits key 'et.http.PK' is checked but not ever set.
WARNING: flowbits key 'HTTP.UncompressedFlash' is checked but not ever set.
WARNING: flowbits key 'ET.JS.Obfus.Func' is checked but not ever set.
WARNING: flowbits key 'file.xls' is checked but not ever set.
WARNING: flowbits key 'is_proto_irc' is checked but not ever set.
WARNING: flowbits key 'ET.ftp.user.login' is set but not ever checked.
WARNING: flowbits key 'file.exe' is checked but not ever set.
WARNING: flowbits key 'itunes.serverinfo.request' is set but not ever checked.
WARNING: flowbits key 'file.otf' is checked but not ever set.
WARNING: flowbits key 'SunDown.EK' is set but not ever checked.
WARNING: flowbits key 'file.jpeg' is checked but not ever set.
WARNING: flowbits key 'et.SweetOrangeURI' is set but not ever checked.
WARNING: flowbits key 'et.MCOFF' is checked but not ever set.
WARNING: flowbits key 'file.jar' is checked but not ever set.
WARNING: flowbits key 'qualcom.worldmail.ok' is set but not ever checked.
WARNING: flowbits key 'file.universalbinary' is checked but not ever set.
WARNING: flowbits key 'lp.controlfile' is set but not ever checked.
WARNING: flowbits key 'file.zip.winrar.spoof' is set but not ever checked.
WARNING: flowbits key 'AnglerEK' is set but not ever checked.
WARNING: flowbits key 'file.bcl' is checked but not ever set.
WARNING: flowbits key 'file.elf' is checked but not ever set.
WARNING: flowbits key 'file.class' is checked but not ever set.
WARNING: flowbits key 'veritas.vmd.connect' is set but not ever checked.
WARNING: flowbits key 'ET.pdf.in.http' is checked but not ever set.
WARNING: flowbits key 'vnc.auth' is set but not ever checked.
WARNING: flowbits key 'ET.Adobe.Site.Download' is checked but not ever set.
WARNING: flowbits key 'ET.gadu.loggedin' is checked but not ever set.
WARNING: flowbits key 'file.ttf' is checked but not ever set.
WARNING: flowbits key 'asteriskmi' is set but not ever checked.
WARNING: flowbits key 'file.doc' is checked but not ever set.
WARNING: flowbits key 'ET.IRC.BOT.CntSOCPU' is set but not ever checked.
WARNING: flowbits key 'file.xlsx' is checked but not ever set.
WARNING: flowbits key 'acunetix-scan' is set but not ever checked.
WARNING: flowbits key 'file.iakerb' is set but not ever checked.
WARNING: flowbits key 'file.junction' is set but not ever checked.
WARNING: flowbits key 'spyrat_bd' is set but not ever checked.
WARNING: flowbits key 'file.cws' is checked but not ever set.
WARNING: flowbits key 'ET.ButterflyJoin' is set but not ever checked.
WARNING: flowbits key 'et.DocVBAProject' is checked but not ever set.
WARNING: flowbits key 'ET.RUGGED.BANNER' is checked but not ever set.
WARNING: flowbits key 'file.fdf' is checked but not ever set.
WARNING: flowbits key 'file.swf.cff' is checked but not ever set.
WARNING: flowbits key 'file.application' is checked but not ever set.
WARNING: flowbits key 'tivoli.backup' is set but not ever checked.
WARNING: flowbits key 'file.ole' is checked but not ever set.
WARNING: flowbits key 'ET.ms08067_header' is set but not ever checked.
WARNING: flowbits key 'ET.RDP.Morto' is set but not ever checked.
WARNING: flowbits key 'ssl_handshake' is set but not ever checked.
WARNING: flowbits key 'BaiduToolbar_detection' is set but not ever checked.
WARNING: flowbits key 'et.MS.XMLHTTP.no.exe.request' is checked but not ever set.
WARNING: flowbits key 'et.WinHttpRequest' is checked but not ever set.
WARNING: flowbits key 'vnc.server.auth.types' is set but not ever checked.
WARNING: flowbits key 'file.drm.f4v' is set but not ever checked.
WARNING: flowbits key 'imagesource.redefine' is set but not ever checked.
WARNING: flowbits key 'tlsv1.1_handshake' is set but not ever checked.
WARNING: flowbits key 'file.pct' is checked but not ever set.
WARNING: flowbits key 'ET.autoit.ua' is checked but not ever set.
WARNING: flowbits key 'smtp.contenttype.attachment' is set but not ever checked.
WARNING: flowbits key 'hornet.2' is set but not ever checked.
WARNING: flowbits key 'FakeIEMinimal' is set but not ever checked.
WARNING: flowbits key 'ET.ZoneAlarm.Site.Download' is checked but not ever set.
WARNING: flowbits key 'file.bmp' is checked but not ever set.
WARNING: flowbits key 'file.mp4' is checked but not ever set.
WARNING: flowbits key 'ET.wininet.UA' is checked but not ever set.
WARNING: flowbits key 'vnc.traffic' is set but not ever checked.
WARNING: flowbits key 'file.docx' is checked but not ever set.
WARNING: flowbits key 'file.tiff' is checked but not ever set.
WARNING: flowbits key 'is_ssh_server_banner' is set but not ever checked.
WARNING: flowbits key 'file.silverlight' is checked but not ever set.
WARNING: flowbits key 'ET.invalid.cab' is checked but not ever set.
WARNING: flowbits key 'file.png' is checked but not ever set.
WARNING: flowbits key 'file.swf' is checked but not ever set.
WARNING: flowbits key 'file.rtf' is checked but not ever set.
WARNING: flowbits key 'file.zip' is checked but not ever set.
WARNING: flowbits key 'ms.webdav.propfind' is set but not ever checked.
WARNING: flowbits key 'tlsv1.0_handshake' is set but not ever checked.
WARNING: flowbits key 'file.flv' is checked but not ever set.
WARNING: flowbits key 'tnftp' is set but not ever checked.
WARNING: flowbits key 'ipp.application' is set but not ever checked.
WARNING: flowbits key 'et.MS.XMLHTTP.ip.request' is checked but not ever set.
WARNING: flowbits key 'file.svg' is checked but not ever set.
WARNING: flowbits key 'file.tiff.little' is checked but not ever set.
WARNING: flowbits key 'ET.Fareit.chk' is set but not ever checked.
WARNING: flowbits key 'mscomctl' is set but not ever checked.
WARNING: flowbits key 'tlsv1.2_handshake' is set but not ever checked.
WARNING: flowbits key 'EXE2' is set but not ever checked.
WARNING: flowbits key 'file.psfont' is checked but not ever set.
WARNING: flowbits key 'NuclearEK' is set but not ever checked.
WARNING: flowbits key 'ET.CottonCastle.Exploit' is set but not ever checked.
WARNING: flowbits key 'file.pdf' is checked but not ever set.
WARNING: flowbits key 'file.mcl' is checked but not ever set.
WARNING: flowbits key 'et.JavaArchiveOrClass' is checked but not ever set.
250 out of 1024 flowbits in use.
[ Port Based Pattern Matching Memory ]
+- [ Aho-Corasick Summary ] -------------------------------------
| Storage Format : Full-Q
| Finite Automaton : DFA
| Alphabet Size : 256 Chars
| Sizeof State : 4 bytes
| Instances : 955
| Characters : 4459913
| States : 3382768
| Transitions : 480562184
| State Density : 55.5%
| Patterns : 333707
| Match States : 374584
| Memory (KB) : -651916.19
| Pattern : 34781.62
| Match Lists : 71479.36
+----------------------------------------------------------------
pcap DAQ configured to read-file.
Acquiring network traffic from "sampletest".
Reload thread starting...
Reload thread started, thread 0x7f6423afb700 (7106)
--== Initialization Complete ==--
,,_ -*> Snort! <*-
o" )~ Version 2.9.7.6 GRE (Build 285)
'''' By Martin Roesch & The Snort Team: http://www.snort.org/contact#team
Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved.
Copyright (C) 1998-2013 Sourcefire, Inc., et al.
Using libpcap version 1.6.2
Using PCRE version: 7.8 2008-09-05
Using ZLIB version: 1.2.3
Rules Engine: SF_SNORT_DETECTION_ENGINE Version 2.4 <Build 1>
Preprocessor Object: SF_REPUTATION Version 1.1 <Build 1>
Preprocessor Object: SF_GTP Version 1.1 <Build 1>
Preprocessor Object: SF_FTPTELNET Version 1.2 <Build 13>
Preprocessor Object: SF_SIP Version 1.1 <Build 1>
Preprocessor Object: SF_DCERPC2 Version 1.0 <Build 3>
Preprocessor Object: SF_SMTP Version 1.1 <Build 9>
Preprocessor Object: SF_SSLPP Version 1.1 <Build 4>
Preprocessor Object: SF_SSH Version 1.1 <Build 3>
Preprocessor Object: SF_MODBUS Version 1.1 <Build 1>
Preprocessor Object: SF_SDF Version 1.1 <Build 1>
Preprocessor Object: SF_DNP3 Version 1.1 <Build 1>
Preprocessor Object: SF_POP Version 1.0 <Build 1>
Preprocessor Object: SF_DNS Version 1.1 <Build 4>
Preprocessor Object: SF_IMAP Version 1.0 <Build 1>
Commencing packet processing (pid=6924)
[deleted a bunch of processing status messages related to pruning sessions to memcap stay below memcap]
===============================================================================
Run time for packet processing was 28.3331 seconds
Snort processed 804001 packets.
Snort ran for 0 days 0 hours 0 minutes 28 seconds
Pkts/sec: 28714
===============================================================================
Memory usage summary:
Total non-mmapped bytes (arena): -416358400
Bytes in mapped regions (hblkhd): 13438976
Total allocated space (uordblks): -453865744
Total free space (fordblks): 37507344
Topmost releasable block (keepcost): 114000
===============================================================================
Packet I/O Totals:
Received: 804001
Analyzed: 804001 (100.000%)
Dropped: 0 ( 0.000%)
Filtered: 0 ( 0.000%)
Outstanding: 0 ( 0.000%)
Injected: 0
===============================================================================
Breakdown by protocol (includes rebuilt packets):
Eth: 807188 (100.000%)
VLAN: 0 ( 0.000%)
IP4: 807177 ( 99.999%)
Frag: 3 ( 0.000%)
ICMP: 153 ( 0.019%)
UDP: 76853 ( 9.521%)
TCP: 729967 ( 90.433%)
IP6: 52 ( 0.006%)
IP6 Ext: 52 ( 0.006%)
IP6 Opts: 0 ( 0.000%)
Frag6: 0 ( 0.000%)
ICMP6: 48 ( 0.006%)
UDP6: 0 ( 0.000%)
TCP6: 0 ( 0.000%)
Teredo: 4 ( 0.000%)
ICMP-IP: 0 ( 0.000%)
IP4/IP4: 0 ( 0.000%)
IP4/IP6: 44 ( 0.005%)
IP6/IP4: 0 ( 0.000%)
IP6/IP6: 0 ( 0.000%)
GRE: 35 ( 0.004%)
GRE Eth: 0 ( 0.000%)
GRE VLAN: 0 ( 0.000%)
GRE IP4: 0 ( 0.000%)
GRE IP6: 0 ( 0.000%)
GRE IP6 Ext: 0 ( 0.000%)
GRE PPTP: 35 ( 0.004%)
GRE ARP: 0 ( 0.000%)
GRE IPX: 0 ( 0.000%)
GRE Loop: 0 ( 0.000%)
MPLS: 0 ( 0.000%)
ARP: 0 ( 0.000%)
IPX: 0 ( 0.000%)
Eth Loop: 0 ( 0.000%)
Eth Disc: 0 ( 0.000%)
IP4 Disc: 0 ( 0.000%)
IP6 Disc: 0 ( 0.000%)
TCP Disc: 0 ( 0.000%)
UDP Disc: 0 ( 0.000%)
ICMP Disc: 0 ( 0.000%)
All Discard: 0 ( 0.000%)
Other: 29 ( 0.004%)
Bad Chk Sum: 1 ( 0.000%)
Bad TTL: 0 ( 0.000%)
S5 G 1: 1125 ( 0.139%)
S5 G 2: 2061 ( 0.255%)
Total: 807188
===============================================================================
Action Stats:
Alerts: 443 ( 0.055%)
Logged: 443 ( 0.055%)
Passed: 0 ( 0.000%)
Limits:
Match: 0
Queue: 0
Log: 21
Event: 102
Alert: 0
Verdicts:
Allow: 606087 ( 75.384%)
Block: 0 ( 0.000%)
Replace: 0 ( 0.000%)
Whitelist: 197914 ( 24.616%)
Blacklist: 0 ( 0.000%)
Ignore: 0 ( 0.000%)
Retry: 0 ( 0.000%)
===============================================================================
Frag3 statistics:
Total Fragments: 3
Frags Reassembled: 1
Discards: 0
Memory Faults: 0
Timeouts: 0
Overlaps: 0
Anomalies: 0
Alerts: 1
Drops: 0
FragTrackers Added: 1
FragTrackers Dumped: 1
FragTrackers Auto Freed: 0
Frag Nodes Inserted: 3
Frag Nodes Deleted: 3
===============================================================================
===============================================================================
Stream statistics:
Total sessions: 9420
TCP sessions: 9420
UDP sessions: 0
ICMP sessions: 0
IP sessions: 0
TCP Prunes: 2131
UDP Prunes: 0
ICMP Prunes: 0
IP Prunes: 0
TCP StreamTrackers Created: 9421
TCP StreamTrackers Deleted: 9421
TCP Timeouts: 0
TCP Overlaps: 35
TCP Segments Queued: 336298
TCP Segments Released: 336298
TCP Rebuilt Packets: 52938
TCP Segments Used: 328786
TCP Discards: 3497
TCP Gaps: 2472
UDP Sessions Created: 0
UDP Sessions Deleted: 0
UDP Timeouts: 0
UDP Discards: 0
Events: 440
Internal Events: 0
TCP Port Filter
Filtered: 0
Inspected: 0
Tracked: 726780
UDP Port Filter
Filtered: 0
Inspected: 0
Tracked: 0
===============================================================================
HTTP Inspect - encodings (Note: stream-reassembled packets included):
POST methods: 111
GET methods: 3068
HTTP Request Headers extracted: 3289
HTTP Request Cookies extracted: 1604
Post parameters extracted: 78
HTTP response Headers extracted: 2984
HTTP Response Cookies extracted: 431
Unicode: 32
Double unicode: 0
Non-ASCII representable: 86
Directory traversals: 0
Extra slashes ("//"): 613
Self-referencing paths ("./"): 0
HTTP Response Gzip packets extracted: 597
Gzip Compressed Data Processed: 4140620.00
Gzip Decompressed Data Processed: 12206586.00
Total packets processed: 326190
===============================================================================
SMTP Preprocessor Statistics
Total sessions : 125
Max concurrent sessions : 37
Base64 attachments decoded : 0
Total Base64 decoded bytes : 0
Quoted-Printable attachments decoded : 15
Total Quoted decoded bytes : 471812
UU attachments decoded : 0
Total UU decoded bytes : 0
Non-Encoded MIME attachments extracted : 24
Total Non-Encoded MIME bytes extracted : 114682
Sessions not decoded due to memory unavailability : 16
===============================================================================
SSL Preprocessor:
SSL packets decoded: 44951
Client Hello: 2867
Server Hello: 2690
Certificate: 1842
Server Done: 6067
Client Key Exchange: 1841
Server Key Exchange: 1344
Change Cipher: 5388
Finished: 0
Client Application: 8468
Server Application: 3728
Alert: 698
Unrecognized records: 23351
Completed handshakes: 0
Bad handshakes: 0
Sessions ignored: 3437
Detection disabled: 560
===============================================================================
SIP Preprocessor Statistics
Total sessions: 1
Requests: 0
invite: 0
cancel: 0
ack: 0
bye: 0
register: 0
options: 0
refer: 0
subscribe: 0
update: 0
join: 0
info: 0
message: 0
notify: 0
prack: 0
Responses: 0
1xx: 0
2xx: 0
3xx: 0
4xx: 0
5xx: 0
6xx: 0
7xx: 0
8xx: 0
9xx: 0
Ignore sessions: 0
Ignore channels: 0
===============================================================================
+-----------------------[filtered events]--------------------------------------
[redacted]
Snort exiting