Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to drop UDP packets with specific UDP port number) on network interface (say eth0). On my setup the interface eth0 is part of the bridge.

is it possible to do it using tc command? if yes, how?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

No, tc is not for firewalling. Use ebtables instead.

share|improve this answer
    
since eth0 is part of bridge, I can do it using iptables. According to gossamer-threads.com/lists/iptables/user/68953 and bugs.debian.org/cgi-bin/bugreport.cgi?bug=555471 I cannot use iptables rule for physical interface. Can I do something else? –  Dima Sep 7 '11 at 17:59
    
Sorry, you want 'ebtables'. –  David Schwartz Sep 7 '11 at 18:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.