[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pppoe truncated ip xx bytes missing 3.3 / 3.4 snapshot
just a quick note on isakmpd vpn -
if I have the setup as following :
local_gw= 66.66.66.66 # interface fxp0
local_net=192.168.2.0/24 # interface fxp1 192.168.2.1
remote_gw=65.65.65.65 # interface fxp0
remote_net=192.168.1.0/24 #interface fpx1 192.168.1.1
one must add the following routes :
on the local machine : 'route add -net 192.168.1.0/24 192.168.2.1'
on the remote machine : 'route add -net 192.168.2.0/24 192.168.1.1'
I wish that had been in the vpn documentation. That would have saved me
days of agony. If I should submit a patch to the vpn man page, just give me
the word. In retrospect, that should have been obvious. Although, some
things aren't obvious when you're frazzled.
PPPoE argh argh argh argh!!! I hate pppoe!
Anway, I'm getting truncated messages in the logs no matter what ppp.conf
settings I have, no matter what pf.conf scrub rules I have, no matter what
mtu/mru I change the tun0/fxp0 interface to. Packets are alway truncated at
length 76 and then are missing any bytes beyond that.
Some things work, but often my ssh/telnet/printing sessions will just stop.
A few times(mostly when messing with ppp, taking it up and down) the obsd
machine locks and is not pingable nor responsive to any console input.
I would post to bugs or start looking at the source, but I wanted to make
sure I'm not doing something wrong.
Here is tcpdump (public ip's changed to protect the guilty):
[snip]
13:45:07.893034 PPPoE-Session
code Session, version 1, type 1, id 0x2c48, length 102
IP: truncated-ip - 26 bytes missing!65.65.65.65.ssh > 66.66.66.66.31649:
P 2478:2526(48) ack 1837 win 17280 <nop,nop,timestamp 2145534457
1272778978> (DF) [tos 0x10]
13:45:07.999980 PPPoE-Session
code Session, version 1, type 1, id 0x2c48, length 118
IP: truncated-ip - 42 bytes missing!65.65.65.65.ssh > 66.66.66.66.31649:
P 2526:2590(64) ack 1837 win 17280 <nop,nop,timestamp 2145534457
1272778978> (DF) [tos 0x10]
13:45:08.000213 PPPoE-Session
code Session, version 1, type 1, id 0x2c48, length 54
IP: 66.66.66.66.31649 > 65.65.65.65.ssh: . ack 2590 win 17216
<nop,nop,timestamp 1272778979 2145534457> (DF) [tos 0x10]
13:45:08.876828 PPPoE-Session
code Session, version 1, type 1, id 0x2c48, length 102
IP: truncated-ip - 26 bytes missing!66.66.66.66.31649 > 65.65.65.65.ssh:
P 1837:1885(48) ack 2590 win 17280 <nop,nop,timestamp 1272778980
2145534457> (DF) [tos 0x10]
13:45:08.896657 PPPoE-Session
code Session, version 1, type 1, id 0x2c48, length 102
IP: truncated-ip - 26 bytes missing!65.65.65.65.ssh > 66.66.66.66.31649:
P 2590:2638(48) ack 1885 win 17280 <nop,nop,timestamp 2145534459
1272778980> (DF) [tos 0x10]
13:45:09.022541 PPPoE-Session
code Session, version 1, type 1, id 0x2c48, length 102
IP: truncated-ip - 26 bytes missing!65.65.65.65.ssh > 66.66.66.66.31649:
P 2638:2686(48) ack 1885 win 17280 <nop,nop,timestamp 2145534459
1272778980> (DF) [tos 0x10]
13:45:09.022774 PPPoE-Session
code Session, version 1, type 1, id 0x2c48, length 54
IP: 66.66.66.66.31649 > 65.65.65.65.ssh: . ack 2686 win 17232
<nop,nop,timestamp 1272778981 2145534459> (DF) [tos 0x10]
ifconfig -a :
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33224
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
lo1: flags=8008<LOOPBACK,MULTICAST> mtu 33224
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:a0:c9:9a:0d:a3
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 0.0.0.0 netmask 0xffffff00 broadcast 0.0.0.255
inet6 fe80::2a0:c9ff:fe9a:da3%fxp0 prefixlen 64 scopeid 0x1
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: 00:02:b3:be:0c:56
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.3.1 netmask 0xffffff00 broadcast 192.168.3.255
inet6 fe80::202:b3ff:febe:c56%fxp1 prefixlen 64 scopeid 0x2
pflog0: flags=0<> mtu 33224
pfsync0: flags=0<> mtu 2020
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
sl1: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 296
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
ppp1: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=8011<UP,POINTOPOINT,MULTICAST> mtu 1492
inet 66.66.66.66 --> 66.66.66.1 netmask 0xffffffff
tun1: flags=10<POINTOPOINT> mtu 3000
enc0: flags=0<> mtu 1536
bridge0: flags=0<> mtu 1500
bridge1: flags=0<> mtu 1500
vlan0: flags=0<> mtu 1500
address: 00:00:00:00:00:00
vlan1: flags=0<> mtu 1500
address: 00:00:00:00:00:00
gre0: flags=9010<POINTOPOINT,LINK0,MULTICAST> mtu 1450
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif1: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif2: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
gif3: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
ppp.conf :
default:
set log Phase Chat IPCP CCP tun command
set redial 15 0
set reconnect 15 10000
pppoe:
set device "!/usr/sbin/pppoe -i fxp0"
disable acfcomp protocomp
deny acfcomp
set mtu max 1492
set mru max 1492
#set mru 1400
#set mtu 1400
#set mtu max 1470
set speed sync
#enable lqr
#set lqrperiod 5
#set cd 5
#set dial
#set login
#set timeout 0
set authname dbhochd@bellsouth.net
set authkey butcher
add! default HISADDR
#enable dns
#enable mssfixup
netstat -nr :
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu
Interface
default 66.66.66.1 UC 0 0 1492 tun0
=>
default 66.66.66.1 UGS 4 583 - tun0
66.66.66.1 66.66.66.66 UH 1 0 1492 tun0
127/8 127.0.0.1 UGRS 0 0 33224 lo0
127.0.0.1 127.0.0.1 UH 2 0 33224 lo0
192.168.1/24 192.168.3.1 UGS 1 2 - fxp1
192.168.3/24 link#2 UC 0 0 - fxp1
192.168.3.1 127.0.0.1 UGHS 1 0 33224 lo0
224/4 127.0.0.1 URS 0 0 33224 lo0
Encap:
Source Port Destination Port Proto
SA(Address/Proto/Type/Direction)
192.168.1/24 0 192.168.3/24 0 0
66.66.66.66/50/use/in
192.168.3/24 0 192.168.1/24 0 0
66.66.66.66/50/require/out
Thanks for your input.
Simon Hollier
Computer Services
Northeast Health District
220 Research Drive
Athens, GA 30605