https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=13448

--- Comment #3 from Guy Harris <[email protected]> ---
Note that, currently, you can't do authentication with rpcap using
pcap_create()/pcap_activate(); if you need a user name and password to do an
rpcap capture, you have to use pcap_open().

libpcap API changes will be required to support authentication (they will
probably involve pcap_activate() returning error codes meaning "I need a user
name and password" or "that user name and password aren't valid", so that,
instead of a pcap_create()/pcap_activate() pair being sufficient,
pcap_activate() would have to be done in a loop, looping until either 1) you
succeed in opening or 2) the user says "I give up").

So, for now, remote captures should use pcap_open(), not
pcap_create()/pcap_activate().

-- 
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <[email protected]>
Archives:    https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
             mailto:[email protected]?subject=unsubscribe

Reply via email to