Hi,
I'm learning sys administration using a Linode (Ubuntu 8.04). I'm in the chapter of keeping an eye on the most important log files.
Apart from the regular log output, I have some lines that I can't understand... even after searching the forums or asking google.
1. auth.log
Code:
Sep 5 03:17:01 serverone CRON[7929]: pam_unix(cron:session): session opened for user root by (uid=0)
Sep 5 03:17:01 serverone CRON[7929]: pam_unix(cron:session): session closed for user root
Sep 5 04:17:01 serverone CRON[7932]: pam_unix(cron:session): session opened for user root by (uid=0)
Sep 5 04:17:02 serverone CRON[7932]: pam_unix(cron:session): session closed for user root
As you can see, in the 17th minute of every hour, even if I'm logged in, those keep appearing in the auth.log.
2. messages/syslogCode:
Sep 5 00:19:56 serverone kernel: [UFW BLOCK INPUT]: IN=eth0 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx SRC=xxx.xxx.xxx.xxx DST=xxx.xxx.xxx.xxx LEN=48 TOS=0x00 PREC=0x00 TTL=116 ID=14332 DF PROTO=TCP SPT=1633 DPT=5900 WINDOW=64240 RES=0x00 SYN URGP=0
Everyday messages and syslog log around 200 attempts of intrusion (??) blocked by ufw... but I think I shouldn't be concerned, since I've just a custom SSH port and HTTP:80 open. Am I right?
3. syslogCode:
Sep 5 16:25:32 serverone dhclient: DHCPREQUEST of <null address> on eth0 to xxx.xxx.xxx.xxx port 67
Sep 5 16:25:32 serverone dhclient: DHCPACK of xxx.xxx.xxx.xxx from xxx.xxx.xxx.xxx
Sep 5 16:25:32 serverone dhclient: bound to xxx.xxx.xxx.xxx -- renewal in 35962 seconds.
These lines are the most strange ones and I think they're related with Linode's Ubuntu. I can't find their meaning!
4. syslogCode:
Sep 5 21:17:01 serverone /USR/SBIN/CRON[8598]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
I think this line is related with the auth.log problem as it happens every 17th minute of each hour.
I'll be much appreciated if you can give some enlightenment around the described issues. Thanks a lot.