Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
trying this at the top of my iptables INPUT chain to rate limit pings:
Code:
-A INPUT -p icmp --icmp-type echo-request -m limit --limit 3/s --limit-burst 1 -j ACCEPT
-A INPUT -p icmp --icmp-type 3 -j ACCEPT
-A INPUT -p icmp --icmp-type 11 -j ACCEPT
-A INPUT -p icmp -j DROP
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
disables pinging out from the current system (i.e. ping initiated from the local system shows no responses, and timeouts from each packet), even though tcpdump on the same system reports requests & responses normally:
Code:
23:18:03.703641 IP 172.16.16.1 > 172.16.16.254: ICMP echo request, id 418, seq 1, length 64
23:18:03.704189 IP 172.16.16.254 > 172.16.16.1: ICMP echo reply, id 418, seq 1, length 64
23:18:04.710797 IP 172.16.16.1 > 172.16.16.254: ICMP echo request, id 418, seq 2, length 64
23:18:04.711253 IP 172.16.16.254 > 172.16.16.1: ICMP echo reply, id 418, seq 2, length 64
23:18:05.710679 IP 172.16.16.1 > 172.16.16.254: ICMP echo request, id 418, seq 3, length 64
23:18:05.711205 IP 172.16.16.254 > 172.16.16.1: ICMP echo reply, id 418, seq 3, length 64
23:18:06.710719 IP 172.16.16.1 > 172.16.16.254: ICMP echo request, id 418, seq 4, length 64
23:18:06.711156 IP 172.16.16.254 > 172.16.16.1: ICMP echo reply, id 418, seq 4, length 64
any earthly idea why? doesn't make a lick of sense to me. external systems can ping in just fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.