obnox/wireshark/wip.git
15 years agoDon't reuse lua_dir in a for loop.
stig [Wed, 3 Jun 2009 15:40:12 +0000 (15:40 +0000)]
Don't reuse lua_dir in a for loop.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28625 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFixed setting of LUA_INCLUDES when having extraneous lua heder directory.
stig [Wed, 3 Jun 2009 15:28:30 +0000 (15:28 +0000)]
Fixed setting of LUA_INCLUDES when having extraneous lua heder directory.
Fixed resetting flags after negative check for Lua.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28624 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoOnly give a failure message if configuring with --with-lua=yes.
stig [Wed, 3 Jun 2009 13:45:48 +0000 (13:45 +0000)]
Only give a failure message if configuring with --with-lua=yes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28623 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded check for extraneous lua header directories, as some systems
stig [Wed, 3 Jun 2009 13:21:48 +0000 (13:21 +0000)]
Added check for extraneous lua header directories, as some systems
apparently put the headers in a "lua5.1" subdirectory.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28622 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoUse liblua by default, if available.
stig [Wed, 3 Jun 2009 12:13:07 +0000 (12:13 +0000)]
Use liblua by default, if available.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28621 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFixed bit position for wlan_mgt.fixed.delba.param.initiator.
stig [Wed, 3 Jun 2009 10:38:07 +0000 (10:38 +0000)]
Fixed bit position for wlan_mgt.fixed.delba.param.initiator.

This fixes bug 3505.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28620 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded a preference to define more udp ports to use for TFTP.
stig [Wed, 3 Jun 2009 09:57:22 +0000 (09:57 +0000)]
Added a preference to define more udp ports to use for TFTP.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28619 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix pod errors in man pods.
rbalint [Wed, 3 Jun 2009 06:38:21 +0000 (06:38 +0000)]
Fix pod errors in man pods.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28618 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoIf no valid packages was found in the input file we write an empty
stig [Tue, 2 Jun 2009 23:14:19 +0000 (23:14 +0000)]
If no valid packages was found in the input file we write an empty
header in the output file.  This way we at least create a file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28617 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoEscape ? in echo text the Windows way ....
wmeier [Tue, 2 Jun 2009 22:02:13 +0000 (22:02 +0000)]
Escape ? in echo text the Windows way ....

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28616 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRemove the module globals.
jake [Tue, 2 Jun 2009 21:44:00 +0000 (21:44 +0000)]
Remove the module globals.
Clean up the source code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28615 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoOptimized check if file is a nstrace file.
stig [Tue, 2 Jun 2009 20:59:48 +0000 (20:59 +0000)]
Optimized check if file is a nstrace file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28614 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix some small memory leaks.
wmeier [Tue, 2 Jun 2009 20:57:57 +0000 (20:57 +0000)]
Fix some small memory leaks.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28613 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix a small memory leak
wmeier [Tue, 2 Jun 2009 20:16:23 +0000 (20:16 +0000)]
Fix a small memory leak

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28612 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix "tap-rtp-common.c:440: warning: ‘current_diff’ may be used uninitialized...
etxrab [Tue, 2 Jun 2009 20:01:01 +0000 (20:01 +0000)]
Fix "tap-rtp-common.c:440: warning: â€˜current_diff’ may be used uninitialized in this function"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28611 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoDo find_dissector_handles once-only in proto_reg_handoff...
wmeier [Tue, 2 Jun 2009 19:41:35 +0000 (19:41 +0000)]
Do find_dissector_handles once-only in proto_reg_handoff...
lenght ==> length in a few places;

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28610 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFixed the type for key_len in dissect_key().
stig [Tue, 2 Jun 2009 19:35:45 +0000 (19:35 +0000)]
Fixed the type for key_len in dissect_key().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28609 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoio_stat save & filewall rule save: rework "save dialog" slightly:
wmeier [Tue, 2 Jun 2009 19:16:08 +0000 (19:16 +0000)]
io_stat save & filewall rule save: rework "save dialog" slightly:
     - Prevent "dead" save-as window if error opening/writing file
        or if a directory is entered as the filename;
        Work-around is to always kill save-as window whether success
         or an error causing alert-box popup;
     - Enable "check for file overwrite" (if GTK 2.8 or greater);
     - Fix some memory leaks.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28608 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoWhen doing a seek-and-read, don't check the packet size, as we don't
