Roland McGrath <[EMAIL PROTECTED]> writes:

> (As your example is written, it suggests that /dev/eth0 and
> /dev/ppp0 are devices that deliver IP packets, while I would
> expect them to deliver Ethernet and PPP frames respectively.

Well actually I thought they would deliver datagrams tagged with
some kind of type words.  I'm not familiar with PPP frames (yet).

> All it needs is an interface to the channelio
> devices to receive copies of packets going elsewhere.

The pfinet process will be talking directly to the Mach device.
Would such snooping be done in Mach or in libchannel?  In the
latter case, file_get_channel_info could take an extra port
parameter which says where to send snoop requests.  Libchannel
would set up such a port and listen to it.  This would allow a
treacherous program to circumvent snooping and send frames
directly to the device, but file_get_channel_info shouldn't give
device send rights to untrusted processes anyway.

If I were to run pfinet and pfipx at the same time, how would
incoming frames be delivered to the right place?

Reply via email to