Search found 5 matches

by duck72
2005/08/03 10:32:43
Forum: CentOS 4 - Software Support
Topic: webalizer on CenOS 4.xx
Replies: 3
Views: 909

webalizer on CenOS 4.xx

i use the webalizer from the base packages (centos 4.1) and it works.
just do: yum install webalizer
and it works right out of the box. no need to configurate it or so.
by duck72
2005/07/31 16:23:51
Forum: CentOS 4 - Hardware Support
Topic: Problems with modem
Replies: 2
Views: 601

Re: Problems with modem

try searching on this site:

[url=http://linmodems.technion.ac.il/]http://linmodems.technion.ac.il/[/url]

it should give you what driver you should use with your modem.
by duck72
2005/07/27 19:23:09
Forum: CentOS 4 - Security Support
Topic: Parsing the /var/log/messages for an ip and display that ?
Replies: 8
Views: 2219

Re: Parsing the /var/log/messages for an ip and display that ?

[quote] ixeous wrote: OK. gawk is the answer. I'm sure that there is a cleaner way to do this, but the following should work. # cat /var/log/messages | grep SRC= | gawk '{print substr($12, 4)}' The $12 may not be correct. I may have miscounted. What the $12 represents is the 12th "field" of the line...
by duck72
2005/07/25 12:52:53
Forum: CentOS 4 - Security Support
Topic: Parsing the /var/log/messages for an ip and display that ?
Replies: 8
Views: 2219

Re: Parsing the /var/log/messages for an ip and display that ?

tried that, and it only show the whole line: ul 25 11:21:42 centos kernel: ** IN_UDP DROP ** IN=eth0 OUT= MAC=00:c0:26:60:15:32:00:09:5b:ac:e3:42:08:00 SRC=24.5.108.210 DST=192.168.0.254 LEN=119 TOS=0x00 PREC=0x00 TTL=110 ID=5225 PROTO=UDP SPT=6881 DPT=49152 LEN=99 i need to know just the ip adress,...
by duck72
2005/07/25 10:57:13
Forum: CentOS 4 - Security Support
Topic: Parsing the /var/log/messages for an ip and display that ?
Replies: 8
Views: 2219

Parsing the /var/log/messages for an ip and display that ?

Hi. Wondering how to parse /var/log/messages for an ip adress and only display that ip ? log locks like this: Jul 25 11:20:05 centos crond(pam_unix)[19181]: session closed for user root Jul 25 11:21:42 centos kernel: ** IN_UDP DROP ** IN=eth0 OUT= MAC=00:c0:26:60:15:32:00:09:5b:ac:e3:42:08:00 SRC=24...

Go to advanced search