-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Well the issue lies with
/usr/sbin/iptables -A INPUT -p ipip -j ACCEPT
"-p ipip" does NOT do what you think it does.
It allows protocol 94.
What you actually want to do is:
/usr/sbin/iptables -A INPUT -p ipencap -j ACCEPT
or to be safe use:
/usr/sbin/iptables -A INPUT -p 4 -j ACCEPT
73 de Marc
On 27/12/2014 13:55, Arno Verhoeven wrote:
(Please trim inclusions from previous messages)
_______________________________________________
On 27-12-14 12:00, Marius Petrescu wrote:
Actually the problem is at the tunnel interface,
not at ripd...
Check your firewall setting so that you accept proto 4/IPIP from
your rip2 broadcast source as you can see it in yout tcpdump
trace.
Right. the firewall was the problem. I had gone over the firewall
script over and over again, to look for the problem. Couldn't find
a problem. I was convinced that the problem must be somewhere else,
e.g. creation of the tunnel interface, of a kernel thing, or
whatever.
I did not dare completely disabling the firewall because the server
is doing a lot of other things apart from being the ampr Gw. But
when I finally disabled the firewall anyway, and everything
related to the tunnel worked.
The INPUT policy was set to DROP and I already had these 2 lines in
the firewall script:
/usr/sbin/iptables -A INPUT -p ipip -j ACCEPT /usr/sbin/iptables -A
INPUT -p udp --dport 520 -j ACCEPT
But apparently that was not enough. It all worked after adding
this two lines also.
/usr/sbin/iptables -A INPUT -s 169.228.66.251 -j ACCEPT #
amprgw.sysnet.ucsd.edu /usr/sbin/iptables -A INPUT -s
213.222.29.194 -j ACCEPT #
gw-44-137-ext.ampr.org
It really helps to have this mailinglist. Of course because of the
responses, but it also helps to yourself to get your thoughts
straight while describing the problem.
Thanks Marius and others for all your help.
73 PE1ICQ //Arno
_________________________________________ 44Net mailing list
44Net(a)hamradio.ucsd.edu
http://hamradio.ucsd.edu/mailman/listinfo/44net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2
Comment: GPGTools -
http://gpgtools.org
iQIcBAEBAgAGBQJUnq9tAAoJEHFIN1T8ZA8vgPsP/iMIFP5MZ3+eFbZekZ1tt67M
IkmUeUdL2ZdO18foZZ/lBHbjQODO4K6dLpDhEu3zHHHGr0n0RVksPZuo6sGddHax
35DQL8qIrqHKHdCwWTsDGDaPvqPHARjeHql/cN82EtFlAw3I9Y1N0FUvHZPzImo4
7DkXGSpLAr9d1/J3iir1upTShNwx79m0fcJ2dlL/G+B9ph4G4Zmrv4+/5Pzmwu7P
HsC1hug5bpc0QWimMI0BxaYzVZKl4c5EOTgw3IJs55X4VFF0BiFywy6H/gbgGhUt
1uUZDq4tAU8F+gcuXKOoM+1YGMafJfb9WENHRjdyItaQE0uB7LASzgqFHgCtMrWA
G7rEEq3Tzn/5ZCUNOnIuohR0MyvayUAb8ECGaZLPq2feK6ccoHxWcy8AoL5aT2k6
Mce42srG0JiI0R9PbI/MbTpa3NEXfyxo+tcxjS0DpuFuDY4/E1CM4xCJeNCpgoPz
c/S+NiLoAMhVAUSthU3jQzXvpBPWpwDV6dVMrB8jP32E8Zq8LKnq9XL7RySu9sSe
VkrwkyUa+0K1M5q2LA23Z2kx/OK9E1jS+aOFqsYI4oRrfEl59HdHCCTP31/csTrX
nMppB5WgZWDajAu//whts6w8giEeN0xZFyF/C+3Hbsv4EL+Cc1feCOO3riFxorHY
HbZZYB09RSoCMVtnJpm1
=TR4V
-----END PGP SIGNATURE-----