obnox/wireshark/wip.git
14 years agofix doxygen generation
ulfl [Wed, 27 Oct 2004 03:59:02 +0000 (03:59 +0000)]
fix doxygen generation

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

14 years agofix doxygen tags
ulfl [Wed, 27 Oct 2004 03:57:57 +0000 (03:57 +0000)]
fix doxygen tags

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

14 years agoDon't have two variables, in different scopes in the same routine, have
guy [Wed, 27 Oct 2004 02:52:40 +0000 (02:52 +0000)]
Don't have two variables, in different scopes in the same routine, have
the same name.

Fix up alignment.

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

14 years agoEncapsulate into a macro the idiom
guy [Wed, 27 Oct 2004 02:34:30 +0000 (02:34 +0000)]
Encapsulate into a macro the idiom

if(offset&0x07){
offset=(offset&0xfffffff8)+8;
}

for byte-aligning a bit offset.

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

14 years agoDocument the personal capture and display filters list in the FILES
guy [Tue, 26 Oct 2004 23:30:33 +0000 (23:30 +0000)]
Document the personal capture and display filters list in the FILES
section, as is done for other files.  Just refer to those files in the
section for the "Save" button for the capture and display filter dialog
boxes.

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

14 years agoFix the file name in the initial comment.
guy [Tue, 26 Oct 2004 18:41:25 +0000 (18:41 +0000)]
Fix the file name in the initial comment.

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

14 years agoRename the "boolean" enum to "val_boolean" lest the Microsoft compiler let
gerald [Tue, 26 Oct 2004 16:08:16 +0000 (16:08 +0000)]
Rename the "boolean" enum to "val_boolean" lest the Microsoft compiler let
its displeasure be known.

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

14 years agomake the dissector use the nice #.REGISTER directive
sahlberg [Tue, 26 Oct 2004 14:02:02 +0000 (14:02 +0000)]
make the dissector use the nice #.REGISTER directive

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

14 years ago use the nice #.REGISTER directive instead of handcoding it in teh template
sahlberg [Tue, 26 Oct 2004 13:54:09 +0000 (13:54 +0000)]
 use the nice #.REGISTER directive instead of handcoding it in teh template

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

14 years agonew cms dissector based on updated and cleaned up conformance and template file.
sahlberg [Tue, 26 Oct 2004 13:53:30 +0000 (13:53 +0000)]
new cms dissector based on updated and cleaned up conformance and template file.

use the nice #.REGISTER directive instead of doing it by hand.

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

14 years agoUse the much better #.REGISTER directive instead of the #.PDU directive
sahlberg [Tue, 26 Oct 2004 13:04:09 +0000 (13:04 +0000)]
Use the much better #.REGISTER directive instead of the #.PDU directive

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

14 years agoAdd a "data" item to the opt_info structure, containing a "const void
guy [Tue, 26 Oct 2004 07:00:23 +0000 (07:00 +0000)]
Add a "data" item to the opt_info structure, containing a "const void
*".  For val_u_byte, if non-null, it points to a "value_string" table to
be used to interpret the value.  Replace "toggle" and "yes_no" with
"boolean, and have the "data" pointer point to a "struct
true_false_string" to be used to interpret the value.

The NetBIOS-over-TCP/IP Node Type option can now be a regular val_u_byte
value, with the appropriate value_string table.

Construct the item for DHCP options by initializing it without the value
and appending the value to the item's string with
"proto_item_append_text()".

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

14 years agoMake yes_no work in "dissect_netware_ip_suboption()" the way it works
guy [Mon, 25 Oct 2004 23:25:59 +0000 (23:25 +0000)]
Make yes_no work in "dissect_netware_ip_suboption()" the way it works
elsewhere, and replace "struct o63_opt_info" with "struct opt_info".

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

15 years ago"struct o43pxeclient_opt_info" and "struct o43cablelabs_opt_info" look
guy [Mon, 25 Oct 2004 09:31:13 +0000 (09:31 +0000)]
"struct o43pxeclient_opt_info" and "struct o43cablelabs_opt_info" look
just like "struct opt_info", except for the name of the "enum
field_type" field; use "opt_info" instead of them.  Rename the
equivalent field in "struct o63_opt_info", as well, with an eye towards
changing "struct opt_info" to be able to replace "struct o63_opt_info"
as well.

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

15 years agoRemove val_s_long as it's unimplemented and unused - put it back if it's
guy [Mon, 25 Oct 2004 08:56:39 +0000 (08:56 +0000)]
Remove val_s_long as it's unimplemented and unused - put it back if it's
ever necessary.

Make some options, that have only one IPv4 address, use ipv4 rather than
ipv4_list.

Add val_u_short_list, and have val_u_short accept one and only one
16-bit integer.  Give options the appropriate type.

Shuffle the types a bit in the enum, and shuffle the cases for types
around to match the order in the enum.

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

15 years agoRename "ipv4" to "ipv4_list", as it's used for lists of IPv4 addresses,
guy [Mon, 25 Oct 2004 08:33:39 +0000 (08:33 +0000)]
Rename "ipv4" to "ipv4_list", as it's used for lists of IPv4 addresses,
and add a separate "ipv4"; use that in the dissector for Netware IP
options.

Add a "presence" option type, for options with no value whose presence
is significant; use that in the dissector for Netware IP options.

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

15 years agoPass to the the routines that dissect suboption lists the offset of the
guy [Mon, 25 Oct 2004 08:17:11 +0000 (08:17 +0000)]
Pass to the the routines that dissect suboption lists the offset of the
end of the option, and have them do bounds checking.  Also, in some
places, check the suboption length.

In "dissect_netware_ip_suboption()", process the suboption length
(which, according to RFC 2242, is present in all suboptions), and use
val_u_byte rather than val_u_short for 1-byte options.

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

15 years agoRestructure the DHCP option parsing a bit, to make it a bit clearer -
guy [Sun, 24 Oct 2004 22:53:06 +0000 (22:53 +0000)]
Restructure the DHCP option parsing a bit, to make it a bit clearer -
and fix some bugs that this made a bit more obvious.  Add checks of the
option length.

Clean up white space.

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

15 years agoDon't display the FQDN in the FQDN option if the length of the FQDN is
guy [Sun, 24 Oct 2004 10:30:03 +0000 (10:30 +0000)]
Don't display the FQDN in the FQDN option if the length of the FQDN is
zero.

Clean up some field names and descriptions.

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

15 years agoFix the length used for the name in the FQDN option.
guy [Sun, 24 Oct 2004 10:18:16 +0000 (10:18 +0000)]
Fix the length used for the name in the FQDN option.

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

15 years agomake SEQUENCE OF and CHOICE handle indefinite length encodings
sahlberg [Sun, 24 Oct 2004 03:51:27 +0000 (03:51 +0000)]
make SEQUENCE OF and CHOICE handle indefinite length encodings

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

15 years agoFrom Yaniv Kaul: name some more interface calls.
guy [Sun, 24 Oct 2004 01:29:03 +0000 (01:29 +0000)]
From Yaniv Kaul: name some more interface calls.

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

15 years agoRemove the include of <epan/prefs.h> from files that don't call any
guy [Sat, 23 Oct 2004 09:20:39 +0000 (09:20 +0000)]
Remove the include of <epan/prefs.h> from files that don't call any
preference routines.

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

15 years agoPut the name, as well as the value, of the family and subfamily fields
guy [Sat, 23 Oct 2004 08:37:21 +0000 (08:37 +0000)]
Put the name, as well as the value, of the family and subfamily fields
into the protocol tree item that contains them.

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

15 years agoFrom Josh Bailey: fix the fetch of the IPDC payload length, it's only 10
guy [Fri, 22 Oct 2004 18:03:21 +0000 (18:03 +0000)]
From Josh Bailey: fix the fetch of the IPDC payload length, it's only 10
bits long.

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

15 years agoAdd an item for DNS IPSECKEY RR support for David Fort.
guy [Fri, 22 Oct 2004 17:40:58 +0000 (17:40 +0000)]
Add an item for DNS IPSECKEY RR support for David Fort.

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

15 years agoadd a section about "Windows folders"
ulfl [Fri, 22 Oct 2004 08:33:50 +0000 (08:33 +0000)]
add a section about "Windows folders"

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

15 years agoChange some code that affects g_resolv_flags to set a flag if the check
guy [Fri, 22 Oct 2004 07:07:08 +0000 (07:07 +0000)]
Change some code that affects g_resolv_flags to set a flag if the check
box for the flag is active and clear it if it's inactive, rather than
clearing all but RESOLV_CONCURRENT and then setting flags if the check
box is active - or, in one case, not clearing any flags due to a typo
and then setting them, so they never get cleared.  This matches what's
done with theresolution flags in some other places.

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

15 years agoFrom Alejandro Vaquero: start T.38 conversations for SDP sessions.
guy [Fri, 22 Oct 2004 06:19:00 +0000 (06:19 +0000)]
From Alejandro Vaquero: start T.38 conversations for SDP sessions.

"T38" -> "T.38" in the T.38 dissector.

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

15 years agoFrom Francisco Alcoba: declare the tap data as static, so it's still
guy [Fri, 22 Oct 2004 06:05:03 +0000 (06:05 +0000)]
From Francisco Alcoba: declare the tap data as static, so it's still
there when the tap is called (which happens after dissection is
complete).

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

15 years agoFor the .pod->.html rules, find the ".pod" files in $(srcdir),
guy [Fri, 22 Oct 2004 02:09:35 +0000 (02:09 +0000)]
For the .pod->.html rules, find the ".pod" files in $(srcdir),
just as we do for the .pod->.[1-9] rules.

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

15 years agoInclude "Makefile.common" in the list of files to put into the
guy [Fri, 22 Oct 2004 02:05:53 +0000 (02:05 +0000)]
Include "Makefile.common" in the list of files to put into the
distribution.

Don't use ":=" - not all versions of make necessarily support it, and,
even for those that do, it doesn't mean the same thing in all versions
(it means something different in Solaris make than in GNU make, for
example).

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

15 years agocleanup "Packet Reassembling" section
ulfl [Thu, 21 Oct 2004 21:43:37 +0000 (21:43 +0000)]
cleanup "Packet Reassembling" section

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

15 years agoremoved the protocols list completely, as I don't want to update it to the current...
ulfl [Thu, 21 Oct 2004 21:09:28 +0000 (21:09 +0000)]
removed the protocols list completely, as I don't want to update it to the current Ethereal features all the time and we also have a really good online version of that list available.

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

15 years agoadd info about temporary capture files and a section about "Windows NT/2000/XP roamin...
ulfl [Thu, 21 Oct 2004 20:22:21 +0000 (20:22 +0000)]
add info about temporary capture files and a section about "Windows NT/2000/XP roaming profiles"

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

15 years agoThe top-level window's list of capture filter expressions might not yet
guy [Thu, 21 Oct 2004 19:12:22 +0000 (19:12 +0000)]
The top-level window's list of capture filter expressions might not yet
exist if no filters have been remembered; don't set the popdown string
list for the filter combo box if the list is empty.

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

15 years agoFrom Laurent Rabret:
gerald [Thu, 21 Oct 2004 02:06:37 +0000 (02:06 +0000)]
From Laurent Rabret:

- enable Windows' ShellExecute command to call Ethereal without specifying
  the installation path (a new key added in the registry)
- decode 2 more options in the OPSI plugin.

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

15 years agoAt least some versions of the OS X NFS client (and possibly some if not
guy [Wed, 20 Oct 2004 23:38:31 +0000 (23:38 +0000)]
At least some versions of the OS X NFS client (and possibly some if not
all other BSD NFS clients) retransmit on different ports from the port
on which the original request was set, so have the RPC "conversation"
for connectionless protocols use only the source address and destination
port.

Use NO_ADDR_B and NO_PORT_B when looking up the conversation in those
cases, and use NO_ADDR2 and NO_PORT2 when creating the conversation in
those cases, to make it clearer that we're only using one address and
port.

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

15 years agoPull in versions from the 0.10.7 branch.
gerald [Wed, 20 Oct 2004 19:14:51 +0000 (19:14 +0000)]
Pull in versions from the 0.10.7 branch.

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

15 years agorenamed capinfo to capinfos, as the former name capinfo was already used in a program...
ulfl [Wed, 20 Oct 2004 18:50:58 +0000 (18:50 +0000)]
renamed capinfo to capinfos, as the former name capinfo was already used in a program called tcprelay, so that might confuse packaging managers and users. Hopefully I got all the places need to be changed.

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

15 years agoFrom Tomas Kukosa: export bytes_to_str_punct().
guy [Wed, 20 Oct 2004 07:15:07 +0000 (07:15 +0000)]
From Tomas Kukosa: export bytes_to_str_punct().

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

15 years agoadd a small section about "GTK resources on the web"
ulfl [Wed, 20 Oct 2004 07:10:01 +0000 (07:10 +0000)]
add a small section about "GTK resources on the web"

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

15 years agoUpdate the man page to indicate that "-q", when capturing without "-w",
guy [Wed, 20 Oct 2004 00:06:48 +0000 (00:06 +0000)]
Update the man page to indicate that "-q", when capturing without "-w",
suppresses the printing of packet information.

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

15 years agoIf we're not printing packet information, don't print the preamble or
guy [Tue, 19 Oct 2004 22:43:52 +0000 (22:43 +0000)]
If we're not printing packet information, don't print the preamble or
finale for that information, either.

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

15 years agoFrom Mark C. Brown:
guy [Tue, 19 Oct 2004 22:28:27 +0000 (22:28 +0000)]
From Mark C. Brown:

fix FDDI to use correct bit swapped encap;

tweak file open code to guess at file encap so merge works
better.

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

15 years agoFrom Jacques, Olivier: - Fixing enums recognition when an XML dictionary is used...
etxrab [Tue, 19 Oct 2004 19:29:08 +0000 (19:29 +0000)]
From  Jacques, Olivier: - Fixing enums recognition when an XML dictionary is used (was OK with fixed dictionaries)

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

15 years agoadding a chapter about capturing, currently only containing the mail from Guy Harris...
ulfl [Tue, 19 Oct 2004 18:32:27 +0000 (18:32 +0000)]
adding a chapter about capturing, currently only containing the mail from Guy Harris about adding new capture types

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

15 years agofixup whitespace
ulfl [Tue, 19 Oct 2004 18:30:44 +0000 (18:30 +0000)]
fixup whitespace

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

15 years agoAdd AUTHORS-SHORT-FORMAT to the list of files to ignore.
guy [Tue, 19 Oct 2004 07:15:03 +0000 (07:15 +0000)]
Add AUTHORS-SHORT-FORMAT to the list of files to ignore.

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

15 years agoFrom Tomas Kukosa: add range preference functions.
guy [Tue, 19 Oct 2004 07:09:32 +0000 (07:09 +0000)]
From Tomas Kukosa: add range preference functions.

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

15 years agoSquelch a compiler warning.
guy [Mon, 18 Oct 2004 17:21:31 +0000 (17:21 +0000)]
Squelch a compiler warning.

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

15 years agoFrom Laurent Constantin: fix a (presumed) cut-and-pasteo.
guy [Mon, 18 Oct 2004 17:17:38 +0000 (17:17 +0000)]
From Laurent Constantin: fix a (presumed) cut-and-pasteo.

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

15 years agoFrom Olivier Jacques: Add #defines to disable XML validation.
gerald [Mon, 18 Oct 2004 14:58:32 +0000 (14:58 +0000)]
From Olivier Jacques:  Add #defines to disable XML validation.

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

15 years agoFix some include problems and compiler warnings pointed out by Thomas Anders.
gerald [Mon, 18 Oct 2004 14:37:43 +0000 (14:37 +0000)]
Fix some include problems and compiler warnings pointed out by Thomas Anders.

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

15 years agoFrom Thomas Anders:
gerald [Mon, 18 Oct 2004 14:24:25 +0000 (14:24 +0000)]
From Thomas Anders:

- change DHCP option 122 dissection to use official RFC 3495/3594 wording
  (if bootp.pkt.ccc.protocol_version preference setting is 2 or 3)
- update CableLabs specification references
- some minor cleanup (option 43 also)

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

15 years agoOne more item from CableLabs: Add conversation support to the Kerberos
gerald [Mon, 18 Oct 2004 13:58:20 +0000 (13:58 +0000)]
One more item from CableLabs:  Add conversation support to the Kerberos
UDP dissector.

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

15 years agoAdd a rule to make ../AUTHORS-SHORT-FORMAT, as it won't necessarily have
guy [Mon, 18 Oct 2004 09:53:06 +0000 (09:53 +0000)]
Add a rule to make ../AUTHORS-SHORT-FORMAT, as it won't necessarily have
been made by the time this Makefile is used.

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

15 years agoDon't blow up if the proto,colinfo tap is used but the columns aren't
guy [Mon, 18 Oct 2004 01:18:44 +0000 (01:18 +0000)]
Don't blow up if the proto,colinfo tap is used but the columns aren't
being printed.

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

15 years agoFrom Graeme Hewson: make AUTHORS-SHORT not include formatting codes,
guy [Sun, 17 Oct 2004 23:03:11 +0000 (23:03 +0000)]
From Graeme Hewson: make AUTHORS-SHORT not include formatting codes,
with AUTHORS-SHORT-FORMAT containing the formatting codes.

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

15 years agoFrom Graeme Hewson: re-wrap some of the lines so that they fit into the
guy [Sun, 17 Oct 2004 22:18:14 +0000 (22:18 +0000)]
From Graeme Hewson: re-wrap some of the lines so that they fit into the
About dialog and ethereal.1 without wrapping.

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

15 years agoFrom Alejandro Vaquero: in the RTP analysis code, don't analyze packets
guy [Sun, 17 Oct 2004 22:14:47 +0000 (22:14 +0000)]
From Alejandro Vaquero: in the RTP analysis code, don't analyze packets
that have an RTP version other than 2.

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

15 years agoUpdate some SIP headers from http://www.iana.org/assignments/sip-parameters.
etxrab [Sun, 17 Oct 2004 21:57:04 +0000 (21:57 +0000)]
Update some SIP headers from iana.org/assignments/sip-parameters.

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

15 years agoFrom Rene Pilz: make DTAP be dissected for a GPRS LLC SAPI of 1.
guy [Sun, 17 Oct 2004 11:10:08 +0000 (11:10 +0000)]
From Rene Pilz: make DTAP be dissected for a GPRS LLC SAPI of 1.

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

15 years agoFrom Rene Pilz: add a preference to ignore the cipher bit, in case
guy [Sun, 17 Oct 2004 11:04:28 +0000 (11:04 +0000)]
From Rene Pilz: add a preference to ignore the cipher bit, in case
captures have unciphered data with the cipher bit set.

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

15 years agofile_hdr.network is one byte long, so don't use htoles() on values it's
guy [Sun, 17 Oct 2004 06:20:43 +0000 (06:20 +0000)]
file_hdr.network is one byte long, so don't use htoles() on values it's
set to - that causes it to be set to zero.

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

15 years agoWhen merging, default to the current file format as the output format.
guy [Sun, 17 Oct 2004 03:11:31 +0000 (03:11 +0000)]
When merging, default to the current file format as the output format.

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

15 years agoFrom Mark C. Brown: allow the file type for the merge operation to be
guy [Sun, 17 Oct 2004 02:53:26 +0000 (02:53 +0000)]
From Mark C. Brown: allow the file type for the merge operation to be
specified in the GUI.

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

15 years agoFrom Thomas Anders: DHCP option 6 enhancements:
guy [Sun, 17 Oct 2004 02:36:32 +0000 (02:36 +0000)]
From Thomas Anders: DHCP option 6 enhancements:

- add full support for upcoming PacketCable 1.5
- fix bug regarding MTA/CM Device Capabilities Length
- PacketCable MTA: fix bug regarding RSVP and UGS-AD options
- make presentation more compact (similar to other TLV data dissectors)
- change some descriptions and variables to (hopefully) make more sense
  to DOCSIS/PacketCable users

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

15 years agoUpdate to reflect changes to the range API.
guy [Sun, 17 Oct 2004 01:38:51 +0000 (01:38 +0000)]
Update to reflect changes to the range API.

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

15 years agoHave "range_convert_range()" dynamically allocate a string large enough
guy [Sun, 17 Oct 2004 01:31:36 +0000 (01:31 +0000)]
Have "range_convert_range()" dynamically allocate a string large enough
to hold the representation of the range, rather than imposing a
fixed-size limit on the string.

Check for overflow in "strtoul()" - and use "strtoul()" rather than
"strtol()" for range members.

Clean up indentation.

Get rid of an unnecessary include in <epan/range.h>.

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

15 years ago"ssn_range" needs to be a copy of "global_ssn_range", so that it's not
guy [Sun, 17 Oct 2004 00:51:50 +0000 (00:51 +0000)]
"ssn_range" needs to be a copy of "global_ssn_range", so that it's not
freed if "global_ssn_range" is changed because the preference was
changed.

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

15 years ago"ssn_range" needs to be a copy of "global_ssn_range", so that it's not
guy [Sun, 17 Oct 2004 00:48:37 +0000 (00:48 +0000)]
"ssn_range" needs to be a copy of "global_ssn_range", so that it's not
freed if "global_ssn_range" is changed because the preference was
changed.

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

15 years agoRemove the fixed maximum number of subranges in a range_t; dynamically
guy [Sat, 16 Oct 2004 23:32:24 +0000 (23:32 +0000)]
Remove the fixed maximum number of subranges in a range_t; dynamically
allocate them to be large enough.

Add checks that the numbers in the range fit in a guint32.

Check the validity of a range before saving or printing, and report
errors in an alert box.

Clean up white space.

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

15 years agomake the SEQUENCE dissection helper understand and handle Indefinite Length
sahlberg [Sat, 16 Oct 2004 12:53:09 +0000 (12:53 +0000)]
make the SEQUENCE  dissection helper understand and handle Indefinite Length

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

15 years agoFirst support for Unix-to-DOS line termination translation by means of a small
obiot [Sat, 16 Oct 2004 11:46:17 +0000 (11:46 +0000)]
First support for Unix-to-DOS line termination translation by means of a small
perl script (unix2dos.pl). The NEWS file is now properly displayed on the
Notepad.exe text editor on a Windows box.

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

15 years agoupdate to the current state of the art
ulfl [Sat, 16 Oct 2004 11:32:07 +0000 (11:32 +0000)]
update to the current state of the art

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

15 years agoupdate setup target to latest win32 libs
ulfl [Sat, 16 Oct 2004 11:17:57 +0000 (11:17 +0000)]
update setup target to latest win32 libs

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

15 years agoupdate win32 libsnmp infos
ulfl [Sat, 16 Oct 2004 11:14:49 +0000 (11:14 +0000)]
update win32 libsnmp infos

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

15 years agofix a bug reported by Eric Wedel: Could not save preferences, as "You have not select...
ulfl [Sat, 16 Oct 2004 09:29:15 +0000 (09:29 +0000)]
fix a bug reported by Eric Wedel: Could not save preferences, as "You have not selected a font" dialog pops up, if no previous preferences file exists.

fix: the default font name for GTK1 Win32 was mispelled (at least for WinXP).

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

15 years agoMake the nranges member of a range_t be the number of ranges, not the
guy [Sat, 16 Oct 2004 08:33:40 +0000 (08:33 +0000)]
Make the nranges member of a range_t be the number of ranges, not the
number of ranges - 1, and update loops that iterate over all the ranges
appropriately.

Make "range_convert_str()" return a success/failure indication, and
check it.  Rewrite it to do more checks, and not to blithely ignore
unknown characters.

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

15 years agoFix a typo.
guy [Sat, 16 Oct 2004 07:39:37 +0000 (07:39 +0000)]
Fix a typo.

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

15 years agoClena up a few things.
guy [Sat, 16 Oct 2004 05:59:24 +0000 (05:59 +0000)]
Clena up a few things.

Squelch a compiler warning.

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

15 years agoUpdate manuf
jmayer [Sat, 16 Oct 2004 02:05:16 +0000 (02:05 +0000)]
Update manuf

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

15 years agoAdd support for draft-ietf-dhc-fqdn-option-07.txt
jmayer [Sat, 16 Oct 2004 02:04:08 +0000 (02:04 +0000)]
Add support for draft-ietf-dhc-fqdn-option-07.txt

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

15 years agoChange Client Identifier display a bit to better handle non-hw identifiers of length 7
jmayer [Sat, 16 Oct 2004 00:19:07 +0000 (00:19 +0000)]
Change Client Identifier display a bit to better handle non-hw identifiers of length 7

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

15 years agoFix a cut-and-paste error.
gerald [Fri, 15 Oct 2004 19:02:47 +0000 (19:02 +0000)]
Fix a cut-and-paste error.

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

15 years agoUpdates to reflect revision 4 of ethereal-win32-libs.
gerald [Fri, 15 Oct 2004 18:30:05 +0000 (18:30 +0000)]
Updates to reflect revision 4 of ethereal-win32-libs.

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

15 years agoAdd support for decoding DES3/CBC/MD5 keys. Make it disabled by default.
gerald [Fri, 15 Oct 2004 15:36:12 +0000 (15:36 +0000)]
Add support for decoding DES3/CBC/MD5 keys.  Make it disabled by default.

Whitespace cleanup.

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

15 years agoAdd range_convert_range and ranges_are_equal.
gerald [Fri, 15 Oct 2004 15:08:00 +0000 (15:08 +0000)]
Add range_convert_range and ranges_are_equal.

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

15 years agoDectect MIT-Kerberos as well
jmayer [Fri, 15 Oct 2004 06:51:48 +0000 (06:51 +0000)]
Dectect MIT-Kerberos as well

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

15 years agoDon't declare functions inside functions - not all C compilers support
guy [Fri, 15 Oct 2004 05:54:33 +0000 (05:54 +0000)]
Don't declare functions inside functions - not all C compilers support
that.

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

15 years agoFrom Jeff Morriss: PREF_RANGE preference type, for ranges of integers.
guy [Thu, 14 Oct 2004 23:45:09 +0000 (23:45 +0000)]
From Jeff Morriss: PREF_RANGE preference type, for ranges of integers.

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

15 years agoFrom Mark C. Brown: add 100VG support.
guy [Thu, 14 Oct 2004 21:59:17 +0000 (21:59 +0000)]
From Mark C. Brown: add 100VG support.

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

15 years agofrom Francisco Alcoba: mention TortoiseSVN diff and patch features
ulfl [Thu, 14 Oct 2004 18:05:39 +0000 (18:05 +0000)]
from Francisco Alcoba: mention TortoiseSVN diff and patch features

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

15 years agoFix bugs to get it working on gtk1 and gtk2.
tuexen [Thu, 14 Oct 2004 16:23:11 +0000 (16:23 +0000)]
Fix bugs to get it working on gtk1 and gtk2.
Some clean ups.

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

15 years agoadd support in packet-kerberos to use MIT Kerberos API to parse keytabs and decrypt...
sahlberg [Thu, 14 Oct 2004 09:51:54 +0000 (09:51 +0000)]
add support in packet-kerberos to use MIT Kerberos API to parse keytabs and decrypt blobs
if HAVE_KERBEROS and HAVE_MIT_KERBEROS are both defined in config.h

Now we need someone to hack up the required automake magic to detect MIT Kerberos and massage the makefiles accordingly.

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

15 years agoUse "tvb_format_stringzpad()" rather than "tvb_format_text()", as per
guy [Thu, 14 Oct 2004 08:02:58 +0000 (08:02 +0000)]
Use "tvb_format_stringzpad()" rather than "tvb_format_text()", as per
RFC 2132, which says

Options containing NVT ASCII data SHOULD NOT include a trailing
NULL; however, the receiver of such options MUST be prepared to
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
delete trailing nulls if they exist.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

15 years agoGet rid of C++ comments.
guy [Thu, 14 Oct 2004 07:42:31 +0000 (07:42 +0000)]
Get rid of C++ comments.

Add more COPS client type values from the IANA cops-parameters page.

Get rid of per-dissection static variables - pass them as parameters.

Make functions not used outside packet-cops.c static.

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

15 years agoAdd the application ID for credit control, as per
guy [Thu, 14 Oct 2004 03:29:35 +0000 (03:29 +0000)]
Add the application ID for credit control, as per
draft-ietf-aaa-diameter-cc-06.

Indicate where the Diameter application IDs for 3GPP stuff came from.

Update URLs for various Diameter drafts.

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

15 years agoGive Steve Sommars' real name and work e-mail address.
guy [Wed, 13 Oct 2004 23:03:56 +0000 (23:03 +0000)]
Give Steve Sommars' real name and work e-mail address.

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