Answer the question
In order to leave comments, you need to log in
How to implement filtering of TCP packets by content in the Data field under windows on the fly?
Good day to all!
Please tell me the solution to this problem:
it is necessary to filter TCP packets containing text messages on a Windows machine. Some are skipped, while others are discarded.
Messages are not encrypted.
Is it possible to implement this by means of the operating system itself?
Is it possible to implement this by third-party means (proxy server or some kind of filter driver)?
Package example:
Thank you for your answers.
Answer the question
In order to leave comments, you need to log in
filter TCP packets containing text messages.
Is it possible to implement this by third-party means (proxy server or some kind of filter driver)?
Comodo seems to be able to do this. But not sure how it is now.
under Linux in Snort https://www.snort.org/ it was possible to build rules with the string criterion in ASCII,
since Snort is also available under Windows, this may solve your problem.
for more details about creating such rules - manual-snort-org.s3-website-us-east-1.amazonaws.co...
The question is meaningless.
TCP does not contain text or non-text messages - it contains a payload that is parsed by upper layer protocols. This payload, as Inviz Custos rightly noted, can be 1 byte per TCP packet, which can be a zillion - and the kernel must collect all of them into one common buffer before sending it "up".
Filtering what came to the payload must be done on ISO / OSI 7 - after all assemblies, decryptions, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question