obnox/wireshark/wip.git
11 years agocarve out the (currently disabled) welcome page into it's own file to slightly reduce...
ulfl [Fri, 4 Apr 2008 23:14:27 +0000 (23:14 +0000)]
carve out the (currently disabled) welcome page into it's own file to slightly reduce the huge main.c file size

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

11 years agoadd packet-tcp.c / packet-udp.c
ulfl [Fri, 4 Apr 2008 23:11:23 +0000 (23:11 +0000)]
add packet-tcp.c / packet-udp.c

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

11 years agoMake the RTSP dissector findable by name.
martinm [Fri, 4 Apr 2008 19:11:49 +0000 (19:11 +0000)]
Make the RTSP dissector findable by name.

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

11 years agoStart the process of removing GTK1.
gerald [Fri, 4 Apr 2008 18:18:18 +0000 (18:18 +0000)]
Start the process of removing GTK1.

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

11 years agoThe OS X packaging patch renamed the staging directory to .inst (instead of .stage...
morriss [Fri, 4 Apr 2008 16:14:17 +0000 (16:14 +0000)]
The OS X packaging patch renamed the staging directory to .inst (instead of .stage).  Update the SVR4 packaging script to reflect the new name.

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

11 years agoFix bug #2405: build debian-package broken: misspelled variable in Makefile.am
sfisher [Fri, 4 Apr 2008 06:24:10 +0000 (06:24 +0000)]
Fix bug #2405: build debian-package broken: misspelled variable in Makefile.am

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

11 years agoUse proto_register_prefix() with wimaxasncp plugin.
martinm [Fri, 4 Apr 2008 05:38:13 +0000 (05:38 +0000)]
Use proto_register_prefix() with wimaxasncp plugin.
Also fix a crash problem seen with no filters (i.e. NULL tree).

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

11 years agoExport proto_register_prefix()
martinm [Fri, 4 Apr 2008 05:26:47 +0000 (05:26 +0000)]
Export proto_register_prefix()

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

11 years agoAllocate size of data pointed to (64 bits) rather than size of pointer to data...
martinm [Fri, 4 Apr 2008 04:44:59 +0000 (04:44 +0000)]
Allocate size of data pointed to (64 bits) rather than size of pointer to data...

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

11 years agoAdd a missing routine (proto_initialize_all_prefixes).
guy [Fri, 4 Apr 2008 00:38:11 +0000 (00:38 +0000)]
Add a missing routine (proto_initialize_all_prefixes).

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

11 years agotypo initializators -> initializers
lego [Thu, 3 Apr 2008 22:18:08 +0000 (22:18 +0000)]
typo initializators -> initializers

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

11 years agohttp://www.wireshark.org/lists/wireshark-dev/200803/msg00308.html
lego [Thu, 3 Apr 2008 22:13:52 +0000 (22:13 +0000)]
wireshark.org/lists/wireshark-dev/200803/msg00308.html

proto.[hc]
    define new APIs to allow delayed registration of protocol fields,
so that dissectors with "flexible" fields  like xml, radius, diameter,
snmp do not have to load their files at startup but can do so as late as possible.

gtk/dfilter_expr_dlg.c :
have the expression dialog registering all prefixes so that all fileds appear in the dialog

tshark.c
register all prefixes when called with -G

epan/radius_dict.l
epan/dissectors/packet-radius.c
epan/dissectors/packet-radius.h
refactor registration to delay dictionary loading as long as possible

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

11 years ago- Disable checksum verification by default.
tuexen [Tue, 1 Apr 2008 02:53:01 +0000 (02:53 +0000)]
- Disable checksum verification by default.
- Add to Edit/Preferences/Protocols/SCTP a
  flag to disable upper layer dissection.

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

11 years agoFix bug 2395: 2395
jmayer [Sun, 30 Mar 2008 21:53:59 +0000 (21:53 +0000)]
Fix bug 2395: 2395

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

11 years agoFrom yin sun:
jake [Sun, 30 Mar 2008 12:43:21 +0000 (12:43 +0000)]
From yin sun:
In packet-e212.c function dissect_e212_mcc_mnc mnc is added twice.
the correction should be: mnc = 10 * mnc + mnc3;

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

11 years agoReplace field values with constants, correcting some values.
jake [Sat, 29 Mar 2008 23:40:11 +0000 (23:40 +0000)]
Replace field values with constants, correcting some values.
Remove the pre-release flag from FILEFLAGS in the resource file.

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

11 years agoRemove the pre-release flag from FILEFLAGS in the resource file.
jake [Sat, 29 Mar 2008 23:04:33 +0000 (23:04 +0000)]
Remove the pre-release flag from FILEFLAGS in the resource file.

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

11 years agoRemove a linefeed from a field description.
gerald [Sat, 29 Mar 2008 20:47:12 +0000 (20:47 +0000)]
Remove a linefeed from a field description.

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

11 years agoremove no longer existing follow_dlg.h
ulfl [Sat, 29 Mar 2008 17:50:32 +0000 (17:50 +0000)]
remove no longer existing follow_dlg.h

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

11 years agoRemove most of the OS X packaging files from the distribution. The
gerald [Sat, 29 Mar 2008 00:54:58 +0000 (00:54 +0000)]
Remove most of the OS X packaging files from the distribution. The
files in Resources/themes/Clearlooks-Quicksilver-OSX overrun the
99-character file name length limitation imposed by the default tar
format (V7). We can fix this by

  - Feeding "tar-ustar" to AM_INIT_AUTOMAKE, which apparently means
    changing

AM_INIT_AUTOMAKE(wireshark, x.y.z)

    in configure.in to

AC_INIT(wireshark, x.y.z)
AM_INIT_AUTOMAKE(tar-ustar)

    Although the automake documentation recommends this, it means
    updating make-version.pl and possibly other scripts.

  - Shortening everything in the Clearlooks-Quicksilver-OSX path.

  - Skipping tar distributions altogether in favor of zip.

None of these fixes are trivial, and version 1.0 awaits. For now,
you'll have to build OS X packages from SVN.

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

11 years agoTrying to feed file names with spaces to GNU make will just end in tears.
gerald [Fri, 28 Mar 2008 21:11:53 +0000 (21:11 +0000)]
Trying to feed file names with spaces to GNU make will just end in tears.
Don't do that.

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

11 years agoAdd the OS X packaging Makefile to configure.
stig [Fri, 28 Mar 2008 19:37:53 +0000 (19:37 +0000)]
Add the OS X packaging Makefile to configure.

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

11 years agoAdd the OS X packaging files to the distribution.
gerald [Fri, 28 Mar 2008 18:49:49 +0000 (18:49 +0000)]
Add the OS X packaging files to the distribution.

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

11 years agoUpdate an enum.
etxrab [Fri, 28 Mar 2008 15:42:03 +0000 (15:42 +0000)]
Update an enum.

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

11 years agoFix compilation under Windows.
gerald [Fri, 28 Mar 2008 05:56:02 +0000 (05:56 +0000)]
Fix compilation under Windows.

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

11 years agoFix bug #2286: Folow TCP stream window [needs line wrapping turned back on]
sfisher [Fri, 28 Mar 2008 04:42:29 +0000 (04:42 +0000)]
Fix bug #2286: Folow TCP stream window [needs line wrapping turned back on]
wrapped lines

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

11 years agoMake sure we reset a pointer to ephemeral memory when we're done processing
gerald [Thu, 27 Mar 2008 23:09:22 +0000 (23:09 +0000)]
Make sure we reset a pointer to ephemeral memory when we're done processing
our packet, otherwise someone might try to use it later on.

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

11 years agoAdd a bunch of known problems from the list of open bugs.
gerald [Thu, 27 Mar 2008 22:05:52 +0000 (22:05 +0000)]
Add a bunch of known problems from the list of open bugs.

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

11 years agoAlign some mail addresses.
stig [Thu, 27 Mar 2008 19:44:50 +0000 (19:44 +0000)]
Align some mail addresses.

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

11 years agoAdd tooltips for the filter button and text entry in the open and merge
gerald [Thu, 27 Mar 2008 17:26:59 +0000 (17:26 +0000)]
Add tooltips for the filter button and text entry in the open and merge
dialogs.

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

11 years agoChange the "Filter:" button in the Win32 open and merge dialogs to a
gerald [Thu, 27 Mar 2008 17:21:48 +0000 (17:21 +0000)]
Change the "Filter:" button in the Win32 open and merge dialogs to a
"Display filter" label.

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

11 years agoRemove unterminated comment to fix compile
sfisher [Wed, 26 Mar 2008 23:08:58 +0000 (23:08 +0000)]
Remove unterminated comment to fix compile

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

11 years agoMake the default save format "Raw". Make it easy to change the default
gerald [Wed, 26 Mar 2008 22:33:56 +0000 (22:33 +0000)]
Make the default save format "Raw". Make it easy to change the default
format.

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

11 years agoThe hf_gsm_map_getPassword is missing from the hf array in gsm_map.
etxrab [Wed, 26 Mar 2008 21:17:20 +0000 (21:17 +0000)]
The hf_gsm_map_getPassword is missing from the hf array in gsm_map.

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

11 years agoDo not add packet length twice to cum_bytes when having a TIME REF frame.
stig [Wed, 26 Mar 2008 16:56:45 +0000 (16:56 +0000)]
Do not add packet length twice to cum_bytes when having a TIME REF frame.

This fixes bug 2387.

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

11 years agoExport:
etxrab [Tue, 25 Mar 2008 21:49:55 +0000 (21:49 +0000)]
Export:
dissect_gsm_map_GlobalCellId
dissect_gsm_map_lcs_Ext_GeographicalInformation

Dissect GlobalCellId
Fix offset in GeographicalInformation
use parameter tvb when calling be_chan_type()

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

11 years agoLong time ago, I added these to troubleshoot a problem a user was seeing but I could...
lego [Tue, 25 Mar 2008 21:07:52 +0000 (21:07 +0000)]
Long time ago, I added these to troubleshoot a problem a user was seeing but I could not reproduce, as I had no feedback I forgot about removing these prints.

This must be copied over to the release branch.

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

11 years agoFixed bug with tvb_get_bits64(); the mask array had one less "ff" than
ashokn [Tue, 25 Mar 2008 18:53:17 +0000 (18:53 +0000)]
Fixed bug with tvb_get_bits64(); the mask array had one less "ff" than
it needs. This manifests itself in calls to tvb_get_bits64() and in
calls to proto_tree_add_bits_xxx() for >32 bits.

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

11 years agoUse cygpath to automatically find our paths under Windows.
gerald [Mon, 24 Mar 2008 22:58:34 +0000 (22:58 +0000)]
Use cygpath to automatically find our paths under Windows.

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

11 years agoFix a few typos.
wmeier [Mon, 24 Mar 2008 18:32:15 +0000 (18:32 +0000)]
Fix a few typos.

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

11 years agoFix a typo.
gerald [Mon, 24 Mar 2008 18:17:26 +0000 (18:17 +0000)]
Fix a typo.

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

11 years agodumpcap.c: Fix a typo.
gerald [Mon, 24 Mar 2008 16:22:30 +0000 (16:22 +0000)]
dumpcap.c: Fix a typo.
INSTALL: Add entries for libcap.

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

11 years agoFIx for bug 2381:
jake [Mon, 24 Mar 2008 10:49:23 +0000 (10:49 +0000)]
FIx for bug 2381:
The eigrp update packets may contain more than one destination advertisement
per one "IP external route" or "IP internal route" TLV. Recurse over prefix/network
address pairs until TLV is exhausted.

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

11 years agoRemoved some unnamed unions, reported by Andrew Hood.
stig [Sun, 23 Mar 2008 18:40:22 +0000 (18:40 +0000)]
Removed some unnamed unions, reported by Andrew Hood.

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

11 years agoFrom William Pursell:
jake [Sun, 23 Mar 2008 09:05:57 +0000 (09:05 +0000)]
From William Pursell:
typos in documentation.

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

11 years agoRunning glib 2.16 on 32 bit platform requires this lempar.c change in addition to...
jake [Sun, 23 Mar 2008 08:58:52 +0000 (08:58 +0000)]
Running glib 2.16 on 32 bit platform requires this lempar.c change in addition to revision 24710.
Makefiles updated to make new lempar.c effective in build rules.

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

11 years agoFix (aka workaround) for bug #2228.
wmeier [Sat, 22 Mar 2008 19:04:26 +0000 (19:04 +0000)]
Fix (aka workaround) for bug #2228.
Essentially: if using libcap, drop capabilities
after doing pcap_open_live.
See comment in main() for details.

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

11 years agoFix bug #1212: Follow SSL/UDP Stream gets direction wrong ...
sfisher [Sat, 22 Mar 2008 05:50:19 +0000 (05:50 +0000)]
Fix bug #1212: Follow SSL/UDP Stream gets direction wrong ...

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

11 years agoFix bug #2382: Typos in README.developer
sfisher [Fri, 21 Mar 2008 23:41:04 +0000 (23:41 +0000)]
Fix bug #2382: Typos in README.developer

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

11 years agoUse the latest GTK libraries.
etxrab [Fri, 21 Mar 2008 16:15:21 +0000 (16:15 +0000)]
Use the latest GTK libraries.

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

11 years agoIn glib 2.16 g_malloc Changed from:
etxrab [Fri, 21 Mar 2008 16:10:47 +0000 (16:10 +0000)]
In glib 2.16 g_malloc   Changed from:
- gpointer g_malloc         (gulong  n_bytes) G_GNUC_MALLOC;
to:
+ gpointer g_malloc         (gsize  n_bytes) G_GNUC_MALLOC;

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

11 years agoScale the 128-pixel icon down a little, so that it looks better in the dock.
gerald [Fri, 21 Mar 2008 16:09:04 +0000 (16:09 +0000)]
Scale the 128-pixel icon down a little, so that it looks better in the dock.
Strip terminal control characters out of the build scripts, so that their
buildbot output is readable.

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

11 years agoMake tshark and rawshark behave similar to wireshark when "frame.time_delta_displayed" is
sake [Fri, 21 Mar 2008 06:11:45 +0000 (06:11 +0000)]
Make tshark and rawshark behave similar to wireshark when "frame.time_delta_displayed" is
used within a display filter.

(the usefullness of "frame.time_delta_displayed" in a display filter is very limited
 since it bites it's own tail. Still, wireshark and tshark should at least show the
 same behaviour)

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

11 years agoEmit warning message to log if attempt to send signal to child process fails...
wmeier [Fri, 21 Mar 2008 02:27:58 +0000 (02:27 +0000)]
Emit warning message to log if attempt to send signal to child process fails...

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

11 years agoClean up outer docbook files for 1.0.0.
jake [Fri, 21 Mar 2008 00:39:03 +0000 (00:39 +0000)]
Clean up outer docbook files for 1.0.0.

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

11 years agoGet the Windows build going again.
etxrab [Thu, 20 Mar 2008 20:41:23 +0000 (20:41 +0000)]
Get the Windows build going again.

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

11 years agoDon't call cap_set_proc() unless we were started with elevated
gerald [Thu, 20 Mar 2008 19:18:33 +0000 (19:18 +0000)]
Don't call cap_set_proc() unless we were started with elevated
privileges.  Otherwise, we might print

dumpcap: cap_set_proc() fail return: Operation not permitted

to stderr.

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

11 years agoUse libgmodule-2.0-0.dll 2.14.5 for the GTK+1 version of Wireshark.
gerald [Thu, 20 Mar 2008 00:30:47 +0000 (00:30 +0000)]
Use libgmodule-2.0-0.dll 2.14.5 for the GTK+1 version of Wireshark.

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

11 years agoWindows: use free() only if vc6 (as suggested by Peter Johansson);
wmeier [Wed, 19 Mar 2008 21:09:31 +0000 (21:09 +0000)]
Windows: use free() only if vc6 (as suggested by Peter Johansson);
Thus standard Windows Wireshark release will not have memory leak here.
Assumption: Wireshark Windows libsmi.dll built with vc6.
This solution is temporary.

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

11 years agoFix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1809
etxrab [Wed, 19 Mar 2008 19:13:47 +0000 (19:13 +0000)]
Fix bug bugs.wireshark.org/bugzilla/show_bug.cgi?id=1809

"UTRAN Iub interface SABP signalling"
The text for this protocol is little misleading. It should preferable be
changed to.
"UTRAN IuBC interface SABP signaling"

Add TCP reassembly and dissect Data-Coding-Scheme.

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

11 years agoExport dissect_cbs_data_coding_scheme()
etxrab [Wed, 19 Mar 2008 19:11:33 +0000 (19:11 +0000)]
Export dissect_cbs_data_coding_scheme()

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

11 years agoExport dissect_cbs_data_coding_scheme()
etxrab [Wed, 19 Mar 2008 19:11:03 +0000 (19:11 +0000)]
Export dissect_cbs_data_coding_scheme()

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

11 years agoReturn value tvb if pressent from all branches.
etxrab [Wed, 19 Mar 2008 19:10:31 +0000 (19:10 +0000)]
Return value tvb if pressent from all branches.

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

11 years agofix from Anders: offset->boffset
kukosa [Wed, 19 Mar 2008 09:14:47 +0000 (09:14 +0000)]
fix from Anders: offset->boffset

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

11 years agoadd SRTCP support to h245_setup_channels()
kukosa [Wed, 19 Mar 2008 08:33:11 +0000 (08:33 +0000)]
add SRTCP support to h245_setup_channels()

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

11 years agoSSL debug outputs for better detection of reassembling problems
kukosa [Wed, 19 Mar 2008 08:26:45 +0000 (08:26 +0000)]
SSL debug outputs for better detection of reassembling problems

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

11 years agoexport SRTP related functions
kukosa [Wed, 19 Mar 2008 08:24:57 +0000 (08:24 +0000)]
export SRTP related functions

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

11 years agoAvoid calling some free() on WIN32 on memory that may be allocated in
stig [Wed, 19 Mar 2008 01:02:55 +0000 (01:02 +0000)]
Avoid calling some free() on WIN32 on memory that may be allocated in
another heap.  This is a temporary solution.

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

11 years agoFrom Stig: Fix the call to osx-app.sh.
gerald [Wed, 19 Mar 2008 00:02:24 +0000 (00:02 +0000)]
From Stig: Fix the call to osx-app.sh.

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

11 years agoHandle the case where length is > remaining tvb
etxrab [Tue, 18 Mar 2008 20:10:50 +0000 (20:10 +0000)]
Handle the case where length is > remaining tvb

trace in:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1809

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

11 years agoAdd codeset 5 ETSI party catagory IE.
jake [Tue, 18 Mar 2008 19:57:35 +0000 (19:57 +0000)]
Add codeset 5 ETSI party catagory IE.

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

11 years agoAdd consistent Bearer Capability layer identifications.
jake [Tue, 18 Mar 2008 19:53:07 +0000 (19:53 +0000)]
Add consistent Bearer Capability layer identifications.

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

11 years agoFinish fixing bug #1138: Follow TCP Streams gets stream direction wrong ...
sfisher [Tue, 18 Mar 2008 05:01:18 +0000 (05:01 +0000)]
Finish fixing bug #1138: Follow TCP Streams gets stream direction wrong ...

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

11 years agoUpdate to the latest User's Guide.
gerald [Tue, 18 Mar 2008 02:11:03 +0000 (02:11 +0000)]
Update to the latest User's Guide.

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

11 years agoAllow custom columns in export as CSV and PSML.
stig [Tue, 18 Mar 2008 00:48:24 +0000 (00:48 +0000)]
Allow custom columns in export as CSV and PSML.

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

11 years agoBah, committed the wrong file.
stig [Tue, 18 Mar 2008 00:11:52 +0000 (00:11 +0000)]
Bah, committed the wrong file.
Second try on allow custom columns when printing.

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

11 years agoExport get_column_custom_field from libwireshark.
stig [Mon, 17 Mar 2008 23:59:49 +0000 (23:59 +0000)]
Export get_column_custom_field from libwireshark.

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

11 years agoAllow custom columns when printing.
stig [Mon, 17 Mar 2008 23:40:00 +0000 (23:40 +0000)]
Allow custom columns when printing.

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

11 years agoAllow tshark to print custom columns.
stig [Mon, 17 Mar 2008 23:30:37 +0000 (23:30 +0000)]
Allow tshark to print custom columns.

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

11 years agoFix a typo.
gerald [Mon, 17 Mar 2008 23:19:49 +0000 (23:19 +0000)]
Fix a typo.

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

11 years agoBump the version in the trunk to 1.0.99 (which will become 1.1.0 at some
gerald [Mon, 17 Mar 2008 23:01:20 +0000 (23:01 +0000)]
Bump the version in the trunk to 1.0.99 (which will become 1.1.0 at some
point).

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

11 years agoFrom Martin Peylo:
etxrab [Mon, 17 Mar 2008 21:35:14 +0000 (21:35 +0000)]
From   Martin Peylo:
dissect TIPC encapsulated in TCP
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2335

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

11 years agoFrom William Pursell:
etxrab [Mon, 17 Mar 2008 21:26:54 +0000 (21:26 +0000)]
From William Pursell:
Minor errors in the documentation, and an Ethereal reference

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

11 years agoadd support for ND RDNSS (icmpv6)
etxrab [Mon, 17 Mar 2008 21:21:48 +0000 (21:21 +0000)]
add support for ND RDNSS (icmpv6)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2364 (re written)

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

11 years agoAdded a svn:ignore target.
stig [Mon, 17 Mar 2008 18:20:03 +0000 (18:20 +0000)]
Added a svn:ignore target.

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

11 years agoFrom Anders: Add a couple of entries to libwireshark.def.
gerald [Mon, 17 Mar 2008 18:13:01 +0000 (18:13 +0000)]
From Anders: Add a couple of entries to libwireshark.def.

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

11 years agoFix another crash from http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113 :...
morriss [Mon, 17 Mar 2008 17:46:05 +0000 (17:46 +0000)]
Fix another crash from bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113 : conv_tables_t hold several g_malloc()'d things that need to be freed in smb_init_protocol() but the conv_tables themselves were se_ allocated so they have already been freed by the time we want to try to free them.  Fix this by g_malloc()'ing them and freeing them after we've freed their contents.

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

11 years agopol_value->name was g_malloc()'d which meant we needed to go through the hash table...
morriss [Mon, 17 Mar 2008 17:40:54 +0000 (17:40 +0000)]
pol_value->name was g_malloc()'d which meant we needed to go through the hash table to free them all.  But, like in bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113 the pol_value's themselves are se_ allocated so they have already been freed when we want to traverse them.  So, make pol_value->name se_ allocated so we don't have to do any cleanup on the hash table.

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

11 years agooid_get_default_mib_path() is present in libwireshark.def. Make sure it's
gerald [Mon, 17 Mar 2008 17:06:33 +0000 (17:06 +0000)]
oid_get_default_mib_path() is present in libwireshark.def. Make sure it's
available even if HAVE_LIBSMI isn't defined.

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

11 years agoThere are several g_malloc()'d things hanging off x11_conv_data_t's so don't se_...
morriss [Mon, 17 Mar 2008 16:55:28 +0000 (16:55 +0000)]
There are several g_malloc()'d things hanging off x11_conv_data_t's so don't se_ alloc that structure but rather g_malloc() it and free it after we've freed the contents.  This fixes the X11 part of the crash from bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113

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

11 years agoFor Anders: add call_ber_oid_callback()
morriss [Mon, 17 Mar 2008 14:17:00 +0000 (14:17 +0000)]
For Anders: add call_ber_oid_callback()

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

11 years agoThere are several g_malloc()'d things hanging off ldasp_conv_info_t's so don't se_...
morriss [Mon, 17 Mar 2008 12:03:36 +0000 (12:03 +0000)]
There are several g_malloc()'d things hanging off ldasp_conv_info_t's so don't se_ alloc that structure but rather g_malloc() it and free it after we've freed the contents.  This fixes the LDAP part of the crash from bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113

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

11 years agoAdd SMPP statistics by Abhik Sarkar
jake [Mon, 17 Mar 2008 07:33:13 +0000 (07:33 +0000)]
Add SMPP statistics by Abhik Sarkar

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

11 years agoFrom Abhik Sarkar:
jake [Mon, 17 Mar 2008 07:30:22 +0000 (07:30 +0000)]
From Abhik Sarkar:
The attached patch changes the handling of the parameters in question to octet
string instead of string

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

11 years agoMove the conversation addresses to the se_ allocator. This does not solve a memory...
morriss [Mon, 17 Mar 2008 02:20:26 +0000 (02:20 +0000)]
Move the conversation addresses to the se_ allocator.  This does not solve a memory leak but it does save a 12 line comment explaining why the const-ness of the pointers was being cast away and (more importantly) fixes the conversation part of the crashes detailed in bugs.wireshark.org/bugzilla/show_bug.cgi?id=1113 .  In particular the conversation keys themselves are se_ alloc'd so by the time we get to conversation_init() (again) the keys have already been freed by the se_ allocator so traversing them isn't such a good idea.

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

11 years agoFix LDAP crash (on certain platforms) from http://bugs.wireshark.org/bugzilla/show_bu...
morriss [Sun, 16 Mar 2008 22:54:37 +0000 (22:54 +0000)]
Fix LDAP crash (on certain platforms) from bugs.wireshark.org/bugzilla/show_bug.cgi?id=1613 : if the string is NULL pass "(null)" in instead (that's the behavior we get on Linux anyway).

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

11 years agoAdd register_ber_oid_dissector_handle to the exported functions.
etxrab [Sun, 16 Mar 2008 19:38:22 +0000 (19:38 +0000)]
Add register_ber_oid_dissector_handle to the exported functions.

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

11 years agoSet rxinfo.epoch from the epoch, and then assign it to ts.secs; that
guy [Sun, 16 Mar 2008 19:36:09 +0000 (19:36 +0000)]
Set rxinfo.epoch from the epoch, and then assign it to ts.secs; that
avoids doing a narrowing case - which, in this case, is safe
(rxinfo.epoch is 32 bits, and the value assigned to it is 32 bits, so
it's not as if it'd ever be wider than 32 bits even if ts.secs is wider
than 32 bits), but you might still have to think about it.

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

11 years agoAdded a cast to make it compile.
stig [Sun, 16 Mar 2008 19:26:52 +0000 (19:26 +0000)]
Added a cast to make it compile.

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

11 years agoFrom Peter Fuller: free pref_str in set_link_type() if preferences aren't set. From...
morriss [Sun, 16 Mar 2008 15:29:13 +0000 (15:29 +0000)]
From Peter Fuller: free pref_str in set_link_type() if preferences aren't set.  From me: call get_credential_inf() at startup.

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