metze/wireshark/wip.git
14 years agoAndreas Schuler <andreas (A) schulerdev.de>
Jörg Mayer [Fri, 11 Jun 2010 16:11:42 +0000 (16:11 -0000)]
Andreas Schuler <andreas (A) schulerdev.de>
Updates to the DECT dissector:
- using proto_tree_add_none_format()/proto_tree_add_item() instead of
  proto_tree_add_uint_format() where it makes sense
- fixed display of full slot data
- added some references to documentation
- cleaned up packet length checking
- put descrambled bfield-data in a tree
- cleaned up some afield items
- use custom columns instead adding all infos to COL_INFO
- add some more infos to the columns

Me:
- Replace proto_tree_add_none_format(..., strvar) by
  proto_tree_add_none_format(..., "%s", strvar).
- Fix an unused variable warning.

svn path=/trunk/; revision=33210

14 years agoFix: Malformed packet if port is missing from path.
Anders Broman [Fri, 11 Jun 2010 11:49:01 +0000 (11:49 -0000)]
Fix: Malformed packet if port is missing from path.

svn path=/trunk/; revision=33209

14 years agoSmall cleanup.
Stig Bjørlykke [Fri, 11 Jun 2010 09:14:25 +0000 (09:14 -0000)]
Small cleanup.

svn path=/trunk/; revision=33208

14 years agoAdd the direction to so expert info texts.
Martin Mathieson [Thu, 10 Jun 2010 15:28:41 +0000 (15:28 -0000)]
Add the direction to so expert info texts.

svn path=/trunk/; revision=33207

14 years agoDisplay RefuseReason in Info column.
Stig Bjørlykke [Thu, 10 Jun 2010 13:06:08 +0000 (13:06 -0000)]
Display RefuseReason in Info column.

svn path=/trunk/; revision=33206

14 years agoCheck if /usr/local exists before adding to CFLAGS/CPPFLAGS and LDFLAGS.
Stig Bjørlykke [Thu, 10 Jun 2010 10:31:46 +0000 (10:31 -0000)]
Check if /usr/local exists before adding to CFLAGS/CPPFLAGS and LDFLAGS.

svn path=/trunk/; revision=33205

14 years agoFrom Jim Young via bug 4862:
Stig Bjørlykke [Thu, 10 Jun 2010 10:13:34 +0000 (10:13 -0000)]
From Jim Young via bug 4862:
GLIB 2.14 necessary to compile Wireshark with Protocol help.

svn path=/trunk/; revision=33204

14 years agoFrom Jason Burns: DHCP Dissector - Support for DHCP Option 150 TFTP Server Address
Bill Meier [Thu, 10 Jun 2010 01:33:02 +0000 (01:33 -0000)]
From Jason Burns:  DHCP Dissector - Support for DHCP Option 150 TFTP Server Address

"According to this document DHCP Option 150 is an array of IPv4 TFTP Server
Addresses

http://cisco.com/en/US/products/sw/voicesw/ps556/products_tech_note09186a00800942f4.shtml#tftp_option

I fixed the capitalization of this option in the bootp dissector and changed
the type to match the actual use of the option. (ipv4_list)"

From me: Add a pointer to a draft RFC about the DHCP "TFTP Server Address" option.

svn path=/trunk/; revision=33203

14 years agoAdd dissector_table_foreach.
Anders Broman [Wed, 9 Jun 2010 20:25:50 +0000 (20:25 -0000)]
Add dissector_table_foreach.

svn path=/trunk/; revision=33201

14 years agoFix a copy paste error.
Anders Broman [Wed, 9 Jun 2010 20:24:23 +0000 (20:24 -0000)]
Fix a copy paste error.

svn path=/trunk/; revision=33200

14 years agoDo some constifying (based upon gcc -Wwrite-strings warnings)
Bill Meier [Wed, 9 Jun 2010 18:32:35 +0000 (18:32 -0000)]
Do some constifying (based upon gcc -Wwrite-strings warnings)

svn path=/trunk/; revision=33199

14 years agoDo some constifying [or other] based upon gcc -Wwrite-strings warnings.
Bill Meier [Wed, 9 Jun 2010 18:12:17 +0000 (18:12 -0000)]
Do some constifying [or other] based upon gcc -Wwrite-strings warnings.

svn path=/trunk/; revision=33198

