aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
AgeCommit message (Collapse)AuthorFilesLines
2009-09-08- now wireshark compiles with cmake as wellJörg Mayer1-2/+0
svn path=/trunk/; revision=29799
2009-09-02Beginnings of getting cmake to build stuff in epan.Jörg Mayer1-3/+5
It's only beginnings, so epan is commented out in the subdirs statement. This is more a synch to avoid duplicate work and creating conflicting patches to the cmake stuff. svn path=/trunk/; revision=29666
2009-08-30On Windows a shared library in divided into a DLL part (RUNTIME) and an ↵Kovarththanan Rajaratnam1-2/+5
import lib (ARCHIVE). svn path=/trunk/; revision=29622
2009-08-26#include <stdio.h> no longer req'd.Bill Meier1-1/+0
svn path=/trunk/; revision=29569
2009-08-23From kahou:Jaap Keuter3-2/+8
Add Fibre Channel Delimiter Dissector for Fibre Channel FC2. svn path=/trunk/; revision=29531
2009-08-10Update a comment - a bad packet size could also be the result of a fileGuy Harris1-2/+3
not actually being an ERF file. Don't compute the packet size until you know that rlen is valid. svn path=/trunk/; revision=29366
2009-08-10Don't try to allocate more than WTAP_MAX_PACKET_SIZE. Fixes a crashGerald Combs1-0/+7
reported in bug 3849. svn path=/trunk/; revision=29364
2009-08-07* Tue May 26 2009 cmorve69@yahoo.esJörg Mayer1-1/+1
- made it compile with --as-needed This patch was taken from the opensuse wireshark.spec file. No thanks go to the author and the package maintainers of this package for not sending this upstream - it would have made it into 1.2.0. svn path=/trunk/; revision=29326
2009-07-26Note that libpcap fails if it tries to read a file with a snapshotGuy Harris1-1/+2
length > 65535, so we shouldn't use a larger value. svn path=/trunk/; revision=29194
2009-07-16From Kahou via bug 3739:Stig Bjørlykke3-0/+6
New DLT value is added for Fibre Channel FC2. svn path=/trunk/; revision=29115
2009-07-16Move th /MP flag setting to LOCAL_CFLAGS set in configure.nmakeAnders Broman1-1/+1
for MSVC variant 2008 only. As suggested by Bill Meier. svn path=/trunk/; revision=29114
2009-07-15Add /MP flag to make use of multi cores.Anders Broman1-1/+1
svn path=/trunk/; revision=29104
2009-07-02Don't dump out the raw link-layer type when noting thatGuy Harris1-2/+5
KHciLoggerDatalinkTypeBCSP and KHciLoggerDatalinkTypeH5 aren't supported - just explicitly say "BSCP" or "H5". For unknown link-layer types, say "unknown or unsupported", as other Wiretap modules do. svn path=/trunk/; revision=28925
2009-07-02Patch from Alex Badea for Bug 3645.Michael Tüxen1-2/+2
This fix will be included in Wireshark 1.2.1. svn path=/trunk/; revision=28924
2009-06-28Add support for DLT_PPP_WITH_DIR. This fixes bug 3619.Michael Tüxen2-9/+68
Thanks for Tyson Key for reporting the issue. svn path=/trunk/; revision=28877
2009-06-28Stop loading a pcapng file with multiple section header blocks.Michael Tüxen1-11/+19
This fixes a bug reported by Tyson Key as a follow up of Bug 3560. Also some cleanups and debug output improvements. Thanks to Tyson Key for reporting the bug and providing a tracefile. This fix will be included in Wireshark 1.2.1 and higher. svn path=/trunk/; revision=28868
2009-06-27Accept file snaplen larger than WTAP_MAX_PACKET_SIZE,Michael Tüxen1-6/+6
text2pcap uses 102400. This fixes bug 3620. Thanks to Tyson Key for reporting the bug and providing capture files. This fix should be included in Wireshark 1.2.1 and higher. svn path=/trunk/; revision=28866
2009-06-27Fix copy/paste error introduced in rev. 28863.Michael Tüxen1-1/+1
Thanks to Guy for finding and reporting it. svn path=/trunk/; revision=28865
2009-06-27Another cleanup. We are now back to Ulf's originalMichael Tüxen1-28/+42
model of data handling. svn path=/trunk/; revision=28864
2009-06-27Cleanup. Should be included in Wireshark 1.2.1 and higher to keepMichael Tüxen4-17/+20
merging future bug fixes simple. svn path=/trunk/; revision=28863
2009-06-27Add support for writing pcapng files with multipleMichael Tüxen2-29/+89
encapsulations. This fixes a bug reported by Sake during the Sharkfest 09. Thanks for providing a Netscreen tracefile with multiple link layer types. This patch will be included in Wireshark 1.2.1 and higher. svn path=/trunk/; revision=28862
2009-06-27This patchMichael Tüxen4-19/+42
* adds an encapsulation argument to pcap_write_phdr. * writes the pseudo header when writing pcapng files. This fixes a bug where you could not write pcapng files when using encapsulations requiring pseudo headers. svn path=/trunk/; revision=28859
2009-06-27If all interfaces use the same encapsulation, useMichael Tüxen1-7/+18
this a the file encapsulation. This fixes a bug where you can not save a file in libpcap format when you captured it as a pcapng one. This fix will be scheduled for Wireshark 1.2.1 and higher. svn path=/trunk/; revision=28858
2009-06-27This commitMichael Tüxen4-49/+113
* adds an encap argument to pcap_process_pseudo_header. * adds support for reading pseudo headers. It fixes Bug 3560. Thanks to Tyson Key for reporting the bug and providing trace files. This fix will be scheduled for inclusion in Wireshark 1.2.1 and higher. svn path=/trunk/; revision=28857
2009-06-26Disable debug output.Michael Tüxen1-1/+1
svn path=/trunk/; revision=28851
2009-06-26* Allocate enough memory for reading a packet.Michael Tüxen1-22/+48
* Initialize pseudoheader. * Add some input validation / protection code. * Fix some return values. * Clean up some whitespaces. This fixes Bug 3565. Thanks to Tyson Key how reported the issue and provided capture files for debugging. This fix is scheduled for inclusion in Wireshark 1.2.1 and higher. svn path=/trunk/; revision=28850
2009-06-24From Duncan Salerno:Jaap Keuter1-4/+11
Ensure dct3trac packets never longer than 23 bytes. svn path=/trunk/; revision=28838
2009-06-22Improve heuristic for packetlogger file format detection.Michael Tüxen1-4/+2
svn path=/trunk/; revision=28809
2009-06-22Add protection code to avoid crashed when .erf filesMichael Tüxen1-1/+7
are wrongly identified as packetlogger ones. Will be scheduled for 1.2.1. svn path=/trunk/; revision=28808
2009-06-18Fix for bug 3539: Address as signess issue for fcs_len.Michael Tüxen2-3/+3
Bugfix scheduled for 1.2.1. svn path=/trunk/; revision=28768
2009-06-17Clean up a comment.Michael Tüxen1-2/+3
svn path=/trunk/; revision=28763
2009-06-16Whitespace cleanups.Michael Tüxen1-4/+4
svn path=/trunk/; revision=28757
2009-06-16Support per packet dumping in wtap_encap_string() and wtap_encap_short_string().Stig Bjørlykke1-5/+9
svn path=/trunk/; revision=28752
2009-06-15From Ben Winslow via bug 3535:Gerald Combs1-1/+10
Because Lucent/Ascend equipment will sometimes omit the hex dump for a packet or send two headers followed by two hex dumps, Wireshark needs to be very lenient when parsing a Lucent/Ascend trace. On a busy access server, a packet like this is pretty likely to appear within a few minutes. svn path=/trunk/; revision=28749
2009-06-15Rename all of the ascend files:Jörg Mayer10-47/+51
That way we hopefully won't need the runlex.sh hack any more. Also the ylwrap stuff is (hopefully) obsolete. ascend.[hc] -> ascendtext.[hc] ascend-scanner.l -> ascend_scanner.l ascend-grammar.y -> ascend.y svn path=/trunk/; revision=28744
2009-06-15Fix bug reported by Stig: per packet encapsulation forMichael Tüxen1-2/+2
pcapng is supported. svn path=/trunk/; revision=28736
2009-06-11When writing pcapng files use correct interface indexMichael Tüxen1-1/+1
of 0 instead of 1. svn path=/trunk/; revision=28696
2009-06-04Fix Windows build warning:Bill Meier1-1/+1
cl : Command line warning D9024 : unrecognized source file type 'ascend-grammar.h', object file assumed cl : Command line warning D9027 : source file 'ascend-grammar.h' ignored svn path=/trunk/; revision=28635
2009-06-02Optimized check if file is a nstrace file.Stig Bjørlykke1-10/+4
svn path=/trunk/; revision=28614
2009-06-02When doing a seek-and-read, don't check the packet size, as we don'tGuy Harris3-16/+20
have it (we have the size with the pseudo-header length already removed); we've already read the packet, and thus have already checked it. Fixes bug 3501. svn path=/trunk/; revision=28607
2009-06-02Better heuristics for detecting BER encoded file, especially when initial ↵Graeme Lunt1-17/+19
tag is indefinite length encoded. Checked that the I4B traces reported in http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1972 still loads as expected. svn path=/trunk/; revision=28595
2009-06-02Corrected nspm_signature_version() again.Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28588
2009-06-02Avoid infinite loop in nspm_signature_version().Stig Bjørlykke1-1/+1
svn path=/trunk/; revision=28585
2009-06-02No newlines in the additional-error-information string, please.Guy Harris3-15/+15
svn path=/trunk/; revision=28584
2009-06-01Try Jakub's casting with GPOINTER_TO_INT().Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=28579
2009-06-01Adding casts, take 3.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=28578
2009-06-01Adding casts, take 2.Stig Bjørlykke1-2/+2
svn path=/trunk/; revision=28576
2009-06-01Added/Changed some more casts to build.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=28575
2009-06-01Added some casts to remove some warnings.Stig Bjørlykke1-4/+4
svn path=/trunk/; revision=28573
2009-06-01From Ravi Kondamuru via bug 3457: Stig Bjørlykke7-3/+1436
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 svn path=/trunk/; revision=28564