-
September 30th, 2015, 05:30 AM
#1
filter http packet by content
Hi
I want to write a program ( or use someone existed) that analyze http packets and filter that has my html sample.You know our request to a site return to us as a html and css and javascript form and I want to filter http packets that has my html code.
performance is very important for me in this idea.
tnx
-
September 30th, 2015, 07:18 AM
#2
Re: filter http packet by content
-
September 30th, 2015, 07:55 AM
#3
Re: filter http packet by content
-
September 30th, 2015, 07:56 AM
#4
Re: filter http packet by content
Originally Posted by addr3ss
block than packets.
Edit: block that packets in linux.
-
September 30th, 2015, 09:23 AM
#5
Re: filter http packet by content
Blocking packets by content is done with the firewall on Linux.
http://stackoverflow.com/questions/8...ing-in-payload
Also I second OReubens, you want to either write or make a packet sniffer. Possibly you can use a 3rd party packet sniffer and use their API or Application Programming Interface.
ahoodin
To keep the plot moving, that's why.
-
October 1st, 2015, 02:18 AM
#6
Re: filter http packet by content
iptables not designed for this.what sniffer APIs are there?which one has better performance?
-
October 1st, 2015, 07:06 AM
#7
Re: filter http packet by content
You either want to look into hooking the api's the libraries from wireshark (libwireshark or it's lower level version libpcap) or fiddler (fiddlercore) provide. (easiest)
or you want to use the Windows Filtering Platform. (user mode).
or you want to look into a TDI driver or a Firewall hook driver (but then you'll need to write a kernel mode driver).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|