* [Comm] Помогите разобраться с iptables
@ 2004-05-11 6:12 Juveman
2004-05-11 6:53 ` Arcady V. Ivanov
2004-05-11 6:59 ` Maxim Tyurin
0 siblings, 2 replies; 3+ messages in thread
From: Juveman @ 2004-05-11 6:12 UTC (permalink / raw)
To: community
Здравствуйте,
Подскажите, пожалуйста, как заставить iptables вести запись в файл всех полученных и переданных пакетов, их размер и, желательно, приложение, инициировавшее это соединение.
На линух недавно перешел, поэтому могу чего-то не понимать.
Iptables я проштудировал, все настроил в соответствии с моими нуждами, но как заставить его вести лог всех пакетов в отдельный файл не понял.
Если нужно - немного знаком с Perl.
----------
С уважением, Juveman
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Помогите разобраться с iptables
2004-05-11 6:12 [Comm] Помогите разобраться с iptables Juveman
@ 2004-05-11 6:53 ` Arcady V. Ivanov
2004-05-11 6:59 ` Maxim Tyurin
1 sibling, 0 replies; 3+ messages in thread
From: Arcady V. Ivanov @ 2004-05-11 6:53 UTC (permalink / raw)
To: community
Juveman пишет:
>Здравствуйте,
>
>Подскажите, пожалуйста, как заставить iptables вести запись в файл всех полученных и переданных пакетов, их размер и, желательно, приложение, инициировавшее это соединение.
>На линух недавно перешел, поэтому могу чего-то не понимать.
>Iptables я проштудировал, все настроил в соответствии с моими нуждами, но как заставить его вести лог всех пакетов в отдельный файл не понял.
>Если нужно - немного знаком с Perl.
>
>
Если используется действие LOG, то тогда см. "man syslogd".
Избавиться от остальных записей на данном уровне syslogd
удастся с помощью добавления префикса к лог-записи
и последующей обработкой grep-ом.
--
Sincerely yours. Arcady. http://www.help0.ru
---------------------------------
Linux forever! No alternatives!!!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Comm] Помогите разобраться с iptables
2004-05-11 6:12 [Comm] Помогите разобраться с iptables Juveman
2004-05-11 6:53 ` Arcady V. Ivanov
@ 2004-05-11 6:59 ` Maxim Tyurin
1 sibling, 0 replies; 3+ messages in thread
From: Maxim Tyurin @ 2004-05-11 6:59 UTC (permalink / raw)
To: community
Juveman <juveman@atom.ru> writes:
> Здравствуйте,
>
> Подскажите, пожалуйста, как заставить iptables вести запись в файл всех полученных и переданных пакетов, их размер и, желательно, приложение, инициировавшее это соединение.
> На линух недавно перешел, поэтому могу чего-то не понимать.
> Iptables я проштудировал, все настроил в соответствии с моими
> нуждами, но как заставить его вести лог всех пакетов в отдельный
> файл не понял.
Значит плохо штудировал. В iptables есть действие LOG
--
With Best Regards, Maxim Tyurin
JID: MrKooll@jabber.pibhe.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-05-11 6:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-11 6:12 [Comm] Помогите разобраться с iptables Juveman
2004-05-11 6:53 ` Arcady V. Ivanov
2004-05-11 6:59 ` Maxim Tyurin
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git