-   Linux - Security (
-   -   Logs Explained - Newbie (

4j9er 08-10-2004 04:05 PM

Logs Explained - Newbie
Can someone please explain the following log to me. I'm new and would like to understand the basic process of what is exactly occuring.

Aug 6 03:22:58 nestle sshdu[26359]: log: Connection from port 1479
Aug 6 03:22:59 nestle sshdu[26359]: log: reverse mapping
checking gethostbyname for failed -
Aug 6 03:23:16 nestle sshdu[26359]: log: Password
authentication for root failed.
Aug 6 03:23:16 nestle sshdu[26359]: log: Closing
connection to



chrism01 08-11-2004 03:45 PM

Somebody is trying to connect from IP from port 1479 on that box.
Your sshd does a lookup of the IP address (, gets the name address,
then uses the library call gethostbyname to see if it gets the orig number IP (,
back again.
It dosn't get the same num back, so it concludes it's a possible break-in attempt, and refuses the connection.
Any legit box should resolve it's IP num eg to a name address eg box1.some.where.ctry,
then if you run gethostbyname on box1.some.where.ctry, you should get returned.

if you go to RIPE Whois you get:

description: MobiFon S.A. - Connex GSM
description: 3, Nerva Traian Street
description: Complex M101, Sector 3
description: Bucharest, Romania



stickman 08-11-2004 06:15 PM

If you filter ssh access down to only known clients, then you can prevent a lot of unwanted activity.

4j9er 08-12-2004 10:49 AM

Thanks for the help.


All times are GMT -5. The time now is 01:31 AM.