guy [Tue, 2 Jun 2009 19:06:05 +0000 (19:06 +0000)]
When doing a seek-and-read, don't check the packet size, as we don't
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28607 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoCalculate skew and clock drift, make it possible to copy the label.
etxrab [Tue, 2 Jun 2009 19:05:20 +0000 (19:05 +0000)]
Calculate skew and clock drift, make it possible to copy the label.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28606 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Graham Bloice via bug 3504:
stig [Tue, 2 Jun 2009 18:47:36 +0000 (18:47 +0000)]
From Graham Bloice via bug 3504:
Fix concurrent name resolution for c-ares.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28605 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agopacket_hip: (Minor): Remove unused data_handle; move proto_register... to just before...
wmeier [Tue, 2 Jun 2009 18:47:20 +0000 (18:47 +0000)]
packet_hip: (Minor): Remove unused data_handle; move proto_register... to just before proto_reg-handoff...

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28604 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Alexis La Goutte via bug 3488:
stig [Tue, 2 Jun 2009 18:39:38 +0000 (18:39 +0000)]
From Alexis La Goutte via bug 3488:
Add support for decoding CAPWAP Control Packet (RFC5415)

From me:
Adjusted some names.
Some space cleanup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28603 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoOnly call wtap_dump_close() if we have an open file.
stig [Tue, 2 Jun 2009 17:22:40 +0000 (17:22 +0000)]
Only call wtap_dump_close() if we have an open file.

