obnox/wireshark/wip.git
17 years agoExport the split fvalue_get_integer as fvalue_get_uinteger and fvalue_get_sinteger
jake [Thu, 18 Jan 2007 16:36:10 +0000 (16:36 +0000)]
Export the split fvalue_get_integer as fvalue_get_uinteger and fvalue_get_sinteger

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

17 years agofix the dfilter_macro_load.c rule
lego [Thu, 18 Jan 2007 15:32:01 +0000 (15:32 +0000)]
fix the dfilter_macro_load.c rule

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

17 years agoI actually forgot that dfilter_macro_expand.l was not used
lego [Thu, 18 Jan 2007 15:00:39 +0000 (15:00 +0000)]
I actually  forgot that dfilter_macro_expand.l was not used

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

17 years agoThe forgotten file strikes back...
lego [Thu, 18 Jan 2007 14:56:03 +0000 (14:56 +0000)]
The forgotten file strikes back...

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

17 years agoFilled in missing hf entries.
martinm [Thu, 18 Jan 2007 14:41:59 +0000 (14:41 +0000)]
Filled in missing hf entries.

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

17 years agoFix version_info.c compilation
lego [Thu, 18 Jan 2007 14:04:49 +0000 (14:04 +0000)]
Fix version_info.c compilation

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

17 years agoRemove extra element.
martinm [Thu, 18 Jan 2007 13:13:55 +0000 (13:13 +0000)]
Remove extra element.

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

17 years agoImprove information on building plugins.
jake [Thu, 18 Jan 2007 12:22:21 +0000 (12:22 +0000)]
Improve information on building plugins.

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

17 years agoFrom Clay Jones: Shomiti wireless packet support.
guy [Thu, 18 Jan 2007 12:19:17 +0000 (12:19 +0000)]
From Clay Jones: Shomiti wireless packet support.

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

17 years agoMissed this one (I don't build with pcre)
martinm [Thu, 18 Jan 2007 11:44:24 +0000 (11:44 +0000)]
Missed this one (I don't build with pcre)

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

17 years agoTrying to fix the build on Ubuntu-5.10-x86 buildbot again.
jake [Thu, 18 Jan 2007 11:28:47 +0000 (11:28 +0000)]
Trying to fix the build on Ubuntu-5.10-x86 buildbot again.

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

17 years agoAdd separate union entries to fvalue.value for signed and unsigned
martinm [Thu, 18 Jan 2007 11:02:26 +0000 (11:02 +0000)]
Add separate union entries to fvalue.value for signed and unsigned
32-bit numbers.  Separate signed and unsigned accessors have been
added and used where appropriate.

Definitely not for 0.99.5.

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

17 years agoTrying to get buildbot Ubuntu-5.10-x86 to build again.
jake [Thu, 18 Jan 2007 07:10:02 +0000 (07:10 +0000)]
Trying to get buildbot Ubuntu-5.10-x86 to build again.
Fix typo.

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

17 years agoNOT for 0.99.5
lego [Thu, 18 Jan 2007 03:21:22 +0000 (03:21 +0000)]
NOT for 0.99.5
macro_dlg.h was in this other file!

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

17 years agonot for 0.99.5
lego [Thu, 18 Jan 2007 03:17:33 +0000 (03:17 +0000)]
not for 0.99.5
add macro_dlg.h and macro_dlg.c

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

17 years agothe version string stated "without Lua" regardless or not Lua support was indeed...
lego [Thu, 18 Jan 2007 03:13:10 +0000 (03:13 +0000)]
the version string stated "without Lua" regardless or not Lua support was indeed built.

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

17 years agodisplay filter macros.
lego [Thu, 18 Jan 2007 02:54:56 +0000 (02:54 +0000)]
display filter macros.
NOT to be copied over to release 0.99.5

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

17 years agocheck if we have a finfo before dereferencing it later in PROTO_ITEM_IS_HIDDEN()
sahlberg [Wed, 17 Jan 2007 21:05:44 +0000 (21:05 +0000)]
check if we have a finfo before dereferencing it later in PROTO_ITEM_IS_HIDDEN()

this prevents wireshark from crashing on X Liu's kerberos capture files

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

17 years agoUpdate to use the latest GTK packages.
etxrab [Wed, 17 Jan 2007 19:14:11 +0000 (19:14 +0000)]
Update to use the latest GTK packages.
Win32-setup.sh changed to overwrite existing folders.

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

17 years agoFrom Patrick vd Lageweg:
jake [Wed, 17 Jan 2007 17:11:09 +0000 (17:11 +0000)]
From Patrick vd Lageweg:
The "NUMBER OF BLOCKS" field in the SCSI MODE SENSE return data is 24 bits and not 32 bits. This patch fixes that.

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

17 years agoOops, set properties on the new file
morriss [Wed, 17 Jan 2007 16:41:40 +0000 (16:41 +0000)]
Oops, set properties on the new file

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

17 years agoproductions of non-terminal "sentence" do not generate any value. Avoid a destructor...
lego [Wed, 17 Jan 2007 16:41:22 +0000 (16:41 +0000)]
productions of non-terminal "sentence" do not generate any value. Avoid a destructor being called for them.

see http://www.sqlite.org/cvstrac/tktview?tn=2172

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

17 years agoFrom Sebastien Tandel: Support for the dissection of the Intellon homeplug powerline...
morriss [Wed, 17 Jan 2007 16:34:11 +0000 (16:34 +0000)]
From Sebastien Tandel: Support for the dissection of the Intellon homeplug powerline protocol based on INT51X1 specification.

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

17 years agoDissekt ControlChannelData.
etxrab [Tue, 16 Jan 2007 22:51:08 +0000 (22:51 +0000)]
Dissekt ControlChannelData.

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

17 years agoFrom Gisle Vanem: Add the final ) to a g_strdup_printf call
sfisher [Tue, 16 Jan 2007 21:16:45 +0000 (21:16 +0000)]
From Gisle Vanem: Add the final ) to a g_strdup_printf call

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

