[Winpcap-users] Administrator privileges in order to use winpcap?

Eduardo Escudero Sánchez edu.kungfu at gmail.com
Fri Jun 9 11:38:21 GMT 2006


I cant find teh network monitor driver in my device manager
Do you know how can i do this in the installation of my program?
And yes im using packet.dll as ihave to use specific stuff of it because it
lets me acces low level information about the network card and more things
jeje i know it coul be changed in a future
Thanks


2006/6/9, Bryan Kadzban <bryan at kadzban.is-a-geek.net>:
>
> Eduardo Escudero Sánchez wrote:
> > The problem is that i would like not to have the need of having admin
> > privileges in order to use my application.
>
> Do what Ethereal 0.99.0 gives you the option to do.  In the installer,
> it asks whether you want to start the NPF driver at system startup time.
> This allows non-admins to capture packets because starting NPF (and
> maybe netmon) is the only thing that requires admin privileges.
>
> To do this manually, go into device manager, select "show non-present
> devices", find "NetGroup Packet Filter", go to its properties, find
> whatever tab has the "startup" dropdown on it, and change that from
> "Demand" to "Automatic".  You also might have to do the same with the
> "Network Monitor" driver, although I don't know for sure.  (WinPcap 3.1
> needs this driver to capture from PPP-style interfaces, though one of
> its dependent DLLs always tries to start it.  Not sure about older or
> newer versions.)
>
> But:  Is there a reason you're using the packet.dll functions?  Those
> are not necessarily going to be kept compatible in the future.  If you
> don't need packet.dll specific stuff, then it's much better to use
> wpcap.dll (the libpcap-style interface), because that *will* remain
> compatible.
>
>
>
> _______________________________________________
> Winpcap-users mailing list
> Winpcap-users at winpcap.org
> https://www.winpcap.org/mailman/listinfo/winpcap-users
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20060609/a1c06f87/attachment-0001.htm


More information about the Winpcap-users mailing list