Re: How to get packet's from my host to server in snort

"Ed Borgoyn (eborgoyn)" <[email protected]>
Newsgroups gmane.comp.security.ids.snort.devel
Message-ID <D1F21E62.31FF1%[email protected]>
Hello Kawsar,
  Can you provide any additional details of your situation?  Are you saying that the preprocessor is only seeing one side of the TCP conversation?  Is Snort seeing both sides of the traffic?

  For example, the HTTP_INSPECT preprocessor can examine/process both the client (to port 80/443) and server (from port 80/443) packets.  Have you modeled you new preprocessor after an existing dynamic preprocessor?

    Best Regards,
    Ed Borgoyn
    Cisco Snort Development Team


From: Mohiuddin Ebna Kawsar <[email protected]<mailto:[email protected]>>
Date: Wednesday, August 12, 2015 at 8:45 AM
To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Subject: [Snort-devel] How to get packet's from my host to server in snort

Hi,

I am developing a dynamic-preprocessor for which i have to look inside each packet is that redirect or not.
If the packet contains HTTP redirect then get the domain and follow the
redirected tcp stream.

For this i need to access header of HTTP GET request packet from my host to server to check Host value is same as redirected domain.
But my snort preprocessor gets packet only from port 80/443, not to 80/443 from my host.

Is there any way?

Regards
Kawsar

------------------------------------------------------------------------------

_______________________________________________
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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.