Commit Graph

27740 Commits

Author SHA1 Message Date
Balint Reczey 653c4e886a Fix pod errors in man pods.
svn path=/trunk/; revision=28618
2009-06-03 06:38:21 +00:00
Stig Bjørlykke 9a8e93d88b 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.

svn path=/trunk/; revision=28617
2009-06-02 23:14:19 +00:00
Bill Meier 0ea6bce6af Escape ? in echo text the Windows way ....
svn path=/trunk/; revision=28616
2009-06-02 22:02:13 +00:00
Jaap Keuter a27093be2e Remove the module globals.
Clean up the source code.

svn path=/trunk/; revision=28615
2009-06-02 21:44:00 +00:00
Stig Bjørlykke d9b405deb9 Optimized check if file is a nstrace file.
svn path=/trunk/; revision=28614
2009-06-02 20:59:48 +00:00
Bill Meier a599e0f938 Fix some small memory leaks.
svn path=/trunk/; revision=28613
2009-06-02 20:57:57 +00:00
Bill Meier bbe2945345 Fix a small memory leak
svn path=/trunk/; revision=28612
2009-06-02 20:16:23 +00:00
Anders Broman dd495786d5 Fix "tap-rtp-common.c:440: warning: ‘current_diff’ may be used uninitialized in this function"
svn path=/trunk/; revision=28611
2009-06-02 20:01:01 +00:00
Bill Meier 0a6a096b34 Do find_dissector_handles once-only in proto_reg_handoff...
lenght ==> length in a few places;

svn path=/trunk/; revision=28610
2009-06-02 19:41:35 +00:00
Stig Bjørlykke 7a71847e0d Fixed the type for key_len in dissect_key().
svn path=/trunk/; revision=28609
2009-06-02 19:35:45 +00:00
Bill Meier 159f6ec4c1 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.

svn path=/trunk/; revision=28608
2009-06-02 19:16:08 +00:00
Guy Harris 7d5afce08f 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.

svn path=/trunk/; revision=28607
2009-06-02 19:06:05 +00:00
Anders Broman 75af067043 Calculate skew and clock drift, make it possible to copy the label.
svn path=/trunk/; revision=28606
2009-06-02 19:05:20 +00:00
Stig Bjørlykke 28dee99cdc From Graham Bloice via bug 3504:
Fix concurrent name resolution for c-ares.

svn path=/trunk/; revision=28605
2009-06-02 18:47:36 +00:00
Bill Meier 8ccf0f9ba4 packet_hip: (Minor): Remove unused data_handle; move proto_register... to just before proto_reg-handoff...
svn path=/trunk/; revision=28604
2009-06-02 18:47:20 +00:00
Stig Bjørlykke ab319c586e From Alexis La Goutte via bug 3488:
Add support for decoding CAPWAP Control Packet (RFC5415)

From me:
Adjusted some names.
Some space cleanup.

svn path=/trunk/; revision=28603
2009-06-02 18:39:38 +00:00
Stig Bjørlykke fa71489b83 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.

svn path=/trunk/; revision=28602
2009-06-02 17:22:40 +00:00
Stig Bjørlykke 7e6d072ce7 Rewrote to add IPv6 addresses correctly and rewrote some proto_item_add_bytes()
to avoid using tvb_get_ptr().

svn path=/trunk/; revision=28601
2009-06-02 15:46:55 +00:00
Bill Meier 3e48b7890f follow_stream: Enable "check for file overwrite" (if GTK 2.8 or greater);
svn path=/trunk/; revision=28600
2009-06-02 15:39:20 +00:00
Jeff Morriss 05322d40f1 Decode SCCP cause values in SUA (using value_strings exported from the SCCP
dissector).

svn path=/trunk/; revision=28599
2009-06-02 15:34:17 +00:00
Stig Bjørlykke a48abd8b33 Removed a unused preference setting, some unused includes and
some unused code.

svn path=/trunk/; revision=28598
2009-06-02 15:22:33 +00:00
Bill Meier 9cbe53f92b 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.

svn path=/trunk/; revision=28597
2009-06-02 15:17:35 +00:00
Stig Bjørlykke 7bdb23ed67 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

svn path=/trunk/; revision=28596
2009-06-02 15:10:04 +00:00
Graeme Lunt baf910f105 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.


