Seems to me that the easiest way to get started on this would be the old
idea of separating that capture mechanism from ethereal itself into a small
external tool. You could then easily add capability for selecting from a
variety of external capture tools. (This also resolves some of the security
issues with allowing non-root access to ethereal.)
The real problem though becomes the limitations of libpcap, since it is
currently defining the encapsulations/media-types/etc. If ethereal were to
do that itself, it would be easy enough to add a 'usb' encapsulation type.
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@xxxxxxx
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216
> -----Original Message-----
> From: Ronnie Sahlberg [mailto:rsahlber@xxxxxxxxxxxxxx]
> Sent: Tuesday, November 06, 2001 4:08 AM
> To: ethereal-dev@xxxxxxxxxxxx
> Subject: [Ethereal-dev] Where to find more protocols for ethereal
>
>
> Hi again list,
>
> Bored tonight so weird thoughts wanders into my mind.
> I guess ethereal is soon running short of protocols to add to
> it so why not come up with something new that might give us
> lots of other new protocols to add.
>
> I just thought, ethereal is basically just a tool to read
> packets and analyze and display the data it contains.
> Currently ethereal only reads packets from network devices. I
> cant see it impossible (in theory) to also include other
> types of packet interfaces/devices as say
> SCSI/USB/firewire/IDE etc. They are conceptually similar, you
> send/receive packets. This might actually be extremely useful.
>
> If it was possible to access those interfaces (in promisc
> mode) in any way reasonable similar to netword devices
> wouldnt it be wild to capture packets on the USB interface?
> (might help the developers of linux/bsd usb drivers)
>
> I cant see why not...
>
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ether> eal-dev
>