* [sisyphus] мусор в /var/log/messges
@ 2005-02-11 12:29 Aleksey E Birukov
2005-02-11 12:55 ` Genix
0 siblings, 1 reply; 5+ messages in thread
From: Aleksey E Birukov @ 2005-02-11 12:29 UTC (permalink / raw)
To: Sisyphus
[-- Attachment #1: Type: text/plain, Size: 1139 bytes --]
Как можно убрать мусор из /var/log/messages?
Там полно таких строчек:
Feb 11 15:28:14 birukov kernel: IN=eth1 OUT=
MAC=ff:ff:ff:ff:ff:ff:00:80:48:30:e0:94:08:00 SRC=80.93.109.113
DST=80.93.109.127 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=31211 PROTO=UDP
SPT=137 DPT=137 LEN=58
Feb 11 15:28:15 birukov kernel: IN=eth1 OUT=
MAC=ff:ff:ff:ff:ff:ff:00:80:48:30:e0:94:08:00 SRC=80.93.109.113
DST=80.93.109.127 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=31213 PROTO=UDP
SPT=137 DPT=137 LEN=58
Feb 11 15:28:15 birukov kernel: IN=eth1 OUT=
MAC=ff:ff:ff:ff:ff:ff:00:80:48:30:e0:94:08:00 SRC=80.93.109.113
DST=80.93.109.127 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=31215 PROTO=UDP
SPT=137 DPT=137 LEN=58
Feb 11 15:28:15 birukov kernel: IN=eth1 OUT=
MAC=ff:ff:ff:ff:ff:ff:00:80:48:30:e0:94:08:00 SRC=80.93.109.113
DST=80.93.109.127 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=31217 PROTO=UDP
SPT=137 DPT=137 LEN=58
Feb 11 15:28:15 birukov kernel: IN=eth1 OUT=
MAC=ff:ff:ff:ff:ff:ff:00:80:48:30:e0:94:08:00 SRC=80.93.109.113
DST=80.93.109.127 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=31219 PROTO=UDP
SPT=137 DPT=137 LEN=58
--
$respect
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] мусор в /var/log/messges
2005-02-11 12:29 [sisyphus] мусор в /var/log/messges Aleksey E Birukov
@ 2005-02-11 12:55 ` Genix
2005-02-11 13:51 ` Alexey Morozov
0 siblings, 1 reply; 5+ messages in thread
From: Genix @ 2005-02-11 12:55 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Aleksey E Birukov wrote:
> Как можно убрать мусор из /var/log/messages?
> Там полно таких строчек:
> Feb 11 15:28:14 birukov kernel: IN=eth1 OUT=
> MAC=ff:ff:ff:ff:ff:ff:00:80:48:30:e0:94:08:00 SRC=80.93.109.113
> DST=80.93.109.127 LEN=78 TOS=0x00 PREC=0x00 TTL=128 ID=31211 PROTO=UDP
1) убрать из правил iptables строки вида:
$ iptables -L | grep -i log
LOG all -- anywhere anywhere LOG level
2) переместить их из /var/log/message в отдельный лог-файл средствами
syslog.
--
У каждого в башке свои тараканы...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] мусор в /var/log/messges
2005-02-11 12:55 ` Genix
@ 2005-02-11 13:51 ` Alexey Morozov
2005-02-11 19:15 ` [sisyphus] " Konstantin A. Lepikhov
2005-02-11 21:07 ` [sisyphus] " Afanasov Dmitry
0 siblings, 2 replies; 5+ messages in thread
From: Alexey Morozov @ 2005-02-11 13:51 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 401 bytes --]
On Fri, Feb 11, 2005 at 03:55:55PM +0300, Genix wrote:
> 1) убрать из правил iptables строки вида:
> $ iptables -L | grep -i log
> LOG all -- anywhere anywhere LOG level
Не-е-е... Это придется firehol'у мозги вправлять... ;-)
> 2) переместить их из /var/log/message в отдельный лог-файл средствами
> syslog.
А вот про это расскажите подробнее, пожалуйста.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [sisyphus] Re: мусор в /var/log/messges
2005-02-11 13:51 ` Alexey Morozov
@ 2005-02-11 19:15 ` Konstantin A. Lepikhov
2005-02-11 21:07 ` [sisyphus] " Afanasov Dmitry
1 sibling, 0 replies; 5+ messages in thread
From: Konstantin A. Lepikhov @ 2005-02-11 19:15 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 634 bytes --]
Hi Alexey!
Friday 11, at 07:51:14 PM you wrote:
> On Fri, Feb 11, 2005 at 03:55:55PM +0300, Genix wrote:
> > 1) убрать из правил iptables строки вида:
> > $ iptables -L | grep -i log
> > LOG all -- anywhere anywhere LOG level
> Не-е-е... Это придется firehol'у мозги вправлять... ;-)
ну почему так сразу мозги :) можно просто log level понизить.
--
WBR, Konstantin chat with ==>ICQ: 109916175
Lepikhov, speak to ==>JID: lakostis@jabber.org
aka L.A. Kostis write to ==>mailto:lakostis@pisem.net.nospam
...The information is like the bank... (c) EC8OR
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] мусор в /var/log/messges
2005-02-11 13:51 ` Alexey Morozov
2005-02-11 19:15 ` [sisyphus] " Konstantin A. Lepikhov
@ 2005-02-11 21:07 ` Afanasov Dmitry
1 sibling, 0 replies; 5+ messages in thread
From: Afanasov Dmitry @ 2005-02-11 21:07 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
> > 2) переместить их из /var/log/message в отдельный лог-файл средствами
> > syslog.
> А вот про это расскажите подробнее, пожалуйста.
эээ, man syslog.conf и man iptables на тему LOG :)
iptables выводит в facility kernel
поэтому строка в syslog.conf:
kern.=<log-level> file
log-level из --log-level iptables
--
С уважением,
Афанасов Дмитрий
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-02-11 21:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-11 12:29 [sisyphus] мусор в /var/log/messges Aleksey E Birukov
2005-02-11 12:55 ` Genix
2005-02-11 13:51 ` Alexey Morozov
2005-02-11 19:15 ` [sisyphus] " Konstantin A. Lepikhov
2005-02-11 21:07 ` [sisyphus] " Afanasov Dmitry
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git