Summary: | JA3 does not seem to be enabled when necessary on Core Update 153 | ||
---|---|---|---|
Product: | IPFire | Reporter: | Michael Tremer <michael.tremer> |
Component: | --- | Assignee: | Stefan Schantl <stefan.schantl> |
Status: | NEW --- | QA Contact: | |
Severity: | - Unknown - | ||
Priority: | Will affect an average number of users | CC: | peter.mueller |
Version: | 2 | ||
Hardware: | unspecified | ||
OS: | Unspecified | ||
See Also: |
https://bugzilla.ipfire.org/show_bug.cgi?id=12507 https://bugzilla.ipfire.org/show_bug.cgi?id=12548 |
||
Bug Depends on: | |||
Bug Blocks: | 12507 | ||
Attachments: | Log |
Description
Michael Tremer
2020-11-19 11:52:36 UTC
Hello Michael, thank you for your report. I did the same testing and got the same result. So I digged a bit deeper and set the "ja3-fingerprints" option to "yes" for allways on and got the following line in the log. [ERRCODE: SC_WARN_NO_JA3_SUPPORT(308)] - no MD5 calculation support built in (LibNSS), disabling JA3 After searching the web I got to the following page: https://lists.openinfosecfoundation.org/pipermail/oisf-users/2020-April/017451.html It seems that the ja3 feature depends on libnss which is currently not part of IPFire. There are two possible options how to deal with this issue: 1.) Implement another crypto library and add libnss to support ja3. 2.) Don't support ja3 and revert the commit which introduced it. I do not really know what is best really. NSS is a PITA. We do not need it for anything else and if I had a choice I would rather remove a crypto library than add one. We packaged NSS for IPFire 3 before and it does not really have releases, or anything else. It would be interesting to know why suricata made that choice to use NSS. I went through the source code and there isn't too much that it is being used for. It is simply being used to calculate MD5, SHA1 and SHA256 sums. Would you be interested in contacting them and see how they feel about OpenSSL? I have opened a ticket on Suricata's bug tracker:
> https://redmine.openinfosecfoundation.org/issues/4243
I would like to migrate to OpenSSL rather than shipping NSS with IPFire.
suricata has said that they will move away from NSS in favour of RustCrypto. So we do not have to do anything here and just wait for that to land. |