NetBSD 1.5.2 + user-ppp(from FreeBSD) +
When I try get a large file via ppp/pptp tunnel,
packets lost. (this may be same problem reported
As far as my test, write() system call on
blocks few seconds. In this moments, 'pptp' cannot
from GRE sockets. This cause lost GRE packets.
The patch (attached this message) will solve this
problem. In my
test, throwput improved from 200K bytes/sec to 1M
In addition to, the patch also includes "USER_PPP"
option. This option use 'UNIX domain stream socket
communicate to user-ppp. I think pty/tty pair
should not be used
for user-ppp. Because default buffer size of
pty/tty pair is 1024
bytes (at least on NetBSD). This is too small.
'-direct' mode supports async HDLC, so we can use
Log in to post a comment.