Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I get alot of these messages in my log files.
Jun 28 22:08:19 websrv2 kernel: fp=INPUT:99 a=DROP IN=eth0 OUT=
MAC=ff:ff:ff:ff:ff:ff:00:0f:66:5a:ea:7b:08:00 SRC=192.168.0.254 DST=192.168.0.255
LEN=173 TOS=0x00 PREC=0x00 TTL=150 ID=7609 PROTO=UDP SPT=7948 DPT=162 LEN=153
The port changes, but everything else is the same. I have a Linksys router attached to a DSL modem. Is there a way to block this or have it not log with my iptables script? Thanks
It's a UDP broadcast packet. The dst MAC (ff:ff:ff:ff:ff:ff) just signifies it's broadcast, but does the other MAC look familiar: 00:0f:66:5a:ea:7b? Looks like it belongs to a linksys NIC and it also has the weird Linksys TTL (150), so it's likely your router. You can block those messages by dropping broadcasts from the router which may interfere with dhcp/bootp, so fixing your logging rule is probably a better idea. Might help if you posted your firewall script or at least the LOG rules from it.
Just add a rule that accepts broadcast packets from your router sometime before this rule:
$IPT -A INPUT -j LOG --log-prefix "fp=INPUT:99 a=DROP "
something like this should work:
$IPT -A INPUT -s 192.168.0.254 -d 192.168.0.255 -j ACCEPT
You can probably use the REJECT target instead, since those packets are already getting dropped anyway. Just make sure to add that rule before the LOG rule.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.