Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I'm looking to drop a connection if a website contains a certain word or phrase. The issue is, the site is typically compressed with gzip. Any ideas?

share|improve this question
transparent http proxy like squid? –  frostschutz Mar 11 '13 at 3:24

1 Answer 1

snort knows how to handle compressed HTTP requests and responses. So configuring snort in inline mode and writing rules with file_data before the content keyword would do it.

share|improve this answer
Do you have a link to a guide or similar? Sounds perfect –  Coffeee Mar 11 '13 at 12:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.