wireshark/caputils
Gerald Combs 5ee328e90b Increase the error buffer size for rpcap.
If the rpcap port is unreachable pcap_findalldevs_ex can write more
than PCAP_ERRBUF_SIZE bytes to errbuf. E.g. if we try to capture from
Google's all-eights public DNS server we get:

----
Can't get list of interfaces: Is the server properly installed on 8.8.8.8?
connect() failed: A connection attempt failed because the connected
party did not properly respond after a period of time, or established
connection failed because connected host has failed to respond.  (code 1
----

Set the buffer to PCAP_ERRBUF_SIZE*4 bytes. Hopefully that's large enough.

Change-Id: I19f34cda16050c1ba8b9d7d6ed2d8e77b945a2af
Ping-Bug: 3554
Ping-Bug: 6922
Ping-Bug: 7021
Reviewed-on: https://code.wireshark.org/review/3880
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-08-27 22:11:58 +00:00
..
CMakeLists.txt Move the AirPcap stuff into caputils. 2014-08-01 00:30:03 +00:00
Makefile.am Build libcaputils PIE, so it can be linked with dumpcap when it's built PIE. 2014-07-04 17:23:01 +00:00
Makefile.common Move the AirPcap stuff into caputils. 2014-08-01 00:30:03 +00:00
Makefile.nmake Use forward slashes in paths to runlex.sh 2014-07-20 13:15:59 +00:00
airpcap.h Move the AirPcap stuff into caputils. 2014-08-01 00:30:03 +00:00
airpcap_loader.c Move the AirPcap stuff into caputils. 2014-08-01 00:30:03 +00:00
airpcap_loader.h Move the AirPcap stuff into caputils. 2014-08-01 00:30:03 +00:00
capture-pcap-util-int.h
capture-pcap-util-unix.c Get rid of NO_INTERFACES_FOUND - it's not an error. 2014-07-22 23:53:49 +00:00
capture-pcap-util.c Increase the error buffer size for rpcap. 2014-08-27 22:11:58 +00:00
capture-pcap-util.h
capture-wpcap.c Get rid of NO_INTERFACES_FOUND - it's not an error. 2014-07-22 23:53:49 +00:00
capture-wpcap.h
capture_ifinfo.h Extcap Capture Interface 2014-08-21 03:34:02 +00:00
capture_win_ifnames.c
capture_win_ifnames.h
capture_wpcap_packet.c
capture_wpcap_packet.h
doxygen.cfg.in
iface_monitor.c Move the monitor-for-interface-list-changes stuff to the caputils library. 2014-07-16 01:27:21 +00:00
iface_monitor.h Allow the interface monitor routines to be called from C++. 2014-07-16 02:28:39 +00:00
ws80211_utils.c
ws80211_utils.h