What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Change severity level for drop bear login?

  • Thread starter Thread starter Deleted member 27741
  • Start date Start date
D

Deleted member 27741

Guest
I am playing around with log severity levels a bit and like a log severity level of 5 (as opposed to my usual 7). At that level, ssh logins do not log.

Can dropbear be altered so logins are logged at a severity level of 5? In fact, I would like it to log logins no matter what my log severity level is.

Is it possible to change the severity level of particular syslogd events or processes? I might like to do this with other things (pptp, openvpn, http, ssh, telnet come to mind) as well.
 
Looking at the source code for dropbear it appears that every message (and there are a lot) has its loglevel hard-coded. So you would have to change the source code and recompile it.

The only other change you can make to dropbear's logging is to redirect all the output to stderr instead of syslog.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Back
Top