[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shishid: Usage of syslog facilities.
From: |
Mats Erik Andersson |
Subject: |
shishid: Usage of syslog facilities. |
Date: |
Wed, 15 Aug 2012 10:55:36 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello again,
let me suggest changes to the way shishid(8)
is submitting messages to LOG_DAEMON. A patch
suggestion is addressing these matters.
Contrary to claim in "src/kdc.c", shishid(8) is
committing non-error messages "Trying AS-REQ"
and "Trying TGS-REQ" in facility LOG_ERR.
Change these to use LOG_DEBUG.
The mandatory use of LOG_PERROR in "src/shishid.c"
is a mistake. It is better to condition use of
LOG_PERROR in openlog() on the test
if (arg.verbose_given > 0)
There is a further delicate issue with two LOG_INFO
messages in "src/kdc.c":
"AS-REQ from address@hidden for address@hidden"
"TGS-REQ from address@hidden for address@hidden"
I suggest downgrading to LOG_DEBUG and also to issue
them only if "arg.verbose_given > 0". However, both
messages present a security issue since they disclose
user information, Hence they should arguably only be sent
to LOG_AUTH, if committed at all instead of just calling
printf() for the running executable shishid(8).
Best regards,
Mats E A
0001-shishid-Discriminate-syslog-use.patch
Description: Text Data
- shishid: Usage of syslog facilities.,
Mats Erik Andersson <=
- Re: shishid: Usage of syslog facilities., Simon Josefsson, 2012/08/15
- Re: shishid: Usage of syslog facilities., Eray Aslan, 2012/08/15
- Re: shishid: Usage of syslog facilities., Russ Allbery, 2012/08/15
- Re: shishid: Usage of syslog facilities., Simon Josefsson, 2012/08/16
- Re: shishid: Usage of syslog facilities., Mats Erik Andersson, 2012/08/16
- Re: shishid: Usage of syslog facilities., Simon Josefsson, 2012/08/16
- Re: shishid: Usage of syslog facilities., Mats Erik Andersson, 2012/08/16
- Re: shishid: Usage of syslog facilities., Simon Josefsson, 2012/08/16
- Re: shishid: Usage of syslog facilities., Simon Josefsson, 2012/08/17