GNUTLS_GLOBAL_SET_AUDIT_LOG_FUNCTION(3)
β¨ gnutls_global_set_audit_log_function β API function β¨
okay bestie, welcome to the gnutls manual page for gnutls_global_set_audit_log_function, and yes we're doing the whole thing, no skimming, no skipping π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
void gnutls_global_set_audit_log_function(gnutls_audit_log_func
log_func);
π ARGUMENTS π
gnutls_audit_log_func log_funcβ bestie, this is the audit log function. that's it. that's the whole argument. it's the function you're handing over so gnutls knows where to send the tea π«
π DESCRIPTION π
so this is the function that sets the audit logging function. it's giving important-issues-reporter β think possible attacks in the protocol, the whole dramatic situation π. like, this is the function you call when you want gnutls to actually tell you when something sketchy is going down.
and the way that it's different from gnutls_global_set_log_function() is iconic honestly: this one will report also session-specific events. periodt. more coverage, more vibes, more info π¦
heads up: the session parameter will be null if there is no corresponding TLS session. so don't be surprised when it's a little empty in there π
and gnutls_audit_log_func is of the form:
void (*gnutls_audit_log_func)(gnutls_session_t, const char*);
lowkey that's the whole shape of it, keep it exactly like that, no cap β¨
β SINCE β
3.0 β she's been here since 3.0, a true veteran π
π REPORTING BUGS π
found a bug? not the vibe. report it to:
bugs@gnutls.org
home page is right here, go look:
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (translation: it's free, just keep the receipts bestie π§Ύβ¨)
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
iykyk π
okay that's the whole page, mwah π this was gnutls version 3.8.13, go forth and audit those logs, you absolute main character π«ΆπΈ
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms