Commit Graph

35973 Commits

Author SHA1 Message Date
Alexis La Goutte 8c46b511ec From Ali Bahar via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6022
802.11 Disassociation Packet's "Reason Code" field is imprecisely decoded/described

From me :
* Display Reason code in decimal (not Hexa)
* Update list from last standard (802.11-2007 & 802.11n-2009)

svn path=/trunk/; revision=37668
2011-06-15 09:01:04 +00:00
Alexis La Goutte 79754d8f50 Make checkAPIs Happy
Error: the blurb for field "Status" ("icmpv6.6lowpannd.da.status") has leading space in epan/dissectors/packet-icmpv6.c

svn path=/trunk/; revision=37667
2011-06-15 08:55:01 +00:00
Alexis La Goutte 97fcab0f33 From Colin O'Flynn via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5363
Add latest 6lowpan-nd Support

From me :
* Add Description in Header Field
* Use FT_EUI64 for EUI64 Field


svn path=/trunk/; revision=37666
2011-06-15 08:52:38 +00:00
Alexis La Goutte 17bb20ea8f From Colin O'Flynn via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5363
Fix some error in ICMPv6 dissector...

svn path=/trunk/; revision=37665
2011-06-15 08:32:10 +00:00
Stig Bjørlykke e4d168c5dc Please don't use prohibited APIs in new code:
sprintf -> g_snprintf

Fixes coverity 1197 & 1198.

svn path=/trunk/; revision=37664
2011-06-14 20:37:53 +00:00
Jaap Keuter 18e443f308 Fix for bug 6009:
Information transfer rate is a 7 bit field.

svn path=/trunk/; revision=37663
2011-06-13 20:29:51 +00:00
Jakub Zawadzki f6bda7f43a Remove not used cap_pipe_err_str.
svn path=/trunk/; revision=37662
2011-06-13 15:28:37 +00:00
Anders Broman 9f60fc7471 Handle deprecated GtkTooltips.
svn path=/trunk/; revision=37661
2011-06-13 15:13:39 +00:00
Anders Broman 2bc816dbc1 Handle deprecated GtkTooltips.
svn path=/trunk/; revision=37660
2011-06-13 14:54:33 +00:00
Gerald Combs 601ab3b750 [Automatic manuf, services and enterprise-numbers update for 2011-06-12]
svn path=/trunk/; revision=37656
2011-06-12 15:03:37 +00:00
Michael Tüxen 2119fdb283 cfilter can be NULL. Handle this correctly.
This should fix
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6016

svn path=/trunk/; revision=37655
2011-06-12 10:35:55 +00:00
Guy Harris 0bd4a1ac3f Use spaces uniformly in AC_WIRESHARK_PYTHON_CHECK.
If we don't find python-config, set want_python to no, so the
end-of-configuration message says we're not using the Python
interpreter.  Also fix some cases where we were setting want_zlib rather
than want_python (cut-and-pasteo).

svn path=/trunk/; revision=37654
2011-06-11 21:49:24 +00:00
Guy Harris 1edc5f8e19 Just as with autoconf, we need to include the Python cflags when
building libwireshark.

svn path=/trunk/; revision=37653
2011-06-11 20:24:24 +00:00
Guy Harris 350ec69e9a Do the Python embedding similarly to other "default = yes, if available"
items.

Add some quoting to the zlib tests, just in case the argument contains
white space.

Clean up capitalization of Lua and Python.

Link programs that use libwireshark with the Python libraries, and build
Epan with the Python cflags.

svn path=/trunk/; revision=37652
2011-06-11 19:05:17 +00:00
Guy Harris b30de7bd0b Include <Python.h> to get the Python version number.
svn path=/trunk/; revision=37651
2011-06-11 17:20:44 +00:00
Guy Harris 317cb92f9c The "shared by every program in the Wireshark suite, including dumpcap"
version information doesn't include Python version information (only
programs using libwireshark have that) or GeoIP version information
(ditto).  Don't include headers required only for that information;
hopefully this will keep dumpcap from requiring the Python library on
Windows.

svn path=/trunk/; revision=37650
2011-06-11 02:35:58 +00:00
Gerald Combs 79a0fbdca0 Make the U3 and PortableApps "clean" and "distclean" targets more
consistent with the NSIS targets.

svn path=/trunk/; revision=37649
2011-06-10 17:25:55 +00:00
Guy Harris 6584ad9781 Add some more error checking.
svn path=/trunk/; revision=37648
2011-06-10 17:16:09 +00:00
Anders Broman 59dc5adbc4 Make capture dialog compile with GTK3+
svn path=/trunk/; revision=37647
2011-06-10 16:27:53 +00:00
Anders Broman c0d4b8a152 Seemingly this is needed to...
svn path=/trunk/; revision=37646
2011-06-10 11:01:43 +00:00
Anders Broman 22ceac7035 Add casts to make it compile on some old ERHL box.
svn path=/trunk/; revision=37645
2011-06-10 08:31:14 +00:00
Anders Broman 735f48f551 From Pascal Quantin:
allowing Length Indicator 0x7ffb for RLC AM PDUs.

svn path=/trunk/; revision=37644
2011-06-10 08:30:17 +00:00
Jakub Zawadzki c54afc05e7 Fix capinfo: ** ERROR **: Unknown capture file type 61
svn path=/trunk/; revision=37643
2011-06-10 07:16:10 +00:00
Bill Meier d2629a5335 Add a hack to prevent a gcc warning "ignoring return value of 'strtoul'..."
for some gcc configurations (see _FORTIFY_SOURCE).
This hack is used instead of storing the result returned by strtoul() in a
dummy variable so as to prevent a gcc 4.6 with -Wextra warning:
 "set but not used ...".

TBD: will this hack pass muster with other validators
     such as Coverity, CLang, & etc ?

For much gory detail: see the message thread starting at:
http://www.wireshark.org/lists/wireshark-dev/201106/msg00088.html


svn path=/trunk/; revision=37642
2011-06-10 02:10:44 +00:00
Gerald Combs 61eacf0d54 Add another cast.
svn path=/trunk/; revision=37641
2011-06-09 23:14:57 +00:00
Guy Harris 06256dfe5b The only place where we care about zlib is file_wrappers.c; include
<zlib.h> there, rather than wtap-int.h.  That obviates the need to
include config.h earlier in ascend_scanner.l; revert the previous
change, so we don't require a version of Flex that supports %top.

svn path=/trunk/; revision=37640
2011-06-09 22:46:00 +00:00
Gerald Combs ae4c6d08ca Add a couple of casts to make Visual C++ happy.
svn path=/trunk/; revision=37639
2011-06-09 22:42:44 +00:00
Jakub Zawadzki 110f2c4ef7 Fix possible compilation errors.
svn path=/trunk/; revision=37638
2011-06-09 22:01:57 +00:00
Jakub Zawadzki 178def67b7 - Add something to columns when using mime-encap
- Replace decoders in wiretap/CMakeLists.txt

svn path=/trunk/; revision=37637
2011-06-09 21:37:19 +00:00
Jakub Zawadzki a723874490 - Replace jpeg_jfif decoder, with more generic mime_file (no more 64KB limit!).
- Add new dissector packet-mime-encap which understands mime_file fragmentation.

svn path=/trunk/; revision=37636
2011-06-09 21:21:06 +00:00
Gerald Combs a47485acd9 Move the copyright notice and the config.h include to the top of the
file so that we have the proper definitions in place for large file
support on Solaris (bug 6102).

svn path=/trunk/; revision=37635
2011-06-09 21:13:40 +00:00
Gerald Combs 04f147f4fa Make sure we don't write invalid record lengths.
svn path=/trunk/; revision=37634
2011-06-09 18:31:39 +00:00
Jeff Morriss 90e539b55f Simplify timestamp checking: only check the packet's timestamp if
check_startstop is set.

Refuse to write packets that do not fit in the file type we're writing.  This
allows fuzz testing to be done on JPEGs without generating bogus files (with
packets bigger than the maximum packet size).  This fixes
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6010 .

