Уф, поставил свежую бинарную сборку ndsad-1.33-linux.static
Сделал всё в точности как сдесь Абылай описал
viewtopic.php?t=1729&highlight=ulog
К счастью с прежних интерфейсов трафик считается, но с vlan2 никак.
NDSAD стартует, вроде видит все интерфейсы:
ndsad[1225]: binary version `1.33'
ndsad[1225]: WatchDog: Dog waken...
ndsad[1226]: Creating NFC for <ulog_iface> family. dev <ulog_iface0>
ndsad[1226]: NFC created <0x81a6bd8>.
ndsad[1226]: Starting worker thread for linux ulog socket.
ndsad[1225]: WatchDog: child[1226] started on Thu Jul 20 18:36:32 2006
ndsad[1235]: ULOG:bind to ulog group <10> mask <512>
ndsad[1226]: `eth0': new device
ndsad[1226]: Starting worker thread for device <eth0>
ndsad[1236]: Creating NFC for <eth> family. dev <eth0>
ndsad[1236]: NFC created <0x81ba698>.
ndsad[1236]: `eth0' thread started successfully.
ndsad[1226]: `eth1': new device
ndsad[1226]: Starting worker thread for device <eth1>
ndsad[1238]: `eth1' thread started successfully.
ndsad[1226]: `eth1:1': new device
ndsad[1226]: Starting worker thread for device <eth1:1>
ndsad[1240]: `eth1:1' thread started successfully.
ndsad[1240]: `eth1:1' thread is preparing for dummy loop call
ndsad[1226]: `eth2': new device
ndsad[1226]: Starting worker thread for device <eth2>
ndsad[1241]: `eth2' thread started successfully.
ndsad[1241]: `eth2' thread is preparing for dummy loop call
ndsad[1226]: `vlan2': new device
ndsad[1226]: Starting worker thread for device <vlan2>
ndsad[1242]: `vlan2' thread started successfully.
ndsad[1242]: `vlan2' thread is preparing for dummy loop call
ndsad[1226]: `lo': new device
ndsad[1226]: Starting worker thread for device <lo>
ndsad[1243]: Creating NFC for <lo> family. dev <lo>
В процессе работы:
ndsad[1244]: NFC<lo> status on Thu Jul 20 18:55:54 2006
0/30 messages ready, 0 flows seen...
0/64 (0.00%) hash usage, 0 entries scaned, 0 dropped
ndsad[1244]: NFC<eth> status on Thu Jul 20 18:55:54 2006
6/30 messages ready, 4820 flows seen...
29/128 (22.66%) hash usage, 110 entries scaned, 6 dropped
ndsad[1244]: NFC<ulog_iface> status on Thu Jul 20 18:55:54 2006
0/30 messages ready, 27 flows seen...
1/128 (0.78%) hash usage, 1 entries scaned, 0 dropped
ndsad[1244]: Heap<1>: 168/1092 nodes, 10080/65520 bytes
ndsad[1244]: Heap<2>: 0/-1 nodes, 0/-68 bytes
Что-то мне подсказывает, что он даже берёт что-то с ulog_iface, но не считает.
В ndsad.cfg
force lo
force eth0
force eth1
force ulog_iface0
force vlan2
ignore all
dummy all
Интерфейсы прописывал в разных комбинациях. ЗАПУТАЛСЯ. HELP!!!