[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] sshd logins without a source
- To: paul.szabo@xxxxxxxxxxxxx
- Subject: Re: [Full-disclosure] sshd logins without a source
- From: Laurelai <laurelai@xxxxxxxxxxxx>
- Date: Fri, 23 Sep 2011 15:11:55 -0500
On 9/23/2011 7:05 AM, paul.szabo@xxxxxxxxxxxxx wrote:
> Dear Laurelai,
>
>>> I do not think that sshd normally logs its source. ... To produce the
>>> desired log, I added to /etc/hosts.allow the line
>>> sshd : all : spawn /usr/bin/logger -t"%d[%p]" "Connection source %h port %r"
>> Don't most modern Linux distros log sshd by default? If for whatever
>> reason yours doesn't you can set the log level in the sshd config.
> My Debian sshd comes with "LogLevel INFO" in /etc/ssh/sshd_config.
> I never found documentation on what a "LogLevel VERBOSE" would do,
> so never changed it; my hosts.allow line does exactly what I want,
> and a similar line can do it for telnetd also. (Don't laugh...)
>
> Cheers, Paul
>
> Paul Szabo psz@xxxxxxxxxxxxxxxxx http://www.maths.usyd.edu.au/u/psz/
> School of Mathematics and Statistics University of Sydney Australia
Really? My centOS comes with the same setting and my logs contain the
IP's of the people who login or attempt to login....
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/