enc - Encapsulating Interface
device enc
The interface allows an administrator to see incoming and outgoing packets before and after they will be or have been processed by ipsec(4) via tcpdump(1).
The ``enc0 '' interface inherits all IPsec traffic. Thus all IPsec traffic can be filtered based on ``enc0 '' and all IPsec traffic could be seen by invoking tcpdump(1) on the ``enc0 '' interface.
What can be seen with tcpdump(1) and what will be passed on to the firewalls via the pfil(9) framework can be independently controlled using the following sysctl(8) variables:
For the incoming path a value of
0x1
means
``before stripping off the outer header
''
and
0x2
means
``after stripping off the outer header
''
For the outgoing path
0x1
means
``with only the inner header
''
and
0x2
means
``with outer and inner headers
''
incoming path |------| ---- IPsec processing ---- (before) ---- (after) ----> | | | Host | <--- IPsec processing ---- (after) ----- (before) ---- | | outgoing path |------|
Most people will want to run with the suggested defaults for ipsec_filter_mask and rely on the security policy database for the outer headers.
"tcpdump -i enc0"
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |