obnox/wireshark/wip.git
18 years agoFix ...$ to : $
jmayer [Fri, 9 Dec 2005 16:51:56 +0000 (16:51 +0000)]
Fix ...$ to : $

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

18 years agoAdd missing propset ...
jmayer [Fri, 9 Dec 2005 16:46:24 +0000 (16:46 +0000)]
Add missing propset ...

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

18 years agoMaybe Id will work now
jmayer [Fri, 9 Dec 2005 16:40:06 +0000 (16:40 +0000)]
Maybe Id will work now

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

18 years agoUpdate enterprise-numbers
jmayer [Fri, 9 Dec 2005 16:24:05 +0000 (16:24 +0000)]
Update enterprise-numbers

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

18 years agoAdd Deepak Jain as author of Next Hop Resolution Protocol
etxrab [Fri, 9 Dec 2005 16:19:49 +0000 (16:19 +0000)]
Add  Deepak Jain as author of Next Hop Resolution Protocol

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

18 years agoMinor bug fixes.
etxrab [Fri, 9 Dec 2005 16:15:25 +0000 (16:15 +0000)]
Minor bug fixes.

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

18 years agoFrom: Deepak Jain
etxrab [Fri, 9 Dec 2005 16:14:42 +0000 (16:14 +0000)]
From: Deepak Jain

changes/addition to support decode for Next Hop Resolution Protocol

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

18 years agopropset svn:executable *
jmayer [Fri, 9 Dec 2005 15:56:07 +0000 (15:56 +0000)]
propset svn:executable *

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

18 years agoRegenerate manuf and FAQ
jmayer [Fri, 9 Dec 2005 15:53:40 +0000 (15:53 +0000)]
Regenerate manuf and FAQ

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

18 years agoAdd Cisco-ISL MAC-addresses
jmayer [Fri, 9 Dec 2005 15:49:57 +0000 (15:49 +0000)]
Add Cisco-ISL MAC-addresses

Remove IETF-VRRP: This is a generic multicast address, and there are 31
other IP-multicast addresses mapping to the same mac address.

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

18 years agoWhitespace change
jmayer [Fri, 9 Dec 2005 15:47:50 +0000 (15:47 +0000)]
Whitespace change

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

18 years agoAdd comment how to regenerate the file
jmayer [Fri, 9 Dec 2005 15:46:09 +0000 (15:46 +0000)]
Add comment how to regenerate the file

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

18 years agoRe-generate one more BER dissector.
guy [Fri, 9 Dec 2005 03:24:52 +0000 (03:24 +0000)]
Re-generate one more BER dissector.

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

18 years agoRepeatedly indicate that "-w" is for writing binary packet data, and
guy [Fri, 9 Dec 2005 02:59:36 +0000 (02:59 +0000)]
Repeatedly indicate that "-w" is for writing binary packet data, and
that if you want to send text to a file, just redirect the standard
output.  I've seen at least one message on the Ethereal lists from
somebody who didn't realize that, and I think I've seen more.

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

18 years agoRegenerate with the latest asn2eth, to get FT_OID used, and to add #line.
guy [Thu, 8 Dec 2005 23:29:21 +0000 (23:29 +0000)]
Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.

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

18 years ago"get_oid_name()" can return a null pointer; don't try to add the name if
guy [Thu, 8 Dec 2005 23:21:26 +0000 (23:21 +0000)]
"get_oid_name()" can return a null pointer; don't try to add the name if
it does.

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

18 years agoClean up indentation.
guy [Thu, 8 Dec 2005 11:27:14 +0000 (11:27 +0000)]
Clean up indentation.

For OID fields of type FT_STRING, put back the code to append the OID
name.  (Ultimately, we should probably convert them all to type FT_OID.)

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

18 years agoWhen checking whether a packet is for a protocol or not, make sure the
guy [Thu, 8 Dec 2005 10:56:51 +0000 (10:56 +0000)]
When checking whether a packet is for a protocol or not, make sure the
bytes you'll be checking are available in the tvbuff first.

Don't require *all* of the packet data to be available, however.

Heuristic dissectors should return TRUE or FALSE.  Non-heuristic
"new-style" dissectors should return the amount of data dissected or 0.

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

18 years agoRegenerate, so that it handles OIDs as FT_OID.
guy [Thu, 8 Dec 2005 09:56:19 +0000 (09:56 +0000)]
Regenerate, so that it handles OIDs as FT_OID.

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

18 years agoSquelch a const vs. non-const pointer warning.
guy [Thu, 8 Dec 2005 09:05:23 +0000 (09:05 +0000)]
Squelch a const vs. non-const pointer warning.

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

18 years agoFrom Kyle J. Harms:
guy [Thu, 8 Dec 2005 08:55:15 +0000 (08:55 +0000)]
From Kyle J. Harms:

Fix a few problems.

CIGI 1 and 2 are only big-endian; CIGI 3 can be little-endian or
big-endian.

Remove the port preferences.

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

18 years agoadd decoding of the share type that metze found in the tree connect response
sahlberg [Thu, 8 Dec 2005 07:54:13 +0000 (07:54 +0000)]
add decoding of the share type   that metze found in the tree connect response

prettify tid and uid

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

18 years agoAlso add the new dissectors
etxrab [Thu, 8 Dec 2005 07:29:15 +0000 (07:29 +0000)]
Also add the new dissectors

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

18 years agoCommit the actual diissectors:
etxrab [Thu, 8 Dec 2005 06:43:01 +0000 (06:43 +0000)]
Commit the actual diissectors:
Log:
 From Grame Lunt:
  updated X.500 dissectors to include DOP support.

 The "dop" dissector is the renamed "x501" dissector consequently the asn/x501 directory should be removed. The patch includes the changes to epan/dissectors/Makefile.common to reflect this.

 As the DOP dissection is not fully tested, I have disabled it by default for now (like DSP) but it can be enabled by the user.

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

18 years agoFrom Grame Lunt:
etxrab [Wed, 7 Dec 2005 23:20:11 +0000 (23:20 +0000)]
From Grame Lunt:
 updated X.500 dissectors to include DOP support.

The "dop" dissector is the renamed "x501" dissector consequently the asn/x501 directory should be removed. The patch includes the changes to epan/dissectors/Makefile.common to reflect this.

As the DOP dissection is not fully tested, I have disabled it by default for now (like DSP) but it can be enabled by the user.

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

18 years agoAvoid dereferencing pointers to the message, context and transaction object if they...
lego [Wed, 7 Dec 2005 21:08:51 +0000 (21:08 +0000)]
Avoid dereferencing pointers to the message, context and transaction object if they have not been created.

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

18 years agolibethereal: add capture_enc
etxrab [Wed, 7 Dec 2005 20:07:14 +0000 (20:07 +0000)]
libethereal: add capture_enc

tipc: First stab at reassembly, as tipc reasembly is based on reading the message length from the first segmented packet and then just add the bytes received I didn't find a better way of doing it.

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

18 years agotap the ntlmssp protocol and extract the account/domain names when users authenticate.
sahlberg [Wed, 7 Dec 2005 13:14:09 +0000 (13:14 +0000)]
tap the ntlmssp protocol and extract the account/domain names when users authenticate.

If known   put the account name, domain name, host name and which frame the suer authenticated in in an expansion below UID in the SMB2 header

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

18 years agonew function fetch_tapped_data()
sahlberg [Wed, 7 Dec 2005 13:12:39 +0000 (13:12 +0000)]
new function fetch_tapped_data()

This function can be called from a dissector to fetch (if any) tapped data from a tap.
This can offer an alternative method of passing data between different dissectors much cleaner than the pinfo pollition and private_data design mistake.

The SMB2 dissector uses this method to extract vital data such as Account_Name from the ntlmssp dissector (that is 3 leveld down from smb2)

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

18 years agomake ntlmssp tappable
sahlberg [Wed, 7 Dec 2005 13:09:42 +0000 (13:09 +0000)]
make ntlmssp tappable

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

18 years agoFix some more scaled-fixed-point values, and have a 2-byte spare field
guy [Wed, 7 Dec 2005 10:44:55 +0000 (10:44 +0000)]
Fix some more scaled-fixed-point values, and have a 2-byte spare field
followed by a 2-byte event count.  Fixes bug 609.

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

18 years agoFix oroperties, get rid of CRs.
guy [Wed, 7 Dec 2005 09:51:31 +0000 (09:51 +0000)]
Fix oroperties, get rid of CRs.

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

18 years agoSquelch a narrowing-conversion warning.
guy [Wed, 7 Dec 2005 09:48:08 +0000 (09:48 +0000)]
Squelch a narrowing-conversion warning.

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

18 years agoClear up const vs. non-const warnings.
guy [Wed, 7 Dec 2005 09:38:57 +0000 (09:38 +0000)]
Clear up const vs. non-const warnings.

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

18 years agoWhy duplicate the code of "tvb_get_string()" when you could just use
guy [Wed, 7 Dec 2005 03:03:37 +0000 (03:03 +0000)]
Why duplicate the code of "tvb_get_string()" when you could just use
"tvb_get_string()"?

Why even bother with "tvb_get_string()" when you can just use
"proto_tree_add_item()" with a string item?

Make sure that the prefix in a PRIV item isn't bigger than the item
itself.  That fixes bug 603.

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

18 years agoDon't export stuff if no other dissector uses it. "Static unless
guy [Wed, 7 Dec 2005 01:45:44 +0000 (01:45 +0000)]
Don't export stuff if no other dissector uses it.  "Static unless
otherwise required."

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

18 years agoFix indentation.
guy [Wed, 7 Dec 2005 01:31:43 +0000 (01:31 +0000)]
Fix indentation.

Gate X and Y Offset are 16-bit integral numbers of degrees, not 32-bit
IEEE floating-point numbers, and the numbers in collision detection
segment definitions and collision detection volume definitions are
16-bit fixed-point numbers, not 32-bit IEEE floating-point numbers;
handle them as such - this fixes bug 605.

When displaying the packet length in the Info column, display the *real*
length, not the sliced length.

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

18 years agoUnicode considered unnecessary and non-portable. Avoid using non-ASCII
guy [Wed, 7 Dec 2005 00:43:17 +0000 (00:43 +0000)]
Unicode considered unnecessary and non-portable.  Avoid using non-ASCII
characters in field names.

Fix indentation, and fix a typo.

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

18 years agoFrom Martin M various updates and fixes
sahlberg [Wed, 7 Dec 2005 00:35:16 +0000 (00:35 +0000)]
From Martin M   various updates and fixes

Hi, Some tiddly changes: pppoe- don't create an empty discovery tags tree when the payload length is 0 chap- make chap.value work as a filterable field rtcp- append the packet type to the protocol tree name 

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

18 years agoFrom Jelmer V AIM bugfix
sahlberg [Wed, 7 Dec 2005 00:27:17 +0000 (00:27 +0000)]
From Jelmer V   AIM bugfix

Hi,

The attached patch fixes the name of the version field, which I
previously mistook for an authorization cookie (which is in fact in a
TLV that follows this field).

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

18 years agoSquelch some compiler const vs. non-const warnings.
guy [Tue, 6 Dec 2005 22:59:30 +0000 (22:59 +0000)]
Squelch some compiler const vs. non-const warnings.

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

18 years agoClean up capture_enc(), export it, and use it in the capture window.
guy [Tue, 6 Dec 2005 22:56:37 +0000 (22:56 +0000)]
Clean up capture_enc(), export it, and use it in the capture window.

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

18 years agoThe keys for entries in the OID-to-name hash table are g_mallocated, so
guy [Tue, 6 Dec 2005 22:26:10 +0000 (22:26 +0000)]
The keys for entries in the OID-to-name hash table are g_mallocated, so
we have to g_free them when destroying the hash table.

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

18 years agoSet svn:keywords to Id to get RCS IDs expanded.
guy [Tue, 6 Dec 2005 21:07:50 +0000 (21:07 +0000)]
Set svn:keywords to Id to get RCS IDs expanded.

Set svn:eol-style to native to handle line endings appropriately, and
trim off CRs.

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

18 years agog_hash_table_new_full() does not exist for glib1
sahlberg [Tue, 6 Dec 2005 20:29:46 +0000 (20:29 +0000)]
g_hash_table_new_full() does not exist for glib1

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

18 years agoIt crashed when keep_persistent_data == FALSE
lego [Tue, 6 Dec 2005 19:47:22 +0000 (19:47 +0000)]
It crashed when keep_persistent_data == FALSE

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

18 years agowe can even get error messages while we are capturing (e.g. when a network cable...
ulfl [Tue, 6 Dec 2005 19:41:45 +0000 (19:41 +0000)]
we can even get error messages while we are capturing (e.g. when a network cable is unplugged)

problem found by Joerg Mayer

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

18 years ago- Fix few issues with context analysis
lego [Tue, 6 Dec 2005 18:52:17 +0000 (18:52 +0000)]
- Fix few issues with context analysis
- Add used terminations tree to the context analysis tree

Regenerate Dissector

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

18 years agoFill in Column info, Dissect some more user info.
etxrab [Tue, 6 Dec 2005 17:54:40 +0000 (17:54 +0000)]
Fill in Column info, Dissect some more user info.

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

18 years agoDissect Cause and use %(DEFAULT_BODY)s use import for IMSI.
etxrab [Tue, 6 Dec 2005 17:53:28 +0000 (17:53 +0000)]
Dissect Cause  and use %(DEFAULT_BODY)s use import for IMSI.

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

18 years agomark unused parameter
kukosa [Tue, 6 Dec 2005 12:50:11 +0000 (12:50 +0000)]
mark unused parameter

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

18 years agoOBJECT IDENTIFIER name resolution moved to oid_resolv.c
kukosa [Tue, 6 Dec 2005 11:45:55 +0000 (11:45 +0000)]
OBJECT IDENTIFIER name resolution moved to oid_resolv.c

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

18 years agoprotocol discriminator byte has to be taken into info_element_len
kukosa [Tue, 6 Dec 2005 10:50:21 +0000 (10:50 +0000)]
protocol discriminator byte has to be taken into info_element_len

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

18 years agoboth the buildbot and I have problems with setargv.obj
ulfl [Tue, 6 Dec 2005 08:40:17 +0000 (08:40 +0000)]
both the buildbot and I have problems with setargv.obj

trying to comment it out, so the build should work again.

don't know what this file is all about :-(

I just don't have that file and it doesn't seem to be generated ...

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

18 years agoNote what we have to be careful of before we start using Unicode in the
guy [Tue, 6 Dec 2005 06:09:28 +0000 (06:09 +0000)]
Note what we have to be careful of before we start using Unicode in the
packet list or packet details.

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

18 years agoMake $(command_line_OBJECTS) a dependency of the stuff that links with
guy [Tue, 6 Dec 2005 06:03:34 +0000 (06:03 +0000)]
Make $(command_line_OBJECTS) a dependency of the stuff that links with
it.

Link dumpcap with mkstemp.obj, as it needs mkstemp().

Make dumpcap depend only on its resource file, as we do with other
programs, not on all of them.

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

18 years agofrom Kyle Harms
sahlberg [Tue, 6 Dec 2005 01:05:48 +0000 (01:05 +0000)]
from Kyle Harms

CIGI updates

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

18 years agoadd a short comment to cant_load_winpcap_err() and use it in gtk/capture_dlg.c
ulfl [Tue, 6 Dec 2005 01:04:55 +0000 (01:04 +0000)]
add a short comment to cant_load_winpcap_err() and use it in gtk/capture_dlg.c

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

18 years agoobjectid updates
sahlberg [Tue, 6 Dec 2005 00:27:51 +0000 (00:27 +0000)]
objectid updates

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

18 years agorename pcap-....c/.h files to capture-pcap-....c/.h
ulfl [Tue, 6 Dec 2005 00:07:13 +0000 (00:07 +0000)]
rename pcap-....c/.h files to capture-pcap-....c/.h

this way, the capture prefix will "logically" group the files together and file browsers will also group them

we may want to move the files into a subdir capture later

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

18 years agorequested by Cory Perry:
ulfl [Mon, 5 Dec 2005 23:22:59 +0000 (23:22 +0000)]
requested by Cory Perry:
increase the maximum number of ringbuffer files from 1024 to 10000.

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

18 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.

Graeme

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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)

Hi,

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

metze
------------------------------------------------------------------------
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

metze
------------------------------------------------------------------------
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++) {
                        ndr_pull_uint32(...);
                }
        }
}

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

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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):

capture_input_drops
capture_input_error_message

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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