svn path=/trunk/; revision=28595
2009-06-02 14:36:42 +00:00
Graeme Lunt bb14641726 Update to install latest WinPcap and silently install/uninstall the Visual C++ 2008 Redistributable.
svn path=/trunk/; revision=28594
2009-06-02 11:56:28 +00:00
Graeme Lunt 57d4cea4d5 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)


svn path=/trunk/; revision=28593
2009-06-02 11:04:14 +00:00
Stig Bjørlykke 077d995cc1 From Jim Young (bug 2504):
Quick fix to sync expert_tapdata_s.

svn path=/trunk/; revision=28592
2009-06-02 10:40:58 +00:00
Graeme Lunt c77ceafb0a Small typo.
svn path=/trunk/; revision=28591
2009-06-02 09:50:09 +00:00
Graeme Lunt 4251c11a35 Support for the Entrust VersionInfo certificate extension
svn path=/trunk/; revision=28590
2009-06-02 09:46:03 +00:00
Graeme Lunt f10d978b33 Restore the generation and display of LDAP DNs from RDN components
svn path=/trunk/; revision=28589
2009-06-02 09:44:52 +00:00
Stig Bjørlykke e12f08aa8b Corrected nspm_signature_version() again.
svn path=/trunk/; revision=28588
2009-06-02 09:23:48 +00:00
Graeme Lunt 24187e9c4d Correct LDAP certificate attribute name
svn path=/trunk/; revision=28587
2009-06-02 09:20:10 +00:00
Graeme Lunt f9218e245e Added support for the UserNotice certificate extension.
svn path=/trunk/; revision=28586
2009-06-02 09:17:16 +00:00
Stig Bjørlykke a9c95008c7 Avoid infinite loop in nspm_signature_version().
svn path=/trunk/; revision=28585
2009-06-02 08:47:45 +00:00
Guy Harris 0c95d973d3 No newlines in the additional-error-information string, please.
svn path=/trunk/; revision=28584
2009-06-02 07:18:18 +00:00
Jaap Keuter 38638f9fb1 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.

svn path=/trunk/; revision=28583
2009-06-02 06:37:21 +00:00
Balint Reczey ab57f8da5d Unescape telnet suboption data if needed.
This fixes bug 191.

svn path=/trunk/; revision=28582
2009-06-02 00:04:55 +00:00
Balint Reczey 8b7993180b Revert 28580.
svn path=/trunk/; revision=28581
2009-06-01 22:41:48 +00:00
Balint Reczey 4d55fdb51c Fix dissection of telnet window size suboption.
This fixes bug 191.

svn path=/trunk/; revision=28580
2009-06-01 22:27:00 +00:00
Stig Bjørlykke 496e7909ba Try Jakub's casting with GPOINTER_TO_INT().
svn path=/trunk/; revision=28579
2009-06-01 21:47:45 +00:00
Stig Bjørlykke 29839540cf Adding casts, take 3.
svn path=/trunk/; revision=28578
2009-06-01 21:26:50 +00:00
Bill Meier ba9afe83d5 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.

svn path=/trunk/; revision=28577
2009-06-01 20:52:53 +00:00
Stig Bjørlykke c5bba6e8d8 Adding casts, take 2.
svn path=/trunk/; revision=28576
2009-06-01 19:55:57 +00:00
Stig Bjørlykke c1ef7b0135 Added/Changed some more casts to build.
svn path=/trunk/; revision=28575
2009-06-01 19:46:40 +00:00
Bill Meier 7edb5ab6ab 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)

svn path=/trunk/; revision=28574
2009-06-01 19:43:58 +00:00
Stig Bjørlykke ffd02e49f5 Added some casts to remove some warnings.
svn path=/trunk/; revision=28573
2009-06-01 18:50:16 +00:00
Stig Bjørlykke 0b8eda99b8 Removed _U_ for an used argument.
svn path=/trunk/; revision=28572
2009-06-01 18:24:42 +00:00
Stig Bjørlykke 01c61d3ecb Removed some unused hf_ entries.
Renamed filter abbrev from ns. to nstrace.

svn path=/trunk/; revision=28571
2009-06-01 18:17:52 +00:00
Stig Bjørlykke 95f5427287 Added the wspython Makefile.nmake from bug 3500 to satisfy the
Ubuntu buildbot.

svn path=/trunk/; revision=28570
2009-06-01 18:09:07 +00:00
Stig Bjørlykke 97f65cd644 Fix a printf to make the label correct.
svn path=/trunk/; revision=28569
2009-06-01 17:52:14 +00:00