|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Valentin Davydov 2:5020/400 15 May 2003 09:22:20 To : Alexander Shevchenko Subject : Re: ipfw --------------------------------------------------------------------------------
> From: Alexander Shevchenko
> <Alexander.Shevchenko@p26.f1817.n5020.z2.fidonet.org>
> Date: Tue, 13 May 2003 23:57:11 +0400
>
> >> А как быть, если
> >> пользователи сидят за натом?
> MD> Считать после того, как пакеты прошли нат.
>Дык пакет то не будет in. Он же "создался" на машине. Или я опять чушь порю?
man 4 divert
WRITING PACKETS
Writing to a divert socket is similar to writing to a raw IP socket; the
packet is injected ``as is'' into the normal kernel IP packet processing
and minimal error checking is done. Packets are written as either incom-
ing or outgoing: if write(2) or send(2) is used to deliver the packet, or
if sendto(2) is used with a destination IP address of INADDR_ANY, then
the packet is treated as if it were outgoing, i.e., destined for a non-
local address. Otherwise, the packet is assumed to be incoming and full
packet routing is done. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Вал. Дав.
--- ifmail v.2.15dev5
* Origin: Demos online service (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/657738d7be3e.html, оценка из 5, голосов 10
|