No packets appear in ulogd.log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,
I'm attempting to trace icmp packets with ulogd but see no packets in /var/log/ulogd.log
Can you tell me what I've misconfigured?

Here are relevant configurations:

sudo iptables -L -t raw
Chain PREROUTING (policy ACCEPT)
target     prot opt source               destination        
MARK       icmp --  anywhere             anywhere             MARK set 0x6a608a00
TRACE      all  --  anywhere             anywhere             mark match 0x6a608a00/0x7ffffe00

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination        
MARK       icmp --  anywhere             anywhere             MARK set 0x775eca00
TRACE      all  --  anywhere             anywhere             mark match 0x775eca00/0x7ffffe00



cat /proc/net/netfilter/nf_log         
0 NONE (nfnetlink_log)
1 NONE (nfnetlink_log)
2 nfnetlink_log (nf_log_ipv4,nfnetlink_log)
3 NONE (nfnetlink_log)
4 NONE (nfnetlink_log)
5 NONE (nfnetlink_log)
6 NONE (nfnetlink_log)
7 NONE (nfnetlink_log)
8 NONE (nfnetlink_log)
9 NONE (nfnetlink_log)
10 NONE (nfnetlink_log)
11 NONE (nfnetlink_log)
12 NONE (nfnetlink_log)



cat /etc/ulogd.conf
[global]
logfile="/var/log/ulogd.log"
loglevel=1
rmem=131071
bufsize=150000

plugin="/usr/lib/ulogd/ulogd_inppkt_NFLOG.so"
plugin="/usr/lib/ulogd/ulogd_raw2packet_BASE.so"
plugin="/usr/lib/ulogd/ulogd_filter_IP2STR.so"
plugin="/usr/lib/ulogd/ulogd_filter_PRINTPKT.so"
plugin="/usr/lib/ulogd/ulogd_output_LOGEMU.so"
plugin="/usr/lib/ulogd/ulogd_filter_IFINDEX.so"

stack=log1:NFLOG,base1:BASE,ifi1:IFINDEX,ip2str1:IP2STR,print1:PRINTPKT,emu1:LOGEMU

[log1]
group=1

[emu1]
file=/var/log/ulogd.syslogemu


uname -sr
Linux 5.7.7-arch1-1

Thanks,
Austin



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux