obnox/wireshark/wip.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agopackage manifest files only, if MSVC2005 / .NET SDK 2.0 is used - this should remove...
ulfl [Wed, 10 Jan 2007 21:37:52 +0000 (21:37 +0000)]
package manifest files only, if MSVC2005 / .NET SDK 2.0 is used - this should remove a warning while packaging the other variants

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

13 years agoFix the GNUTLS DLL names. Add the program version to the package file name.
gerald [Wed, 10 Jan 2007 20:26:33 +0000 (20:26 +0000)]
Fix the GNUTLS DLL names.  Add the program version to the package file name.

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

13 years agoTrying to get buildbot Ubuntu-5.10-x86 distcheck to build again.
jake [Wed, 10 Jan 2007 20:19:16 +0000 (20:19 +0000)]
Trying to get buildbot Ubuntu-5.10-x86 distcheck to build again.
Adding asn1.[ch] to the correct makefile symbols.

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

13 years agoThe example_snmp_users_file
lego [Wed, 10 Jan 2007 18:34:34 +0000 (18:34 +0000)]
The example_snmp_users_file

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

13 years agoSet the proper MIME types on image files. Browsing the images on the
gerald [Wed, 10 Jan 2007 16:47:04 +0000 (16:47 +0000)]
Set the proper MIME types on image files.  Browsing the images on the
anonsvn site should hopefully work as expected now.

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

13 years agoTrying to get buildbot Ubuntu-5.10-x86 distcheck to build again
jake [Wed, 10 Jan 2007 14:37:24 +0000 (14:37 +0000)]
Trying to get buildbot Ubuntu-5.10-x86 distcheck to build again

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

13 years agofix the HHC_DIR settings for none MSVC6 variants
ulfl [Wed, 10 Jan 2007 09:56:39 +0000 (09:56 +0000)]
fix the HHC_DIR settings for none MSVC6 variants

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

13 years agovastly simplify the Makefile by using Makefile.common - as this is what this file...
ulfl [Wed, 10 Jan 2007 09:54:31 +0000 (09:54 +0000)]
vastly simplify the Makefile by using Makefile.common - as this is what this file is intended to be - to be common for UNIX and Windows builds ;-)

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

13 years agoExtending true_false_string support
jake [Wed, 10 Jan 2007 07:47:00 +0000 (07:47 +0000)]
Extending true_false_string support
- Separate tfs.[ch]
- Add larger sample collection
- Properly export DATA

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

13 years agomove asn1.c/.h files into plugins/asn1 directory as just this plugin uses it now
kukosa [Wed, 10 Jan 2007 07:09:30 +0000 (07:09 +0000)]
move asn1.c/.h files into plugins/asn1 directory as just this plugin uses it now

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

13 years agoadd missing object files into epan/crypt/Makefile.nmake
kukosa [Wed, 10 Jan 2007 07:06:16 +0000 (07:06 +0000)]
add missing object files into epan/crypt/Makefile.nmake

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

13 years agofrom Laurent Rabret:
ulfl [Wed, 10 Jan 2007 03:11:13 +0000 (03:11 +0000)]
from Laurent Rabret:
use /MD switch instead of direct linker switches
(hopefully this will fix linker issues mentioned by Andrew and Stephen)

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

13 years ago+ AES decryption
lego [Wed, 10 Jan 2007 02:30:22 +0000 (02:30 +0000)]
+ AES decryption

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

13 years agoUpdate to r20350.
gerald [Wed, 10 Jan 2007 01:58:56 +0000 (01:58 +0000)]
Update to r20350.

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

13 years agosync changes with asn/snmp
lego [Wed, 10 Jan 2007 01:16:22 +0000 (01:16 +0000)]
sync changes with asn/snmp

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

13 years ago* sha1 authentication
lego [Wed, 10 Jan 2007 01:15:18 +0000 (01:15 +0000)]
* sha1 authentication
- remove warnings and test code

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

13 years agoremove now useless hmac.[ch] files
lego [Wed, 10 Jan 2007 01:14:16 +0000 (01:14 +0000)]
remove now useless hmac.[ch] files

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

13 years agoHave the code working on BIG ENDIAN machines
lego [Wed, 10 Jan 2007 01:13:10 +0000 (01:13 +0000)]
Have the code working on BIG ENDIAN machines

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

13 years ago* From the same source as the rest get the sha1_hmac code
lego [Wed, 10 Jan 2007 01:11:20 +0000 (01:11 +0000)]
* From the same source as the rest get the sha1_hmac code

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

13 years agoadd a missing dependency to the zlib1.dll, so it will be generated before wiretap
ulfl [Wed, 10 Jan 2007 00:35:01 +0000 (00:35 +0000)]
add a missing dependency to the zlib1.dll, so it will be generated before wiretap

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

13 years agoImplement COMPLEMENT TO ITU-T RECOMMENDATION E.164 (02/2005):
jake [Tue, 9 Jan 2007 23:03:09 +0000 (23:03 +0000)]
Implement COMPLEMENT TO ITU-T RECOMMENDATION E.164 (02/2005):
- Modify few country codes
- Add new international networks
Cleanup sourcecode

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

13 years agoFrom Mike Davies:
sfisher [Tue, 9 Jan 2007 22:32:23 +0000 (22:32 +0000)]
From Mike Davies:

There was a change in Corrigendum 1 (03/2004) to H.248.1 which allows an
empty {} to be omitted from the Signal Descriptor.  Currently (SVN 20346)
this causes Wireshark to report [Packet size limited during capture] as
shown in the attached example outputs.

I have attached a possible patch to solve this.

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

13 years agoMove cryptography code to epan/crypt.
gerald [Tue, 9 Jan 2007 22:14:07 +0000 (22:14 +0000)]
Move cryptography code to epan/crypt.

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

13 years agoAdd ansi_map to the makefiles
etxrab [Tue, 9 Jan 2007 21:45:46 +0000 (21:45 +0000)]
Add ansi_map to the makefiles
Add missing IMPLICIT and tag numbers, some whitespace changes.

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

13 years agoWin32 has neither bcopy nor bzero
lego [Tue, 9 Jan 2007 20:43:25 +0000 (20:43 +0000)]
Win32 has neither bcopy nor bzero

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