[freebsd] l2tp за NAT'ом (без IPSEC)

Irina Liakh spell at itl.ua
Wed Apr 12 21:00:21 EEST 2017


On Wed, Apr 12, 2017 at 10:27:06PM +0700, Eugene Grosbein wrote:
> 13.04.2017 0:43, Irina Liakh пишет:
> 
> > tcpdump вдогонку показывала,
> 
> Но без командной строки (без аргументов), а это важно.
> Нужна полная команда и её вывод подряд. Не забыть ключи tcpdump -vnps0 и -i.

# tcpdump -i ng0 -nvv -s0 host 8.8.8.8
tcpdump: listening on ng0, link-type NULL (BSD loopback), capture size 65535 bytes

18:14:32.026819 IP (tos 0x0, ttl 47, id 43783, offset 0, flags [none], proto TCP (6), length 60)
    8.8.8.8.53 > 10.1.10.35.19622: Flags [S.], cksum 0x8bd2 (correct), seq 2705699001, ack 1100352957, win 42408, options [mss 1380,sackOK,TS val 191452110 ecr 27279500,nop,wscale 7], length 0
18:14:33.248339 IP (tos 0x10, ttl 64, id 53661, offset 0, flags [DF], proto TCP (6), length 60)
    10.1.10.35.32320 > 8.8.8.8.53: Flags [S], cksum 0x687d (correct), seq 3826082216, win 65535, options [mss 1356,nop,wscale 6,sackOK,TS val 27300588 ecr 0], length 0
18:14:33.311649 IP (tos 0x0, ttl 47, id 50242, offset 0, flags [none], proto TCP (6), length 60)
    8.8.8.8.53 > 10.1.10.35.32320: Flags [S.], cksum 0x2307 (correct), seq 3492863450, ack 3826082217, win 42408, options [mss 1380,sackOK,TS val 795394607 ecr 27300588,nop,wscale 7], length 0
18:14:33.611997 IP (tos 0x0, ttl 47, id 50422, offset 0, flags [none], proto TCP (6), length 60)
    8.8.8.8.53 > 10.1.10.35.32320: Flags [S.], cksum 0x21db (correct), seq 3492863450, ack 3826082217, win 42408, options [mss 1380,sackOK,TS val 795394907 ecr 27300588,nop,wscale 7], length 0
18:14:35.611427 IP (tos 0x0, ttl 47, id 51708, offset 0, flags [none], proto TCP (6), length 60)
    8.8.8.8.53 > 10.1.10.35.32320: Flags [S.], cksum 0x1a0b (correct), seq 3492863450, ack 3826082217, win 42408, options [mss 1380,sackOK,TS val 795396907 ecr 27300588,nop,wscale 7], length 0
18:14:36.248404 IP (tos 0x10, ttl 64, id 53666, offset 0, flags [DF], proto TCP (6), length 60)
    10.1.10.35.32320 > 8.8.8.8.53: Flags [S], cksum 0x5cc4 (correct), seq 3826082216, win 65535, options [mss 1356,nop,wscale 6,sackOK,TS val 27303589 ecr 0], length 0
18:14:36.311682 IP (tos 0x0, ttl 47, id 52098, offset 0, flags [none], proto TCP (6), length 60)
    8.8.8.8.53 > 10.1.10.35.32320: Flags [S.], cksum 0x174f (correct), seq 3492863450, ack 3826082217, win 42408, options [mss 1380,sackOK,TS val 795397607 ecr 27300588,nop,wscale 7], length 0


"-p" же не принципиально?

> Ядро GENERIC или нет? В /boot/loader.conf и /etc/sysctl.conf есть недефолтные настройки?
Да, GENERIC.
В /boot/loader.conf только относящееся к wpi. В /etc/sysctl.conf пусто.


More information about the freebsd mailing list