netdev
[Top] [All Lists]

Re: PPP over socket?

To: Chris Dukes <pakrat@xxxxxxxxxxxxxxxx>
Subject: Re: PPP over socket?
From: J Sloan <jjs@xxxxxxxxx>
Date: Fri, 11 Jan 2002 17:44:47 -0800
Cc: fabrizio.gennari@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
References: <OF89E28C88.FEBD33E7-ONC1256B3E.002E62B6@xxxxxxxxxxxxxxxxxxx> <20020112011207.F7199@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221
Just my $.02 -

vtund rocks, I learned about it when
I took on a side job doing linux/vpn
admin for a medium size company.

vtund connects their branch offices
to their main office - it encrypts and
compresses traffic between the vpn
boxes at each end, which in our case
are iptables firewall boxes.

I am impressed with it  - as mentioned
it's user space and works with linux,
bsd or solaris....

cu

jjs

Chris Dukes wrote:

On Fri, Jan 11, 2002 at 10:13:57AM +0100, fabrizio.gennari@xxxxxxxxxxx wrote:

I was wondering whether the socket architecture could be modified in order to support PPP connections over a generic socket (of type SOCK_DGRAM or SOCK_SEQPACKET), by mapping each PPP packet to a socket packet. This idea is not completely new: somebody raised is in the past, see for example http://oss.sgi.com/projects/netdev/mail/netdev/msg00180.html or http://oss.sgi.com/projects/netdev/mail/netdev/msg01127.html .


vtun already provides this capability in user space.
(See http://vtun.sourceforge.net/)
ppp(8) on *BSD also provides this capability in user space as well.

As memory serves PPPoE on Linux is partially implemented in userspace
as is, so a partial user space solution for PPPoUDP shouldn't be that
wretched.




<Prev in Thread] Current Thread [Next in Thread>