On (09:28 24/07/03), Paul Tipper wrote:
> On (17:03 23/07/03), Daniel wrote:
> > You could easily edit the packet.dll to set the mode as soon as you open it.
> > It might be wpcap.dll that ethereal uses, so the filter setting is done as
> > soon as you call pcap_open_live, which will override what you've edited in
> > packet.dll. So you need edit the PacketSetHwFilter function to always set
> > the mode you require. This way, no matter what capture mode is set in
> > ethereal or windump, you'll always end up with the same mode.
> > Unfortunately, you need to ask someone to compile it for you, as I don't
> > have VC++ installed to do it for you.

> Thanks to the list members for their suggestions, I might well post again
> with the results of trying to change the source.

Indeed this was correct and the mangled libs were quite easy to construct
and build, I mangled both packet.dll and wpcap.dll.  They seem to work
perfectly normally except that they ignore requests to enter promiscuous
mode.

Thanks once more to the list for its help, if anyone thinks it could be
helpful I could post the list of changes I made to the list (if anyone
just wants to know send me a mail) but it should be fairly easy to work
out (and probably better than I could).


Regards

paul.


==================================================================
 This is the WinPcap users list. It is archived at
 http://www.mail-archive.com/[EMAIL PROTECTED]/

 To unsubscribe use 
 mailto: [EMAIL PROTECTED]
==================================================================

Reply via email to