J
J
juffinhalli2012-05-03 10:57:15
linux
juffinhalli, 2012-05-03 10:57:15

iptables vs. isc-dhcp-server?

Good afternoon, hackers!
There is an old server on Debian squeeze amd64. It is running isc-dhcp-server.
Clients successfully successfully receive ip addresses and everything is OK
To manage the iptables settings in the system, vuurmuur is used. For research purposes, all incoming was denied to the server, but despite this, client requests continue to bypass the iptables rules and receive addresses.
I post a list of applied rules
. I ask for advice from experienced colleagues - how can this be?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
decanet, 2012-05-03
@juffinhalli

dhcp works through raw sockets, and they work "bypassing" iptables.

D
decanet, 2012-05-03
@decanet

you can block like this
iptables -t raw -A PREROUTING -p udp --dport 68 -j DROP
iptables -t raw -A PREROUTING -p udp --dport 67 -j DROP

G
giner, 2012-05-07
@giner

Try loading some LiveCD and see if it gets an IP the first time?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question