Commit Graph
8 Commits
Author SHA1 Message Date
Allison Karlitskaya e5055ef26a Don't log audit messages with UNKNOWN hostname
The `host` parameter to audit_log_acct_message() is documented as
follows:

      host - The hostname if known. If not available pass a NULL.

but we pass the string "UNKNOWN" in case we don't know the hostname.
Make sure we pass NULL instead.

This avoids having the audit system attempt to perform a DNS lookup on
the hostname "UNKNOWN", which tends to result in long delays when
attempting to login.
2025-09-30 09:51:51 +10:00
Damien Miller 23a2bb7505 replace remaining manual logging of __func__
Use the appropriate log macro that prepends the function name
(e.g. logit_f/debug2_f/etc).
2025-09-02 19:30:07 +10:00
Damien Miller 9b655dc9c9 last bits of old packet API / active_state global 2019-01-20 14:55:27 +11:00
Darren Tucker 1e8013a17f Remove obsolete CVS $Id from source files.
Since -portable switched to git the CVS $Id tags are no longer being
updated and are becoming increasingly misleading.  Remove them.
2016-08-17 14:08:42 +10:00
Damien Miller 3e1e076550 KNF 2016-07-27 08:25:42 +10:00
Damien Miller d99ee9c4e5 Linux auditing also needs packet.h 2016-07-27 08:25:23 +10:00
Damien Miller 393bd381a4 fix auditing on Linux
get_remote_ipaddr() was replaced with ssh_remote_ipaddr()
2016-07-27 08:18:05 +10:00
Darren Tucker ea52a82969 - (dtucker) [LICENCE Makefile.in audit-bsm.c audit-linux.c audit.c audit.h
configure.ac defines.h loginrec.c]  Bug #1402: add linux audit subsystem
   support, based on patches from Tomas Mraz and jchadima at redhat.
2011-01-17 21:15:27 +11:00