* (Probably) it's a bug
@ 2005-07-21 19:49 Marek Sirdak
2005-07-22 12:49 ` Krzysztof Oledzki
0 siblings, 1 reply; 4+ messages in thread
From: Marek Sirdak @ 2005-07-21 19:49 UTC (permalink / raw)
To: netfilter-devel
Dear Netfilter developers:
I'm using iptables to protect my company network. My Kernel version is
2.6.12 and iptables 1.3.2. Today I noticed that iptables cannot control
broadcast traffic. For example I'm using DHCPd (version 3.0.2).
Every computer in my network has it own entry in dhcpd.conf. There are no
IP range specified - for security reasons. If I set policy of chains INPUT,
FORWARD and OUTPUT to DROP (table: filter) with no entries in them, traffic
should be completly dropped. But I noticed that if computer from my network
will send DHCP-REQUEST he will recive DHCP-REPLY with address and he receive
his address despite iptables is set to DROP all of the traffic !!! I have
read from DHCPd readme file that on some systems above behaviour is normal,
but i think it isn't normal, because we say: "block all of the traffic" and
all traffic should be dropped. We know that first packets of DHCP requests
are broadcasts and renewal are unicast (unicast packets are dropped).
Please turn attention on it. I'm not an extra developer, but I think that
somebody can write some broadcast request that could violate server
security.
Greetings
Marek Sirdak
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (Probably) it's a bug
2005-07-21 19:49 (Probably) it's a bug Marek Sirdak
@ 2005-07-22 12:49 ` Krzysztof Oledzki
2005-07-22 13:15 ` Jan Engelhardt
0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Oledzki @ 2005-07-22 12:49 UTC (permalink / raw)
To: Marek Sirdak; +Cc: netfilter-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 855 bytes --]
On Thu, 21 Jul 2005, Marek Sirdak wrote:
> Dear Netfilter developers:
>
> I'm using iptables to protect my company network. My Kernel version is
> 2.6.12 and iptables 1.3.2. Today I noticed that iptables cannot control
> broadcast traffic. For example I'm using DHCPd (version 3.0.2).
Hm.. isc-dhcpd uses af_packet:
Symbol: PACKET [=y]
Prompt: Packet socket
Defined at net/Kconfig:26
Depends on: NET
Location:
-> Device Drivers
-> Networking support
-> Networking support (NET [=y])
-> Networking options
"The Packet protocol is used by applications which communicate
directly with network devices without an intermediate network
protocol implemented in the kernel, e.g. tcpdump. If you want them
to work, choose Y.
(...)"
Best regards,
Krzysztof Olędzki
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (Probably) it's a bug
2005-07-22 12:49 ` Krzysztof Oledzki
@ 2005-07-22 13:15 ` Jan Engelhardt
2005-07-22 17:56 ` Patrick McHardy
0 siblings, 1 reply; 4+ messages in thread
From: Jan Engelhardt @ 2005-07-22 13:15 UTC (permalink / raw)
To: Krzysztof Oledzki; +Cc: netfilter-devel, Marek Sirdak
>> Dear Netfilter developers:
>>
>> I'm using iptables to protect my company network. My Kernel version is
>> 2.6.12 and iptables 1.3.2. Today I noticed that iptables cannot control
>> broadcast traffic. For example I'm using DHCPd (version 3.0.2).
>
> Hm.. isc-dhcpd uses af_packet:
>
> Symbol: PACKET [=y]
> "The Packet protocol is used by applications which communicate
> directly with network devices without an intermediate network
> protocol implemented in the kernel, e.g. tcpdump. If you want them
> to work, choose Y.
Interesting because I once failed to get DHCP because the Request packets hit
the default DROP policy...
Jan Engelhardt
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: (Probably) it's a bug
2005-07-22 13:15 ` Jan Engelhardt
@ 2005-07-22 17:56 ` Patrick McHardy
0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2005-07-22 17:56 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: netfilter-devel, Marek Sirdak
Jan Engelhardt schrieb:
>>>Dear Netfilter developers:
>>>
>>>I'm using iptables to protect my company network. My Kernel version is
>>>2.6.12 and iptables 1.3.2. Today I noticed that iptables cannot control
>>>broadcast traffic. For example I'm using DHCPd (version 3.0.2).
>>
>>Hm.. isc-dhcpd uses af_packet:
>>
>>Symbol: PACKET [=y]
>>"The Packet protocol is used by applications which communicate
>>directly with network devices without an intermediate network
>>protocol implemented in the kernel, e.g. tcpdump. If you want them
>>to work, choose Y.
>
> Interesting because I once failed to get DHCP because the Request packets hit
> the default DROP policy...
Some clients use AF_PACKET, others use raw sockets, others use regular
UDP sockets. Everything besides AF_PACKET can be filtered by netfilter.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-22 17:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-21 19:49 (Probably) it's a bug Marek Sirdak
2005-07-22 12:49 ` Krzysztof Oledzki
2005-07-22 13:15 ` Jan Engelhardt
2005-07-22 17:56 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.