Limit DHCP requests with iptables - problem: Router
Simon Hobson
dhcp1 at thehobsons.co.uk
Wed Feb 9 21:48:20 UTC 2011
Michal Suchanek wrote:
>Alternatively, there is the string module. Not sure about the exact
>syntax, the documentation is not very specific. Probably something
>like:
> iptables -A INPUT -p udp --dport 67 -m string --from 28 --to 34
>--hex-string aabbccddeeff
<pedant>And don't forget that this field is SIXTEEN octets long, not
SIX. Working with a subfield and assuming the rest is blank is how
certain classes of error creep in.</pedant>
--
Simon Hobson
Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
author Gladys Hobson. Novels - poetry - short stories - ideal as
Christmas stocking fillers. Some available as e-books.
More information about the dhcp-users
mailing list