obnox/wireshark/wip.git
15 years agoGet rid of some useless lines from the last patch
lego [Fri, 18 Feb 2005 20:11:30 +0000 (20:11 +0000)]
Get rid of some useless lines from the last patch

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

15 years agoAdd a pointer to the start frame of each gop in the gog's tree
lego [Fri, 18 Feb 2005 20:02:40 +0000 (20:02 +0000)]
Add a pointer to the start frame of each gop in the gog's tree

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

15 years agotwo fixes in config loading:
lego [Fri, 18 Feb 2005 18:40:25 +0000 (18:40 +0000)]
two fixes in config loading:
  - do not accept GopDefs for non existent pdus Pdu
  - GogExtra "no For" instead of "no Name"

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

15 years agominor prettification
sahlberg [Thu, 17 Feb 2005 20:56:47 +0000 (20:56 +0000)]
minor prettification

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

15 years agopass lun (and status) to scsi subdissector so we can filter
sahlberg [Thu, 17 Feb 2005 12:07:45 +0000 (12:07 +0000)]
pass lun (and status) to scsi subdissector so we can filter
on scsi.lun   and prettify the summary line a bit.

ndmp still needs some work to track luns between commands
and fcp needs verification it works for volumesetaddressing.

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

15 years agoHave "cf_merge_files()" take a pointer-to-pointer-to-char as the output
guy [Thu, 17 Feb 2005 03:05:54 +0000 (03:05 +0000)]
Have "cf_merge_files()" take a pointer-to-pointer-to-char as the output
file name argument; if the pointed-to pointer is null, it opens a
temporary file, and sets that pointer to a mallocated copy of the
pathname of the temporary file.  It no longer needs a file descriptor as
an argument.

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

15 years agoAdd some of the anytime operations.
etxrab [Wed, 16 Feb 2005 22:44:15 +0000 (22:44 +0000)]
Add some of the anytime operations.

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

15 years agoAdd some of the AnyTime... Operations.
etxrab [Wed, 16 Feb 2005 22:42:52 +0000 (22:42 +0000)]
Add some of the AnyTime... Operations.

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

15 years agoFrom Tomas Kukosa:
etxrab [Wed, 16 Feb 2005 22:40:56 +0000 (22:40 +0000)]
From Tomas Kukosa:
Fix  problems with bitfields with dashed ("-") names

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

15 years agoAn example stats_tree plugin using pinfo as its only data source
lego [Wed, 16 Feb 2005 14:26:27 +0000 (14:26 +0000)]
An example stats_tree plugin using pinfo as its only data source
I'm not checking changes to the Makefiles yet.

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

15 years agoInitial checkin of the stats-tree tap API
lego [Wed, 16 Feb 2005 14:16:40 +0000 (14:16 +0000)]
Initial checkin of the stats-tree tap API
Makefiles have not been modified yet, there's still work to do.

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

15 years agopreparations for autogenerated ms dcerpc interfaces
sahlberg [Wed, 16 Feb 2005 11:31:56 +0000 (11:31 +0000)]
preparations for autogenerated ms dcerpc interfaces
make it possible to prettify SIDs and control how and where their string representation should be shown in the summary line and the tree
similar to how counted_strings prettification can be controlled

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

15 years agomark the frame opened/closed fields for policy handles as GENERATED fields
sahlberg [Wed, 16 Feb 2005 10:25:00 +0000 (10:25 +0000)]
mark the frame opened/closed fields for policy handles as GENERATED fields

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

15 years agoadd simple check that if a hf_rename field has not been referenced by the idl/cnf...
sahlberg [Wed, 16 Feb 2005 10:11:26 +0000 (10:11 +0000)]
add simple check that if a hf_rename field has not been referenced by the idl/cnf files then it is likely the conformance file has become stale and needs updating.   abort with an error message.

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

15 years agofrom lars ruoff a few extra columns for rtp analysis
sahlberg [Wed, 16 Feb 2005 09:24:52 +0000 (09:24 +0000)]
from lars ruoff    a few extra columns for rtp analysis

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

15 years agoadd extra sanity check.
sahlberg [Wed, 16 Feb 2005 00:19:52 +0000 (00:19 +0000)]
add extra sanity check.
dont match a request with a reply that came earlier in the trace or SRT will
look funny :-)

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

15 years agonew protocol from Giles Scott : Retix spanning tree protocol
sahlberg [Tue, 15 Feb 2005 21:01:51 +0000 (21:01 +0000)]
new protocol from Giles Scott : Retix spanning tree protocol

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

15 years agoHave "cf_merge_files()" always close "out_fd" before returning; it does
guy [Tue, 15 Feb 2005 20:01:24 +0000 (20:01 +0000)]
Have "cf_merge_files()" always close "out_fd" before returning; it does
so if "wtap_dump_fdopen()" succeeds (as a side-effect of calling
"wtap_dump_close()"), even if "cf_merge_fails()" after that, so it
should do so if it fails.

That means we don't need to close it in the callers of "cf_merge_files()".

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

15 years agoWinPcap 3.0 might support PPP/WAN capturing on Windows OT, so lump it
guy [Tue, 15 Feb 2005 03:49:12 +0000 (03:49 +0000)]
WinPcap 3.0 might support PPP/WAN capturing on Windows OT, so lump it
together with the pre-3.0 releases.  Mention 3.1 beta's support, noting
that it's a beta.

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

15 years agoAdd the missing packet-dcerpc-budb.h to the list of header files, so it
guy [Tue, 15 Feb 2005 01:42:39 +0000 (01:42 +0000)]
Add the missing packet-dcerpc-budb.h to the list of header files, so it
goes into the source tarball.

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

15 years agoFix some compiler warnings (at least one of which is for a real problem).
guy [Mon, 14 Feb 2005 22:07:26 +0000 (22:07 +0000)]
Fix some compiler warnings (at least one of which is for a real problem).

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

15 years agoAdd #includes to define various macros and declare various functions.
guy [Mon, 14 Feb 2005 22:06:22 +0000 (22:06 +0000)]
Add #includes to define various macros and declare various functions.

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

15 years agoMake the "maintainer-clean" rules get rid of some additional generated
guy [Mon, 14 Feb 2005 20:33:57 +0000 (20:33 +0000)]
Make the "maintainer-clean" rules get rid of some additional generated
files.  Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.

Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.

Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files.  In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).

Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.

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

15 years agoadd machinegenerated full dissector for dcedfs BUDB protocol
sahlberg [Mon, 14 Feb 2005 19:56:11 +0000 (19:56 +0000)]
add machinegenerated full dissector for dcedfs BUDB protocol

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

15 years ago make idl-lite compiler handle varying arrays
sahlberg [Mon, 14 Feb 2005 19:46:03 +0000 (19:46 +0000)]
 make idl-lite compiler handle varying arrays

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

15 years agoadd support for varying arrays
sahlberg [Mon, 14 Feb 2005 19:43:34 +0000 (19:43 +0000)]
add support for varying arrays

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

15 years agoin sack options only look for tcp session metadata if both tcp_analysis and tcp_rel...
sahlberg [Mon, 14 Feb 2005 19:34:59 +0000 (19:34 +0000)]
in sack options   only look for tcp session metadata if both tcp_analysis and tcp_relative  preferences are set.   relative depends on analysis

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

15 years agoAdd some more V3 opcodes
etxrab [Mon, 14 Feb 2005 16:21:47 +0000 (16:21 +0000)]
Add some more V3 opcodes

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

15 years agoAdd some more V3 opcodes
etxrab [Mon, 14 Feb 2005 16:20:58 +0000 (16:20 +0000)]
Add some more V3 opcodes

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

15 years agoFrom :Tim Endean correct conditions for a while loop.
etxrab [Mon, 14 Feb 2005 08:21:14 +0000 (08:21 +0000)]
From :Tim Endean correct conditions for a while loop.

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

15 years agoFrom :Tim Endean correct conditions for a while loop.
etxrab [Mon, 14 Feb 2005 08:20:33 +0000 (08:20 +0000)]
From :Tim Endean correct conditions for a while loop.

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

15 years agoAdd the usual set of file names/patterns to ignore.
guy [Mon, 14 Feb 2005 02:46:54 +0000 (02:46 +0000)]
Add the usual set of file names/patterns to ignore.

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

15 years agoremove a bunch of unnecessary "includes" from VoIP tap and graph analysis sources
lroland [Sun, 13 Feb 2005 23:30:56 +0000 (23:30 +0000)]
remove a bunch of unnecessary "includes" from VoIP tap and graph analysis sources

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

15 years agoUpdate Venna Nagarjuna
lego [Sun, 13 Feb 2005 03:53:48 +0000 (03:53 +0000)]
Update Venna Nagarjuna
change my own e-mail address (I'll keep the old one for two more weeks only)

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

15 years agoFrom Venna, Nagarjuna:
lego [Sun, 13 Feb 2005 03:41:44 +0000 (03:41 +0000)]
From Venna, Nagarjuna:
   add support for RTCP-XR as specified in RFC 3611

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

15 years agochange nmake makefiles in /trunk and /trunk/epan so that
lroland [Sun, 13 Feb 2005 00:10:15 +0000 (00:10 +0000)]
change nmake makefiles in /trunk and /trunk/epan so that
object code for libethereal.dll isn't generated by the
makefile in /trunk.

Having no code in /trunk linked into libethereal.dll
anymore, the definition of the macro _NEED_VAR_IMPORT_
can be moved from various source files in /trunk to /trunk/Makefile.nmake .
So do that, too.

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

15 years agoAdd a part of the previous patch that didn't apply.
etxrab [Sat, 12 Feb 2005 21:36:56 +0000 (21:36 +0000)]
Add a part of the previous patch that didn't apply.

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

15 years agoGMM/SM:
etxrab [Sat, 12 Feb 2005 21:35:01 +0000 (21:35 +0000)]
GMM/SM:
   - Dissect detach_type now correctly ( fixed by Miklos Szurdi )
   - Dissect timer correctly ( fixed by Miklos Szurdi )
   - Update SM causes for Release 6 ( Miklos Szurdi )
   - Update service_type for Release 6 ( Miklos Szurdi )
   - Rearange pco code like Guy Harris has suggested ( Guy Harris )
   - reimplement dissection of IPv4 and IPv6 addresses
   - Fix offset in pdp_addr
   - Fix offset in Traffic Flow Template (tft

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

15 years agoFrom Rene Pilz :
etxrab [Sat, 12 Feb 2005 21:20:38 +0000 (21:20 +0000)]
From Rene Pilz :

BSSGP:
   - Does not dissect the LLC-PDU twice

LLC:
- Add CRC calculation to differ between ciphered and non-ciphered packets without taking care about the encryption bit.
This solves crashes when the option "ignore ciphere bit" was activated

GMM/SM:
   - Dissect detach_type now correctly ( fixed by Miklos Szurdi )
   - Dissect timer correctly ( fixed by Miklos Szurdi )
   - Update SM causes for Release 6 ( Miklos Szurdi )
   - Update service_type for Release 6 ( Miklos Szurdi )
   - Rearange pco code like Guy Harris has suggested ( Guy Harris )
   - reimplement dissection of IPv4 and IPv6 addresses
   - Fix offset in pdp_addr
   - Fix offset in Traffic Flow Template (tft)

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

15 years agoFrom Rene Pilz :
etxrab [Sat, 12 Feb 2005 21:20:01 +0000 (21:20 +0000)]
From Rene Pilz :

BSSGP:
   - Does not dissect the LLC-PDU twice

LLC:
- Add CRC calculation to differ between ciphered and non-ciphered packets without taking care about the encryption bit.
This solves crashes when the option "ignore ciphere bit" was activated

GMM/SM:
   - Dissect detach_type now correctly ( fixed by Miklos Szurdi )
   - Dissect timer correctly ( fixed by Miklos Szurdi )
   - Update SM causes for Release 6 ( Miklos Szurdi )
   - Update service_type for Release 6 ( Miklos Szurdi )
   - Rearange pco code like Guy Harris has suggested ( Guy Harris )
   - reimplement dissection of IPv4 and IPv6 addresses
   - Fix offset in pdp_addr
   - Fix offset in Traffic Flow Template (tft)

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

15 years agoDissect Return error and some more operationcodes.
etxrab [Fri, 11 Feb 2005 22:44:09 +0000 (22:44 +0000)]
Dissect Return error and some more operationcodes.

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

15 years agoDissect Return error and some more operationcodes.
etxrab [Fri, 11 Feb 2005 22:43:24 +0000 (22:43 +0000)]
Dissect Return error and some more operationcodes.

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

15 years agoavoid freeing the gop_key more than once and do not reregister the tap at every reload
lego [Fri, 11 Feb 2005 00:04:25 +0000 (00:04 +0000)]
avoid freeing the gop_key more than once and do not reregister the tap at every reload

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

15 years agomate runtime did not get initialized when configured after loading a capture file
lego [Thu, 10 Feb 2005 17:14:31 +0000 (17:14 +0000)]
mate runtime did not get initialized when configured after loading a capture file

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

15 years agoadd "mate" as a protocol to its tree
lego [Thu, 10 Feb 2005 16:55:08 +0000 (16:55 +0000)]
add "mate" as a protocol to its tree

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

15 years agoFrom Nicolas Dichtel via Vincent Jardin:
gerald [Thu, 10 Feb 2005 16:24:12 +0000 (16:24 +0000)]
From Nicolas Dichtel via Vincent Jardin:

Print a couple of missing fields.

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

15 years agocleanup matelib and mate examples
lego [Thu, 10 Feb 2005 16:23:52 +0000 (16:23 +0000)]
cleanup matelib and mate examples

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

15 years agoUse tcp_dissect_pdus().
guy [Thu, 10 Feb 2005 08:52:35 +0000 (08:52 +0000)]
Use tcp_dissect_pdus().

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

15 years agoUse VB_ rather than V_ for the VarBind types, to avoid a collision with
guy [Thu, 10 Feb 2005 08:15:35 +0000 (08:15 +0000)]
Use VB_ rather than V_ for the VarBind types, to avoid a collision with
V_INT in oleauto.h in Windows.

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

15 years agoExport the routines to add 64-bit integer values, and export
guy [Thu, 10 Feb 2005 08:10:18 +0000 (08:10 +0000)]
Export the routines to add 64-bit integer values, and export
tvb_ensure_length_remaining().

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

15 years agoAdd a hack to set "reversed" and "circuit" in code paths where it wasn't
guy [Thu, 10 Feb 2005 08:07:44 +0000 (08:07 +0000)]
Add a hack to set "reversed" and "circuit" in code paths where it wasn't
getting set.  The hack needs to be replaced by code that does the right
thing.

Fix indentation.

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

15 years agoAlways make the elements of the "text" array point to g_mallocated
guy [Thu, 10 Feb 2005 07:23:01 +0000 (07:23 +0000)]
Always make the elements of the "text" array point to g_mallocated
strings, so that they can safely be g_freed.

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

15 years agoFrom Oleg Terletsky: AgentX support.
guy [Thu, 10 Feb 2005 06:36:21 +0000 (06:36 +0000)]
From Oleg Terletsky: AgentX support.

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

15 years agoRemove an extra /*, some unused variables, and an unneeded include (INAP
guy [Thu, 10 Feb 2005 03:19:59 +0000 (03:19 +0000)]
Remove an extra /*, some unused variables, and an unneeded include (INAP
currently has no taps).

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

15 years agoAdd a Makefile.
guy [Thu, 10 Feb 2005 03:10:08 +0000 (03:10 +0000)]
Add a Makefile.

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

15 years agobugfix for sync_mode captures, wasn't started correctly (cf_callback_invoke(cf_cb_liv...
ulfl [Thu, 10 Feb 2005 01:55:36 +0000 (01:55 +0000)]
bugfix for sync_mode captures, wasn't started correctly (cf_callback_invoke(cf_cb_live_capture_started); was never called)

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

15 years agoclean up makefiles.
lroland [Thu, 10 Feb 2005 01:26:19 +0000 (01:26 +0000)]
clean up makefiles.

especially /trunk/Makefile.nmake doesn't have to include
/trunk/epan/Makefile.common anymore.

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

15 years agofix svn properties
lroland [Wed, 9 Feb 2005 23:55:14 +0000 (23:55 +0000)]
fix svn properties

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

15 years agoMove the following files from /trunk to /trunk/epan:
lroland [Wed, 9 Feb 2005 23:38:00 +0000 (23:38 +0000)]
Move the following files from /trunk to /trunk/epan:
asn1.[ch]
follow.[ch]
ptvcursor.[ch]
reassemble.[ch]
xmlstub.[ch]

fix #include statements accordingly.

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

15 years agoAdd Tim Endean
etxrab [Wed, 9 Feb 2005 22:43:57 +0000 (22:43 +0000)]
Add Tim Endean

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

15 years agoFrom Tim Endean: INAP dissector.
etxrab [Wed, 9 Feb 2005 22:35:49 +0000 (22:35 +0000)]
From Tim Endean: INAP dissector.

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

15 years agoFrom Tim Endean: INAP dissector.
etxrab [Wed, 9 Feb 2005 22:31:40 +0000 (22:31 +0000)]
From Tim Endean: INAP dissector.

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

15 years agoFrom Tim Endean: INAP dissector
etxrab [Wed, 9 Feb 2005 22:01:53 +0000 (22:01 +0000)]
From Tim Endean: INAP dissector

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

15 years agoFix dissection of some opcodes etc.
etxrab [Wed, 9 Feb 2005 21:55:55 +0000 (21:55 +0000)]
Fix dissection of some opcodes etc.

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

15 years agoFix decoding of some opcodes etc.
etxrab [Wed, 9 Feb 2005 21:54:57 +0000 (21:54 +0000)]
Fix decoding of some opcodes etc.

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

15 years agoFrom Deepak Jain: add support for some Cisco L2TPv3 AVPs, always show
guy [Wed, 9 Feb 2005 09:25:54 +0000 (09:25 +0000)]
From Deepak Jain: add support for some Cisco L2TPv3 AVPs, always show
the numerical value of the pseudowire type, and show the Remote End ID
AVP as text rather than binary data.

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

15 years agoSet Registry key for starting NPF service to "Auto Start" and not "System Start".
lroland [Tue, 8 Feb 2005 22:10:04 +0000 (22:10 +0000)]
Set Registry key for starting NPF service to "Auto Start" and not "System Start".

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

15 years agouse "guint" instead of "uint".
lroland [Tue, 8 Feb 2005 21:12:54 +0000 (21:12 +0000)]
use "guint" instead of "uint".
"uint" is not available on Windows

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

15 years agoFrom Jon Ringle: add a preference to allow packets with an RTP version
guy [Tue, 8 Feb 2005 20:54:08 +0000 (20:54 +0000)]
From Jon Ringle: add a preference to allow packets with an RTP version
of 0 to be dissected as STUN packets, to support dissecting of
application that follow the ICE methodology described in
draft-ietf-mmusic-ice-03.

Remove some extra spaces at the end of tags for preferences.

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

15 years agofix a capture bug if the capture filter wasn't valid to get back to "empty" state.
ulfl [Tue, 8 Feb 2005 19:57:16 +0000 (19:57 +0000)]
fix a capture bug if the capture filter wasn't valid to get back to "empty" state.

instead of already invoking cf_cb_live_capture_started in capture.c, I've introduced the new event cf_cb_live_capture_prepare which only has to set the main windows title and nothing more.

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

15 years agoMove h225-persistentdata.[ch] to epan,
lroland [Tue, 8 Feb 2005 19:36:20 +0000 (19:36 +0000)]
Move h225-persistentdata.[ch] to epan,
as its code is linked into libethereal.dll.

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

15 years agoRemove the buggy h323 conversations tap.
lroland [Tue, 8 Feb 2005 19:15:56 +0000 (19:15 +0000)]
Remove the buggy h323 conversations tap.
It is superseded by the superior Voip Call analysis.

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

15 years agobringing the packet details context menu item "Expand Tree" back as "Expand Subtrees...
ulfl [Tue, 8 Feb 2005 19:12:17 +0000 (19:12 +0000)]
bringing the packet details context menu item "Expand Tree" back as "Expand Subtrees". Renaming this, as this makes it much more obvious that potentially more than subtree (recursively) will be expanded

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

15 years agoFrom LEGO
etxrab [Tue, 8 Feb 2005 18:51:27 +0000 (18:51 +0000)]
From LEGO
patch adding few more fields to RADIUS (I and O Packets and Octets)

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

15 years agoFrom : Susanne Edlund
etxrab [Tue, 8 Feb 2005 18:50:05 +0000 (18:50 +0000)]
From : Susanne Edlund
patch for NSIP to fix a bug in packet SNS_DELETE.

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

15 years agoAdd a section to the installer, which sets following key to "1" on WIN NT, if the...
lroland [Tue, 8 Feb 2005 02:34:15 +0000 (02:34 +0000)]
Add a section to the installer, which sets following key to "1" on WIN NT, if the key is available.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NPF\Start

With this key set to 1, the NPF service is started automatically at startup and then even users with restricted privilegies should be able to access Network Devices for capturing.
See also:
http://winpcap.polito.it/misc/faq.htm#Q-18

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

15 years agoFix up the suppression of packet printing and packet count printing so
guy [Mon, 7 Feb 2005 21:40:53 +0000 (21:40 +0000)]
Fix up the suppression of packet printing and packet count printing so
that:

packets are printed iff we're not saving packets to a file and
"-q" wasn't specified;

packet counts are printed iff we're capturing (i.e., not reading
from a file) and "-q" wasn't specified.

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

15 years agoAnd finally (I hope) the last part from the patch
lroland [Mon, 7 Feb 2005 21:09:23 +0000 (21:09 +0000)]
And finally (I hope) the last part from the patch
from Alejandro Vaquero:

  patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations

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

15 years agoMake Ethereal and Tethereal compile if we're building without libpcap.
guy [Mon, 7 Feb 2005 20:52:59 +0000 (20:52 +0000)]
Make Ethereal and Tethereal compile if we're building without libpcap.

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

15 years agofix a bug if capturing into named files is used
ulfl [Mon, 7 Feb 2005 20:38:10 +0000 (20:38 +0000)]
fix a bug if capturing into named files is used

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

15 years agoFrom Alejandro Vaquero :
etxrab [Mon, 7 Feb 2005 20:30:27 +0000 (20:30 +0000)]
From Alejandro Vaquero :

 Find attached a patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations

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

15 years agowhen building the argv string, use save_file_fd_str instead of save_file_fd to avoid...
ulfl [Mon, 7 Feb 2005 20:14:22 +0000 (20:14 +0000)]
when building the argv string, use save_file_fd_str instead of save_file_fd to avoid confusion with the capture_opts field

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

15 years agoSuppress the packet counts when we're reading from a file.
guy [Mon, 7 Feb 2005 19:42:32 +0000 (19:42 +0000)]
Suppress the packet counts when we're reading from a file.

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

15 years agoTethereal can write to a file in binary even if not built with libpcap.
guy [Mon, 7 Feb 2005 19:33:49 +0000 (19:33 +0000)]
Tethereal can write to a file in binary even if not built with libpcap.

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

15 years agoClean up indentation.
guy [Mon, 7 Feb 2005 19:11:45 +0000 (19:11 +0000)]
Clean up indentation.

The default for "capture_options.save_file" is a null pointer, meaning
we're not writing to a save file, we're writing out the dissection as
text.

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

15 years agoIn case we have an unknown vendor tag, just decode the vendor from
jmayer [Mon, 7 Feb 2005 15:55:13 +0000 (15:55 +0000)]
In case we have an unknown vendor tag, just decode the vendor from
manuf.

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

15 years agoFrom Alejandro Vaquero :
etxrab [Mon, 7 Feb 2005 08:58:40 +0000 (08:58 +0000)]
From Alejandro Vaquero :
 Find attached a patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations

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

15 years agoFrom Alejandro Vaquero :
etxrab [Mon, 7 Feb 2005 08:57:47 +0000 (08:57 +0000)]
From Alejandro Vaquero :
 Find attached a patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations

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

15 years agoFrom Alejandro Vaquero :
etxrab [Mon, 7 Feb 2005 08:56:39 +0000 (08:56 +0000)]
From Alejandro Vaquero :
 Find attached a patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations

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

15 years agoFrom LEGO:
etxrab [Mon, 7 Feb 2005 08:54:24 +0000 (08:54 +0000)]
From LEGO:
 - fixes a leak in analize_pdu()
 - fixes a typo in analize_pdu()
 - fixes a crash in scs_unsubscribe()
 - save a malloc and a free in get_pdu_fields()

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

15 years agoThe welcome pane isn't scrollable, so add it to the scrolling window
guy [Mon, 7 Feb 2005 03:35:51 +0000 (03:35 +0000)]
The welcome pane isn't scrollable, so add it to the scrolling window
with a viewport.

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

15 years agoIn the child process, capture_opts->fork_child is 0, not -1, so, in that
guy [Mon, 7 Feb 2005 03:13:51 +0000 (03:13 +0000)]
In the child process, capture_opts->fork_child is 0, not -1, so, in that
case, don't attempt to send a signal to the child.

Expand a comment.

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

15 years agoMove the code to set the title on a window when a capture is in progress
guy [Mon, 7 Feb 2005 02:09:30 +0000 (02:09 +0000)]
Move the code to set the title on a window when a capture is in progress
to the "start live capture" callback, and call that from "do_capture()".

When opening a capture file, don't pop up the "What do you want to do?"
pane when closing any existing file you have open, as we're just going
to put the regular view up right after that.

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

15 years agoDeclare "cf_callback_t" before using it in a further declaration.
guy [Mon, 7 Feb 2005 01:32:53 +0000 (01:32 +0000)]
Declare "cf_callback_t" before using it in a further declaration.

Mark the "func" argument to "cf_callback_remove()" as unused.

Get rid of the "iface" argument to "cf_start_tail()", as it's no longer
used.

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

15 years agoInstead of calling each single thing when doing/finish a file operation, file.c shoul...
ulfl [Mon, 7 Feb 2005 00:54:46 +0000 (00:54 +0000)]
Instead of calling each single thing when doing/finish a file operation, file.c shouldn't call all the GUI related functions itself, instead throwing some kind of Events to it's caller(s).

I've implemented a very simple callback mechanism which provides exactly this. I've tried GHook from GLib before, but this doesn't seem to be the right thing, as it's too inflexible for the purpose here.

So I've implemented a callback function in main.c which receives all "events" and spreads them to menu, statusbar and itself.

I would see this implementation as a prototype which may need  improvements. Please comment the changes.

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

15 years agoClean up indentation.
guy [Mon, 7 Feb 2005 00:31:45 +0000 (00:31 +0000)]
Clean up indentation.

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

15 years agoDon't have "set_menus_for_captured_packets()" call
guy [Sun, 6 Feb 2005 23:16:05 +0000 (23:16 +0000)]
Don't have "set_menus_for_captured_packets()" call
"main_set_for_capture_file()"; it should only deal with menus, not
anything else - and it gets called while the menus are being set up,
which is before the main window has been completely created, so
"main_widgets_show_or_hide()", which is called by
"main_set_for_capture_file()", gets errors trying to show or hide
widgets the pointers to which are null.

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

15 years agoGet rid of extra blank line at the end.
guy [Sun, 6 Feb 2005 23:06:23 +0000 (23:06 +0000)]
Get rid of extra blank line at the end.

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

15 years ago"iface" is now a member of "capture_opts", not "cfile".
guy [Sun, 6 Feb 2005 22:21:51 +0000 (22:21 +0000)]
"iface" is now a member of "capture_opts", not "cfile".

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

15 years agoGet rid of a few cf_get_ references missed by the previous checkin.
guy [Sun, 6 Feb 2005 22:19:53 +0000 (22:19 +0000)]
Get rid of a few cf_get_ references missed by the previous checkin.

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