libhtp
libhtp copied to clipboard
support HTTP Bearer authentication (fix #324)
This adds support for Bearer type authorization header. Incorporated suggestions by @catenacyber at https://github.com/OISF/libhtp/pull/325#pullrequestreview-620194346:
- defined
HTP_AUTH_BEARER
constant, - added test file and
TEST_F(ConnectionParsing, AuthBearer)
using example from RFC6750.
Fixes #324.
Do you want this for Suricata or for another use case ?
Do you want this for Suricata or for another use case ?
For Suricata
Ok thanks. Could you create a redmine ticket for this ? https://redmine.openinfosecfoundation.org And could you create a Suricata-verify test to check that this libhtp change brings the wanted behavior in Suricata ?
Friendly ping @kevinreddot do you plan to work further on this ?
Replaced by https://github.com/OISF/libhtp/pull/393