14 years agoFrom Grame Lunt:
etxrab [Mon, 5 Dec 2005 23:00:03 +0000 (23:00 +0000)]
From Grame Lunt:
a patch for the X.411, X420 and CMS dissectors to implement the remaining heading extensions and bodyparts.

This includes GeneralText BP, forwarded content BP (forwarded p22 and forwarded p772), PKCS#7 BP, and "business class" messaging extensions.

The X.411 extensions using the SIGNATURE macro have also been implemented. There is also a fix for a bug in the dissection of integer 22 content type.


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

14 years agofixed a typo
ulfl [Mon, 5 Dec 2005 22:49:10 +0000 (22:49 +0000)]
fixed a typo

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

14 years agomove some GTK only function declarations from ui_util.h to the appropriate header...
ulfl [Mon, 5 Dec 2005 22:45:54 +0000 (22:45 +0000)]
move some GTK only function declarations from ui_util.h to the appropriate header files in the gtk dir, as these declarations are obsolete and only confuses (at least me)

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

14 years agoenhance the comments
ulfl [Mon, 5 Dec 2005 22:28:42 +0000 (22:28 +0000)]
enhance the comments

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

14 years agoreplace all appearances of 'fprintf(stderr, "tethereal: ' with 'cmdarg_err("', this is:
ulfl [Mon, 5 Dec 2005 21:32:12 +0000 (21:32 +0000)]
replace all appearances of 'fprintf(stderr, "tethereal: ' with 'cmdarg_err("', this is:
a) smaller
b) makes it possible to use some functions for Ethereal too
c) is the wrong name now, as some outputs are not command line related :-(

use capture_opts_trim()

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

14 years agono more usage of Ethereal.lib in dumpcap any longer :-)
ulfl [Mon, 5 Dec 2005 21:28:34 +0000 (21:28 +0000)]
no more usage of Ethereal.lib in dumpcap any longer :-)
use capture_opts_trim()
output of command line usage and version "enhanced"

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

14 years agoadd capture_opts_trim(), as this sequence is used three times now (will replace the...
ulfl [Mon, 5 Dec 2005 21:26:01 +0000 (21:26 +0000)]
add capture_opts_trim(), as this sequence is used three times now (will replace the other appearances later) ...

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

14 years agoupdates for FILE_OBJECTID_BUFFER and have smb call this (no more unknown bytes...
sahlberg [Mon, 5 Dec 2005 21:22:06 +0000 (21:22 +0000)]
updates for FILE_OBJECTID_BUFFER   and have smb call this (no more unknown bytes in smb for objectid)

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

14 years agoFrom Kyle J Harms
sahlberg [Mon, 5 Dec 2005 20:54:42 +0000 (20:54 +0000)]
From Kyle J Harms

New protocol : CIGI  (with minor updates to make it heuristic)


This patch is for a CIGI dissector (complete versions 2 and 3).  It has
been [fuzz] tested on GNU/Linux using the Ethereal 0.10.13 codebase.
However, the patch here is against the svn repository.

More information about CIGI can be found at http://cigi.sourceforge.net/

Kyle Harms

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

14 years agoIf we don't have the OID name let the SNMP dissector try to get it from the MIB:s
etxrab [Mon, 5 Dec 2005 17:24:19 +0000 (17:24 +0000)]
If we don't have the OID name let the SNMP dissector try to get it from the MIB:s

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

14 years agoI've forgot to put one line under _WIN32, should fix the unix build
ulfl [Mon, 5 Dec 2005 02:30:04 +0000 (02:30 +0000)]
I've forgot to put one line under _WIN32, should fix the unix build

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

14 years agoAnalysis starts to work
lego [Mon, 5 Dec 2005 01:46:07 +0000 (01:46 +0000)]
Analysis starts to work

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

14 years agoWin32: fix signal_pipe handling if we run dumpcap as a standalone application (no...
ulfl [Mon, 5 Dec 2005 01:23:18 +0000 (01:23 +0000)]
Win32: fix signal_pipe handling if we run dumpcap as a standalone application (no signal_pipe)

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

14 years agoWe need AF_INET6 on linux, so include netdb.h if available.
jmayer [Sun, 4 Dec 2005 23:50:57 +0000 (23:50 +0000)]
We need AF_INET6 on linux, so include netdb.h if available.

Add dumpcap to svn:ignore.

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

14 years agoConnection and name manager uses data type hdr
etxrab [Sun, 4 Dec 2005 21:50:31 +0000 (21:50 +0000)]
Connection and name manager uses data type hdr

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

14 years agoWork in progress an asn2eth generated snmp dissector.
etxrab [Sun, 4 Dec 2005 21:45:38 +0000 (21:45 +0000)]
Work in progress an asn2eth generated snmp dissector.

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

14 years agoUpdate to samba svn revision 12055:
jmayer [Sun, 4 Dec 2005 08:48:38 +0000 (08:48 +0000)]
Update to samba svn revision 12055:
========== Samba changelog start ========================
r11959 | jelmer | 2005-11-29 14:54:51 +0100 (Tue, 29 Nov 2005) | 2 lines

Use DOS_errors array for displaying WERROR values

r11972 | metze | 2005-11-30 13:40:26 +0100 (Wed, 30 Nov 2005) | 3 lines

handle [noejs] property also on functions

r11974 | metze | 2005-11-30 18:07:02 +0100 (Wed, 30 Nov 2005) | 3 lines

only look at $pl->{POINTER_TYPE} when $pl is defined

r11997 | metze | 2005-12-01 13:39:33 +0100 (Thu, 01 Dec 2005) | 14 lines

for multidimentional array like this:
uint32 [num_level2][num_level1][num_level0]

fix the order they're pushed and pulled, it should be like this

for (l2=0; l2 < num_level2; l2++) {
        for (l1=0; l1 < num_level1; l1++) {
                for (l0=0; l0 < num_level0; l0++) {

========== Samba changelog end ========================

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

14 years agoCheck for a null blurb pointer for a field, as is done in some other
guy [Sun, 4 Dec 2005 04:22:43 +0000 (04:22 +0000)]
Check for a null blurb pointer for a field, as is done in some other
locations, and initialize the blurb field to NULL for protocols, now
that we support the blurb being a null pointer.

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

14 years agoDeclare "capture_info_packet()"'s as static, to match the definition.
guy [Sun, 4 Dec 2005 04:20:18 +0000 (04:20 +0000)]
Declare "capture_info_packet()"'s as static, to match the definition.

Declare the "pd" argument to be "const guchar *", to match the way
packet data is declared elsewhere, and so that if the headers
"capture_info.c" includes don't define "u_char" it still compiles.

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

14 years agoSquelch a GCC complaint.
guy [Sun, 4 Dec 2005 04:13:07 +0000 (04:13 +0000)]
Squelch a GCC complaint.

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

14 years agomove the complete functionality of the capture info dialog from capture_loop.c to...
ulfl [Sun, 4 Dec 2005 02:04:18 +0000 (02:04 +0000)]
move the complete functionality of the capture info dialog from capture_loop.c to capture_info.c and call it from capture.c (instead of capture_loop.c).

This way, the capture child don't need to now any of the packet_counter things (no epan/packet.h and all alike).

Currently the capture_info code will always open another wiretap file instance to build it's own counter values. This isn't optimized for now (next step: use data from cf_continue_tail() somehow).

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

14 years agosplit some parts of the packet counting functions into their own files capture_info...
ulfl [Sat, 3 Dec 2005 22:38:50 +0000 (22:38 +0000)]
split some parts of the packet counting functions into their own files capture_info(.c/.h),
so we can use it from the main program

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

14 years agoclarify a comment
ulfl [Sat, 3 Dec 2005 21:12:59 +0000 (21:12 +0000)]
clarify a comment

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

14 years agoforgot to checkin that file ... so buildbot became unhappy!
ulfl [Sat, 3 Dec 2005 21:09:56 +0000 (21:09 +0000)]
forgot to checkin that file ... so buildbot became unhappy!

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

14 years agoEscape non ascii characters
lego [Sat, 3 Dec 2005 19:41:18 +0000 (19:41 +0000)]
Escape non ascii characters

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

14 years agosplit capture.h into capture.h, capture_loop.h and capture_opts.h and place the parts...
ulfl [Sat, 3 Dec 2005 19:32:54 +0000 (19:32 +0000)]
split capture.h into capture.h, capture_loop.h and capture_opts.h and place the parts into the corresponding files

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

14 years agoadd missing functions (to complete/cleanup of interface):
ulfl [Sat, 3 Dec 2005 18:15:02 +0000 (18:15 +0000)]
add missing functions (to complete/cleanup of interface):


and move the functionality from capture_sync.c to capture.c (just where it belongs)

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

14 years agothe function capture_loop_popup_errmsg seems to be useless and misleading,
ulfl [Sat, 3 Dec 2005 12:56:57 +0000 (12:56 +0000)]
the function capture_loop_popup_errmsg seems to be useless and misleading,
simply call sync_pipe_errmsg_to_parent directly instead

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

14 years agoadd the (Win32 only) signal pipe
ulfl [Sat, 3 Dec 2005 12:42:25 +0000 (12:42 +0000)]
add the (Win32 only) signal pipe

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

14 years agoprecise some pipe message comments
ulfl [Sat, 3 Dec 2005 12:32:41 +0000 (12:32 +0000)]
precise some pipe message comments

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

14 years agothe capture child don't use capture.c, remove it from the drawing
ulfl [Sat, 3 Dec 2005 11:47:48 +0000 (11:47 +0000)]
the capture child don't use capture.c, remove it from the drawing

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

14 years agoRewrite of the analisys and summary code.
lego [Sat, 3 Dec 2005 11:43:19 +0000 (11:43 +0000)]
Rewrite of the analisys and summary code.

Analysis code is still  not working so it is disabled.

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

14 years agofrom Stig B:
sahlberg [Fri, 2 Dec 2005 22:01:00 +0000 (22:01 +0000)]
from Stig B:

I have made a small change in packet-x411-template.c to make the X.
411 message heading in CDT look like in COTP.

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

14 years agortcp fix for sdes_prefix_string
sahlberg [Fri, 2 Dec 2005 21:12:22 +0000 (21:12 +0000)]
rtcp fix for sdes_prefix_string

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

14 years agoFrom Lukasz Apiecionek
etxrab [Fri, 2 Dec 2005 19:33:40 +0000 (19:33 +0000)]
From  Lukasz Apiecionek
Add Vendor id
0x8a000003, "Teldat H. Kruszynski, M. Cichocki Sp. J." } ,

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

14 years agoAdd #line directives to the genertated dissector.
lego [Fri, 2 Dec 2005 17:49:47 +0000 (17:49 +0000)]
Add #line directives to the genertated dissector.

Now the compiler knows where a line comes from and errors point to the .cnf or -template.[ch] file instead of the generated code.

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

14 years agoPER dissectors regenerated with FT_OID
kukosa [Fri, 2 Dec 2005 13:21:43 +0000 (13:21 +0000)]
PER dissectors regenerated with FT_OID

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

14 years agonew field type FT_OID for OBJECT IDENTIFIERs
kukosa [Fri, 2 Dec 2005 13:16:58 +0000 (13:16 +0000)]
new field type FT_OID for OBJECT IDENTIFIERs

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

14 years agocheck in a version of wkssvc that contains all the constructs of the etehreal dissector.
sahlberg [Fri, 2 Dec 2005 11:33:34 +0000 (11:33 +0000)]
check in a version of wkssvc that contains all the constructs of the etehreal dissector.

the generated dissector is still "ugly" compared to the handwritten one so there needs a bit of conformance file magic and maybe pidl enhancements before it can go in.

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

14 years agoregenerate the pidl dissectors with the latest version of pidl so it will put the...
sahlberg [Fri, 2 Dec 2005 10:54:05 +0000 (10:54 +0000)]
regenerate the pidl dissectors with the latest version of pidl   so it will put the text representation of DOS errors in the decode as well.

(the hf field for doserrors did not come with the value_string)

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

14 years agoadd work in progress asn2eth generated ldap dissector from AndersB's email of
sahlberg [Fri, 2 Dec 2005 10:41:46 +0000 (10:41 +0000)]
add work in progress asn2eth generated ldap dissector from AndersB's email of
Nov 15

it is checked in but not copied to epan/dissectors so that those interested can work on it until it gets ready to replace the old one.

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

14 years agoadd two new ip protocol numbers
sahlberg [Fri, 2 Dec 2005 10:25:05 +0000 (10:25 +0000)]
add two new ip protocol numbers

from Jaap K

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

14 years agoperformance improvement: if the packet info dialog is hidden, we don't need to call...
ulfl [Fri, 2 Dec 2005 09:24:55 +0000 (09:24 +0000)]
performance improvement: if the packet info dialog is hidden, we don't need to call the capture_... packet count functions

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

14 years agoadd some more ioctls
sahlberg [Fri, 2 Dec 2005 09:19:05 +0000 (09:19 +0000)]
add some more ioctls

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

14 years agoadd dissection of
sahlberg [Fri, 2 Dec 2005 06:49:52 +0000 (06:49 +0000)]
add dissection of

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

14 years agoHandle empty APM message
etxrab [Thu, 1 Dec 2005 20:29:24 +0000 (20:29 +0000)]
Handle empty APM message

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

14 years agofix OPTINIT string, help output and add an exit_main function
ulfl [Thu, 1 Dec 2005 20:19:30 +0000 (20:19 +0000)]
fix OPTINIT string, help output and add an exit_main function

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

14 years agofix alphabetical order of OPTINIT string, v seems to be a controversial character :-)
ulfl [Thu, 1 Dec 2005 20:04:55 +0000 (20:04 +0000)]
fix alphabetical order of OPTINIT string, v seems to be a controversial character :-)

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

14 years agoAdd TIPC address as address type and use it in TIPC.
etxrab [Thu, 1 Dec 2005 20:02:45 +0000 (20:02 +0000)]
Add TIPC address as address type and use it in TIPC.

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

14 years agoFrom Thomas Steffen:
etxrab [Thu, 1 Dec 2005 18:43:26 +0000 (18:43 +0000)]
From Thomas Steffen:
Add chargecontrol.xml

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

14 years agoBug fixes from Irene.
tuexen [Thu, 1 Dec 2005 15:15:42 +0000 (15:15 +0000)]
Bug fixes from Irene.

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

14 years agoadd dissection of FSCTL_GET_SHADOW_COPY_DATA
sahlberg [Thu, 1 Dec 2005 13:06:20 +0000 (13:06 +0000)]
add dissection of FSCTL_GET_SHADOW_COPY_DATA

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

14 years agoswap in/out to be more consistent with sane naming conventions
sahlberg [Thu, 1 Dec 2005 12:34:53 +0000 (12:34 +0000)]
swap in/out to be more consistent with sane naming conventions

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

14 years agostart implementing an ioctl dispatcher for different ioctl functions
sahlberg [Thu, 1 Dec 2005 10:34:00 +0000 (10:34 +0000)]
start implementing an ioctl dispatcher for different ioctl functions

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

14 years agoadd decoding of some ioctl names copied from packet-smb.c
sahlberg [Thu, 1 Dec 2005 10:18:14 +0000 (10:18 +0000)]
add decoding of some ioctl names    copied from packet-smb.c

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

14 years agomove the ioctl function code to the si structure so we can switch on this later in...
sahlberg [Thu, 1 Dec 2005 09:42:39 +0000 (09:42 +0000)]
move the ioctl function code to the si structure so we can switch on this later in the ioctl_data dissector

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

14 years ago0x0b is ioctl not transaction
sahlberg [Thu, 1 Dec 2005 09:20:29 +0000 (09:20 +0000)]
0x0b is ioctl not transaction

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

14 years agoFrom Stig Bjørlykke
etxrab [Thu, 1 Dec 2005 06:28:04 +0000 (06:28 +0000)]
From Stig Bjørlykke

Added "Activity Identifier" PI in the OSI Session Protocol dissector.

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

14 years agoFrom Jaap Keuter:
etxrab [Thu, 1 Dec 2005 06:20:17 +0000 (06:20 +0000)]
From Jaap Keuter:
Q.931 fails to pass long message to H.225

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

14 years agoFix a typo
etxrab [Thu, 1 Dec 2005 06:18:30 +0000 (06:18 +0000)]
Fix a typo

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

14 years agoConnec all op types to the asn1 code. Use #.PDU to get hf fields auto generated.
etxrab [Wed, 30 Nov 2005 20:14:18 +0000 (20:14 +0000)]
Connec all op types to the asn1 code. Use #.PDU to get hf fields auto generated.

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

14 years agoAdd circuit ID BICC_CIC
etxrab [Wed, 30 Nov 2005 20:12:44 +0000 (20:12 +0000)]
Add circuit ID BICC_CIC

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

14 years agoDissct Ptotocol Id 0
etxrab [Wed, 30 Nov 2005 20:11:45 +0000 (20:11 +0000)]
Dissct Ptotocol Id 0

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

14 years agoAdd support for
tuexen [Tue, 29 Nov 2005 23:09:01 +0000 (23:09 +0000)]
Add support for
- http://www.ietf.org/internet-drafts/draft-stewart-sctpstrrst-01.txt

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

14 years agoChange the name of 'isup_calling_partys_category_value'.
etxrab [Tue, 29 Nov 2005 18:58:18 +0000 (18:58 +0000)]
Change the name of 'isup_calling_partys_category_value'.

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

14 years agoISUP - Export functions used by INAP and Camel
etxrab [Tue, 29 Nov 2005 17:23:50 +0000 (17:23 +0000)]
ISUP - Export functions used by INAP and Camel
Gsmmap - Export asn1 structs used by Camel
Camel - Use functions from GSMMAp and ISUP
INAP - Rewrite of the asn1 code to correspond more to CS1 data types
          Let ISUP and Q931 dissect apropriate stuff.

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

14 years ago"dcerpc_smb_fetch_pol()" doesn't necessarily return a name, as we might
guy [Tue, 29 Nov 2005 09:38:45 +0000 (09:38 +0000)]
"dcerpc_smb_fetch_pol()" doesn't necessarily return a name, as we might
not have seen anything that would let us give a name to a handle.

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

14 years agoprettification and updates to winreg
sahlberg [Tue, 29 Nov 2005 03:19:52 +0000 (03:19 +0000)]
prettification and updates to winreg

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

14 years agoseems like autogen doesn't like empty lines in the makefile
ulfl [Mon, 28 Nov 2005 21:12:50 +0000 (21:12 +0000)]
seems like autogen doesn't like empty lines in the makefile

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

14 years agodumpcap.c doesn't need to link with file.c!
ulfl [Mon, 28 Nov 2005 20:51:27 +0000 (20:51 +0000)]
dumpcap.c doesn't need to link with file.c!

this fortunately removes *a lot* of dependencies and make the resulting binary a lot smaller (and hopefully faster to load :-)

some more cleanup (like replacing // by /**/)

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

14 years agoChange the way we handle realloc so that we now compute all the space required
sharpe [Mon, 28 Nov 2005 17:32:30 +0000 (17:32 +0000)]
Change the way we handle realloc so that we now compute all the space required
up front and realloc once ...

This will probably be the last changes I make on this dissector, as I want to
concentrate on using asn2eth for LDAP, as time permits.

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

14 years agoAdd support for building dumpcap, and fix dumpcap to build on UN*X.
guy [Mon, 28 Nov 2005 11:40:28 +0000 (11:40 +0000)]
Add support for building dumpcap, and fix dumpcap to build on UN*X.

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

14 years agoUpdate the offset correctly regardless of whether we're building a
guy [Mon, 28 Nov 2005 10:28:31 +0000 (10:28 +0000)]
Update the offset correctly regardless of whether we're building a
protocol tree or not.

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

14 years agoGive the RFC number for CHAP.
guy [Mon, 28 Nov 2005 10:26:21 +0000 (10:26 +0000)]
Give the RFC number for CHAP.

Don't fetch CHAP fields until we need them, so that we can at least
partially dissect a short frame.

Even if the CHAP length is wrong, put it into the protocol tree using
the registered field.

Use "tvb_format_text()" to put text into the Info column, so we handle
non-printable characters by escaping them.

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

14 years agofirst steps towards a separated capture tool, working title "dumpcap"
ulfl [Mon, 28 Nov 2005 08:54:52 +0000 (08:54 +0000)]
first steps towards a separated capture tool, working title "dumpcap"
personal backup only, not meant for public testing!

I've copied main.c into dumpcap.c and carved out all things not needed

currently won't work as a command line tool, capture_loop.c wants an input pipe
console output is also very ugly and the whole code needs a lot of further cleanup

shouldn't break the unix build as I've only changed the nmake files so far, but who knows ...

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

14 years agoMake sure that we reset the filter pointer after we realloc the filter.
sharpe [Mon, 28 Nov 2005 08:31:11 +0000 (08:31 +0000)]
Make sure that we reset the filter pointer after we realloc the filter.

This should be simplified ... calc all the space required once and then realloc once etc.

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

14 years agoname some infolevels
sahlberg [Mon, 28 Nov 2005 08:20:12 +0000 (08:20 +0000)]
name some infolevels

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

14 years agoDon't show the tag twice.
guy [Mon, 28 Nov 2005 00:48:17 +0000 (00:48 +0000)]
Don't show the tag twice.

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

14 years agoHost-Uniq is binary, not text.
guy [Mon, 28 Nov 2005 00:41:01 +0000 (00:41 +0000)]
Host-Uniq is binary, not text.

FT_BYTES items don't have a base - the bytes are always dumped in hex -
so use BASE_NONE with them.

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

14 years agoFail if *any* of the fields in the per-packet header of the first record
guy [Sun, 27 Nov 2005 12:10:03 +0000 (12:10 +0000)]
Fail if *any* of the fields in the per-packet header of the first record
aren't sane, rather than requiring them *all* to have invalid values.

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

14 years agoDon't do anything to the filter string until we've successfully parsed
guy [Sun, 27 Nov 2005 02:42:29 +0000 (02:42 +0000)]
Don't do anything to the filter string until we've successfully parsed
the extensibleMatch.

Make sure the filter string is always null-terminated, as we use
"strlen()" to skip to the end of it.

On the (illegal, but not impossible) chance that we have more than one
matching rule ID, attributeDescription, or matchValue, free any we
already have before fetching a new one.

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

14 years agofrom Martin M
sahlberg [Sat, 26 Nov 2005 22:49:18 +0000 (22:49 +0000)]
from Martin M

ppp chap updates

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

14 years agoadd endoffile infolevel
sahlberg [Sat, 26 Nov 2005 21:59:48 +0000 (21:59 +0000)]
add endoffile infolevel

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

14 years agomore infolevels
sahlberg [Sat, 26 Nov 2005 21:44:37 +0000 (21:44 +0000)]
more infolevels

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

14 years agoupdate setinfo response dissection
sahlberg [Sat, 26 Nov 2005 21:09:53 +0000 (21:09 +0000)]
update setinfo response dissection

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

14 years agofix #568: disable event "activate" handler for the range entry field. see the added...
ulfl [Sat, 26 Nov 2005 11:57:54 +0000 (11:57 +0000)]
fix #568: disable event "activate" handler for the range entry field. see the added comment for details

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

14 years agoPorperties: replace executable by eol-style and keywords
jmayer [Sat, 26 Nov 2005 10:05:14 +0000 (10:05 +0000)]
Porperties: replace executable by eol-style and keywords

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

14 years agoFix typoes in comments.
guy [Sat, 26 Nov 2005 04:16:40 +0000 (04:16 +0000)]
Fix typoes in comments.

Update a comment, and get rid of a commented-out unused variable.

Use "get_ber_identifier()" and "get_ber_length()", rather than
"dissect_ber_identifier()" and "dissect_ber_length()", if we're just
fetching the values, rather than dissecting them.  As we're just
fetching the values, if we get an error, put the identifer and length
into the protocol tree (if we've enabled that) with
"dissect_ber_identifier()" and "dissect_ber_length()".

Properly declare class and tag variables as signed.

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

14 years agoGet rid of unused global variables.
guy [Sat, 26 Nov 2005 03:09:40 +0000 (03:09 +0000)]
Get rid of unused global variables.

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

14 years agoGet rid of unused function.
guy [Sat, 26 Nov 2005 03:08:17 +0000 (03:08 +0000)]
Get rid of unused function.

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

14 years agoFix RFC number.
guy [Sat, 26 Nov 2005 03:06:25 +0000 (03:06 +0000)]
Fix RFC number.

Use "tvb_reported_length_remaining()" for all length checks and values,
so we get the *actual* packet length, not the *captured* packet length
(it's a *feature* if it reports a "packet cut short" error if the packet
really *was* cut short by slicing).

Set subtree lengths to -1, so that if an exception is throws while
dissecting them, the length includes all the data.

Get rid of unused variables, and mark unused parameters.

In heuristic checks, give up if we don't have enough data to check.

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

14 years agomany commands return a short 8 byte pdu when errors occur.
sahlberg [Sat, 26 Nov 2005 03:06:21 +0000 (03:06 +0000)]
many commands return a short 8 byte pdu when errors occur.
make ethereal handle these better instead of showing them as unreassembled packet

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

14 years agofix #358: instead of simply using tpmnam() for the Win32 print function, use the...
ulfl [Sat, 26 Nov 2005 01:56:22 +0000 (01:56 +0000)]
fix #358: instead of simply using tpmnam() for the Win32 print function, use the "official" function to create a temporary file

Well, we actually only need the filename here, so create a temp file with the "official" create_tempfile function, keep that tempfile name and then delete this file again, leaving only the name.

I know that's a bit uncommon, but should work and uses the same mechanisms as with other temporary files. So if there are still problems with the official function, we only have one place to fix :-)

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

14 years agoassume the four bytes after the fid in notify request is the completion mask
sahlberg [Sat, 26 Nov 2005 00:34:22 +0000 (00:34 +0000)]
assume the four bytes after the fid in notify request is the completion mask

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

14 years agofix a simple GTK1 warning
ulfl [Fri, 25 Nov 2005 23:54:19 +0000 (23:54 +0000)]
fix a simple GTK1 warning

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

14 years agoadd decoding of some more opcodes
sahlberg [Fri, 25 Nov 2005 23:52:47 +0000 (23:52 +0000)]
add decoding of some more opcodes

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

14 years agofrom Greg Morris:
ulfl [Fri, 25 Nov 2005 23:42:52 +0000 (23:42 +0000)]
from Greg Morris:
Composite Expert statistics, see:
and the following discussions

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

14 years agorephrase the error dialog if an interface couldn't be opened.
ulfl [Fri, 25 Nov 2005 22:38:02 +0000 (22:38 +0000)]
rephrase the error dialog if an interface couldn't be opened.

made the CaptureSetup wiki page more prominent
added some "headings" so some of the help subtopics are easier for "human grep" IMHO

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

14 years agoadd some more help text to the "no packets captured" error dialog:
ulfl [Fri, 25 Nov 2005 22:27:27 +0000 (22:27 +0000)]
add some more help text to the "no packets captured" error dialog:

link to CaptureSetup wiki page
Win32 only: wireless: "try switch off promicuous mode"

This way we might get less user questions on the users-mailing list ...

Especially the second one hopefully could save us from a lot of support mails :-)

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

14 years agoadd decoding of some more opcodes
sahlberg [Fri, 25 Nov 2005 22:06:56 +0000 (22:06 +0000)]
add decoding of some more opcodes

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