We can have a situation where a file only contains a valid file header
without any packages, so this will avoid a crash.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28602 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRewrote to add IPv6 addresses correctly and rewrote some proto_item_add_bytes()
stig [Tue, 2 Jun 2009 15:46:55 +0000 (15:46 +0000)]
Rewrote to add IPv6 addresses correctly and rewrote some proto_item_add_bytes()
to avoid using tvb_get_ptr().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28601 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agofollow_stream: Enable "check for file overwrite" (if GTK 2.8 or greater);
wmeier [Tue, 2 Jun 2009 15:39:20 +0000 (15:39 +0000)]
follow_stream: Enable "check for file overwrite" (if GTK 2.8 or greater);

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28600 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoDecode SCCP cause values in SUA (using value_strings exported from the SCCP
morriss [Tue, 2 Jun 2009 15:34:17 +0000 (15:34 +0000)]
Decode SCCP cause values in SUA (using value_strings exported from the SCCP
dissector).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28599 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRemoved a unused preference setting, some unused includes and
stig [Tue, 2 Jun 2009 15:22:33 +0000 (15:22 +0000)]
Removed a unused preference setting, some unused includes and
some unused code.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28598 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agortp_stream_dlg: rework dtp_stream "save as" slightly:
wmeier [Tue, 2 Jun 2009 15:17:35 +0000 (15:17 +0000)]
rtp_stream_dlg: rework dtp_stream "save as" slightly:
    - Prevent "dead" save-as window if error opening/writing file
       or if a directory is entered as the filename;
       Work-around is to always kill save-as window whether success
        or an error causing alert-box popup;
    - Enable "check for file overwrite" (if GTK 2.8 or greater);
    - Fix some memory leaks.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28597 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Samu Varjonen via bug 3378:
stig [Tue, 2 Jun 2009 15:10:04 +0000 (15:10 +0000)]
From Samu Varjonen via bug 3378:
Added support for Host Identity Protocol (HIP).

From me:
- Adjusted location of "Checksum" and "HIP Controls", as they seems to have
  switched place in the bytes window
- Rewrote some proto_tree_add_uint -> proto_tree_add_item (some still remain)
- Rewrote to not use tvb_memcpy()
- Corrected some proto_tree_add_item's as the format seems to be big-endian
- Terminate ALL value_string's with { 0, NULL }
- No need to zero-terminate value_string strings.
- Removed call to check_col()
- Removed some prototypes
- Removed unused hf_hip_tlv_id, hf_hip_res and hf_hip_tlv_enc_iv (please check)
- Rewrote some C++ comments

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28596 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoBetter heuristics for detecting BER encoded file, especially when initial tag is...
gal [Tue, 2 Jun 2009 14:36:42 +0000 (14:36 +0000)]
Better heuristics for detecting BER encoded file, especially when initial 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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28595 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoUpdate to install latest WinPcap and silently install/uninstall the Visual C++ 2008...
gal [Tue, 2 Jun 2009 11:56:28 +0000 (11:56 +0000)]
Update to install latest WinPcap and silently install/uninstall the Visual C++ 2008 Redistributable.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28594 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoUpdate to:
gal [Tue, 2 Jun 2009 11:04:14 +0000 (11:04 +0000)]
Update to:
* support the P3 protocol in addition to the P1 protocol; and
* reduce the number of changes to the ASN.1 modules (as asn2wrs now handles more of the ASN.1 constructs).
P3 is currently only supported over ROS (and not RTSE)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28593 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Jim Young (bug 2504):
stig [Tue, 2 Jun 2009 10:40:58 +0000 (10:40 +0000)]
From Jim Young (bug 2504):
Quick fix to sync expert_tapdata_s.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28592 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoSmall typo.
gal [Tue, 2 Jun 2009 09:50:09 +0000 (09:50 +0000)]
Small typo.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28591 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoSupport for the Entrust VersionInfo certificate extension
gal [Tue, 2 Jun 2009 09:46:03 +0000 (09:46 +0000)]
Support for the Entrust VersionInfo certificate extension

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28590 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRestore the generation and display of LDAP DNs from RDN components
gal [Tue, 2 Jun 2009 09:44:52 +0000 (09:44 +0000)]
Restore the generation and display of LDAP DNs from RDN components

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28589 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoCorrected nspm_signature_version() again.
stig [Tue, 2 Jun 2009 09:23:48 +0000 (09:23 +0000)]
Corrected nspm_signature_version() again.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28588 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoCorrect LDAP certificate attribute name
gal [Tue, 2 Jun 2009 09:20:10 +0000 (09:20 +0000)]
Correct LDAP certificate attribute name

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28587 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded support for the UserNotice certificate extension.
gal [Tue, 2 Jun 2009 09:17:16 +0000 (09:17 +0000)]
Added support for the UserNotice certificate extension.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28586 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAvoid infinite loop in nspm_signature_version().
stig [Tue, 2 Jun 2009 08:47:45 +0000 (08:47 +0000)]
Avoid infinite loop in nspm_signature_version().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28585 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoNo newlines in the additional-error-information string, please.
guy [Tue, 2 Jun 2009 07:18:18 +0000 (07:18 +0000)]
No newlines in the additional-error-information string, please.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28584 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Matt Deckard:
jake [Tue, 2 Jun 2009 06:37:21 +0000 (06:37 +0000)]
From Matt Deckard:
Add support for the DIS protocol dissector to more fully interpret the PDU
types "Data Query", "Data", and "Set Data". It should interpret the
originating and receiving entity IDs, request ID, number of fixed and variable
datum fields, and the ID and values of each datum field in the PDU.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28583 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoUnescape telnet suboption data if needed.
rbalint [Tue, 2 Jun 2009 00:04:55 +0000 (00:04 +0000)]
Unescape telnet suboption data if needed.
This fixes bug 191.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28582 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRevert 28580.
rbalint [Mon, 1 Jun 2009 22:41:48 +0000 (22:41 +0000)]
Revert 28580.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28581 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix dissection of telnet window size suboption.
rbalint [Mon, 1 Jun 2009 22:27:00 +0000 (22:27 +0000)]
Fix dissection of telnet window size suboption.
This fixes bug 191.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28580 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoTry Jakub's casting with GPOINTER_TO_INT().
stig [Mon, 1 Jun 2009 21:47:45 +0000 (21:47 +0000)]
Try Jakub's casting with GPOINTER_TO_INT().

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28579 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdding casts, take 3.
stig [Mon, 1 Jun 2009 21:26:50 +0000 (21:26 +0000)]
Adding casts, take 3.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28578 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoproto_main_draw: rework packet bytes "save as" slightly:
wmeier [Mon, 1 Jun 2009 20:52:53 +0000 (20:52 +0000)]
proto_main_draw:  rework packet bytes "save as" slightly:
   - Prevent "dead" save-as window if error opening/writing file
      or if a directory is entered as the filename;
      Work-around is to always kill save-as window whether success
       or an error causing alert-box popup;
   - Enable "check for file overwrite" (if GTK 2.8 or greater);
   - Fix some memory leaks.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28577 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdding casts, take 2.
stig [Mon, 1 Jun 2009 19:55:57 +0000 (19:55 +0000)]
Adding casts, take 2.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28576 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded/Changed some more casts to build.
stig [Mon, 1 Jun 2009 19:46:40 +0000 (19:46 +0000)]
Added/Changed some more casts to build.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28575 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agofollow_stream: rework "save as" slightly:
wmeier [Mon, 1 Jun 2009 19:43:58 +0000 (19:43 +0000)]
follow_stream: rework "save as" slightly:
  - Prevent "dead" save-as window if unable to open file for write
     or if a directory is entered as the filename;
     Work-around is to always kill save-as window whether success
      or an error causing alert-box popup;
  - Fix a memory leak.
  - Define certain functions used only in follow_stream.c as static;
    (Remove declarations for them from follow_stream.h)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28574 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded some casts to remove some warnings.
stig [Mon, 1 Jun 2009 18:50:16 +0000 (18:50 +0000)]
Added some casts to remove some warnings.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28573 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRemoved _U_ for an used argument.
stig [Mon, 1 Jun 2009 18:24:42 +0000 (18:24 +0000)]
Removed _U_ for an used argument.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28572 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRemoved some unused hf_ entries.
stig [Mon, 1 Jun 2009 18:17:52 +0000 (18:17 +0000)]
Removed some unused hf_ entries.
Renamed filter abbrev from ns. to nstrace.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28571 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded the wspython Makefile.nmake from bug 3500 to satisfy the
stig [Mon, 1 Jun 2009 18:09:07 +0000 (18:09 +0000)]
Added the wspython Makefile.nmake from bug 3500 to satisfy the
Ubuntu buildbot.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28570 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix a printf to make the label correct.
stig [Mon, 1 Jun 2009 17:52:14 +0000 (17:52 +0000)]
Fix a printf to make the label correct.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28569 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix a typo in PYTHON_DIR.
stig [Mon, 1 Jun 2009 17:42:30 +0000 (17:42 +0000)]
Fix a typo in PYTHON_DIR.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28568 f5534014-38df-0310-8fa8-9805f1628bb7

15 years ago(Trivial): remove a comment referring to Gtk 1
wmeier [Mon, 1 Jun 2009 17:29:08 +0000 (17:29 +0000)]
(Trivial): remove a comment referring to Gtk 1

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28567 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFixed a typo in a comment.
stig [Mon, 1 Jun 2009 17:28:20 +0000 (17:28 +0000)]
Fixed a typo in a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28566 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agodfilter_expr_dlg: fix several very minor memory leaks;
wmeier [Mon, 1 Jun 2009 17:27:54 +0000 (17:27 +0000)]
dfilter_expr_dlg: fix several very minor memory leaks;

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28565 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Ravi Kondamuru via bug 3457:
stig [Mon, 1 Jun 2009 17:23:38 +0000 (17:23 +0000)]
From Ravi Kondamuru via bug 3457:
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

15 years agoabout_dlg: fix a memory leak when double-clicking on a path.
wmeier [Mon, 1 Jun 2009 17:08:46 +0000 (17:08 +0000)]
about_dlg: fix a memory leak when double-clicking on a path.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28563 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agowlan_stat: fix a memory leak
wmeier [Mon, 1 Jun 2009 17:01:42 +0000 (17:01 +0000)]
wlan_stat: fix a memory leak

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28562 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFor DL-SCH/UL-SCH, show subframe number in info column.
martinm [Mon, 1 Jun 2009 16:50:27 +0000 (16:50 +0000)]
For DL-SCH/UL-SCH, show subframe number in info column.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28561 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoShow max and mean Jitter.
etxrab [Mon, 1 Jun 2009 16:44:05 +0000 (16:44 +0000)]
Show max and mean Jitter.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28560 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Kovarththanan Rajaratnam via bug 3482:
stig [Mon, 1 Jun 2009 16:01:48 +0000 (16:01 +0000)]
From Kovarththanan Rajaratnam via bug 3482:
Sort display filter list entries by usage.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28559 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRename dialog_data_t ==> graph_analysis_dialog_data_t
wmeier [Mon, 1 Jun 2009 15:54:14 +0000 (15:54 +0000)]
Rename dialog_data_t ==> graph_analysis_dialog_data_t
 (so VWindows VC debugger doesn't confuse it with dialog_data_t in rtp_player.c)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28558 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoRemove unneeded #include graph_analysis.h; Add #include gtk/gtk.h
wmeier [Mon, 1 Jun 2009 15:45:42 +0000 (15:45 +0000)]
Remove unneeded #include graph_analysis.h; Add #include gtk/gtk.h

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28557 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoPopup a dialog in case we match a row outside the loaded frame area.
stig [Mon, 1 Jun 2009 15:26:15 +0000 (15:26 +0000)]
Popup a dialog in case we match a row outside the loaded frame area.
This adds some information for bug 3429.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28556 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Kovarththanan Rajaratnam via bug 3429:
stig [Mon, 1 Jun 2009 14:51:09 +0000 (14:51 +0000)]
From Kovarththanan Rajaratnam via bug 3429:
This patch downgrades the g_assert() to a proper if statement. This is needed
because we can end up with a match but _without_ any valid row attached to it.
This is the case when the user has aborted while dissecting.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28555 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoflow_graph & etc: rework graph "save as" slightly:
wmeier [Mon, 1 Jun 2009 14:00:09 +0000 (14:00 +0000)]
flow_graph & etc: rework graph "save as" slightly:
 - Pop up an alert box if unable to open file for write;
 - Prevent "dead" save-as window if unable to open file for write
    or if a directory is entered as the filename;
 - Fix a memory leak.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28554 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix a few more memory leaks & do a few other minor changes
wmeier [Mon, 1 Jun 2009 12:32:02 +0000 (12:32 +0000)]
Fix a few more memory leaks & do a few other minor changes

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28553 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix minor memory leaks; Minor reformatting
wmeier [Mon, 1 Jun 2009 11:35:52 +0000 (11:35 +0000)]
Fix minor memory leaks; Minor reformatting

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28552 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoCopy the changes from:
etxrab [Sun, 31 May 2009 19:55:30 +0000 (19:55 +0000)]
Copy the changes from:
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=28534

User: wmeier
Date: 2009/05/30 11:07 AM

Log:
 Fix the save_as functions so they work (including work-around  when save-as raises an alert box).
 Also:
 - save_as_csv: don't skip over first line of output;
 - save_as_csv: Fix some (probably significant) memory leaks
   associated with the use of gtk_tree_view;
 - Prevent tendency for IAX2 stream window and graph window
   to get lost behind other windows;
 - Minor save_as dialog window reformatting;
 - Misc source code cleanup & reformatting.

To RTP Analysis.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28551 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom yami (bug 3361):
stig [Sun, 31 May 2009 19:46:31 +0000 (19:46 +0000)]
From yami (bug 3361):
Try to resolve a crash issue when having a function on the RHS
of a filter test which does not return the same type as the LHS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28550 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoSet SIGPIPE handler every time the program starts.
rbalint [Sun, 31 May 2009 18:38:28 +0000 (18:38 +0000)]
Set SIGPIPE handler every time the program starts.
This hopefully fixes bug 1740.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28549 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded support for python bindings in the OSX package.
stig [Sun, 31 May 2009 18:30:46 +0000 (18:30 +0000)]
Added support for python bindings in the OSX package.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28548 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded Python Bindings directory to the About->Folders listing.
stig [Sun, 31 May 2009 18:30:07 +0000 (18:30 +0000)]
Added Python Bindings directory to the About->Folders listing.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28547 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoCalculate jitter and delta in ms.
etxrab [Sun, 31 May 2009 17:06:04 +0000 (17:06 +0000)]
Calculate jitter and delta in ms.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28546 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdded some svn:ignore targets for epan/wspython
stig [Sun, 31 May 2009 16:37:47 +0000 (16:37 +0000)]
Added some svn:ignore targets for epan/wspython

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28545 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdjusted the python binding message from configure.
stig [Sun, 31 May 2009 16:06:32 +0000 (16:06 +0000)]
Adjusted the python binding message from configure.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28544 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFrom Kovarththanan Rajaratnam's patch in bug 3500:
stig [Sun, 31 May 2009 16:05:13 +0000 (16:05 +0000)]
From Kovarththanan Rajaratnam's patch in bug 3500:
Added info about python version.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28543 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoBring cipher suites in sync.
tuexen [Sun, 31 May 2009 15:25:38 +0000 (15:25 +0000)]
Bring cipher suites in sync.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28542 f5534014-38df-0310-8fa8-9805f1628bb7

15 years ago[Automatic manuf and enterprise-numbers update for 2009-05-31]
gerald [Sun, 31 May 2009 15:03:48 +0000 (15:03 +0000)]
[Automatic manuf and enterprise-numbers update for 2009-05-31]

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28540 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoDon't dissect IP-ID and UDP checksum for IR, IR-DYN frames.
martinm [Sun, 31 May 2009 12:11:44 +0000 (12:11 +0000)]
Don't dissect IP-ID and UDP checksum for IR, IR-DYN frames.
Name hf items and filter strings to consistently include "rohc"

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28539 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix bug 3489:
jake [Sun, 31 May 2009 11:31:40 +0000 (11:31 +0000)]
Fix bug 3489:
Array overrun at copy of filter expression on GTK1 build.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28538 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoChange my e-mail address
sfisher [Sun, 31 May 2009 05:55:15 +0000 (05:55 +0000)]
Change my e-mail address

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28537 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agogtk_file_chooser_set_do_overwrite_confirmation() is only available in
guy [Sat, 30 May 2009 20:02:38 +0000 (20:02 +0000)]
gtk_file_chooser_set_do_overwrite_confirmation() is only available in
2.8 and later.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28536 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoAdd cipher suites defined in RFC 4279.
tuexen [Sat, 30 May 2009 19:52:41 +0000 (19:52 +0000)]
Add cipher suites defined in RFC 4279.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28535 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoFix the save_as functions so they work (including work-around
wmeier [Sat, 30 May 2009 18:07:35 +0000 (18:07 +0000)]
Fix the save_as functions so they work (including work-around
when save-as raises an alert box).
Also:
- save_as_csv: don't skip over first line of output;
- save_as_csv: Fix some (probably significant) memory leaks
  associated with the use of gtk_tree_view;
- Prevent tendency for IAX2 stream window and graph window
  to get lost behind other windows;
- Minor save_as dialog window reformatting;
- Misc source code cleanup & reformatting.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28534 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoadding README.python to EXTRA_DIST
standel [Sat, 30 May 2009 13:38:45 +0000 (13:38 +0000)]
adding README.python to EXTRA_DIST

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28533 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agopython binding update :
standel [Sat, 30 May 2009 13:37:02 +0000 (13:37 +0000)]
python binding update :

    * adding pydoc documentation to doc/README.python
    * possible to access directly libwireshark via libhandle and raw_<tvb|pinfo|tree>
    * transform some methods into properties
    * update sample to reflect changes/features
    * adding comments!!!

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28532 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoTidy up comments.
martinm [Sat, 30 May 2009 12:54:08 +0000 (12:54 +0000)]
Tidy up comments.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28531 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoDual-license this header file.
martinm [Sat, 30 May 2009 11:57:39 +0000 (11:57 +0000)]
Dual-license this header file.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28530 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agopython binding for wireshark (first commit)
standel [Fri, 29 May 2009 21:10:40 +0000 (21:10 +0000)]
python binding for wireshark (first commit)

      * ability to write dissectors with python for wireshark.
        documentation (http://wiki.wireshark.org/Python)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28529 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoPrevent "echo ? ... " from expanding ? as a file name pattern;
wmeier [Fri, 29 May 2009 20:11:17 +0000 (20:11 +0000)]
Prevent "echo ? ... " from expanding ? as a file name pattern;
(Trivial) Remove duplicate xcopy of libwireshark.dll;
(Trivial) xcopy $(MSVCR_DLL) ...  only if newer.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28528 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoUpdate the Windows library tags and documentation filename.
gerald [Fri, 29 May 2009 18:45:24 +0000 (18:45 +0000)]
Update the Windows library tags and documentation filename.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28527 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoUpdate the logo in the documentation.
gerald [Fri, 29 May 2009 17:57:55 +0000 (17:57 +0000)]
Update the logo in the documentation.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28526 f5534014-38df-0310-8fa8-9805f1628bb7

15 years agoUpdate version numbers.
gerald [Fri, 29 May 2009 17:12:20 +0000 (17:12 +0000)]
Update version numbers.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28525 f5534014-38df-0310-8fa8-9805f1628bb7