On Wed, Oct 04, 2000 at 08:29:19PM +0200, Marcus Brinkmann wrote:
> > > If you have screen, try "cat /dev/tun0" on one screen, and "ping 192.168.1.1"
> > > on the other. You will see how the packages appear on the first screen when
> > > pfinet sends them. Testing if write works correctly is harder, as you need
> > > to produce valid network packages in user space.
> >
> > Use dd if=/dev/tun0 of=file to capture packets you write e.g. with ping.
> > Then swap the IP addreses on your tun interface, and
> > use dd if=file of=/dev/tun0 to replay the pings back at it.
> > I can't think of anything wrong with this, so if it's working your
> > should see the ping packets from the file.
>
> Mmh. Doesn't work yet.
... but only because I forgot to add the mac.raw change to the latest version.
I *does* work now.
The attached diff is also wrong, :( but I will make a new one available when
I fixed a couple of other things.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
[EMAIL PROTECTED], [EMAIL PROTECTED] PGP Key ID 36E7CD09
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/ [EMAIL PROTECTED]
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd