Сниффер
Добавлено: 2014-06-06 22:48:19
Как сделать сниффер на FreeBSD (например используя netgraph)?
Не сбить нас с верного пути, нам по фигу куда идти
https://forum.lissyara.su/
Код: Выделить всё
RULE ACTIONS
A rule can be associated with one of the following actions, which will be
executed when the packet matches the body of the rule.
...
tee port
Send a copy of packets matching this rule to the divert(4) socket
bound to port port. The search continues with the next rule.
...
ngtee cookie
A copy of packet is diverted into netgraph, original packet con-
tinues with the next rule. See ng_ipfw(4) for more information
on netgraph and ngtee actions.