Age | Commit message (Collapse) | Author | Files | Lines |
|
Use it in some places where we're getting the file size.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36544 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
support it.
Rename ws_lseek to ws_lseek64, as it should be given a 64-bit offset,
and have it use _lseeki64 on Windows, to try to get 64-bit offset
support; AC_SYS_LARGEFILE should cause lseek() to support 64-bit offsets
on UN*X if possible.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36542 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Steal file_wrappers functions from zlib v2.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36513 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Introduce file_clearerr
I'm unsure of this patch,
gzclearerr() is used to clear the end-of-file mark, but for FILE
there's function which do the same (clearerr).
I created test program if clearerr() is needed for tailing file.
and it seems to work without it (at least on Linux, so for
!HAVE_LIBZ I commented it out).
For now this patch introduce file_clearerr macro, and define it
only when EOF marking must be cleared (i.e. when HAVE_LIBZ and
HAVE_GZCLEARERR are defined).
So everything works like before, patch just to keep same prefix
for file interface :)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36510 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
support; TShark has read+write support. Additionally TShark can read a
"hosts" file and write those records to a capture file.
This uses "struct addrinfo" in many places and probably won't compile on
some platforms.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36318 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5654
From me:
- Entry for DVBCI added to wtap.c encap_table_base[];
- Some code simplification with respect to the use of col_...() for COL_INFO;
- Certain tests for "enough bytes available" not really needed;
- (Other minor tweaks);
- #include<stdio.h> not req'd;
- Minor reformatting and whitespace cleanup;
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36149 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Add support for LAPD data link type.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35771 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35223 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5242
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34576 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
have gzclearerr(). Check for that function and only use it if we have it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34187 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
include the FCS, and use it for the Daintree SNA file format. While
we're at it, explicitly check to make sure the purported packet length
gives it at least one byte of packet data, and fix some print formats to
use %u for unsigned values.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33678 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33583 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33578 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32734 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
a file. Use it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32716 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
reach EOF, zlib's file handle seems to stay at EOF even when more data
is appended to the file. Add a check for 1.2.5 which calls gzseek in
order to unset EOF. Fixes bugs 4708 and 4748.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32715 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
encapsulation a name different from the no-pseudo-header H4
encapsulation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32321 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Don't have variables that point to string constants, just make the
string constants be static const arrays.
strlen(array of unspecified size initialized with a string) ==
sizeof array - 1; the latter can be computed at compile time.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32020 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Fixed some comments.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31160 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Added support for Solaris IPNET layer
From me:
Some code cleanup in packet-ipnet.c
Added packet-ipnet.c to CMakeFiles.txt
Added WTAP_ENCAP_IPNET to encap_table_base[]
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31159 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Add the ability to open JPEG/JFIF files directly.
From me:
Some code cleanup + add new file to cmake.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30588 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Add Fibre Channel Delimiter Dissector for Fibre Channel FC2.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29531 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
New DLT value is added for Fibre Channel FC2.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29115 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28752 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Add support to read citrix netscaler capture file format.
From me:
- Renamed packet-ns.c to packet-nstrace.c
- Rewrote to not use "goto" in netscaler.c
- Moved dissecting of coreid
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28564 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Added LAPDm protocol dissector, GSM Um layer, and wiretap support for dct3trace
captures, generated by gammu (many available at http://wiki.thc.org/gsm).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27176 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27099 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
No we can decode those winmail.dat files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26864 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
The code in wiretap/wtap.c is not right. Because g_array_append_val should accept a value
of type 'struct encap_type_info' rather than a pointer to this type.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26816 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
patch to support IEE802.15.4 non-ASK PHY.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2906
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26792 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Implement dissector for IPMB (DLT_IPMB_LINUX, 209).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25986 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25354 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25163 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25159 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
IEEE 802.15.4 dissector and DLT_ type.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24564 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1970 (pending review)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24463 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24258 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
1/ patches to support the libpcap/SITA format 'WTAP_ENCAP_SITA'.
2/ patches to the LAPB dissector to accept MLP (Multi-link protocol)
(although MLP dissection has _not_ been added (yet)).
3/ New protocol dissectors for:
a) SITA's WAN layer 0 status header,
b) An airline protocol ALC,
c) An airline (and other industry) protocol UTS.
These patches are submitted as a set since the new protocol dissectors are not
useful without the libpcap/SITA related changes, and there is no point in
having those changes without the additional dissectors.
This fixes bug/enhancement 2016.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23885 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1751
The patch adds support to wiretap for a new libpcap DLT for bluetooth captures.
This DLT carries the direction information, which now can be displayed
correctly.
The hci H4 dissector is updated to handle also the newly introduced wtap encap.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23208 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
This is a replacement of the existing decoding of ERF files (Extensible Record
Format from Endace).
For the decoding of the ERF files, according to the "type of record" given in
the ERF header, several decoders can be used. Up to now, the decoder is
determined according to an environment variable, or with a kind of heuristic.
And, all the treatment is done during the file extraction.
The new architecture, will separate the ERF file decoding, and the ERF record
decoding. The ERF records will be decoded with a specific dissector. This
dissector can be configured with options, to replace the environment variable.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1839
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23092 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
The encap_table_base in wcap.c is missing an entry.
This causes e.g. "dumpcap -i usb3 -L" to output:
Data link types (use option -y to set):
USB_LINUX
(MPEG)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22292 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
http://www.cacetech.com/documents/PPI_Header_format_1.0.pdf .
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22094 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
So far I've done only regression testing (the new functionality and what's in wtap-plugins.c has not yet being tested).
it is a first step in the way to have lua opening files.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21686 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
Wiretap support to read MPEG files
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21112 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
HP-UX 11.31 will add a new nettl trace subsystem, NS_LS_TELNET (ID=267).
NS_LS_TELNET is just raw telnet data. There is no layer 2/3/4 headers, so
there's just the HP-UX nettl record header followed directly by the TCP payload
for a telnet connection. Thus the need for a new wiretap encapsulation type...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20253 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
for which a DLT_ value and LINKTYPE_ value have just been assigned.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20003 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
handle files > 2GB correct.
Please distclean Win32 builds!
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19814 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
USB dissector
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19480 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
A patch that adds support for dissection of
libpcap DLT_JUNIPER_VP frames. In addition i have fixed
also the indent for DLT_JUNIPER_GGSN.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18940 f5534014-38df-0310-8fa8-9805f1628bb7
|
|
format but still useful for dissecting arbitrary BER/DER ASN.1.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18110 f5534014-38df-0310-8fa8-9805f1628bb7
|