Forum Discussion
Chris_Bartnick_
Nimbostratus
Apr 21, 2009Irule for blocking http smuggling
Hello,
Would anyone have an Irule config or template that can block "HTTP request smuggling" or HRS...or possibly forward me if the direction to create one for an ltm running 9x code?
...
hoolio
Cirrostratus
Apr 24, 2009Sorry, I didn't realize the HTTP::header count behavior changed in 9.4.0. I thought it worked as expected in older versions. Can you try testing this to check if it doesn't return 2 for two of the same headers?
You can use curl to send a request with two header names:
$ curl -v -H "Header1: value1" -H "Header1: value2" google.com
* About to connect() to google.com port 80 (0)
* Trying 74.125.67.100... connected
* Connected to google.com (74.125.67.100) port 80 (0)
> GET / HTTP/1.1
> User-Agent: curl/7.16.3 (i686-pc-cygwin) libcurl/7.16.3 OpenSSL/0.9.8k zlib/1.2.3 libssh2/0.15-CVS
> Host: google.com
> Accept: */*
> Header1: value1
> Header1: value2
You could also use a Firefox browser plugin like TamperData to test this.
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
