I've got a raw GIF tunnel set up between an 8.2-RELEASE system and an 9.0-RC3 system. I haven't yet setup IPSEC to encrypt the traffic, so this is just a raw IP-IP tunnel. The tunnel function properly, each side can connect to eachother's network, so it seems I'm good with my firewall settings, GIF setup, and static routes.
Only on the 9.0-RC3 system, I see a lot of errors for connections that read:
I don't see these errors on 8.2-RELEASE and the error seems to disrupt network performance. Is this a known issue in 9.0-RC3, or do I have a setup issue? Here is my configuration on each endpoint, I've masked public IP addresses as A.A.A.A and B.B.B.B:
Any help identifying the issue here would be great. I'd think if I had a major setup issue, connectivity wouldn't exist between the two endpoints, but they do, so I'm a bit stuck. Obviously this is something at the PF level, but I don't have anything really fancy in PF. I've tried removing the "scrub in all" lines but that doesn't work either.
Thanks again.
Only on the 9.0-RC3 system, I see a lot of errors for connections that read:
Code:
pf: state key linking mismatch! dir=OUT, if=re1, stored af=2, a0: B.B.B.B, a1: A.A.A.A, proto=4, found af=2, a0: 172.16.1.2:80, a1: 172.16.2.1:52102, proto=6.
I don't see these errors on 8.2-RELEASE and the error seems to disrupt network performance. Is this a known issue in 9.0-RC3, or do I have a setup issue? Here is my configuration on each endpoint, I've masked public IP addresses as A.A.A.A and B.B.B.B:
Code:
[B]ENDPOINT 1:[/B]
[file]/etc/rc.conf:[/file]
gif_interfaces="gif0"
gifconfig_gif0="A.A.A.A B.B.B.B"
ifconfig_gif0="inet 172.16.1.1 172.16.2.1 netmask 255.255.255.0"
static_routes="tslbell"
route_tslbell="-net 172.16.2.0/24 172.16.2.1"
[file]/etc/pf.conf:[/file]
# MACROS
ext_if="re0"
int_if="re1"
internal_net="172.16.1.0/24"
# NORMALIZATION
scrub in all
# NETWORK ADDRESS TRANSLATION
nat on $ext_if from $internal_net to any -> ($ext_if)
# FILTERING
set skip on gif0
pass in all
pass out all
block in log all
pass quick on lo0 all
pass quick on $int_if all
# ENABLE INBOUND ICMP
pass in on $ext_if proto icmp all keep state
pass out on $ext_if proto { tcp, udp, icmp } all keep state
Code:
[B]ENDPOINT 2:[/B]
[file]/etc/rc.conf:[/file]
gifconfig_gif0="B.B.B.B A.A.A.A"
ifconfig_gif0="inet 172.16.2.1 172.16.1.1 netmask 255.255.255.0"
static_routes="belltsl"
route_belltsl="-net 172.16.1.0/24 172.16.1.1"
[file]/etc/pf.conf:[/file]
# MACROS
ext_if="lagg0"
int_if="bge0"
internal_net="172.16.2.0/24"
# NORMALIZATION
scrub in all
# NETWORK ADDRESS TRANSLATION
nat on $ext_if from $internal_net to any -> ($ext_if)
# FILTERING
set skip on gif0
pass in all
pass out all
block in log all
pass quick on lo0 all
pass quick on $int_if all
# ENABLE INBOUND ICMP
pass in on $ext_if proto icmp all keep state
pass out on $ext_if proto { tcp, udp, icmp } all keep state
Any help identifying the issue here would be great. I'd think if I had a major setup issue, connectivity wouldn't exist between the two endpoints, but they do, so I'm a bit stuck. Obviously this is something at the PF level, but I don't have anything really fancy in PF. I've tried removing the "scrub in all" lines but that doesn't work either.
Thanks again.