Gentoo Archives: gentoo-security

From: Matt Drew <matt.drew@×××××.com>
To: gentoo-security@l.g.o
Subject: Re: [gentoo-security] problem blocking udp packets with iptables
Date: Fri, 24 Mar 2006 04:16:58
Message-Id: 5ee831cb0603232007n5d90a022p6d76478b3224482d@mail.gmail.com
In Reply to: Re: [gentoo-security] problem blocking udp packets with iptables by Martin Skarda
1 > yes, meanwhile I also found the shorewall howto. I assumed, that the dhcpd
2 > does not use the normal stack. But I did not understand this behavior,
3 > because when I look into the RFC regarding bootp/dhcp I found that this
4 > service is "defined to use the udp protocol"....
5 >
6 > thank you for your assistance,
7 > Martin
8 >
9
10
11 You should be able to block this traffic at the Ethernet level using
12 ebtables with something like this:
13
14 ebtables [-t filter] -A INPUT -i eth0 -p ipv4 --ip-protocol 17
15 --ip-destination-port 67 -j DROP
16
17 This drops incoming ethernet traffic to eth0 with an IPv4 protocol of
18 17 (UDP) destined for IP port 67.
19
20 --
21 gentoo-security@g.o mailing list

Replies

Subject Author
Re: [gentoo-security] problem blocking udp packets with iptables Martin Skarda <skarda@××××××××××××.de>