17 years agoFrom Gisle Vanem:
jake [Tue, 16 Jan 2007 19:27:25 +0000 (19:27 +0000)]
From Gisle Vanem:
* <epan/crypt/crypt-md5.h> must come after <glib.h> because of
  'guint8' etc.
* Include <wiretap/file_util.h> because of eth_fopen().

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

17 years agoFrom Sebastien Tandeil:
jake [Tue, 16 Jan 2007 19:13:09 +0000 (19:13 +0000)]
From Sebastien Tandeil:
a patch to avoid the warning "implicit declaration of function
'strptime'" in editcap.c
glib.h is included just after the define __USE_XOPEN and include <time.h>

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

17 years agoShould have done this in the last checkin: wrap help_topic_html() in #ifdef(GLIB2...
morriss [Tue, 16 Jan 2007 17:40:00 +0000 (17:40 +0000)]
Should have done this in the last checkin: wrap help_topic_html() in #ifdef(GLIB2) as it's only used (and only works) there

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

17 years agoFrom Steve Karg:
jake [Tue, 16 Jan 2007 16:53:01 +0000 (16:53 +0000)]
From Steve Karg:
I added some text for enumerations that were added with addenda recently approved for the BACnet standard.

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

17 years agoIt looks that their fix to my fix broke things out...
lego [Tue, 16 Jan 2007 16:41:12 +0000 (16:41 +0000)]
It looks that their fix to my fix broke things out...

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

17 years agohelp_topic_gtk() is needed in GTK 1.2 builds so don't #ifdef(GKT2) it out
morriss [Tue, 16 Jan 2007 16:32:18 +0000 (16:32 +0000)]
help_topic_gtk() is needed in GTK 1.2 builds so don't #ifdef(GKT2) it out

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

17 years agoMake things work on Suse as well, not just Debian
jmayer [Tue, 16 Jan 2007 12:16:56 +0000 (12:16 +0000)]
Make things work on Suse as well, not just Debian

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

17 years agofix registration H.225 over TLS
kukosa [Tue, 16 Jan 2007 07:53:46 +0000 (07:53 +0000)]
fix registration H.225 over TLS

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

17 years agoupdate Ply to version 2.2
kukosa [Tue, 16 Jan 2007 07:31:09 +0000 (07:31 +0000)]
update Ply to version 2.2

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

17 years agoupdate to lemon.c 1.43
lego [Tue, 16 Jan 2007 05:38:55 +0000 (05:38 +0000)]
update to lemon.c 1.43

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

17 years agoin effect use the User's Guide as the online help system now (for GTK > V1)!
ulfl [Tue, 16 Jan 2007 04:08:35 +0000 (04:08 +0000)]
in effect use the User's Guide as the online help system now (for GTK > V1)!

remove ENABLE_WSUG setting from config.nmake and replace it with GLIB_MAJOR_VERSION >= 2 (as Glib 1.x cannot open a browser to show a HTML file - it's just currently? not implemented)

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

17 years agoHelp:
ulfl [Mon, 15 Jan 2007 22:17:24 +0000 (22:17 +0000)]
Help:
- Win32 only: try to load help page from local user-guide.chm (if HHC_DIR is set in config.nmake) and if that fails:
- show corresponding help page directly from www.wireshark.org in the configured web browser.

The "internet way" will be the only way for all UNIX based versions, as they cannot read .chm files.

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

17 years agoDissect SMS-OriginationRestrictions.
etxrab [Mon, 15 Jan 2007 21:07:36 +0000 (21:07 +0000)]
Dissect SMS-OriginationRestrictions.

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

17 years agotwo minor leaks
lego [Mon, 15 Jan 2007 20:14:00 +0000 (20:14 +0000)]
two minor leaks

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

17 years agoFix a major leakage of token minors in lemon generated parsers due to the fact that...
lego [Mon, 15 Jan 2007 19:48:06 +0000 (19:48 +0000)]
Fix a major leakage of token minors in lemon generated parsers due to the fact that lemon was not genmerating destructor code for elements in the RHS of rules without C-code.

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

17 years agoUpdate to get_persdatafile_dir() to choose a default directory on the U3 device that...
gal [Mon, 15 Jan 2007 19:11:29 +0000 (19:11 +0000)]
Update to get_persdatafile_dir() to choose a default directory on the U3 device that Wireshark is being run from.
The U3 Deployment Guide recommends a sub-directory of U3_DEVICE_DOCUMENT_PATH, so the u3util creates a "My Captures" sub-directory to use as the personal data file directory.

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

17 years agoHandle the case where the same TransactionID is used for two different
etxrab [Mon, 15 Jan 2007 14:01:04 +0000 (14:01 +0000)]
Handle the case where the same TransactionID is used for two different
destinations.

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

17 years agoDissect sms-BearerData also in responce messages if service code seen in Invoke.
etxrab [Mon, 15 Jan 2007 10:19:50 +0000 (10:19 +0000)]
Dissect sms-BearerData also in responce messages if service code seen in Invoke.
Pretify a bunch of DigitsType parameters.

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

17 years agoGLib 1.2 doesn't have g_strlcpy(), so don't use it.
gerald [Mon, 15 Jan 2007 07:29:13 +0000 (07:29 +0000)]
GLib 1.2 doesn't have g_strlcpy(), so don't use it.

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

17 years agoinstead of simply doing an assert when running out of memory in emem, throw a new...
ulfl [Mon, 15 Jan 2007 05:16:13 +0000 (05:16 +0000)]
instead of simply doing an assert when running out of memory in emem, throw a new OutOfMemoryError Exception, so file.c can show at least a better explanation to the user before Wireshark terminates

XXX - to prevent a busy wait, I need a portable way to wait for a short time period, like Sleep() for Windows

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

17 years agofix a warning
ulfl [Mon, 15 Jan 2007 04:22:10 +0000 (04:22 +0000)]
fix a warning

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

17 years agoSHGetFolderPath is not available on MSVC 6 without a Platform SDK, use SHGetSpecialFo...
ulfl [Mon, 15 Jan 2007 03:53:20 +0000 (03:53 +0000)]
SHGetFolderPath is not available on MSVC 6 without a Platform SDK, use SHGetSpecialFolderPath instead

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

17 years agominor bugfix of file loading: don't update the packet list if loading a smaller file...
ulfl [Mon, 15 Jan 2007 00:17:32 +0000 (00:17 +0000)]
minor bugfix of file loading: don't update the packet list if loading a smaller file, the update takes longer than the file to load.

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

17 years agofix #301: Windows file dialog should:
ulfl [Sun, 14 Jan 2007 23:28:35 +0000 (23:28 +0000)]
fix #301: Windows file dialog should:
- initially show the "My Documents" folder
- don't use the "open folder" preference setting on save and alike dialogs (we don't do it in the GTK versions either)

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

17 years agofix a bug when freeing newpath - don't g_free(NULL)
ulfl [Sun, 14 Jan 2007 22:45:43 +0000 (22:45 +0000)]
fix a bug when freeing newpath - don't g_free(NULL)

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

17 years agoon my way to fix #301:
ulfl [Sun, 14 Jan 2007 22:25:22 +0000 (22:25 +0000)]
on my way to fix #301:
add a function get_persdatafile_dir() that will return the users personal default data dir Win32:"My Documents" UNIX:"" (for the current dir)

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

17 years agoIf a OCTET STRING has zero length a zero length tvb will be returned - handle that...
etxrab [Sun, 14 Jan 2007 22:20:02 +0000 (22:20 +0000)]
If a OCTET STRING has zero length a zero length tvb will be returned - handle that case
and add pretifications by Graeme Lunt.

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

17 years agoFrom Graeme Lunt:
etxrab [Sun, 14 Jan 2007 20:54:39 +0000 (20:54 +0000)]
From Graeme Lunt:
The problem was that when dissecting the set, if a sub-dissector didn't consume any bytes it was assumed that the correct field hadn't been matched.
This fix matches the field if the sub-dissector consumes no bytes and we know that the length of the field is zero. This is only allowed on the first pass when we are not matching ANYs.
I think this is a fairly safe fix - I've tried it with some other ASN.1

I've also changed dissect_ber_octet_string() to show the zero length fields in the dissection. This shows the fields as "<MISSING>" which is not quite the right explanation as the field is definitely present. Something like "<EMPTY>" or "<ZERO LENGTH>" may be better - but I'm not sure of the reasoning behind "<MISSING>".

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

17 years agotaking a look at it the name_str var is unnecessary
lego [Sun, 14 Jan 2007 20:19:00 +0000 (20:19 +0000)]
taking a look at it the name_str var is unnecessary

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

17 years agoAs pointed out by Sebastien Tandel a buffer is allocated unconditionally when it...
lego [Sun, 14 Jan 2007 20:17:13 +0000 (20:17 +0000)]
As pointed out by Sebastien Tandel a buffer is allocated unconditionally when it might not be necessary.

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

17 years agoDissect cdma2000HandoffInvokeIOSData and response data
etxrab [Sun, 14 Jan 2007 15:29:29 +0000 (15:29 +0000)]
Dissect cdma2000HandoffInvokeIOSData and response data
(Missing .cnf file in previous checkin) add BCD decoded items to Digits type item.

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

17 years agoTrying to get buildbot Ubuntu-5.10-x86 distcheck to build again.
jake [Sun, 14 Jan 2007 13:44:40 +0000 (13:44 +0000)]
Trying to get buildbot Ubuntu-5.10-x86 distcheck to build again.

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

17 years agofix Bug 1301
lego [Sun, 14 Jan 2007 06:13:07 +0000 (06:13 +0000)]
fix Bug 1301

do not let the ascend_open() read more than 256K without finding the first packet.

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

17 years agobugfix: show the "placesbar" (the one with e.g. "My Documents" button) for the variou...
ulfl [Sun, 14 Jan 2007 05:18:07 +0000 (05:18 +0000)]
bugfix: show the "placesbar" (the one with e.g. "My Documents" button) for the various win32 file dialogs.

As a nice side effect, the dir/file part of the dialogs is bigger now, which makes handling of the dialogs much nicer/faster. Yes, it still fits into 800*600 screen resolution.

Needs testing, I might have placed a g_free() call at the wrong place ...

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

17 years agoIgnore another generated file.
guy [Sun, 14 Jan 2007 03:49:17 +0000 (03:49 +0000)]
Ignore another generated file.

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

17 years agoHandle the case ehere TCAP identifier isn't present.
etxrab [Sat, 13 Jan 2007 23:02:06 +0000 (23:02 +0000)]
Handle the case ehere TCAP identifier isn't present.

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

17 years ago- Correct Tag numbering and marking of OPTIONAL.
etxrab [Sat, 13 Jan 2007 19:18:46 +0000 (19:18 +0000)]
- Correct Tag numbering and marking of OPTIONAL.
 - Add some variants of Digits dissection.
 - Correct the DMH-RedirectionIndicator.
- Add reserved bits.

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

17 years agoTidyups:
gal [Sat, 13 Jan 2007 17:01:43 +0000 (17:01 +0000)]
Tidyups:
* clean up more things
* better directory creation
* README update

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

17 years agoHandle zero length invokes and some asn1 fixes.
etxrab [Sat, 13 Jan 2007 16:08:30 +0000 (16:08 +0000)]
Handle zero length invokes and some asn1 fixes.

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

17 years agoU3 support for "recent" files.
gal [Sat, 13 Jan 2007 16:06:28 +0000 (16:06 +0000)]
U3 support for "recent" files.

When the "recent" file is written, any references to files on the U3 device itself are modified to have the drive replace with "$U3_DEVICE_PATH". Similarly, when the recent file is read, "$U3_DEVICE_PATH" is replaced with the current U3 device path.

This ensures that if/when the U3 device path changes when inserting it into different machines, recent captures on the U3 device itself can still be opened from the recent menu.

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

17 years agoNew protocol dissector for PKCS#12 - Personal Information Exchange Syntax.
gal [Sat, 13 Jan 2007 15:26:13 +0000 (15:26 +0000)]
New protocol dissector for PKCS#12 - Personal Information Exchange Syntax.

Generally found within a file (.p12 or .pfx) or as a directory attribute (userPKCS12 from iNetOrgPerson).

Wiki page and sample file to follow.

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

17 years agofar from being complete:
ulfl [Sat, 13 Jan 2007 14:33:46 +0000 (14:33 +0000)]
far from being complete:
as mentioned on the devel list, this is a very first start of implementing the Wireshark update/version check feature

think of it as a backup / discussion base only - it's not even added to the Makefiles yet

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

17 years agoNew "decode as ..." feature for BER-encoded files (WTAP_FILE_BER).
gal [Sat, 13 Jan 2007 12:59:27 +0000 (12:59 +0000)]
New "decode as ..." feature for BER-encoded files (WTAP_FILE_BER).

A BER-encoded file can be dissected as one of a number of registered syntaxes (registered using register_ber_syntax_dissector()).
Syntaxes may also be associated with OIDs (or other strings) using register_ber_oid_syntax().

A default syntax with which to dissect a BER-encoded file is determined from its filename (extension). For example, ".cer" and ".crt" files will be dissected as "Certificate".

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

17 years agono, we're still not using MSVC2005 as default :-(
ulfl [Sat, 13 Jan 2007 04:28:26 +0000 (04:28 +0000)]
no, we're still not using MSVC2005 as default :-(

should fix the Win32 buildbot ...

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

17 years agoRemove "advertising clause" from BSD license per:
sfisher [Sat, 13 Jan 2007 03:16:07 +0000 (03:16 +0000)]
Remove "advertising clause" from BSD license per:

ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

July 22, 1999

To All Licensees, Distributors of Any Version of BSD:

As you know, certain of the Berkeley Software Distribution ("BSD") source
code files require that further distributions of products containing all or
portions of the software, acknowledge within their advertising materials
that such products contain software developed by UC Berkeley and its
contributors.

Specifically, the provision reads:

"     * 3. All advertising materials mentioning features or use of this software
      *    must display the following acknowledgement:
      *    This product includes software developed by the University of
      *    California, Berkeley and its contributors."

Effective immediately, licensees and distributors are no longer required to
include the acknowledgement within advertising materials.  Accordingly, the
foregoing paragraph of those BSD Unix files containing it is hereby deleted
in its entirety.

William Hoskins
Director, Office of Technology Licensing
University of California, Berkeley

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

17 years agofix some remaining MSVC != V6 issues:
ulfl [Sat, 13 Jan 2007 00:59:39 +0000 (00:59 +0000)]
fix some remaining MSVC != V6 issues:
- add redistributables (msvcr*.dll) to the NSIS installer (depending on MSVC_VARIANT)
- split MSVC2006 and MSVC2006EE (Express Edition) settings in config.nmake, as redistributable settings for NSIS are different
- remove Platform SDK setting from config.nmake, it's not needed

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

17 years agoAutomake variables ending with _LDFLAGS are special:
guy [Fri, 12 Jan 2007 21:04:33 +0000 (21:04 +0000)]
Automake variables ending with _LDFLAGS are special:

http://sources.redhat.com/ml/automake/2001-08/msg00046.html

so call it LDFLAGS_SHAREDLIB rather than SHAREDLIB_LDFLAGS.

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

17 years agoDissect cdma2000HandoffInvokeIOSData.
etxrab [Fri, 12 Jan 2007 17:50:20 +0000 (17:50 +0000)]
Dissect cdma2000HandoffInvokeIOSData.

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

17 years agoupdate ssl-dlg.c in accordance with changes in SSL dissector
kukosa [Fri, 12 Jan 2007 13:02:49 +0000 (13:02 +0000)]
update ssl-dlg.c in accordance with changes in SSL dissector

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

17 years agoDissect CDMAServiceOption.
etxrab [Fri, 12 Jan 2007 12:05:56 +0000 (12:05 +0000)]
Dissect CDMAServiceOption.

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

17 years agoignore ssl_desegment_app_data preference till desegmentation is implemented well
kukosa [Fri, 12 Jan 2007 12:03:31 +0000 (12:03 +0000)]
ignore ssl_desegment_app_data preference till desegmentation is implemented well

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

17 years agoprepare SSL dissector for similar desegmentation as is in the TCP as current one...
kukosa [Fri, 12 Jan 2007 10:25:03 +0000 (10:25 +0000)]
prepare SSL dissector for similar desegmentation as is in the TCP as current one does not work well in many cases

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

17 years agodo not ignore invisible tree, it can break tree creation for coloring/filtering
kukosa [Fri, 12 Jan 2007 10:21:02 +0000 (10:21 +0000)]
do not ignore invisible tree, it can break tree creation for coloring/filtering

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

17 years agosecond try for file_util.c ... (at least OS X didn't liked it)
ulfl [Fri, 12 Jan 2007 05:47:12 +0000 (05:47 +0000)]
second try for file_util.c ... (at least OS X didn't liked it)

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

17 years agoWin32: MSVC > 6 doesn't work well with Unicode filenames!
ulfl [Fri, 12 Jan 2007 03:05:28 +0000 (03:05 +0000)]
Win32: MSVC > 6 doesn't work well with Unicode filenames!

fix this, by providing required functions in the new file file_util.c - it's mostly copied from GLib (g_open alike - that take UTF8 as filename format but don't use msvcrt.dll V6 for this as the glib files do)

"link" to these functions in file_util.h: #define eth_open eth_stdio_open

revert changes (from SVN 20282) throughout the code related to these file functions which were introduced with the first tries of MSVC 2005 ...

Hopefully I've done everything right with the new file_util.c ...

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

17 years agoAdd copyright attributions and licenses. License each derived work
gerald [Fri, 12 Jan 2007 00:54:13 +0000 (00:54 +0000)]
Add copyright attributions and licenses.  License each derived work
according to its pedigree.

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

17 years agoadd snmp decryption
lego [Fri, 12 Jan 2007 00:48:09 +0000 (00:48 +0000)]
add snmp decryption

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

17 years agoMove sha1.[ch] to epan/crypt/crypt-sha1.[ch]. Remove duplicate code.
gerald [Fri, 12 Jan 2007 00:33:32 +0000 (00:33 +0000)]
Move sha1.[ch] to epan/crypt/crypt-sha1.[ch].  Remove duplicate code.

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

17 years agoAdd dissection of cdmaChannelData and only add Opcode to hastable once.
etxrab [Thu, 11 Jan 2007 22:26:15 +0000 (22:26 +0000)]
Add dissection of cdmaChannelData and only add Opcode to hastable once.

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

17 years agoFix compilation problems under Windows. In the GTK code, convert SSIDs
gerald [Thu, 11 Jan 2007 22:12:33 +0000 (22:12 +0000)]
Fix compilation problems under Windows.  In the GTK code, convert SSIDs
to GByteArrays.  Add format_uri() to strutil, which formats a byte string
with percent-escapes.  Fixup whitespace and indentation.

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

17 years agodon't generate zlib1.dll over and over again
ulfl [Thu, 11 Jan 2007 22:05:59 +0000 (22:05 +0000)]
don't generate zlib1.dll over and over again

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

17 years agoload_snmp_users_file.c needs to be rebuilt after distclean to make tarballs work...
etxrab [Thu, 11 Jan 2007 20:05:05 +0000 (20:05 +0000)]
load_snmp_users_file.c needs to be rebuilt after distclean to make tarballs work on Windows.

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

17 years agoFix for bug #1140: Filtering messes up packet list sort order
sfisher [Thu, 11 Jan 2007 19:50:19 +0000 (19:50 +0000)]
Fix for bug #1140: Filtering messes up packet list sort order

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

17 years agowarn the user if the decrypted data doesn't look like a ScopedPDU instead of dissecti...
lego [Thu, 11 Jan 2007 17:39:16 +0000 (17:39 +0000)]
warn the user if the decrypted data doesn't look like a ScopedPDU instead of dissecting it.

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

17 years agomake SIP TCP/TLS ports configurable via preferences
kukosa [Thu, 11 Jan 2007 10:10:03 +0000 (10:10 +0000)]
make SIP TCP/TLS ports configurable via preferences

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

17 years agomake airpcap_loader.c compileable and linkable under Windows
kukosa [Thu, 11 Jan 2007 07:56:37 +0000 (07:56 +0000)]
make airpcap_loader.c compileable and linkable under Windows

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

17 years agoadd the ".NET Framework SDK V1.0" to the list of working MSVC_VARIANTS :-)
ulfl [Thu, 11 Jan 2007 07:53:01 +0000 (07:53 +0000)]
add the ".NET Framework SDK V1.0" to the list of working MSVC_VARIANTS :-)

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

17 years agoFix for bug #1196: packet detail & packet bytes windows not updated under
sfisher [Thu, 11 Jan 2007 06:36:14 +0000 (06:36 +0000)]
Fix for bug #1196: packet detail & packet bytes windows not updated under
certain circumstances when applying a display filter that does not include
the currently selected packet.

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

17 years agoAdd uri_str_to_bytes(), byte_array_dup(), and byte_array_equal()
gerald [Thu, 11 Jan 2007 02:42:34 +0000 (02:42 +0000)]
Add uri_str_to_bytes(), byte_array_dup(), and byte_array_equal()
functions to strutil.  Use GByteArrays to store SSIDs for decryption,
and let the user specify arbitrary byte strings using percent-encoded
strings.  We should probably add percent encoding for pass phrases as
well, so you can escape the ":" character.

Move the key struct key conversion utilities to airpdcap.c, and remove
duplicate code from packet-ieee80211.c.  Fix a lot of indentation.

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

17 years ago- allow use of * as any-engine-id
lego [Thu, 11 Jan 2007 00:29:50 +0000 (00:29 +0000)]
- allow use of * as any-engine-id
- automatic localization of usertable entries with no engine-id
- remove last remains of debug code

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

17 years agoPacket-ber:
etxrab [Wed, 10 Jan 2007 22:59:40 +0000 (22:59 +0000)]
Packet-ber:
Handle the following type of construct
CDMATargetMAHOInformation ::= SEQUENCE {
targetCellID [3] IMPLICIT TargetCellID,
cdmaPilotStrength [65] IMPLICIT CDMAPilotStrength,
cdmaTargetOneWayDelay [61] IMPLICIT CDMATargetOneWayDelay
}

CDMATargetMAHOList ::= SEQUENCE OF [135] IMPLICIT CDMATargetMAHOInformation

ansi_map:
- Correct an Enummeration
- add Missing OPTIONAL to Tags
- Handle parameter if it's one or two octets long.

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

17 years agoAdd the example_snmp_users_file to the ditribution
lego [Wed, 10 Jan 2007 21:48:22 +0000 (21:48 +0000)]
Add the example_snmp_users_file to the ditribution

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

17 years agoappend period values to the PROFINET PTCP status
ulfl [Wed, 10 Jan 2007 21:46:50 +0000 (21:46 +0000)]
append period values to the PROFINET PTCP status

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

17 years agovarious msvc / zlib config cleanup
ulfl [Wed, 10 Jan 2007 21:45:19 +0000 (21:45 +0000)]
various msvc / zlib config cleanup

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

17 years agofix some zlib build issues
ulfl [Wed, 10 Jan 2007 21:42:34 +0000 (21:42 +0000)]
fix some zlib build issues

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