Gentoo Archives: gentoo-user

From: Michael Mol <mikemol@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] traceroute not working
Date: Fri, 22 Feb 2013 16:41:22
Message-Id: 51279F97.5050002@gmail.com
In Reply to: [gentoo-user] traceroute not working by Tanstaafl
1 On 02/22/2013 10:51 AM, Tanstaafl wrote:
2 > Hi all,
3 >
4 > Weird, I don't use it much, but needed to run a traceroute today, and it
5 > is failing with:
6 >
7 > # traceroute 192.168.1.4
8 > traceroute to 192.168.1.4 (192.168.1.4), 30 hops max, 60 byte packets
9 > send: Operation not permitted
10 >
11 > I know the problem is in my firewall, because when I stop it,
12 > traceroutes work as expected.
13 >
14 > I have allowed all ICMP in my firewall:
15 >
16 > Chain INPUT (policy DROP)
17 > target prot opt source destination
18 > <snip>
19 > ACCEPT icmp -- anywhere anywhere icmp any
20 > <snip>
21 >
22 > Chain FORWARD (policy DROP)
23 > target prot opt source destination
24 > ACCEPT icmp -- anywhere anywhere icmp any
25 >
26 > Chain OUTPUT (policy DROP)
27 > target prot opt source destination
28 > <snip>
29 > ACCEPT icmp -- anywhere anywhere icmp any
30 >
31 > Any ideas what I'm missing?
32 >
33 > I can send all of my firewall rules privately if someone thinks I may
34 > have something that is dropping these packets before my ALLOW rule kicks
35 > in, but I'm fairly sure I have them right...
36 >
37 > Thanks
38 >
39
40 Try moving your ACCEPT rules for icmp closer to (or all the way to) the top.

Attachments

File name MIME type
signature.asc application/pgp-signature