]> git.ipfire.org Git - thirdparty/suricata.git/commit
http: allow lower/mixed case in proto detect 2454/head
authorVictor Julien <victor@inliniac.net>
Tue, 13 Dec 2016 09:23:21 +0000 (10:23 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 13 Dec 2016 09:23:21 +0000 (10:23 +0100)
commit579d6d3ff77af42d3d7d1b85a68a1f55c704fbf3
treeb664a252c25fa93b7abd52adf6991cc99480bfde
parent94bc7e5f5f4756e0a4495227ee6dde2c7bba85ef
http: allow lower/mixed case in proto detect

In HTTP detection registered patterns were upper case only. Since the
detection is based on both sides this would still work for sessions
where one of the talkers misbehaved. If both sides misbehave this
would fail however, so this patch introduces case insensive matching.
src/app-layer-htp.c