obnox/wireshark/wip.git
17 years agoFrom J. Bruce Fields:
jake [Sat, 3 Feb 2007 20:31:40 +0000 (20:31 +0000)]
From J. Bruce Fields:
Fix an obvious error in the nfs4 stateid parsing.  The stateid is used in a number of common operations (such as open and setattr), so this caused a lot of misparsing.

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

17 years ago... no it won't, that's why I removed them ...
ulfl [Sat, 3 Feb 2007 19:37:59 +0000 (19:37 +0000)]
... no it won't, that's why I removed them ...

Put the quotes around the places where HHC_DIR is used, that should work.

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

17 years agoQuotes around HHC_DIR required so build doesn't fail;
wmeier [Sat, 3 Feb 2007 19:33:32 +0000 (19:33 +0000)]
Quotes around HHC_DIR required so build doesn't fail;
Will the buildbot "build docs" step work ? Let's see

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

17 years agoImprove layout of listings and long URL's
jake [Sat, 3 Feb 2007 17:27:57 +0000 (17:27 +0000)]
Improve layout of listings and long URL's

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

17 years agoupdates to the LOG SELECT CDB decoding
sahlberg [Sat, 3 Feb 2007 16:21:21 +0000 (16:21 +0000)]
updates to the LOG SELECT CDB decoding

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

17 years agosecond iteration:
lego [Sat, 3 Feb 2007 14:25:02 +0000 (14:25 +0000)]
second iteration:
* fields of an uat table now are passed using an array of uat_filed_t
* field callbacks take two more userdata arguments
* add some macros to define uat field callbacks.
* uats can be registered as preferences for a specific protocol
   - the preference widget is a button that opens the uat's window
* dfilter-macro => reflect changes to API

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

17 years agomention lynx, it's mandatory and needed to create plain text version of the release...
ulfl [Sat, 3 Feb 2007 08:01:16 +0000 (08:01 +0000)]
mention lynx, it's mandatory and needed to create plain text version of the release-notes (aka NEWS)

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

17 years agofix HHC_DIR to work
ulfl [Sat, 3 Feb 2007 07:54:18 +0000 (07:54 +0000)]
fix HHC_DIR to work

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

17 years agocleanup docbook related comments
ulfl [Sat, 3 Feb 2007 05:13:39 +0000 (05:13 +0000)]
cleanup docbook related comments

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

17 years ago- update information to the latest changes
ulfl [Sat, 3 Feb 2007 04:09:22 +0000 (04:09 +0000)]
- update information to the latest changes
- redesign parts of the file
- remove some redundant information
- remove tabs, tabs don't work well!

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

17 years agomove docbook related settings from docbook/Makefile.nmake to config.nmake - having...
ulfl [Sat, 3 Feb 2007 04:06:43 +0000 (04:06 +0000)]
move docbook related settings from docbook/Makefile.nmake to config.nmake - having only one place to configure it all :-)

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

17 years agoremove Unix related stuff, as this file is Win32 only
ulfl [Sat, 3 Feb 2007 02:09:39 +0000 (02:09 +0000)]
remove Unix related stuff, as this file is Win32 only

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

17 years agoremove Win32/cygwin remains, as these files are Unix only now
ulfl [Sat, 3 Feb 2007 02:01:25 +0000 (02:01 +0000)]
remove Win32/cygwin remains, as these files are Unix only now

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

17 years agoMinor documentation updates.
sfisher [Fri, 2 Feb 2007 22:06:20 +0000 (22:06 +0000)]
Minor documentation updates.

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

17 years agoFix dist.
gerald [Fri, 2 Feb 2007 20:07:58 +0000 (20:07 +0000)]
Fix dist.

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

17 years agoAdd a Windows installer icon. Remove the ARGB versions from the other
gerald [Fri, 2 Feb 2007 18:45:23 +0000 (18:45 +0000)]
Add a Windows installer icon.  Remove the ARGB versions from the other
Windows icons.

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

17 years agoAdd an installer icon.
gerald [Fri, 2 Feb 2007 18:43:25 +0000 (18:43 +0000)]
Add an installer icon.

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

17 years agoCorrected handling of udp messages, don't call tcp_dissect_pdus for udp fragments
grahamb [Fri, 2 Feb 2007 10:21:43 +0000 (10:21 +0000)]
Corrected handling of udp messages, don't call tcp_dissect_pdus for udp fragments

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

17 years agoreplace a rotating buffer for the udp header structure with ep allocated memory
sahlberg [Fri, 2 Feb 2007 08:47:43 +0000 (08:47 +0000)]
replace a rotating buffer for the udp header structure with ep allocated memory

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

17 years agoAssign the cancel button (so you can hit the escape key) on the capture/display
sfisher [Fri, 2 Feb 2007 01:09:41 +0000 (01:09 +0000)]
Assign the cancel button (so you can hit the escape key) on the capture/display
filter dialog box

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

17 years agoAdd more examples to eth.addr display filter examples, including the new
sfisher [Fri, 2 Feb 2007 00:32:33 +0000 (00:32 +0000)]
Add more examples to eth.addr display filter examples, including the new
xxxx.xxxx.xxxx format recently introduced

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

17 years agoIan Schorr <ian.schorr@gmail.com>
sahlberg [Thu, 1 Feb 2007 20:56:36 +0000 (20:56 +0000)]
Ian Schorr <ian.schorr@gmail.com>
Wed, Jan 31, 2007 at 7:24 PM
To: wireshark-dev@wireshark.org

Hello,

Please consider for checkin the following new dissectors, for the FMP protocol.

FMP (File Mapping Protocol) is the network protocol basis for EMC's HighRoad (MPFS) technology.  Highroad is used to allow multiple clients to share access to NAS-shared files while allowing clients to directly access data volumes (via, for example, Fibre Channel or iSCSI).  EMC currently uses this technology in our Celerra NAS servers, and we're currently in the process of open sourcing portions of the technology.

FMP actually consists of two ONC/RPC-based protocols - the core FMP protocol, and FMP/Notify.  The latter is used as an asynchronous callback to inform clients of status changes, such as lock revocation.

We'd like to offer these dissectors to Wireshark users for help in debugging or otherwise troubleshooting MPFS-related problems.  There are still a few minor changes that need to be made ( i.e. a handful of fields that aren't decoded) but the dissector is overall fairly complete and very usable.

Let me know if there are questions or feedback, or otherwise if other info is needed (like sample captures, which I don't want to send out to the mailing list).

Thanks,
Ian Schorr
EMC Corporation

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

17 years agoDon't call subdissector for dynamic PT based on PT number if conversation info exists.
etxrab [Thu, 1 Feb 2007 20:49:34 +0000 (20:49 +0000)]
Don't call subdissector for dynamic PT based on PT number if conversation info exists.

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

17 years agoFix a link.
gerald [Thu, 1 Feb 2007 20:31:59 +0000 (20:31 +0000)]
Fix a link.

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

17 years agoFix a ulink tag.
gerald [Thu, 1 Feb 2007 20:29:17 +0000 (20:29 +0000)]
Fix a ulink tag.

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

17 years agouse the correct offset to access the service action in PERSISTENT RESERVE IN
sahlberg [Thu, 1 Feb 2007 20:10:51 +0000 (20:10 +0000)]
use the correct offset to access the service action in PERSISTENT RESERVE IN

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

17 years agoThe contents of the NEWS file come from the release notes. Back-port
gerald [Thu, 1 Feb 2007 18:35:14 +0000 (18:35 +0000)]
The contents of the NEWS file come from the release notes.  Back-port
the changes in r20642 to release-notes.xml.  Add "news" targes to the
docbook makefiles to copy release-notes.txt to NEWS.

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

17 years agoOK, fix it properly by adding test after config.h has been included...
martinm [Thu, 1 Feb 2007 12:34:28 +0000 (12:34 +0000)]
OK, fix it properly by adding test after config.h has been included...

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

17 years agoFix with-pcap build by disabling HAVE_LIBPCAP guard for now, for some reason it isn...
martinm [Thu, 1 Feb 2007 12:28:35 +0000 (12:28 +0000)]
Fix with-pcap build by disabling HAVE_LIBPCAP guard for now, for some reason it isn't defined when building this file.

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

17 years agologoncontrol2 response is a Win32 error code not an nt status code
sahlberg [Thu, 1 Feb 2007 10:10:15 +0000 (10:10 +0000)]
logoncontrol2 response is a Win32 error code   not an nt status code

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

17 years agoFrom Abhik Sarkar: support for decoding SS7 MSUs embedded in a syslog message
morriss [Thu, 1 Feb 2007 09:55:52 +0000 (09:55 +0000)]
From Abhik Sarkar: support for decoding SS7 MSUs embedded in a syslog message
(as generated by the Cisco ITP packet logging facility).

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

17 years agomake tshark compile and work also when pcap is not available
sahlberg [Thu, 1 Feb 2007 09:04:46 +0000 (09:04 +0000)]
make tshark compile and work also when pcap is not available

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

17 years agothere is no point in pcapio unless we have PCAP available.
sahlberg [Thu, 1 Feb 2007 08:38:54 +0000 (08:38 +0000)]
there is no point in pcapio unless we have PCAP available.

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

17 years agowe dont have auto_scroll_live if we dont have PCAP so ifdef this out unless PCAP...
sahlberg [Thu, 1 Feb 2007 08:37:54 +0000 (08:37 +0000)]
we dont have auto_scroll_live if we dont have PCAP so ifdef this out unless PCAP is available
(to allow it to compile when pcap is not available)

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

17 years agodont ifdef out main_window_exit() if we dont have PCAP since this symbol is required...
sahlberg [Thu, 1 Feb 2007 08:36:35 +0000 (08:36 +0000)]
dont ifdef out main_window_exit() if we dont have PCAP since this symbol is required even without pcap

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

17 years agoAllow byte strings (FT_BYTES) to have four digits seperated by - : and .
sfisher [Thu, 1 Feb 2007 01:37:34 +0000 (01:37 +0000)]
Allow byte strings (FT_BYTES) to have four digits seperated by - : and .
in addition to the currently supported two or one digit at a time.  This
applies in particular to the FT_ETHER MAC addresses, so that a MAC address
can now be entered as xxxx.xxxx.xxxx in addition to the traditional formats.

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

17 years agoLet the user (e.g. one named "buildbot") specify the location of FOP.
gerald [Thu, 1 Feb 2007 01:15:07 +0000 (01:15 +0000)]
Let the user (e.g. one named "buildbot") specify the location of FOP.

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

17 years agoFrom Andrej Mikus:
gerald [Wed, 31 Jan 2007 23:26:29 +0000 (23:26 +0000)]
From Andrej Mikus:

  IMO, the function should return an error string instead of cowardly
  bailing out with an empty string.

  inet_ntop does the latter by default, so it does not need any additional
  check, just passing buf_len instead of INET6_ADDRSTRLEN.

  At the other side I like the check you made into ip_to_str_buf.

  My proposal would be to combine the patches and use MAX_IP_STR_LEN,
  and approach below for both IPv4 and IPv6 in address_to_str_buf.

Have the error string return a more descriptive clue.

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

17 years agoExtend the events valuestring with Bearer Modification Support Event.
etxrab [Wed, 31 Jan 2007 22:59:41 +0000 (22:59 +0000)]
Extend the events valuestring with Bearer Modification Support Event.

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

17 years agoSync with the 0.99.5 release.
gerald [Wed, 31 Jan 2007 22:55:55 +0000 (22:55 +0000)]
Sync with the 0.99.5 release.

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

17 years agoAdd uat_load.c to the distclean target for generated files.
etxrab [Wed, 31 Jan 2007 22:35:08 +0000 (22:35 +0000)]
Add uat_load.c to the distclean target for generated files.

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

17 years agoFrom Douglas Pratley: Documentation updates for new copy packet data features
sfisher [Wed, 31 Jan 2007 21:30:19 +0000 (21:30 +0000)]
From Douglas Pratley: Documentation updates for new copy packet data features
checked in as SVN revision 20581.

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

17 years agoAdd some missing RFC references to header long text.
martinm [Wed, 31 Jan 2007 17:42:45 +0000 (17:42 +0000)]
Add some missing RFC references to header long text.

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

17 years agoMajor upgrades to dissector: Added defragmentation of tcp pdus, fixed defragmention...
grahamb [Wed, 31 Jan 2007 13:58:55 +0000 (13:58 +0000)]
Major upgrades to dissector: Added defragmentation of tcp pdus, fixed defragmention of application layer fragments, many more object types decoded thanks to Chris Bontje

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

17 years agoFix bug 1332 properly.
martinm [Wed, 31 Jan 2007 10:57:54 +0000 (10:57 +0000)]
Fix bug 1332 properly.

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

17 years agoMerge Anders' and my own fixes to some bugs
lego [Wed, 31 Jan 2007 09:30:08 +0000 (09:30 +0000)]
Merge Anders' and my own fixes to some bugs
- most paramaters have data set to NULL, have them added to the tree
- avoid the context tracing mecanism bailing out if a ContextList appears in the packet.
- in q9150 do not attempt to dissect sdp unless we believe it is sdp
    (BTW we need heuristics for sdp and other potential payloads of this parameter..)

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

17 years agoslightly better explain the user's guide "component"
ulfl [Wed, 31 Jan 2007 06:45:46 +0000 (06:45 +0000)]
slightly better explain the user's guide "component"

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

17 years agoDon't send G_LOG_LEVEL_ERROR|G_LOG_LEVEL_CRITICAL|G_LOG_FLAG_FATAL|G_LOG_FLAG_RECURSI...
morriss [Wed, 31 Jan 2007 06:01:14 +0000 (06:01 +0000)]
Don't send G_LOG_LEVEL_ERROR|G_LOG_LEVEL_CRITICAL|G_LOG_FLAG_FATAL|G_LOG_FLAG_RECURSION to log_func_ignore() so that error messages from g_assert() get printed (by glib's default handler).  Without this change developers only get a message saying the program aborted and maybe (if they're lucky^H^H^H^H^Hconfigured correctly) a core file.  The latter would allow them to find out what went wrong but it would be much easier to just see the error message.

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

17 years agoinstead of putting the MSC_VER_REQUIRED test into the root Makefile (which would...
ulfl [Wed, 31 Jan 2007 05:26:41 +0000 (05:26 +0000)]
instead of putting the MSC_VER_REQUIRED test into the root Makefile (which would require to change ALL makefiles - the buildbot revealed it), simply put it in the wiretap generation. As wiretap is mandatory and one of the first things to be build this doesn't even sound like a bad idea anyway ...

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

17 years agofix a cut-n-paste error, to fix buildbot problem
ulfl [Wed, 31 Jan 2007 04:34:58 +0000 (04:34 +0000)]
fix a cut-n-paste error, to fix buildbot problem

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

17 years agoOnly certain 'base' values make sense in 'prefs_register_uint_preference()': 0 and...
morriss [Wed, 31 Jan 2007 04:14:11 +0000 (04:14 +0000)]
Only certain 'base' values make sense in 'prefs_register_uint_preference()': 0 and 2-36.  Assert out if a different value is found.

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

17 years ago- add some links about U3
ulfl [Wed, 31 Jan 2007 03:49:09 +0000 (03:49 +0000)]
- add some links about U3
- fix some typos
- mention that uninstalling WS from the stick removes personal settings

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

17 years ago- correct the U3 section and add a link
ulfl [Wed, 31 Jan 2007 03:36:25 +0000 (03:36 +0000)]
- correct the U3 section and add a link
- it's called "places bar", will help if someone e.g. googles on this
- mention that the last known version for Win9x was Ethereal 0.99.0 and add a link

this should go into 0.99.5!

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

17 years agodfilter-macro.c is in SVN, it should not be in MAINTAINERCLEANFILES (else we have...
morriss [Wed, 31 Jan 2007 03:30:49 +0000 (03:30 +0000)]
dfilter-macro.c is in SVN, it should not be in MAINTAINERCLEANFILES (else we have to re-fetch the file from svn each time we make maintainer-clean

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

17 years agobackup of some design work of the Wireshark "Welcome" page - the one shown when no...
ulfl [Wed, 31 Jan 2007 03:08:39 +0000 (03:08 +0000)]
backup of some design work of the Wireshark "Welcome" page - the one shown when no trace file is loaded - this page is still disabled.

This is only a "personal backup" of some design ideas / experiments for this page - and needs a lot more work / cleanup. I'm checking this in just to prevent data loss.

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

17 years agouse window_present() as discussed
ulfl [Wed, 31 Jan 2007 03:05:03 +0000 (03:05 +0000)]
use window_present() as discussed

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

17 years ago#include stdlib.h so uat.h can find size_t (at least on Solaris). Add newline to...
morriss [Wed, 31 Jan 2007 02:55:14 +0000 (02:55 +0000)]
#include stdlib.h so uat.h can find size_t (at least on Solaris).  Add newline to end of macros_dlg.h (just to prevent a compiler warning)

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

17 years agoC preprocessor only handles integers for conditional compilation. Build MSC_VER_REQUI...
ulfl [Wed, 31 Jan 2007 02:23:06 +0000 (02:23 +0000)]
C preprocessor only handles integers for conditional compilation. Build MSC_VER_REQUIRED in config.nmake and compare it with _MSC_VER in config.h.win32

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

17 years agoExplain what 'base' in 'prefs_register_uint_preference()' is: it's used in 'strtoul()'
morriss [Wed, 31 Jan 2007 01:59:12 +0000 (01:59 +0000)]
Explain what 'base' in 'prefs_register_uint_preference()' is: it's used in 'strtoul()'

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

17 years agoFix bug 1328 and related bugs found when examining the trace.
etxrab [Tue, 30 Jan 2007 22:52:09 +0000 (22:52 +0000)]
Fix bug 1328 and related bugs found when examining the trace.

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

17 years agoAdd descriptions to radiotap fields. Fix some formatting. Add an extra
sfisher [Tue, 30 Jan 2007 20:57:51 +0000 (20:57 +0000)]
Add descriptions to radiotap fields.  Fix some formatting.  Add an extra
linebreak between hf field definitions for readability.

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

17 years agoFrom Paolo Abeni: update to support the new DLT_USB_LINUX format header.
guy [Tue, 30 Jan 2007 20:07:55 +0000 (20:07 +0000)]
From Paolo Abeni: update to support the new DLT_USB_LINUX format header.

Modified to support the header as a pseudo_header rather than as part of
the packet data.

Fixed some calls that fetch data from the USB packet to fetch it in
little-endian byte order.

Got rid of redundant code to get conversation-specific data (the
get_usb_conv_info() call already does that).

For control packets, only parse the setup information if setup_flag is
0.

Don't interpret a control packet as a standard request unless the setup
type is "Standard".

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

17 years agoFrom Patrick vd Lageweg:
sfisher [Tue, 30 Jan 2007 19:43:29 +0000 (19:43 +0000)]
From Patrick vd Lageweg:

The PERSISTENT REVERVE OUT dissectors uses the table of the PERSISTENT REVERVE
IN command to decode the Service Action field which is obviously not correct.
This patch fixes the problem.

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

17 years agoBased on suggestion from Guy Harris.
jake [Tue, 30 Jan 2007 18:06:11 +0000 (18:06 +0000)]
Based on suggestion from Guy Harris.
Trying to get things working on Win32 (cygwin) and GNU/Linux etc.

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

17 years agoSize passed to IP address fields is now fixed (reported AVP size includes 2 bytes...
martinm [Tue, 30 Jan 2007 13:39:58 +0000 (13:39 +0000)]
Size passed to IP address fields is now fixed (reported AVP size includes 2 bytes of padding), causing assertion reported in bug 1332.

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

17 years agoSwitch to WinPcap 4.0.
gerald [Tue, 30 Jan 2007 07:16:01 +0000 (07:16 +0000)]
Switch to WinPcap 4.0.

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

17 years agoFix bug 1328 (Still Malformed packet) update some of the other packages.
etxrab [Tue, 30 Jan 2007 06:16:39 +0000 (06:16 +0000)]
Fix bug 1328 (Still Malformed packet) update some of the other packages.

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

17 years agoShow the channel frequencies in the wireless (AirPcap) toolbar next to the channel...
sfisher [Tue, 30 Jan 2007 01:57:34 +0000 (01:57 +0000)]
Show the channel frequencies in the wireless (AirPcap) toolbar next to the channel number in the drop-down list.

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

17 years agoif wireshark-gtk2.exe.manifest doesn't exist, don't try to copy it - hopefully fixes...
ulfl [Tue, 30 Jan 2007 01:26:56 +0000 (01:26 +0000)]
if wireshark-gtk2.exe.manifest doesn't exist, don't try to copy it - hopefully fixes the buildbot...

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

17 years agodo not use yy_flex_realloc()
lego [Tue, 30 Jan 2007 00:05:22 +0000 (00:05 +0000)]
do not use yy_flex_realloc()

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

17 years agocall gtk_window_present() only on GTK >= 2.x, should fix current compilation problems.
ulfl [Mon, 29 Jan 2007 23:29:11 +0000 (23:29 +0000)]
call gtk_window_present() only on GTK >= 2.x, should fix current compilation problems.

I don't have tested this on a GTK 1.x system...

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

17 years agofix compiler version detection logic, sorry for the noise!
ulfl [Mon, 29 Jan 2007 22:40:52 +0000 (22:40 +0000)]
fix compiler version detection logic, sorry for the noise!

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

17 years agosplit docbook generation makefiles into nmake and GNU make variants (together with...
ulfl [Mon, 29 Jan 2007 22:15:13 +0000 (22:15 +0000)]
split docbook generation makefiles into nmake and GNU make variants (together with Makefile.common), just like all the other directories have it. This way makes it easier to get settings from config.nmake and probably makefile.am will be easier to do. In addition we don't need GNU make for Win32 generation.

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

17 years agoUpdate value strings.
etxrab [Mon, 29 Jan 2007 21:30:06 +0000 (21:30 +0000)]
Update value strings.

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

17 years agoAdd some missing defines for uat_gui.c
etxrab [Mon, 29 Jan 2007 21:27:48 +0000 (21:27 +0000)]
Add some missing defines for uat_gui.c

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

17 years agoFix a typo (double ;;).
etxrab [Mon, 29 Jan 2007 21:26:08 +0000 (21:26 +0000)]
Fix a typo (double ;;).

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

17 years agoComment out Ulfs changes to be able to do a test build.
etxrab [Mon, 29 Jan 2007 20:58:46 +0000 (20:58 +0000)]
Comment out Ulfs changes to be able to do a test build.

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

17 years agoImprove the handling of INIT/ABORT mesage pairs.
tuexen [Mon, 29 Jan 2007 20:44:59 +0000 (20:44 +0000)]
Improve the handling of INIT/ABORT mesage pairs.

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

17 years agoFix potential buffer overruns in address_to_str_buf() found by Andrej
gerald [Mon, 29 Jan 2007 20:25:26 +0000 (20:25 +0000)]
Fix potential buffer overruns in address_to_str_buf() found by Andrej
Mikus.  Add a buf_len parameter to ip_to_str_buf(), and make sure it's
enforced.  Copy the release notes over from the 0.99.5 trunk and add a
note about the ISUP dissector (which is affected by the overrun).

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

17 years agoFrom Francesco Fondelli:
jake [Mon, 29 Jan 2007 18:06:45 +0000 (18:06 +0000)]
From Francesco Fondelli:
Gerrit Renker fixed a bug in DCCP dissector about long timestamps. (bad offsets)
He wrote:
> attached is a patch which updates the offsets of the timestamps.
> I have verified this against [RFC 4342, sec. 13] and it seems correct.

Also fixed file properties

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

17 years agoFinish (?) UAT's GUI
lego [Mon, 29 Jan 2007 14:14:01 +0000 (14:14 +0000)]
Finish (?) UAT's GUI

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

17 years agolittle helper script that sets props after adding a file
lego [Mon, 29 Jan 2007 14:12:57 +0000 (14:12 +0000)]
little helper script that sets props after adding a file

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

17 years agosome cleanup and pset of svn:ignore
lego [Mon, 29 Jan 2007 14:11:44 +0000 (14:11 +0000)]
some cleanup and pset of svn:ignore

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

17 years agoDelist Windows 98 as possible platform
jake [Mon, 29 Jan 2007 12:38:48 +0000 (12:38 +0000)]
Delist Windows 98 as possible platform

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

17 years ago load_snmp_users_file.l hasn't been dropped (yet)
lego [Mon, 29 Jan 2007 10:31:48 +0000 (10:31 +0000)]
 load_snmp_users_file.l  hasn't been dropped (yet)

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

17 years agouat_load.l improve error reporting
lego [Mon, 29 Jan 2007 10:29:50 +0000 (10:29 +0000)]
uat_load.l improve error reporting
Makefile.am add uat_load.l to distribution

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

17 years agoActually this is the UAT GUI...
lego [Mon, 29 Jan 2007 10:25:54 +0000 (10:25 +0000)]
Actually this is the UAT GUI...

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

17 years agoThe UAT gui starts to work
lego [Mon, 29 Jan 2007 10:23:38 +0000 (10:23 +0000)]
The UAT gui starts to work

set the macros_dlg to use it

add a dummy dfilter_macros file to supress a warning at startup

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

17 years agosvn:ignore uat_load.c
lego [Mon, 29 Jan 2007 05:02:14 +0000 (05:02 +0000)]
svn:ignore uat_load.c
$Id$ for uat.h uat-int.h

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

17 years agoDrop dfilter_macro_load.l as dfilter-macro now uses UAT
lego [Mon, 29 Jan 2007 04:57:23 +0000 (04:57 +0000)]
Drop dfilter_macro_load.l as dfilter-macro now uses UAT

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

17 years agonow it is operational.
lego [Mon, 29 Jan 2007 04:47:58 +0000 (04:47 +0000)]
now it is operational.

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

17 years agoremove unused "cant_get_if_list_errstr" warning
ulfl [Sun, 28 Jan 2007 23:48:53 +0000 (23:48 +0000)]
remove unused "cant_get_if_list_errstr" warning

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

17 years agoadd some manifest files (on demand), otherwise u3 package won't work with MSVC!=6...
ulfl [Sun, 28 Jan 2007 23:36:13 +0000 (23:36 +0000)]
add some manifest files (on demand), otherwise u3 package won't work with MSVC!=6 (note that it still might need to provide msvcr*.dll files, I currently don't have a machine to test)

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

17 years agoHave a real JAVA_OPTS symbol for fop on Debian
jake [Sun, 28 Jan 2007 21:26:13 +0000 (21:26 +0000)]
Have a real JAVA_OPTS symbol for fop on Debian

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

17 years agoadd a check if the MSVC_VARIANT setting and the current _MSC_VER #define matches...
ulfl [Sun, 28 Jan 2007 20:58:50 +0000 (20:58 +0000)]
add a check if the MSVC_VARIANT setting and the current _MSC_VER #define matches - to avoid problems if a developer forgets to set MSVC_VARIANT in config.nmake corresponding to his environment

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

17 years agoNow need to use interface #2 ??
wmeier [Sun, 28 Jan 2007 20:41:50 +0000 (20:41 +0000)]
Now need to use interface #2 ??

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

17 years agoAdd some debug output so can see why failure when buildbot runs this script
wmeier [Sun, 28 Jan 2007 18:56:17 +0000 (18:56 +0000)]
Add some debug output so can see why failure when buildbot runs this script

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

17 years agowsluarm.pdf => wsluarm-a4.pdf wsluarm-us.pdf
lego [Sun, 28 Jan 2007 18:37:23 +0000 (18:37 +0000)]
wsluarm.pdf => wsluarm-a4.pdf wsluarm-us.pdf

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

17 years agoIf no packets in input file then don't calc packets/sec, etc
wmeier [Sun, 28 Jan 2007 17:33:14 +0000 (17:33 +0000)]
If no packets in input file then don't calc packets/sec, etc

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

17 years agoAlthough yet untested (but it compiles and is still unused) add UAT to the repo.
lego [Sun, 28 Jan 2007 10:31:32 +0000 (10:31 +0000)]
Although yet untested (but it compiles and is still unused) add UAT to the repo.
UAT is an API to handle User Accessible Tables,
an UAT is basically an array of arbitrary structs that has a file representation
as a mean for mantaining things like:
- the snmp_users_table
- dfilter macros
- ipsec/ssl key bindings
- k12 configuration,
- and many other table-like user modifiable preferences

comming soon gtk's uat_window() and prefs_add_uat()

uat.h is fairly doc[uo]m[m]?ented, a README with a simple example of how is to be used will be available as I write them

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