Results 1 to 1 of 1
i got message log on fedora 8
Sep 6 21:33:33 NAX-FC8 kernel: F-Routing: IN=eth0 OUT=eth1 SRC=17.82.253.7 DST=172.168.1.190 LEN=76 TOS=0x00 PREC=0x00 TTL=48 ID=57668 PROTO=UDP SPT=123 DPT=123 LEN=56
Sep 6 21:34:39 NAX-FC8 ...
- 09-06-2008 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 84
how to change log format on fedora 8
i got message log on fedora 8
Sep 6 21:33:33 NAX-FC8 kernel: F-Routing: IN=eth0 OUT=eth1 SRC=17.82.253.7 DST=172.168.1.190 LEN=76 TOS=0x00 PREC=0x00 TTL=48 ID=57668 PROTO=UDP SPT=123 DPT=123 LEN=56
Sep 6 21:34:39 NAX-FC8 kernel: F-Routing: IN=eth1 OUT=eth0 SRC=172.168.1.190 DST=17.82.253.7 LEN=76 TOS=0x00 PREC=0x00 TTL=63 ID=51809 PROTO=UDP SPT=123 DPT=123 LEN=56
Sep 6 21:34:39 NAX-FC8 kernel: F-Routing: IN=eth0 OUT=eth1 SRC=17.82.253.7 DST=172.168.1.190 LEN=76 TOS=0x00 PREC=0x00 TTL=48 ID=58800 PROTO=UDP SPT=123 DPT=123 LEN=56
Sep 6 21:35:42 NAX-FC8 kernel: F-Routing: IN=eth1 OUT=eth0 SRC=172.168.1.190 DST=17.82.253.7 LEN=76 TOS=0x00 PREC=0x00 TTL=63 ID=25686 PROTO=UDP SPT=123 DPT=123 LEN=56
Sep 6 21:35:42 NAX-FC8 kernel: F-Routing: IN=eth0 OUT=eth1 SRC=17.82.253.7 DST=172.168.1.190 LEN=76 TOS=0x00 PREC=0x00 TTL=48 ID=56878 PROTO=UDP SPT=123 DPT=123 LEN=56
i want to convert to format(and i want some field to show)
day-month time IN OUT SRC DST PROTO SPT DPT
i can't to cut some data out such as LEN TOS PREC and TTL
How to convert it thank a lot!!


Reply With Quote