LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What those IP's mean in /var/log/syslog ? (https://www.linuxquestions.org/questions/linux-newbie-8/what-those-ip%27s-mean-in-var-log-syslog-752723/)

geropero 09-04-2009 01:30 PM

What those IP's mean in /var/log/syslog ?
 
Hi i am a noob.

I've seen some tut about monitoring server with using tail -f /var/log/syslog, and there are some ip addresses in the field "source".

I wanna know what those ip's mean .

tnx

acid_kewpie 09-04-2009 01:32 PM

They would presumably be the source IP address of whatever the log entry means. A logfile can contains thousands of different kinds of log... care to give us a sample??

geropero 09-04-2009 01:33 PM

Sep 5 20:30:17 (none) kernel: IN=ppp0 OUT= MAC= SRC=77.29.207.89 DST=77.29.1xx.56 LEN=48 TOS=0x00 PREC=0x00 TTL=125 ID=48737 DF PROTO=TCP SPT=4488 DPT=1433 WINDOW=65535 RES=0x00 SYN URGP=0

smth like this ?

acid_kewpie 09-04-2009 01:36 PM

smth??

That's an iptables log, generally you wouldn't want these entries. run "dmesg -n1" and they'll go away temporarily. Alternatively modify your iptables not to log.

geropero 09-04-2009 01:38 PM

Okay tnx
But can you tell me what that means ? What those ip's have done so they got into my log file?

acid_kewpie 09-04-2009 02:25 PM

they hit a deny rule on your iptables. run iptables -L -n -v to see your current ruleset. the destination port there is 1433, which is MS SQL I believe... probably a port scan of an internet facing device, or maybe bad port forwarding to a "DMZ" host if you are behind a noddy ADSL router.


All times are GMT -5. The time now is 10:52 PM.