14 years agoFix a gcc -Wstrict-prototypes warning
Bill Meier [Wed, 9 Jun 2010 17:56:37 +0000 (17:56 -0000)]
Fix a gcc -Wstrict-prototypes warning

svn path=/trunk/; revision=33195

14 years agoDo some constifying (based upon gcc -Wwrite-strings warnings);
Bill Meier [Wed, 9 Jun 2010 17:40:03 +0000 (17:40 -0000)]
Do some constifying (based upon gcc -Wwrite-strings warnings);
Replace "4 space  tabs" by 4 spaces.

svn path=/trunk/; revision=33194

14 years agoAdd idmp.
Jeff Morriss [Wed, 9 Jun 2010 17:36:49 +0000 (17:36 -0000)]
Add idmp.

svn path=/trunk/; revision=33193

14 years agoDo some constifying (based upon gcc -Wwrite-strings warnings);
Bill Meier [Wed, 9 Jun 2010 17:24:58 +0000 (17:24 -0000)]
Do some constifying (based upon gcc -Wwrite-strings warnings);
Various minor ckeanup: remove some unecessary if statements & other
Move proto_reg_handoff... to the end of the file.

svn path=/trunk/; revision=33192

14 years agoRevise code slightly; mostly: remove some unnecessary if tests ....
Bill Meier [Wed, 9 Jun 2010 17:16:33 +0000 (17:16 -0000)]
Revise code slightly; mostly: remove some unnecessary if tests ....

svn path=/trunk/; revision=33191

14 years agoInitialize dst_ref.
Stig Bjørlykke [Wed, 9 Jun 2010 16:02:34 +0000 (16:02 -0000)]
Initialize dst_ref.

svn path=/trunk/; revision=33189

14 years agoRemoval of unused global variable.
Graeme Lunt [Wed, 9 Jun 2010 15:51:02 +0000 (15:51 -0000)]
Removal of unused global variable.

svn path=/trunk/; revision=33188

14 years agoRemoval of (hopefully!) the final warning.
Graeme Lunt [Wed, 9 Jun 2010 15:35:08 +0000 (15:35 -0000)]
Removal of (hopefully!) the final warning.

svn path=/trunk/; revision=33187

14 years agoUpdate for missing const for object identifier string and marking tree as unused.
Graeme Lunt [Wed, 9 Jun 2010 15:20:48 +0000 (15:20 -0000)]
Update for missing const for object identifier string and marking tree as unused.

svn path=/trunk/; revision=33186

14 years agoAdded packet-idmp.h.
Stig Bjørlykke [Wed, 9 Jun 2010 15:05:29 +0000 (15:05 -0000)]
Added packet-idmp.h.

svn path=/trunk/; revision=33185

14 years agoBuild dependency x509ce.
Stig Bjørlykke [Wed, 9 Jun 2010 14:59:02 +0000 (14:59 -0000)]
Build dependency x509ce.

svn path=/trunk/; revision=33184

14 years agoUpdates to the ROS dissector to support IDMP and fix to IDMP for implicit declaration...
Graeme Lunt [Wed, 9 Jun 2010 14:45:38 +0000 (14:45 -0000)]
Updates to the ROS dissector to support IDMP and fix to IDMP for implicit declaration of return value of call_ros_oid_callback().

svn path=/trunk/; revision=33182

14 years agoBuild Makefile in asn1/idmp.
Stig Bjørlykke [Wed, 9 Jun 2010 14:40:35 +0000 (14:40 -0000)]
Build Makefile in asn1/idmp.

svn path=/trunk/; revision=33181

14 years agoAdded packet-idmp.c
Stig Bjørlykke [Wed, 9 Jun 2010 14:33:54 +0000 (14:33 -0000)]
Added packet-idmp.c

svn path=/trunk/; revision=33179

14 years agoPrint correct RLRE reason in Info column.
Stig Bjørlykke [Wed, 9 Jun 2010 14:27:09 +0000 (14:27 -0000)]
Print correct RLRE reason in Info column.
Dump RLRQ/RLRE text in Info column even when having no reason code.

svn path=/trunk/; revision=33178

14 years agoSupport for X.519 (section 9) Internet Directly Mapped Protocol (IDMP).
Graeme Lunt [Wed, 9 Jun 2010 14:17:51 +0000 (14:17 -0000)]
Support for X.519 (section 9) Internet Directly Mapped Protocol (IDMP).

IDMP provides a mapping of request-response service elements directly onto the Internet TCP/IP protocol, bypassing the ACSE, Presentation, Session and Transport layers of the OSI model. It also supports the use of TLS services.

The DAP dissector has been updated to use the IDMP protocol.

svn path=/trunk/; revision=33177

14 years agoDo some constifying (based upon gcc -Wwrite-strings warnings);
Bill Meier [Wed, 9 Jun 2010 13:30:44 +0000 (13:30 -0000)]
Do some constifying (based upon gcc -Wwrite-strings warnings);
Use #if 0/#endif instead of /* ... */ to comment out code..

svn path=/trunk/; revision=33176

14 years agoNew option (-R) to asn2wrs to register the PDUs defined in the conformance file as...
Graeme Lunt [Wed, 9 Jun 2010 09:27:28 +0000 (09:27 -0000)]
New option (-R) to asn2wrs to register the PDUs defined in the conformance file as BER syntaxes  (register_ber_syntax_dissector()).

svn path=/trunk/; revision=33175

14 years agoCorrected a typo in "display seconds with hours and minutes".
Stig Bjørlykke [Wed, 9 Jun 2010 08:52:56 +0000 (08:52 -0000)]
Corrected a typo in "display seconds with hours and minutes".

svn path=/trunk/; revision=33174

14 years agoAvoid a crash when deleting the first character in the filter.
Stig Bjørlykke [Tue, 8 Jun 2010 21:36:31 +0000 (21:36 -0000)]
Avoid a crash when deleting the first character in the filter.

svn path=/trunk/; revision=33168

14 years agoNEW_FILTER_COMBO_BOX: Make the Expression... button work again.
Jeff Morriss [Tue, 8 Jun 2010 18:42:20 +0000 (18:42 -0000)]
NEW_FILTER_COMBO_BOX: Make the Expression... button work again.

svn path=/trunk/; revision=33163

14 years agoNEW_FILTER_COMBO_BOX: dfilter_combo_add_empty() doesn't appear to be needed: the...
Jeff Morriss [Tue, 8 Jun 2010 16:01:50 +0000 (16:01 -0000)]
NEW_FILTER_COMBO_BOX: dfilter_combo_add_empty() doesn't appear to be needed: the entry field is empty even after populating thelist of recent filters.

svn path=/trunk/; revision=33161

14 years agodfilter_entry_match() (for NEW_FILTER_COMBO_BOX): unset value each time through the...
Jeff Morriss [Tue, 8 Jun 2010 14:40:31 +0000 (14:40 -0000)]
dfilter_entry_match() (for NEW_FILTER_COMBO_BOX): unset value each time through the loop to avoid duplicate initialization warnings from glib.

svn path=/trunk/; revision=33160

14 years agoRemove C++ style comment.
Anders Broman [Tue, 8 Jun 2010 10:37:03 +0000 (10:37 -0000)]
Remove C++ style comment.

svn path=/trunk/; revision=33159

14 years agoFix packet-gtpv2.c:945:1: error: "/*" within comment
Anders Broman [Tue, 8 Jun 2010 08:55:07 +0000 (08:55 -0000)]
Fix packet-gtpv2.c:945:1: error: "/*" within comment

svn path=/trunk/; revision=33158

14 years agoFrom Tamás Regõs:
Anders Broman [Tue, 8 Jun 2010 08:36:22 +0000 (08:36 -0000)]
From Tamás Regõs:
Change dissection of  User Location Info (ULI) to show the spare bits
in the protocol tree and don't show ECI as a bitfield.

svn path=/trunk/; revision=33157

14 years agoRename the NEW_FILTER_COMBO_BOX routine dfilter_entry_match_new() to
Guy Harris [Mon, 7 Jun 2010 23:33:16 +0000 (23:33 -0000)]
Rename the NEW_FILTER_COMBO_BOX routine dfilter_entry_match_new() to
dfilter_entry_match(), as the old dfilter_entry_match() isn't defined or
used if NEW_FILTER_COMBO_BOX is defined.

Clean up indentation a bit.

svn path=/trunk/; revision=33154

14 years agoDon't define dfilter_entry_match() if we're using a combo box, as it's
Guy Harris [Mon, 7 Jun 2010 19:17:12 +0000 (19:17 -0000)]
Don't define dfilter_entry_match() if we're using a combo box, as it's
not used.

Clean up indentation.

svn path=/trunk/; revision=33148

14 years agoDeclare dfilter_list only if we're going to use it.
Guy Harris [Mon, 7 Jun 2010 18:49:37 +0000 (18:49 -0000)]
Declare dfilter_list only if we're going to use it.

svn path=/trunk/; revision=33144

14 years agoUse NEW_FILTER_COMBO_BOX.
Anders Broman [Mon, 7 Jun 2010 18:28:17 +0000 (18:28 -0000)]
Use NEW_FILTER_COMBO_BOX.
If there is no major problems the code can be cleaned up in a few days time.

svn path=/trunk/; revision=33141

14 years agoUpdate the code for NEW_FILTER_COMBO_BOX.
Anders Broman [Mon, 7 Jun 2010 18:25:37 +0000 (18:25 -0000)]
Update the code for NEW_FILTER_COMBO_BOX.

svn path=/trunk/; revision=33140

14 years ago1.3.6 -> 1.5.0
Gerald Combs [Mon, 7 Jun 2010 16:43:09 +0000 (16:43 -0000)]
1.3.6 -> 1.5.0

svn path=/trunk/; revision=33138

14 years agoUse find_or_create_conversation() rather than only conversation_new().
Bill Meier [Mon, 7 Jun 2010 16:32:21 +0000 (16:32 -0000)]
Use find_or_create_conversation() rather than only conversation_new().
Fixes bug #2907: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2907

svn path=/trunk/; revision=33136

14 years agoMove proto_reg_handoff...(...) to the end of the file;
Bill Meier [Mon, 7 Jun 2010 16:00:24 +0000 (16:00 -0000)]
Move proto_reg_handoff...(...) to the end of the file;
Remove a few unneeded if statements and a few uneeded initializers;

svn path=/trunk/; revision=33132

14 years agoMove proto_reg_handoff...(...) to the end of the file.
Bill Meier [Mon, 7 Jun 2010 15:38:55 +0000 (15:38 -0000)]
Move proto_reg_handoff...(...) to the end of the file.

svn path=/trunk/; revision=33130

14 years agoECI (E-UTRAN Cell Identifier) wrongly decoded.
Anders Broman [Mon, 7 Jun 2010 14:29:03 +0000 (14:29 -0000)]
ECI (E-UTRAN Cell Identifier) wrongly decoded.
Spotted by Tamás Regõs.

svn path=/trunk/; revision=33128

14 years agoFrom Tamás Regõs:
Anders Broman [Mon, 7 Jun 2010 12:29:04 +0000 (12:29 -0000)]
From Tamás Regõs:
updated TGPPGmb.xml to version 9.2.0.

svn path=/trunk/; revision=33126

14 years agoAlas, the stuff to see whether the standard output and error are the
Guy Harris [Mon, 7 Jun 2010 09:43:32 +0000 (09:43 -0000)]
Alas, the stuff to see whether the standard output and error are the
same works only on UN*X; note that, and don't bother compiling it on
Windows.

svn path=/trunk/; revision=33125

14 years agoIf we get an error reading the capture file, don't give up - run the
Guy Harris [Mon, 7 Jun 2010 08:42:29 +0000 (08:42 -0000)]
If we get an error reading the capture file, don't give up - run the
taps, etc., so we at least print the statistics for the packets we
*could* read.

Also, if we're printing packet data, and the standard output and
standard error are going to the same place, before printing the error
message for that error, flush the standard output and print a newline to
the standard error, so the error appears after all the packet data, and
has a newline separating it from the packet data.

This fixes bug 4845.

svn path=/trunk/; revision=33124

14 years agoClean up indentation.
Guy Harris [Sun, 6 Jun 2010 22:35:33 +0000 (22:35 -0000)]
Clean up indentation.

svn path=/trunk/; revision=33118

14 years agoGet rid of file_write(); nobody uses it, and file writers should use
Guy Harris [Sun, 6 Jun 2010 22:24:48 +0000 (22:24 -0000)]
Get rid of file_write(); nobody uses it, and file writers should use
wtap_dump_file_write() (it does the right error checking for you, and
returns FALSE on failure and gives you the right error code).

svn path=/trunk/; revision=33117

14 years agoDon't use fwrite directly when writing a dump file; call it through
Guy Harris [Sun, 6 Jun 2010 22:19:30 +0000 (22:19 -0000)]
Don't use fwrite directly when writing a dump file; call it through
wtap_dump_file_write().  Replace various wrappers around fwrite() with
wtap_dump_file_write(), or at least make the wrappers call
wtap_dump_file_write().

svn path=/trunk/; revision=33116

14 years agoMove the seekback stuff out of esc_read() to the one place where it's
Guy Harris [Sun, 6 Jun 2010 19:37:49 +0000 (19:37 -0000)]
Move the seekback stuff out of esc_read() to the one place where it's
done.

Use the wtap_dump_file_ routines to write out capture files, and check
for errors.

Use the phton macros, when available, to translate to big-endian byte
order.  Add a new phton24() macro.

Clean up indentation.

svn path=/trunk/; revision=33114

14 years agoRename wtap_dump_file_write_all() to wtap_dump_file_write(), and have
Guy Harris [Sun, 6 Jun 2010 19:14:32 +0000 (19:14 -0000)]
Rename wtap_dump_file_write_all() to wtap_dump_file_write(), and have
everybody use it; the places using the old wtap_dump_file_write() were
using it in the same way the old wtap_dump_file_write_all() did.

That also lets us get rid of wtap_dump_file_ferror().

Also, have the new wtap_dump_file_write() check for errors from
gzwrite() and fwrite() differently - the former returns 0 on error, the
latter can return a short write on error.

svn path=/trunk/; revision=33113

14 years agoFrom Jim Young:
Anders Broman [Sun, 6 Jun 2010 16:25:41 +0000 (16:25 -0000)]
From Jim Young:
Remove unneeded "gtk_tree_path_free(path);" from case
"GDK_Return:" in tree_view_key_pressed_cb() that was reverted in r32957 to restore X11 functionality lost in refactored code from r32323.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4847

svn path=/trunk/; revision=33112

14 years ago[Automatic manuf and enterprise-numbers update for 2010-06-06]
Gerald Combs [Sun, 6 Jun 2010 15:03:33 +0000 (15:03 -0000)]
[Automatic manuf and enterprise-numbers update for 2010-06-06]

svn path=/trunk/; revision=33109

14 years agoAdd 32bit Ubuntu 10.04 to supported platforms
Kovarththanan Rajaratnam [Sun, 6 Jun 2010 06:09:26 +0000 (06:09 -0000)]
Add 32bit Ubuntu 10.04 to supported platforms

svn path=/trunk/; revision=33108

14 years agoFrom Rolf Fiedler: support for writing EyeSDN trace files.
Guy Harris [Sat, 5 Jun 2010 22:59:20 +0000 (22:59 -0000)]
From Rolf Fiedler: support for writing EyeSDN trace files.

svn path=/trunk/; revision=33107

14 years agoFirst check for the new GTK+/OS X integration functions, then the old
Guy Harris [Sat, 5 Jun 2010 22:04:28 +0000 (22:04 -0000)]
First check for the new GTK+/OS X integration functions, then the old
ones; it appears that at least one user's -ligemacintegration has both
(see bug 4823), and we should choose the new ones in that case.

Also, always set have_ige_mac if we have the functions.

Fix tpyoes while we're at it.

svn path=/trunk/; revision=33106

14 years agoFrom John Fitzgibbon:
Jaap Keuter [Sat, 5 Jun 2010 09:22:45 +0000 (09:22 -0000)]
From John Fitzgibbon:
When specifying SA keys for AES-CTR, Wireshark expects a key length of 160, 224
or 288 bits, (i.e. 128, 192 or 256 bits, followed by the 32 bit nonce value),
but gcry_cipher_setkey() in packet_ipsec.c fails, as it expects 128, 192 or 256
bits.

Omitting the nonce won't work -- even if Wireshark liked those key lengths,
gcrypt wouldn't be able to decrypt without it.

svn path=/trunk/; revision=33105

14 years agoClean up indentation.
Guy Harris [Sat, 5 Jun 2010 02:19:45 +0000 (02:19 -0000)]
Clean up indentation.

svn path=/trunk/; revision=33104

14 years agoClarify an error message (and the corresponding comment).
Guy Harris [Sat, 5 Jun 2010 01:55:06 +0000 (01:55 -0000)]
Clarify an error message (and the corresponding comment).

Fix the no-libpcap build.

svn path=/trunk/; revision=33103

14 years agoBack out r33088 for now.
Gerald Combs [Sat, 5 Jun 2010 00:29:31 +0000 (00:29 -0000)]
Back out r33088 for now.

svn path=/trunk/; revision=33102

14 years agoFrom Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4831 :
Jeff Morriss [Sat, 5 Jun 2010 00:25:46 +0000 (00:25 -0000)]
From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4831 :

Add the data read/write length to the NFS tree so it is filterable.

From me: don't bother incrementing the offset just to decrement it again.
Change the hf info a bit.

(Ideally the RPC dissector would add the length to the tree not as a text
item; that is left for future work.)

svn path=/trunk/; revision=33101

14 years agoCatch some cases that don't currently work.
Guy Harris [Sat, 5 Jun 2010 00:08:37 +0000 (00:08 -0000)]
Catch some cases that don't currently work.

svn path=/trunk/; revision=33100

14 years agoFrom Chris Maynard via bug 1546:
Gerald Combs [Fri, 4 Jun 2010 23:16:31 +0000 (23:16 -0000)]
From Chris Maynard via bug 1546:

Add units to the rate.

svn path=/trunk/; revision=33099

14 years agoThou shalt not have a tap whose listener is always active; that means,
Guy Harris [Fri, 4 Jun 2010 23:08:08 +0000 (23:08 -0000)]
Thou shalt not have a tap whose listener is always active; that means,
for example, that, if it's a TShark tap, TShark can never be run with
"-w -", as it means that TShark will always have to dissect the packets.

svn path=/trunk/; revision=33098

14 years agoAdd a preference that allows the user to decide if they want the calling and
Jeff Morriss [Fri, 4 Jun 2010 20:52:02 +0000 (20:52 -0000)]
Add a preference that allows the user to decide if they want the calling and
called GTs (if RI=GT) put in the (pinfo) source and destination (and thus into
the source and destination columns).

This may help (if the PCs change but the GT does not) or hurt (if the GT or RI
change but the PCs do not) TCAP's ability to identify which messages belong to
which TCAP "session."

svn path=/trunk/; revision=33097

14 years agoUse a gboolean to store a boolean and change the plurality on the preference name
Jeff Morriss [Fri, 4 Jun 2010 20:48:45 +0000 (20:48 -0000)]
Use a gboolean to store a boolean and change the plurality on the preference name

svn path=/trunk/; revision=33096

14 years agoAdd a preference that allows the user to decide if they want the source and
Jeff Morriss [Fri, 4 Jun 2010 20:36:43 +0000 (20:36 -0000)]
Add a preference that allows the user to decide if they want the source and
destination address PC or GT (depending on the RI) put in the (pinfo) source and
destination (and thus into the source and destination columns).

This may help (if the IP addresses change but the PC or GT do not) or hurt (if
the PC, GT, or RI change but the IP addresses do not) TCAP's ability to identify
which messages belong to which TCAP "session."

svn path=/trunk/; revision=33094

14 years agoAdd BIN_DIR. If it is '.' then set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that we...
Jeff Morriss [Fri, 4 Jun 2010 19:57:11 +0000 (19:57 -0000)]
Add BIN_DIR.  If it is '.' then set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that we test plugins

svn path=/trunk/; revision=33093

14 years agoAdd a checkapis target.
Gerald Combs [Fri, 4 Jun 2010 19:49:12 +0000 (19:49 -0000)]
Add a checkapis target.

svn path=/trunk/; revision=33092

