splurf Rm -Rf / && oops :o | je souhaite virer des rapports toutes les lignes ayant ce format là.
en fait plus précisément
comment virer les lignes ayant tel ou tel port de destination?
merci
Code :
- Sep 1 21:02:04 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.188.250 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 2981 dst port: 135.
- Sep 1 21:02:07 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 66.98.130.65 dstIP = 81.51.212.37 size: 78, protocol: TCP, src port: 38131 dst port: 113.
- Sep 1 21:02:10 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.188.250 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 2981 dst port: 135.
- Sep 1 21:03:57 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.204.128 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1397 dst port: 135.
- Sep 1 21:04:40 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.215.94 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 4483 dst port: 135.
- Sep 1 21:06:28 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.226.220 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1516 dst port: 135.
- Sep 1 21:06:30 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.226.220 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1516 dst port: 135.
- Sep 1 21:06:36 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.226.220 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1516 dst port: 135.
- Sep 1 21:06:52 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.33.195.242 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1706 dst port: 135.
- Sep 1 21:06:55 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 200.162.113.136 dstIP = 81.51.212.37 size: 96, protocol: UDP, src port: 1028 dst port: 137.
- Sep 1 21:07:19 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.50.114.236 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 4160 dst port: 135.
- Sep 1 21:07:25 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.59.241 dstIP = 81.51.212.37 size: 82, protocol: TCP, src port: 2365 dst port: 135.
- Sep 1 21:07:28 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.59.241 dstIP = 81.51.212.37 size: 82, protocol: TCP, src port: 2365 dst port: 135.
- Sep 1 21:08:22 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.48.162.49 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 2932 dst port: 135.
- Sep 1 21:08:55 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.50.72.23 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1037 dst port: 135.
- Sep 1 21:08:58 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.50.72.23 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1037 dst port: 135.
- Sep 1 21:10:29 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 200.44.12.212 dstIP = 81.51.212.37 size: 96, protocol: UDP, src port: 1036 dst port: 137.
- Sep 1 21:13:42 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.202.132 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1311 dst port: 135.
- Sep 1 21:13:55 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.223.64 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3171 dst port: 135.
- Sep 1 21:13:58 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.223.64 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3171 dst port: 135.
- Sep 1 21:14:04 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.223.64 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3171 dst port: 135.
- Sep 1 21:15:04 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.48.155.71 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3229 dst port: 135.
- Sep 1 21:15:07 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.48.155.71 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3229 dst port: 135.
- Sep 1 21:15:10 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 4.63.145.40 dstIP = 81.51.212.37 size: 96, protocol: UDP, src port: 1028 dst port: 137.
- Sep 1 21:15:13 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.48.155.71 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3229 dst port: 135.
- Sep 1 21:15:58 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.34.158.199 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 1127 dst port: 135.
- Sep 1 21:16:13 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 67.42.17.90 dstIP = 81.51.212.37 size: 96, protocol: UDP, src port: 1028 dst port: 137.
- Sep 1 21:16:36 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.48.19.202 dstIP = 81.51.212.37 size: 96, protocol: UDP, src port: 137 dst port: 137.
- Sep 1 21:19:22 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.112.61 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3266 dst port: 445.
- Sep 1 21:19:25 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.112.61 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3266 dst port: 445.
- Sep 1 21:20:25 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.50.220.158 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 4510 dst port: 135.
- Sep 1 21:20:50 speedtouch Filter set 'Basic Firewall' Violation - srcIP = 81.51.223.70 dstIP = 81.51.212.37 size: 66, protocol: TCP, src port: 3495 dst port: 135.
|
que dois-je mettre dans /etc/logcheck/ignore.d.server/ignore
(je suis nul en regexp :-( )
merci de ton aide Message édité par splurf le 02-09-2003 à 12:37:54
|