Note that this is only a problem with editcap is run with -T to force the
encapsulation type.

Maybe this needs a more generic solution (e.g., should this check be done in
the wiretap routines?), but at least for now it'll pacify the buildbot.

svn path=/trunk/; revision=37633
2011-06-09 18:27:11 +00:00
Alexis La Goutte 08dcc37848 From Colin O'Flynn via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5980
Add draft-ietf-6man-rpl-routing-header-03 Support (RH4 RPL Routing Header)

From me :
* Display Bytes of Address and Full Address (Generated)
* Fix some Whitespace and minor enhance...




svn path=/trunk/; revision=37632
2011-06-09 18:02:13 +00:00
Gerald Combs 0abba34b6a Only count an ACK if it's part of an existing conversation, otherwise we
get a lot of false positives.

svn path=/trunk/; revision=37631
2011-06-09 17:30:13 +00:00
Anders Broman a1afae94eb Add ws-coding-style.cfg to dist.
svn path=/trunk/; revision=37630
2011-06-09 12:54:44 +00:00
Anders Broman 5659d18813 Add casts to make it compile on some old ERHL box.
svn path=/trunk/; revision=37629
2011-06-09 08:51:30 +00:00
Anders Broman ea74ffe9a8 From Francesco Fondelli:
Add crustyfy .cfg file

I found it useful on some inetnal dissector where the indentation
was relay messed up so I think it's a usfel tool to have in the toolbox.
I don't think we should run it on every file.

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

svn path=/trunk/; revision=37628
2011-06-09 08:28:04 +00:00
Anders Broman 85195d1e02 From Madhusudhan M:
Cisco and Vodafone Diameter AVP:s

I have axtracted the relevant vendor AVP:s and separated them out in Vendor specific xml files.

Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5972

svn path=/trunk/; revision=37627
2011-06-09 06:36:40 +00:00
Jörg Mayer 8aada8637d As pointed out by Jakub Zawadzki:
While updating to the current cmake version of FindZLIB I missed
a Wireshark specific addition. Add it back.

svn path=/trunk/; revision=37626
2011-06-08 21:33:38 +00:00
Gerald Combs 2eff7bab66 Limit the lengths of some of our patterns. Fixes an infinite loop found
when trying to read a TPNCP data file.

svn path=/trunk/; revision=37625
2011-06-08 20:58:44 +00:00
Alexis La Goutte 5bcc2dc2f7 * Add Keep Going bit flag in insert command
* Replace tab by space

svn path=/trunk/; revision=37624
2011-06-08 18:26:50 +00:00
Jörg Mayer 48904e0a71 Add GTK3 cmake options. It doesn't build, just like its configure pendant.
svn path=/trunk/; revision=37623
2011-06-08 18:10:03 +00:00
Martin Mathieson 5d78458e4b Fix a typo (spotted by Pascal Quantin).
svn path=/trunk/; revision=37622
2011-06-08 17:10:40 +00:00
Martin Mathieson 651e93c93a The passed-in filter string can no longer be NULL, so use strlen instead of testing pointer.
svn path=/trunk/; revision=37621
2011-06-08 17:08:27 +00:00
Jörg Mayer fc59537249 Last patch removed $Id$ head line
svn path=/trunk/; revision=37620
2011-06-08 17:07:06 +00:00
Jörg Mayer a0116ff94f Copy over changes from cmake git HEAD.
svn path=/trunk/; revision=37619
2011-06-08 16:24:36 +00:00
Michael Tüxen e0b054f2e2 This fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6008
Clear the list of interfaces before adding new interfaces.
Also fix an endless loop which would occur in case of an error
when getting remote interfaces.

From Irene Ruengeler.

svn path=/trunk/; revision=37618
2011-06-08 14:12:47 +00:00
Anders Broman 2cc50fa41c Try to fix the Ubuntu buildbot.
svn path=/trunk/; revision=37617
2011-06-08 13:11:51 +00:00
Anders Broman 1a81c428d9 Assign to a dummy variable to squelch the warning.
svn path=/trunk/; revision=37616
2011-06-08 12:05:49 +00:00