Snort mailing list archives

Re: snort inline problem


From: mostafa ammar <mostafaammar79 () gmail com>
Date: Thu, 20 Oct 2016 13:37:41 +0200

Dear Jays,

I used -v option with snort command line I found that tcp session passes
through snort but dows not complete for some reason , below is the logs
showing traffic is passing for ssh session from 192.168.1.55 to
192.168.1.88 but not completing.

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:40.634939 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9841 IpLen:20 DgmLen:52 DF
******S* Seq: 0xB3DCA921  Ack: 0x0  Win: 0x2000  TcpLen: 32
TCP Options (6) => MSS: 1460 NOP WS: 2 NOP NOP SackOK
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:40.635840 192.168.1.88:22 -> 192.168.1.55:49206
TCP TTL:64 TOS:0x0 ID:0 IpLen:20 DgmLen:52 DF
***A**S* Seq: 0xFCD1D6B0  Ack: 0xB3DCA922  Win: 0x7210  TcpLen: 32
TCP Options (6) => MSS: 1460 NOP NOP SackOK NOP WS: 7
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:40.636534 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9842 IpLen:20 DgmLen:40 DF
***A**** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:40.637413 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9843 IpLen:20 DgmLen:68 DF
***AP*** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:40.945485 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9844 IpLen:20 DgmLen:68 DF
***AP*** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:41.553977 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9845 IpLen:20 DgmLen:68 DF
***AP*** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:41.832758 192.168.1.88:22 -> 192.168.1.55:49206
TCP TTL:64 TOS:0x0 ID:0 IpLen:20 DgmLen:52 DF
***A**S* Seq: 0xFCD1D6B0  Ack: 0xB3DCA922  Win: 0x7210  TcpLen: 32
TCP Options (6) => MSS: 1460 NOP NOP SackOK NOP WS: 7
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:42.755163 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9846 IpLen:20 DgmLen:68
***AP*** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:42.755728 192.168.1.88:22 -> 192.168.1.55:49206
TCP TTL:64 TOS:0x0 ID:21733 IpLen:20 DgmLen:40 DF
***A**** Seq: 0xFCD1D6B1  Ack: 0xB3DCA93E  Win: 0xE5  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:42.793606 192.168.1.88:22 -> 192.168.1.55:49206
TCP TTL:64 TOS:0x0 ID:21734 IpLen:20 DgmLen:83 DF
***AP*** Seq: 0xFCD1D6B1  Ack: 0xB3DCA93E  Win: 0xE5  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:42.799241 192.168.1.88:22 -> 192.168.1.55:49206
TCP TTL:64 TOS:0x0 ID:21735 IpLen:20 DgmLen:1500 DF
***A**** Seq: 0xFCD1D6DC  Ack: 0xB3DCA93E  Win: 0xE5  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:43.956336 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9847 IpLen:20 DgmLen:68
***AP*** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:43.956764 192.168.1.88:22 -> 192.168.1.55:49206
TCP TTL:64 TOS:0x0 ID:21736 IpLen:20 DgmLen:52 DF
***A**** Seq: 0xFCD1DC90  Ack: 0xB3DCA93E  Win: 0xE5  TcpLen: 32
TCP Options (3) => NOP NOP Sack: 46044@43298
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:45.157504 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9848 IpLen:20 DgmLen:68 DF
***AP*** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:45.800757 192.168.1.88:22 -> 192.168.1.55:49206
TCP TTL:64 TOS:0x0 ID:21737 IpLen:20 DgmLen:83 DF
***AP*** Seq: 0xFCD1D6B1  Ack: 0xB3DCA93E  Win: 0xE5  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

10/20-13:33:47.559946 192.168.1.55:49206 -> 192.168.1.88:22
TCP TTL:128 TOS:0x0 ID:9849 IpLen:20 DgmLen:68 DF
***AP*** Seq: 0xB3DCA922  Ack: 0xFCD1D6B1  Win: 0x4029  TcpLen: 20
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

On Thu, Oct 20, 2016 at 11:40 AM, mostafa ammar <mostafaammar79 () gmail com>
wrote:

Dear Jays ,

Thanks for your reply to my problem, I installed snort as a VM on
xenserver , it is connecting between 2 other VMs every machine , ping is
working successfully but any other protocol is not running, I adjusted the
snort.conf file and added

running the check command
snort --daq-list
Available DAQ modules:
pcap(v3): readback live multi unpriv
nfq(v7): live inline multi
ipfw(v3): live inline multi unpriv
dump(v3): readback live inline multi unpriv
afpacket(v5): live inline multi unpriv


to run snort inline I use the following command
 sudo snort -A console -Q -c /etc/snort/snort.conf -i eth3:eth2 -N

ping is working fine but any other protocols are not running ,I disabled
normalization for several protocols.
#preprocessor normalize_ip4
#preprocessor normalize_tcp: block, rsv, pad, urp, req_urg, req_pay,
req_urp, ips, ecn stream
#preprocessor normalize_icmp4
#preprocessor normalize_ip6
#preprocessor normalize_icmp6

Thanks for your help.

NB: I used to work on google groups I can reply to mail threads , now I
dont have any notification of emails of reply to my email and I dont know
how to reply to mail threads

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: