Hi all,
I have an IPSEC tunnel between a FreeBSD-10.0-RELEASE and a Fortinet appliance. I have some issues with data transfers through the IPSEC tunnel.
The tunnel is between hosts a.b.c.d and d.e.f.g and is connecting 10.0.0.1/24 with 192.168.1.1/27.
The issue that I'm having is that scp transfer stalls at 2112kb. On the FreeBSD box I see:
I don't understand why the next seq 66522:67906 is delayed with 16 seconds on the enc interface while the packets have arrived on vlan10 long before that. If I check the local vlan interface on the firewall where 10.0.0.5 is I can see replies coming a lot earlier than that:
If anyone has any idea why this happens please shed some light.
I have an IPSEC tunnel between a FreeBSD-10.0-RELEASE and a Fortinet appliance. I have some issues with data transfers through the IPSEC tunnel.
The tunnel is between hosts a.b.c.d and d.e.f.g and is connecting 10.0.0.1/24 with 192.168.1.1/27.
The issue that I'm having is that scp transfer stalls at 2112kb. On the FreeBSD box I see:
Code:
enc0
00:00:00.000002 (authentic,confidential): SPI : IP a.b.c.d > e.f.g.h: IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 65138:66522, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264465], length 1384 (ipip-proto-4)
00:00:00.000106 (authentic,confidential): SPI : IP e.f.g.h > a.b.c.d: IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 49914, win 331, options [nop,nop,TS val 315264465 ecr 4021780], length 0 (ipip-proto-4)
00:00:00.000010 (authentic,confidential): SPI : IP e.f.g.h > a.b.c.d: IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 52682, win 331, options [nop,nop,TS val 315264465 ecr 4021780], length 0 (ipip-proto-4)
00:00:00.000404 (authentic,confidential): SPI : IP e.f.g.h > a.b.c.d: IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 55450, win 331, options [nop,nop,TS val 315264465 ecr 4021780], length 0 (ipip-proto-4)
00:00:00.000009 (authentic,confidential): SPI : IP e.f.g.h > a.b.c.d: IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 58218, win 331, options [nop,nop,TS val 315264465 ecr 4021781], length 0 (ipip-proto-4)
00:00:00.001140 (authentic,confidential): SPI : IP e.f.g.h > a.b.c.d: IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 60986, win 331, options [nop,nop,TS val 315264466 ecr 4021781], length 0 (ipip-proto-4)
00:00:00.000018 (authentic,confidential): SPI : IP e.f.g.h > a.b.c.d: IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 63754, win 374, options [nop,nop,TS val 315264466 ecr 4021781], length 0 (ipip-proto-4)
00:00:00.000009 (authentic,confidential): SPI : IP e.f.g.h > a.b.c.d: IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 66522, win 419, options [nop,nop,TS val 315264466 ecr 4021781], length 0 (ipip-proto-4)
00:00:16.348676 (authentic,confidential): SPI : IP 10.0.0.5.38160 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4025869 ecr 315255548], length 1384
00:00:35.668008 (authentic,confidential): SPI : IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4034786 ecr 315264466], length 1384
I don't understand why the next seq 66522:67906 is delayed with 16 seconds on the enc interface while the packets have arrived on vlan10 long before that. If I check the local vlan interface on the firewall where 10.0.0.5 is I can see replies coming a lot earlier than that:
Code:
vlan10
00:00:00.000002 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [P.], seq 77594:78978, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264465], length 1384
00:00:00.000785 IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 60986, win 331, options [nop,nop,TS val 315264466 ecr 4021781], length 0
00:00:00.000017 IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 63754, win 374, options [nop,nop,TS val 315264466 ecr 4021781], length 0
00:00:00.000009 IP 192.168.1.2.22 > 10.0.0.5.38171: Flags [.], ack 66522, win 419, options [nop,nop,TS val 315264466 ecr 4021781], length 0
00:00:00.000165 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 78978:80362, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264466], length 1384
00:00:00.000002 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 80362:81746, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264466], length 1384
00:00:00.000181 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 81746:83130, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264466], length 1384
00:00:00.000002 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 83130:84514, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264466], length 1384
00:00:00.000002 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 84514:85898, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264466], length 1384
00:00:00.000002 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 85898:87282, ack 2264, win 92, options [nop,nop,TS val 4021781 ecr 315264466], length 1384
00:00:00.201286 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4021832 ecr 315264466], length 1384
00:00:00.407997 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4021934 ecr 315264466], length 1384
00:00:00.815008 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4022138 ecr 315264466], length 1384
00:00:01.631995 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4022546 ecr 315264466], length 1384
00:00:03.264010 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4023362 ecr 315264466], length 1384
00:00:06.527996 IP 10.0.0.5.38171 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4024994 ecr 315264466], length 1384
00:00:03.500009 IP 10.0.0.5.38160 > 192.168.1.2.22: Flags [.], seq 66522:67906, ack 2264, win 92, options [nop,nop,TS val 4025869 ecr 315255548], length 1384
If anyone has any idea why this happens please shed some light.
Last edited by a moderator: