Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!in1.uu.net!EU.net!peer-news.britain.eu.net!demon!cucumber.demon.co.uk!usenet From: sadg@cucumber.demon.co.uk (Andrew Gabriel) Newsgroups: comp.protocols.ppp,comp.sources,sun.comp.sys.wanted,comp.unix.solaris,comp.unix.bsd Subject: Re: Help on IP Interface Date: 9 Dec 1995 09:37:10 GMT Organization: home Lines: 32 Distribution: inet Message-ID: <4ablc6$hj@cucumber.demon.co.uk> References: <4a9kcc$hga@boson.epita.fr> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: cucumber.demon.co.uk X-Newsreader: knews 0.9.0 To: dorchi_c@argon.epita.fr Xref: euryale.cc.adfa.oz.au comp.protocols.ppp:11918 comp.unix.solaris:53989 comp.unix.bsd:16758 In article <4a9kcc$hga@boson.epita.fr>, dorchi_c@argon.epita.fr (christophe dorchies) writes: > > > Hi, > > What I need is a "tunnel" network interface, which is a network > interface device which is connected to a character device driver. So > for example a tun0 network interface which is connected to a > /dev/tun0 character device. IP packets arriving at tun0 to be sent > can be read at user level from /dev/tun0, and packets written to > /dev/tun0 are "received" by the tun0 network interface and injected > into the network code. > > I need to do this on SunOs4.1.1 with loadable driver. > > It seems that Morningstar PPP uses such a tunnel device and does most > of their PPP processing at user level. I don't know Morningstar PPP, but if I understand your requirement correctly, the publically-available dp does what you want. The PPP processing is done in a streams module (hence in the kernel). It works on Solaris 2.4, and from examining the code, it looks like it is intended to work on Solaris 1 (SunOS 4) too. Look for dp-4.0 (its home is somewhere in perdue.edu). -- Andrew Gabriel Home: Andrew@cucumber.demon.co.uk Consultant Software Engineer Work: Andrew.Gabriel@net-tel.co.uk