How to block HTTP requests based on HTTP header fields using iptables
Sun, 2012.09.16 - 13:00 — müzso
The trick is to:
- filter the right TCP packet (not just process all packets going to/from the webserver's port ... that'd be a serious waste of CPU power) ... in this task the "Recent" match module can be of great help
- use the "String" match module to seach the first couple of bytes of the targeted packet for a string match
Recent comments
1 year 44 weeks ago
3 years 14 weeks ago
3 years 14 weeks ago
3 years 16 weeks ago
3 years 17 weeks ago
3 years 23 weeks ago
3 years 23 weeks ago
3 years 24 weeks ago
3 years 24 weeks ago
3 years 24 weeks ago