Jun 14 23:06:25 debian-test kernel: [945542.380629] udp packet IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:15:5d:02:01:01:08:00 SRC=0.0.0.0 DST=255.255.255.255 LEN=362 TOS=0x10 PREC=0x00 TTL=128 ID=0 PROTO=UDP SPT=68 DPT=67 LEN=342
iptables -A INPUT -p udp -j LOG --log-prefix 'udp packet '
Sending packet:
op=BOOTREQUEST chaddr=01:1C:80:02:57:95 hops=0 xid=4CED4A2D secs=0 flags=8000
ciaddr=0.0.0.0 yiaddr=0.0.0.0 siaddr=0.0.0.0 giaddr=0.0.0.0 sname= file=
1 options:
dhcpMessageType: discover
Jun 14 22:21:35 debian-test kernel: [942852.467792] udp packet IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:e8:40:f2:11:49:59:08:00 SRC=192.168.1.1 DST=255.255.255.255 LEN=272 TOS=0x00 PREC=0x00 TTL=128 ID=29366 PROTO=UDP SPT=68 DPT=67 LEN=252
Jun 14 22:21:35 debian-test kernel: [942852.468734] udp packet IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1b:21:62:c5:0d:08:00 SRC=192.168.2.1 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID=24785 PROTO=UDP SPT=67 DPT=68 LEN=308
iptables -I INPUT 1 -p udp --dport 67 -j DROP