libhtp icon indicating copy to clipboard operation
libhtp copied to clipboard

support HTTP Bearer authentication (fix #324)

Open kevinreddot opened this issue 3 years ago • 4 comments

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.

kevinreddot avatar Feb 13 '22 10:02 kevinreddot

Do you want this for Suricata or for another use case ?

catenacyber avatar Feb 22 '22 20:02 catenacyber

Do you want this for Suricata or for another use case ?

For Suricata

kevinreddot avatar Feb 24 '22 17:02 kevinreddot

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 ?

catenacyber avatar Feb 24 '22 20:02 catenacyber

Friendly ping @kevinreddot do you plan to work further on this ?

catenacyber avatar Jun 09 '22 08:06 catenacyber

Replaced by https://github.com/OISF/libhtp/pull/393

catenacyber avatar Jun 20 '23 11:06 catenacyber