Age | Commit message (Collapse) | Author | Files | Lines |
|
test scripts are passed.
Use a global list containing all interfaces and only change
properties of the entries when changes are made in the GUI.
Do not misuse the list of interfaces specified on the command
line anymore.
This patch does not provide any new functionality, it just
provides the base for future extensions like removing
remote interface, mulitple airpcap devices and multiple
pipes.
This patch was provided by Irene Ruengeler.
svn path=/trunk/; revision=40715
|
|
svn path=/trunk/; revision=40695
|
|
Use a global list containing all interfaces and only change
properties of the entries when changes are made in the GUI.
Do not misuse the list of interfaces specified on the command
line anymore.
This patch does not provide any new functionality, it just
provides the base for future extensions like removing
remote interface, mulitple airpcap devices and multiple
pipes.
This patch was provided by Irene Ruengeler.
svn path=/trunk/; revision=40693
|
|
the ui directory. (Perhaps some other files that would be used by all
flavors of Wireshark, for any GUI toolkit or for someting such as
ncurses, and not for any command-line tool such as TShark, should be
moved there as well.)
Shuffle some #includes to put the "ui/XXX.h" includes together.
svn path=/trunk/; revision=40529
|
|
the name in the definition of the function it calls.
svn path=/trunk/; revision=40367
|
|
value to the variable). Praise be to Clang Cat.
svn path=/trunk/; revision=39877
|
|
stdin and pipes.
svn path=/trunk/; revision=39498
|
|
properties of the entries when changes are made in the GUI.
Do not misuse the list of interfaces specified on the command
line anymore.
This patch does not provide any new functionality, it just
provides the base for future extensions like removing
remote interface, mulitple airpcap devices and multiple
pipes.
This patch was provided by Irene Ruengeler.
svn path=/trunk/; revision=39495
|
|
svn path=/trunk/; revision=38696
|
|
could fail to open the capture file.
svn path=/trunk/; revision=38695
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6256.
svn path=/trunk/; revision=38694
|
|
svn path=/trunk/; revision=38352
|
|
svn path=/trunk/; revision=38351
|
|
Fix obtained from Irene Ruengeler.
svn path=/trunk/; revision=38349
|
|
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
|
|
tshark -i en0 icmpp
returns a correct error message.
svn path=/trunk/; revision=37806
|
|
This patch is from Irene Ruengeler.
svn path=/trunk/; revision=37804
|
|
specifc. This finalizes the change of the infrastructure.
This patch is based on work by Irene Ruengeler.
svn path=/trunk/; revision=37794
|
|
pcap. Add a "-P" capture option which tries to use pcap instead of
pcap-ng ("-P" seemed to be the best option but we may want to use a
different letter).
Update the documentation and release notes.
svn path=/trunk/; revision=37696
|
|
Also: whitespace cleanup.
svn path=/trunk/; revision=37603
|
|
The next step is to retire the iface variable and use
the ifaces array only. This should simplify things and
fix the cases, where you start wireshark with command
line arguments and also use the GUI.
svn path=/trunk/; revision=37342
|
|
This fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5935.
svn path=/trunk/; revision=37307
|
|
correct place.
svn path=/trunk/; revision=37276
|
|
svn path=/trunk/; revision=37273
|
|
svn path=/trunk/; revision=37255
|
|
This enables the capturing from mulitple interfaces using
tshark and wireshark (at the command line).
(tshark -i lo0 -i en0) or (wireshark -k -i lo0 -i en0)
works. You can capture from multiple remote and local
interfaces.
Based on work from Irene Ruengeler.
svn path=/trunk/; revision=37248
|
|
didn't change the GUI code for setting the autostop file size, and that
broke the build.
svn path=/trunk/; revision=36552
|
|
5691.
svn path=/trunk/; revision=36551
|
|
we'd have to include some other headers to get it defined.
Get rid of the include of Winbase.h - it doesn't define
STATUS_UNWIND_CONSOLIDATE, and it's not necessary.
svn path=/trunk/; revision=33413
|
|
svn path=/trunk/; revision=33412
|
|
appropriately.
svn path=/trunk/; revision=33411
|
|
Windows, just as we do on UN*X.
svn path=/trunk/; revision=33410
|
|
so we give a non-zero exit status for invalid interfaces or capture
filters.
From me: don't exit immediately if dumpcap failed, print out information
from taps and the like.
svn path=/trunk/; revision=33393
|
|
is just an indication that the capture child exited; don't treat it as
an error, unless the child process exits with an abnormal status.
As tshark sends a "stop capture" indication to the child when it's
^C'ed, the child will exit and we'll get an EOF from the capture pipe;
don't make SIGINT etc. interrupt system calls, so they don't cause reads
from the capture pipe to get EINTR errors.
svn path=/trunk/; revision=32986
|
|
svn path=/trunk/; revision=32970
|
|
Do report the error string for other read errors, though.
svn path=/trunk/; revision=32969
|
|
svn path=/trunk/; revision=32965
|
|
svn path=/trunk/; revision=32964
|
|
svn path=/trunk/; revision=32885
|
|
svn path=/trunk/; revision=32857
|
|
when generating error messages.
The error code from CreatePipe() is gotten by calling GetLastError();
it's not in errno.
Clean up indentation a bit.
svn path=/trunk/; revision=32855
|
|
supplying -M along with -Z. (We keep -M around for debugging use; it's
documented, unlike -Z.)
svn path=/trunk/; revision=32850
|
|
svn path=/trunk/; revision=32844
|
|
interface statistics, have its error messages come out as sync-pipe
errors, have it send a sync-pipe "success" message on success, and have
the callers get that message and display it.
svn path=/trunk/; revision=32843
|
|
monitor mode at the same time that we fetch its list of link-layer
types. Support fetching that list in monitor mode, as the list may be
different in regular and monitor mode. If the interface supports
monitor mode, when printing the list of link-layer types, indicate
whether they're fetched in monitor mode or not, as tcpdump 4.1.x does.
svn path=/trunk/; revision=32789
|
|
svn path=/trunk/; revision=32704
|
|
pcap_set_buffer_size() did as well, so there aren't any libpcap releases
with pcap_create() but not pcap_set_buffer_size().
Only do one check for pcap_create.
svn path=/trunk/; revision=32695
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=475
BUT not activating the check for
pcap_create()
pcap_set_buffer_size()
This should make it possible to build with support for setting the buffersize if not capturing 802.11 traffic.
The code for handling the 'B' option should be OK in any case.
svn path=/trunk/; revision=32688
|
|
link-layer header types for interfaces; if special privileges are
necessary to open capture devices, Wireshark and TShark shouldn't have
those privileges, but dumpcap should.
svn path=/trunk/; revision=32104
|
|
svn path=/trunk/; revision=32080
|