14 years agoIncrease LENGTH_OID a bit to give us more room for ACNs (probably more than will...
Jeff Morriss [Fri, 4 Jun 2010 19:37:31 +0000 (19:37 -0000)]
Increase LENGTH_OID a bit to give us more room for ACNs (probably more than will ever be used).

svn path=/trunk/; revision=33091

14 years agoFix comments.
Guy Harris [Fri, 4 Jun 2010 19:29:26 +0000 (19:29 -0000)]
Fix comments.

svn path=/trunk/; revision=33090

14 years agotcaphash_context_t.oid is of size LENGTH_OID+1, not LENGTH_OID. Just use sizeof...
Jeff Morriss [Fri, 4 Jun 2010 19:28:39 +0000 (19:28 -0000)]
tcaphash_context_t.oid is of size LENGTH_OID+1, not LENGTH_OID.  Just use sizeof(tcaphash_context_t.oid) instead of LENGTH_OID so we can use that last byte.  This allows us to retrieve the whole ACN when the ACN is LENGTH_OID bytes long.

svn path=/trunk/; revision=33089

14 years agoFrom Matt Poduska via bug 1957 (with minor changes):
Gerald Combs [Fri, 4 Jun 2010 18:45:02 +0000 (18:45 -0000)]
From Matt Poduska via bug 1957 (with minor changes):

New dissector (plugin) to support decode of the EPCglobal Low-Level Reader
protocol (see llrp.org for more information). This dissector has passed fuzz
testing.

svn path=/trunk/; revision=33088

14 years agoAccording to RFC 3220 section 7 the max UDVM message size is 65536,
Gerald Combs [Fri, 4 Jun 2010 18:28:02 +0000 (18:28 -0000)]
According to RFC 3220 section 7 the max UDVM message size is 65536,
not 65535. Hopefully fixes bug 4837.

svn path=/trunk/; revision=33087

14 years agoFrom Samu Varjonen: Whitespace cleanup
Bill Meier [Fri, 4 Jun 2010 17:59:53 +0000 (17:59 -0000)]
From  Samu Varjonen: Whitespace cleanup

Tabs converted to 8 spaces and trailing whitespaces removed, etc.

svn path=/trunk/; revision=33086

14 years agoIf BIN_DIR is ".", set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that we
Gerald Combs [Fri, 4 Jun 2010 16:59:49 +0000 (16:59 -0000)]
If BIN_DIR is ".", set WIRESHARK_RUN_FROM_BUILD_DIRECTORY so that we
test plugins.

svn path=/trunk/; revision=33085

14 years agoDescription for netscape-cert-type bit 4 (e.g. see http://docs.sun.com/source/816...
Graeme Lunt [Fri, 4 Jun 2010 15:07:17 +0000 (15:07 -0000)]
Description for netscape-cert-type bit 4 (e.g. see docs.sun.com/source/816-5531-10/poli_ext.htm#1078885)

svn path=/trunk/; revision=33084

14 years agoRCS 3280, which obsoletes RFC 2459, allows an IA5String CHOICE in the DisplayText...
Graeme Lunt [Fri, 4 Jun 2010 14:36:53 +0000 (14:36 -0000)]
RCS 3280, which obsoletes RFC 2459, allows an IA5String CHOICE in the DisplayText of a UserNotice.

svn path=/trunk/; revision=33083

14 years agoFrom Holger Freyther via bug 4841:
Stig Bjørlykke [Fri, 4 Jun 2010 12:14:18 +0000 (12:14 -0000)]
From Holger Freyther via bug 4841:
Add a new dissector for the NexusWare C7 MTP over UDP/TCP protocol. One of
NexusWare's example applications provide a way to forward MTP Level 3 messages
via UDP/TCP. This is a dissector for this protocol (which is lacking an IANA
assigned port).

svn path=/trunk/; revision=33082

14 years agoSet the right DPI for PDF production.
Jaap Keuter [Fri, 4 Jun 2010 05:57:05 +0000 (05:57 -0000)]
Set the right DPI for PDF production.

svn path=/trunk/; revision=33081

14 years agoFrom Sven Eckelmann: Remove recursion for aggregated packets in batman dissector
Bill Meier [Fri, 4 Jun 2010 01:32:21 +0000 (01:32 -0000)]
From  Sven Eckelmann: Remove recursion for aggregated packets in batman dissector
"Different developers wanted to have the recursive dissector for aggregated
 packets changed to a iterative approach."

See Bug #4836: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4836

svn path=/trunk/; revision=33080

14 years agoFrom Cal Turney: The NFS FH hash (nfs.fh.hash) incorrectly matches multiple filehandles.
Bill Meier [Fri, 4 Jun 2010 00:45:37 +0000 (00:45 -0000)]
From Cal Turney: The NFS FH hash (nfs.fh.hash) incorrectly matches multiple filehandles.
"The method used in packet-nfs.c to calculate a 32-bit hash representing the
 32-byte filehandle is faulty in that the hash often matches multiple
 filehandles."

"This patch uses CRC-32 to calculate the hash.
 We (EMC GNS) have tested this patch for the past two years and we have not
 found a single case where the hash matched more than one filehandle."

See Bug #4839: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4839

svn path=/trunk/; revision=33079

14 years agoBring more texts and examples up to date.
Jaap Keuter [Thu, 3 Jun 2010 21:39:38 +0000 (21:39 -0000)]
Bring more texts and examples up to date.

svn path=/trunk/; revision=33078

14 years agoFix a gcc -Wshadow warning
Bill Meier [Thu, 3 Jun 2010 19:14:18 +0000 (19:14 -0000)]
Fix a gcc -Wshadow warning

svn path=/trunk/; revision=33077

14 years agoSet the (pinfo) address if a PC is present (for now: regardless of whether routing...
Jeff Morriss [Thu, 3 Jun 2010 18:57:25 +0000 (18:57 -0000)]
Set the (pinfo) address if a PC is present (for now: regardless of whether routing is on GT or not).

svn path=/trunk/; revision=33076

14 years agoFrom Sven Eckelmann: Change recursion for aggregated packets to iteration.
Bill Meier [Thu, 3 Jun 2010 18:56:39 +0000 (18:56 -0000)]
From  Sven Eckelmann: Change recursion for aggregated packets to iteration.
See Bug #2631: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2631

svn path=/trunk/; revision=33075

14 years agoImproved readability when displaying seconds with hours and minutes.
Stig Bjørlykke [Thu, 3 Jun 2010 13:53:03 +0000 (13:53 -0000)]
Improved readability when displaying seconds with hours and minutes.

svn path=/trunk/; revision=33074

14 years ago- Add tap-sv.c and packet-sv.c to the list of files to build
Jörg Mayer [Thu, 3 Jun 2010 13:04:22 +0000 (13:04 -0000)]
- Add tap-sv.c and packet-sv.c to the list of files to build
- Whitespace fixes
- Add Fedora 64 bit to the list of platforms where cmake should
  work

svn path=/trunk/; revision=33073

14 years agoUse g_hash_table_new_full().
Anders Broman [Thu, 3 Jun 2010 08:22:08 +0000 (08:22 -0000)]
Use g_hash_table_new_full().

svn path=/trunk/; revision=33072

14 years agoFrom Pascal Quantin:
Anders Broman [Thu, 3 Jun 2010 07:47:07 +0000 (07:47 -0000)]
From Pascal Quantin:
Avoid triggering a malformed packet error when decoding a simple UE terminated Detach Request when the EMM cause IE is not present:

svn path=/trunk/; revision=33071

14 years agoWhitespace/indentation/code style cleanup.
Jaap Keuter [Thu, 3 Jun 2010 07:38:27 +0000 (07:38 -0000)]
Whitespace/indentation/code style cleanup.

svn path=/trunk/; revision=33070

14 years agoFrom Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4832 :
Jeff Morriss [Thu, 3 Jun 2010 02:23:36 +0000 (02:23 -0000)]
From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4832 :

Add field 'nfs.ops.count' in the detail pane of NFSv4 calls and replies that
displays the number of operations in NFSv4 COMPOUND requests/replies.

From me: change the blurb wording a bit.

svn path=/trunk/; revision=33069

14 years agoFrom Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4830 :
Jeff Morriss [Thu, 3 Jun 2010 02:15:32 +0000 (02:15 -0000)]
From Cal Turney via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4830 :

Display the fsid (filesystem ID) in decimal as well as hex in the "attributes"
section of the header in NFSv3/v4 replies.

svn path=/trunk/; revision=33068

14 years agoFrom Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4820 :
Jeff Morriss [Thu, 3 Jun 2010 02:05:52 +0000 (02:05 -0000)]
From Peter Harris via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4820 :

Mesa moved its API description file again.

Also, while I'm here, I noticed that they stopped using signed tags, so add
--tags to "git describe" for a better description of the mesa version used to
build the X11 dissector.

svn path=/trunk/; revision=33067

14 years agoFrom: Sven Eckelmann:Add support for v10 packet format
Bill Meier [Thu, 3 Jun 2010 02:03:32 +0000 (02:03 -0000)]
From:  Sven Eckelmann:Add support for v10 packet format
 "v10 of the packet format was added recently and could be added
  to the wireshark dissector"
See: Bug #4833: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4833

From me:
- Fix a compile error: ...version=tvb_get_ntohs...
- Fix a missing = NULL.

svn path=/trunk/; revision=33066