wireshark.git
17 years agoFix a typo.ethereal-0.10.10
Gerald Combs [Fri, 11 Mar 2005 17:58:19 +0000 (11 17:58 -0000)]
Fix a typo.

svn path=/releases/ethereal-0.10.10/; revision=13722

17 years agoMore updates.
Gerald Combs [Fri, 11 Mar 2005 15:44:57 +0000 (11 15:44 -0000)]
More updates.

svn path=/releases/ethereal-0.10.10/; revision=13719

17 years agoCopy over r13709 from the trunk:
Gerald Combs [Fri, 11 Mar 2005 14:35:55 +0000 (11 14:35 -0000)]
Copy over r13709 from the trunk:

 From Alexandro Vaquero:

  fix the call to "rtp_add_address()" to match the new signature;

  fix a problem with the codec displayed in the "Voip Graph"
  for H245 "RequestMode" messages.

svn path=/releases/ethereal-0.10.10/; revision=13717

17 years agoCopy over fixes from the trunk:
Gerald Combs [Fri, 11 Mar 2005 14:31:49 +0000 (11 14:31 -0000)]
Copy over fixes from the trunk:

r13705:

 Warning fix: voip_calls_dlg.c:733: implicit declaration of function
 rtp_event_init_tap

r13706:

 Flag an unused argument as unused, to squelch compiler warnings, and
 don't flag a used argument as unused.

svn path=/releases/ethereal-0.10.10/; revision=13716

17 years agoCopy over fixes from the trunk.
Gerald Combs [Fri, 11 Mar 2005 14:22:26 +0000 (11 14:22 -0000)]
Copy over fixes from the trunk.

r13711:

 We don't have an SMDS dissector, and it's not clear what dissector
 should be used for ATM, so just use the data dissector for now.

 The X.25 dissector registers itself as "x.25", not "x25".

r13712:

 Fix the offset for the system uptime field.

svn path=/releases/ethereal-0.10.10/; revision=13715

17 years agoCopy over r13707:
Gerald Combs [Fri, 11 Mar 2005 14:21:24 +0000 (11 14:21 -0000)]
Copy over r13707:

 Just use "tvb_format_text()" to handle strings - don't roll our own
 routine to handle that.

 Don't format the value text into a buffer; just use
 "proto_item_append_text()", so we don't run the risk of overflowing the
 buffer.

 Use "ip_to_str()" to format an IP address - don't roll our own code to
 handle that.

 Don't make "is_fhss" global - that causes its value to depend on the
 last packet dissected, which isn't necessarily the right value for the
 packet being dissected.

svn path=/releases/ethereal-0.10.10/; revision=13714

17 years agoPull in two recent changes:
Gerald Combs [Thu, 10 Mar 2005 21:43:54 +0000 (10 21:43 -0000)]
Pull in two recent changes:

r13701:

Warning fix: no newline at end of file

r13703:

Sync to recent changes in packet-rtp.h.

svn path=/releases/ethereal-0.10.10/; revision=13704

17 years agoFix spacing.
Gerald Combs [Thu, 10 Mar 2005 21:15:03 +0000 (10 21:15 -0000)]
Fix spacing.

svn path=/releases/ethereal-0.10.10/; revision=13702

17 years agoAdd last two commits.
Gerald Combs [Thu, 10 Mar 2005 20:24:31 +0000 (10 20:24 -0000)]
Add last two commits.

svn path=/releases/ethereal-0.10.10/; revision=13700

17 years agoCopy r13697 from the trunk:
Gerald Combs [Thu, 10 Mar 2005 20:23:04 +0000 (10 20:23 -0000)]
Copy r13697 from the trunk:

From Alejandro Vaquero:
- Automatic dissection of RTP events (RFC2833) set in SDP sessions.
- Add RTP events (RFC2833) to the Voip Graph

svn path=/releases/ethereal-0.10.10/; revision=13699

17 years agoCopy r13696 from the trunk:
Gerald Combs [Thu, 10 Mar 2005 20:17:34 +0000 (10 20:17 -0000)]
Copy r13696 from the trunk:

Instead of first running the lexer to create a list of items and then
iterate through this items to create the tree, just create the tree from
the lexer.

svn path=/releases/ethereal-0.10.10/; revision=13698

17 years agoMore NEWS updates.
Gerald Combs [Thu, 10 Mar 2005 15:49:02 +0000 (10 15:49 -0000)]
More NEWS updates.

svn path=/trunk/; revision=13694

17 years agoWarning fix: function declaration isn’t a prototype
Jörg Mayer [Thu, 10 Mar 2005 14:04:35 +0000 (10 14:04 -0000)]
Warning fix: function declaration isn’t a prototype

svn path=/trunk/; revision=13693

17 years agoWarning fix: ISO C forbids zero-size array ‘tsns
Jörg Mayer [Thu, 10 Mar 2005 12:49:05 +0000 (10 12:49 -0000)]
Warning fix: ISO C forbids zero-size array ‘tsns

svn path=/trunk/; revision=13692

17 years agoTrivial warning fixes
Jörg Mayer [Thu, 10 Mar 2005 12:43:35 +0000 (10 12:43 -0000)]
Trivial warning fixes

svn path=/trunk/; revision=13691

17 years agoadd support to decrypt and dissect sign-and-sealed traffic.
Ronnie Sahlberg [Thu, 10 Mar 2005 10:16:49 +0000 (10 10:16 -0000)]
add support to decrypt and dissect sign-and-sealed traffic.
(cifs: dc's talking to eachother   and when longhorn comes out: anyone wanting to talk dce to a dc!)

((this is an incredibly advanced feature well worthy of mentioning in NEWS))

svn path=/trunk/; revision=13690

17 years agoadd two nice defines for how to decrypt a GSSKRB tvb
Ronnie Sahlberg [Thu, 10 Mar 2005 08:52:59 +0000 (10 08:52 -0000)]
add two nice defines for how to decrypt a GSSKRB tvb

dce has slightly different padding and checksumming so we have to tell decrypt_arcfour() about it.

svn path=/trunk/; revision=13689

17 years agochange the signature for the functions to decrypt data for the
Ronnie Sahlberg [Thu, 10 Mar 2005 08:50:18 +0000 (10 08:50 -0000)]
change the signature for the functions to decrypt data for the
dcerpc_auth_subdissector_fns structure.

the SignAndSeal decryption (which works really well) needs this.

svn path=/trunk/; revision=13688

17 years agocheck in the newly generated lexer too
Luis Ontanon [Thu, 10 Mar 2005 06:33:07 +0000 (10 06:33 -0000)]
check in the newly generated lexer too

svn path=/trunk/; revision=13687

17 years ago- changed the lexer to return entire tags, refactored packet-xml.c for those changes
Luis Ontanon [Thu, 10 Mar 2005 06:32:06 +0000 (10 06:32 -0000)]
- changed the lexer to return entire tags, refactored packet-xml.c for those changes
- add markup_declarations and indent on doctype's []
- removed debugging code
- renamed meta_tag into xmlpi

svn path=/trunk/; revision=13686

17 years agoPrep for 0.10.10: Update the ChangeLog and NEWS files, bump the version
Gerald Combs [Wed, 9 Mar 2005 23:49:55 +0000 (9 23:49 -0000)]
Prep for 0.10.10: Update the ChangeLog and NEWS files, bump the version
number.

svn path=/trunk/; revision=13685

17 years agoremoved some MSVC compiler warnings, mostly I've casted "downsized function parameters"
Ulf Lamping [Wed, 9 Mar 2005 23:00:21 +0000 (9 23:00 -0000)]
removed some MSVC compiler warnings, mostly I've casted "downsized function parameters"

svn path=/trunk/; revision=13684

17 years agoRemove duplicate media types and add XML media types from packet-text-media.c.
Olivier Biot [Wed, 9 Mar 2005 19:52:58 +0000 (9 19:52 -0000)]
Remove duplicate media types and add XML media types from packet-text-media.c.

NOTE: we need to make sure that all the media types registered in the XML dissector get registered with the line-based text dissector as a fall-back when the XML dissector is disabled.

svn path=/trunk/; revision=13683

17 years agoAdd a couple of definitions not present in MIT Kerberos. Fix a compiler
Gerald Combs [Wed, 9 Mar 2005 19:43:29 +0000 (9 19:43 -0000)]
Add a couple of definitions not present in MIT Kerberos.  Fix a compiler
warning.

svn path=/trunk/; revision=13682

17 years agoFrom Jaap Keuter: update ethereal_gen.py to generate new-style plugin
Guy Harris [Wed, 9 Mar 2005 12:30:41 +0000 (9 12:30 -0000)]
From Jaap Keuter: update ethereal_gen.py to generate new-style plugin
dissectors.

svn path=/trunk/; revision=13681

17 years agorefactor the code to not use heimdal functions to decrypt and unwrap the blob.
Ronnie Sahlberg [Wed, 9 Mar 2005 11:59:40 +0000 (9 11:59 -0000)]
refactor the code to not use heimdal functions to decrypt and unwrap the blob.
use builtin functrions instead  which will make it trivial to add this support to mit later

svn path=/trunk/; revision=13680

17 years agoSet the eol-style and keywords properties.
Guy Harris [Wed, 9 Mar 2005 10:57:58 +0000 (9 10:57 -0000)]
Set the eol-style and keywords properties.

Use "tvb_reported_length_remaining()", not "tvb_length_remaining()", in
the loop parsing the packet contents, so we throw an exception on a
short frame (to mark that it *is* a short frame).

Use "tvb_format_text()" for text strings, so we don't have a problem
with non-printable characters.

Use "ether_to_str()" to turn MAC addresses into strings.

Clean up indentation.

svn path=/trunk/; revision=13679

17 years agoFrom Vladimir Kondratiev:
Guy Harris [Wed, 9 Mar 2005 10:43:34 +0000 (9 10:43 -0000)]
From Vladimir Kondratiev:

- better parsing for TIM info element: it parses 'bitmap control' byte
and provides list of AID for stations having power saving traffic.
- separate names for TIM elements. It helps to higlight beacons with
some properties, for example DTIM ones (dtim_count==0).

svn path=/trunk/; revision=13678

17 years agoComment out a routine that's not currently being used.
Guy Harris [Wed, 9 Mar 2005 10:29:59 +0000 (9 10:29 -0000)]
Comment out a routine that's not currently being used.

svn path=/trunk/; revision=13677

17 years agoFrom Ricardo Muggli: decode the voice VLAN field in CDP packets.
Guy Harris [Wed, 9 Mar 2005 10:24:34 +0000 (9 10:24 -0000)]
From Ricardo Muggli: decode the voice VLAN field in CDP packets.

svn path=/trunk/; revision=13676

17 years agoFrom Francisco Alcoba: don't generate long filter expressions, fall back
Guy Harris [Wed, 9 Mar 2005 10:12:05 +0000 (9 10:12 -0000)]
From Francisco Alcoba: don't generate long filter expressions, fall back
to the old filter mechanism if the filter expression is too long.

svn path=/trunk/; revision=13675

17 years agobugfix in PSML export output: the epan API slightly changed, epan_dissect_fill_in_col...
Ulf Lamping [Wed, 9 Mar 2005 07:51:07 +0000 (9 07:51 -0000)]
bugfix in PSML export output: the epan API slightly changed, epan_dissect_fill_in_columns must be called now to fill in column data. This resulted in missing values in PSML output.

svn path=/trunk/; revision=13674

17 years agoadd helper to compute the md5 hmac
Ronnie Sahlberg [Wed, 9 Mar 2005 07:29:52 +0000 (9 07:29 -0000)]
add helper to compute the md5 hmac

svn path=/trunk/; revision=13673

17 years agoUpdates from Abhijit Menon-Sen.
Guy Harris [Wed, 9 Mar 2005 03:15:59 +0000 (9 03:15 -0000)]
Updates from Abhijit Menon-Sen.

svn path=/trunk/; revision=13672

17 years agoFix the properties.
Guy Harris [Wed, 9 Mar 2005 03:04:46 +0000 (9 03:04 -0000)]
Fix the properties.

svn path=/trunk/; revision=13671

17 years agoSquelch some compiler warnings if we don't have Kerberos.
Guy Harris [Wed, 9 Mar 2005 03:03:10 +0000 (9 03:03 -0000)]
Squelch some compiler warnings if we don't have Kerberos.

svn path=/trunk/; revision=13670

17 years ago"time_t", not "timer_t".
Guy Harris [Wed, 9 Mar 2005 02:39:31 +0000 (9 02:39 -0000)]
"time_t", not "timer_t".

svn path=/trunk/; revision=13669

17 years agouse the rc4 functions from epan/crypt-rc4 instead of those in heimdal
Ronnie Sahlberg [Tue, 8 Mar 2005 23:47:29 +0000 (8 23:47 -0000)]
use the rc4 functions from epan/crypt-rc4  instead of those in heimdal
so that we dont have to include <rc4.h> from heimdal

hopefully the build on freebsd will succeed now

svn path=/trunk/; revision=13668

17 years agoNew protocol : KINK
Ronnie Sahlberg [Tue, 8 Mar 2005 22:32:43 +0000 (8 22:32 -0000)]
New protocol : KINK

From Taekshi Nakashima   the KINK protocol

svn path=/trunk/; revision=13667

17 years agowe dont need to link with gssapi.a any more
Ronnie Sahlberg [Tue, 8 Mar 2005 21:36:04 +0000 (8 21:36 -0000)]
we dont need to link with gssapi.a any more

svn path=/trunk/; revision=13666

17 years agoremove some dependencies of libgssapi
Ronnie Sahlberg [Tue, 8 Mar 2005 21:13:14 +0000 (8 21:13 -0000)]
remove some dependencies of libgssapi

svn path=/trunk/; revision=13665

17 years agoremove the need to include <gssapi.h> from heimdal
Ronnie Sahlberg [Tue, 8 Mar 2005 20:22:07 +0000 (8 20:22 -0000)]
remove the need to include <gssapi.h> from heimdal

svn path=/trunk/; revision=13664

17 years agoMore editing.
Guy Harris [Tue, 8 Mar 2005 19:31:50 +0000 (8 19:31 -0000)]
More editing.

svn path=/trunk/; revision=13663

17 years agoEditing.
Guy Harris [Tue, 8 Mar 2005 19:31:01 +0000 (8 19:31 -0000)]
Editing.

svn path=/trunk/; revision=13662

17 years agofrom jaap keuter: add info how to update from old to new style plugin registering
Ulf Lamping [Tue, 8 Mar 2005 19:03:09 +0000 (8 19:03 -0000)]
from jaap keuter: add info how to update from old to new style plugin registering

svn path=/trunk/; revision=13661

17 years agoIf ethereal is linked with HEIMDAL
Ronnie Sahlberg [Tue, 8 Mar 2005 09:46:24 +0000 (8 09:46 -0000)]
If ethereal is linked with HEIMDAL
and Kerberos decryption is enabled in preferences
and if we have the keytab file available

then attempt to decrypt Secure LDAP

svn path=/trunk/; revision=13660

17 years agowhen HEIMDAL is linked with :
Ronnie Sahlberg [Tue, 8 Mar 2005 09:45:19 +0000 (8 09:45 -0000)]
when HEIMDAL is linked with :
make spnego able to decrypt data wrapped inside
 GSSAPI/SPNEGO/KRB5 arcfour-hmac

This code will be more etherealified and evolve into being able to link with MIT as well.

svn path=/trunk/; revision=13659

17 years agogssapi decryption nees a few new fields to pass the blobs from application layer...
Ronnie Sahlberg [Tue, 8 Mar 2005 09:43:36 +0000 (8 09:43 -0000)]
gssapi decryption nees a few new fields to pass the blobs from application layer dissector all the way down to spnego or friends and back.

svn path=/trunk/; revision=13658

17 years agoadd xml and stats_tree plugin to the installer.
Lars Roland [Mon, 7 Mar 2005 22:31:13 +0000 (7 22:31 -0000)]
add xml and stats_tree plugin to the installer.

svn path=/trunk/; revision=13657

17 years agoremove remnants of the old plugin api from dissectors and plugins
Lars Roland [Mon, 7 Mar 2005 21:40:29 +0000 (7 21:40 -0000)]
remove remnants of the old plugin api from dissectors and plugins

svn path=/trunk/; revision=13656

17 years agoadd a default size to stats_tree windows. so we do not have to resize them everytime.
Lars Roland [Mon, 7 Mar 2005 21:11:34 +0000 (7 21:11 -0000)]
add a default size to stats_tree windows. so we do not have to resize them everytime.

svn path=/trunk/; revision=13655

17 years agoset SVN keyword ID
Lars Roland [Mon, 7 Mar 2005 20:31:35 +0000 (7 20:31 -0000)]
set SVN keyword ID

svn path=/trunk/; revision=13654

17 years agofix clean target
Lars Roland [Mon, 7 Mar 2005 20:25:09 +0000 (7 20:25 -0000)]
fix clean target

svn path=/trunk/; revision=13653

17 years agoAdd a g723 dissector to dissect the first byte to find the rate and if speech is...
Anders Broman [Mon, 7 Mar 2005 20:11:03 +0000 (7 20:11 -0000)]
Add a g723 dissector to dissect the first byte to find the rate and if speech is pressent or not.

svn path=/trunk/; revision=13652

17 years agoFrom Alejandro Vaqero:
Luis Ontanon [Mon, 7 Mar 2005 19:10:21 +0000 (7 19:10 -0000)]
From Alejandro Vaqero:

    - Fix a problem when pressing a key when  the "Graph" is  displayed
without any frame selected.

   - Add support for RTP Payload changes. Now the graph will show any
change in the RTP payload type. This is useful for example to show DTMF
2833 in a call.

-This line, and those below, will be ignored--

M    gtk/graph_analysis.c
M    gtk/voip_calls.c
M    gtk/voip_calls.h

svn path=/trunk/; revision=13651

17 years agoFrom Florian Lohoff:
Luis Ontanon [Mon, 7 Mar 2005 11:35:52 +0000 (7 11:35 -0000)]
From Florian Lohoff:

Add Netscreen vendor specific attributes

svn path=/trunk/; revision=13650

17 years agoFrom Francisco Alcoba:
Luis Ontanon [Mon, 7 Mar 2005 11:01:16 +0000 (7 11:01 -0000)]
From Francisco Alcoba:

 - Correct the order of the calls in the VoIP Calls dialog when ordering by time fields
 - Prevent an assertion when ordering on the last columns

svn path=/trunk/; revision=13649

17 years ago- pcap.h needs to be included before capture.h
Jörg Mayer [Mon, 7 Mar 2005 10:19:33 +0000 (7 10:19 -0000)]
- pcap.h needs to be included before capture.h
- As capture.h is empty without libpcap defined, only include it in that
  case and don't protect the file internally against libpcap any more.

svn path=/trunk/; revision=13648

17 years agoFix a small typo that would prevent compilation with MIT Kerberos
Jörg Mayer [Mon, 7 Mar 2005 10:15:03 +0000 (7 10:15 -0000)]
Fix a small typo that would prevent compilation with MIT Kerberos

svn path=/trunk/; revision=13647

17 years agoexport some symbols we will need later.
Ronnie Sahlberg [Mon, 7 Mar 2005 09:02:33 +0000 (7 09:02 -0000)]
export some symbols we will need later.

svn path=/trunk/; revision=13646

17 years agoMake packet-kerberos.c compile again:
Jörg Mayer [Mon, 7 Mar 2005 08:47:48 +0000 (7 08:47 -0000)]
Make packet-kerberos.c compile again:

Replace the use of the undefined type krb5_keyusage (at least with heimdal)
in decrypt_krb5_data with the old int. The change wasn't complete anyway
as the .h file wasn't changed and the third implemenitation of
decrypt_krb5_data was left out also.

Disclaimer: I only made sure it compiles again, I don't know whether the
  change has any side effects.

svn path=/trunk/; revision=13645

17 years agoCall the "new-style init" routine for plugins a "register" routine, as
Guy Harris [Mon, 7 Mar 2005 02:44:41 +0000 (7 02:44 -0000)]
Call the "new-style init" routine for plugins a "register" routine, as
it serves the same purpose as the register routine in a built-in
dissector, and don't require all dissectors to have one, as they might
just be taps.

Get rid of the stats tree's init routine, as it's just a tap, and as it
doesn't do anything.

Update the idl2eth Python script to generate plugins with register routines.

svn path=/trunk/; revision=13644

17 years agoBack out the BACnet application layer dissectin code - its use of
Guy Harris [Mon, 7 Mar 2005 01:22:55 +0000 (7 01:22 -0000)]
Back out the BACnet application layer dissectin code - its use of
recursion instead of iteration means that packets with sufficiently
large lists can cause it to overflow the stack and crash.

svn path=/trunk/; revision=13643

17 years agominor update, add an extra parameter to a call to prepare for decryption of GSSAPI...
Ronnie Sahlberg [Sun, 6 Mar 2005 22:52:58 +0000 (6 22:52 -0000)]
minor update, add an extra parameter to a call to prepare for decryption of GSSAPI wrapped data

svn path=/trunk/; revision=13642

17 years agoexport decrypt_krb5_data
Ronnie Sahlberg [Sun, 6 Mar 2005 22:34:13 +0000 (6 22:34 -0000)]
export decrypt_krb5_data

svn path=/trunk/; revision=13641

17 years agoThe length field in the "BACnet encoding rules" is limited to 32 bits
Guy Harris [Sun, 6 Mar 2005 22:14:24 +0000 (6 22:14 -0000)]
The length field in the "BACnet encoding rules" is limited to 32 bits
("Data lengths larger than 2^32-1 are not encodable using primitive
tags"), so it doesn't need to be a "guint64" - but it *can* be that big,
so we should handle the 65536-2^32-1 case.

Don't gratuitously throw away the upper 24 bits of various lengths by
casting them to guint8.

Show signed values as such.

Don't use "match_strval()" - it returns a null pointer if it doesn't
find the value in the value_string table; instead, use "val_to_str()" so
we don't blow up if the value isn't found.

svn path=/trunk/; revision=13640

17 years ago- Add some media types to be dissected as xml
Luis Ontanon [Sun, 6 Mar 2005 21:57:25 +0000 (6 21:57 -0000)]
- Add some media types to be dissected as xml
- be more tollerant on how an XML document should look like

svn path=/trunk/; revision=13639

17 years agoAdd a preference for another alternate tcp port
Luis Ontanon [Sun, 6 Mar 2005 21:32:13 +0000 (6 21:32 -0000)]
Add a preference for another alternate tcp port

svn path=/trunk/; revision=13638

17 years agoFix a minor bug with FT_BOOLEAN.
Anders Broman [Sun, 6 Mar 2005 20:54:01 +0000 (6 20:54 -0000)]
Fix a minor bug with FT_BOOLEAN.

svn path=/trunk/; revision=13637

17 years ago add format_text() to the plugin API
Luis Ontanon [Sun, 6 Mar 2005 20:43:54 +0000 (6 20:43 -0000)]
 add format_text() to the plugin API

svn path=/trunk/; revision=13636

17 years agoHandle XNS IDP socket numbers.
Guy Harris [Sun, 6 Mar 2005 20:13:58 +0000 (6 20:13 -0000)]
Handle XNS IDP socket numbers.

Handle SMB-over-SPP.

svn path=/trunk/; revision=13635

17 years ago"report_err.h" declares "report_failure()", so it doesn't need to be
Guy Harris [Sun, 6 Mar 2005 19:37:09 +0000 (6 19:37 -0000)]
"report_err.h" declares "report_failure()", so it doesn't need to be
declared in "epan.h", and, as "epan/plugins.c" now includes
"report_err.h", it doesn't need to include "epan.h".

svn path=/trunk/; revision=13634

17 years ago- get rid of some warnings
Luis Ontanon [Sun, 6 Mar 2005 18:30:59 +0000 (6 18:30 -0000)]
- get rid of some warnings

svn path=/trunk/; revision=13633

17 years ago- use the string id of the node, not the integer id in tick_stat_node
Luis Ontanon [Sun, 6 Mar 2005 18:02:27 +0000 (6 18:02 -0000)]
- use the string id of the node, not the integer id in tick_stat_node

svn path=/trunk/; revision=13632

17 years ago- replace tabs with spaces while printing
Luis Ontanon [Sun, 6 Mar 2005 17:06:55 +0000 (6 17:06 -0000)]
- replace tabs with spaces while printing
- get rid of a warning in windows compile

svn path=/trunk/; revision=13631

17 years agoForgot this in the last checkin
Luis Ontanon [Sun, 6 Mar 2005 16:58:34 +0000 (6 16:58 -0000)]
Forgot this in the last checkin

svn path=/trunk/; revision=13630

17 years agoAdd stats_tree and xml plugins to the build process
Luis Ontanon [Sun, 6 Mar 2005 16:49:16 +0000 (6 16:49 -0000)]
Add stats_tree and xml plugins to the build process

svn path=/trunk/; revision=13629

17 years agoUndo the last "fix" (13626): Unconditionally including <pcap.h> is
Jörg Mayer [Sun, 6 Mar 2005 10:26:00 +0000 (6 10:26 -0000)]
Undo the last "fix" (13626): Unconditionally including <pcap.h> is
going to cause trouble for compilations without libpcap.

svn path=/trunk/; revision=13628

17 years agoWarning fix:
Jörg Mayer [Sun, 6 Mar 2005 10:03:53 +0000 (6 10:03 -0000)]
Warning fix:
menu.c:1841:1: warning: C++ style comments are not allowed in ISO C90
menu.c:1841:1: warning: (this will be reported only once per input file)
(just removed it)

svn path=/trunk/; revision=13627

17 years agoWarning fix:
Jörg Mayer [Sun, 6 Mar 2005 10:02:39 +0000 (6 10:02 -0000)]
Warning fix:
../capture.h:115: warning: struct pcap_stat declared inside parameter list
../capture.h:115: warning: its scope is only this definition or declaration,
        which is probably not what you want
../capture.h:125: warning: struct pcap_stat declared inside parameter list

svn path=/trunk/; revision=13626

17 years agoWarning fix:
Jörg Mayer [Sun, 6 Mar 2005 09:40:58 +0000 (6 09:40 -0000)]
Warning fix:
plugins.c:236: warning: implicit declaration of function
        'report_failure'

svn path=/trunk/; revision=13625

17 years agoWarning fix:
Jörg Mayer [Sun, 6 Mar 2005 09:33:44 +0000 (6 09:33 -0000)]
Warning fix:
packet-sdp.c:74: warning: 'reset_sdp_packet_info' declared 'static'
        but never defined

svn path=/trunk/; revision=13624

17 years agoFrom Yaniv Kaul: show the protocol name in every record.
Guy Harris [Sun, 6 Mar 2005 04:42:51 +0000 (6 04:42 -0000)]
From Yaniv Kaul: show the protocol name in every record.

svn path=/trunk/; revision=13623

17 years agoSquelch some compiler warnings.
Guy Harris [Sun, 6 Mar 2005 04:41:42 +0000 (6 04:41 -0000)]
Squelch some compiler warnings.

svn path=/trunk/; revision=13622

17 years agoGet rid of an unused variable.
Guy Harris [Sun, 6 Mar 2005 04:41:00 +0000 (6 04:41 -0000)]
Get rid of an unused variable.

svn path=/trunk/; revision=13621

17 years agooops, no new_plugin_init() now there is
Luis Ontanon [Sun, 6 Mar 2005 03:45:41 +0000 (6 03:45 -0000)]
oops, no new_plugin_init() now there is

svn path=/trunk/; revision=13620

17 years agoThe first part of the XML dissector
Luis Ontanon [Sun, 6 Mar 2005 03:38:25 +0000 (6 03:38 -0000)]
The first part of the XML dissector
currently just a preety-printer with some generic fields

svn path=/trunk/; revision=13619

17 years agoNo, the code is the numerical value, not the vendor ID.
Guy Harris [Sun, 6 Mar 2005 03:38:17 +0000 (6 03:38 -0000)]
No, the code is the numerical value, not the vendor ID.

svn path=/trunk/; revision=13618

17 years agoFrom Ben Turner: fix an addVendor() call.
Guy Harris [Sun, 6 Mar 2005 03:28:41 +0000 (6 03:28 -0000)]
From Ben Turner: fix an addVendor() call.

svn path=/trunk/; revision=13617

17 years agoAdd a newline to the end of the file.
Guy Harris [Sun, 6 Mar 2005 03:25:19 +0000 (6 03:25 -0000)]
Add a newline to the end of the file.

svn path=/trunk/; revision=13616

17 years agoGet rid of "unknown transport" warnings - don't spam the user just
Guy Harris [Sun, 6 Mar 2005 03:19:34 +0000 (6 03:19 -0000)]
Get rid of "unknown transport" warnings - don't spam the user just
because we haven't yet written a dissector for a particular protocol.

svn path=/trunk/; revision=13615

17 years agoHandle the "32-bit length is > 2^31-1, so the protocol tree routines
Guy Harris [Sun, 6 Mar 2005 03:11:24 +0000 (6 03:11 -0000)]
Handle the "32-bit length is > 2^31-1, so the protocol tree routines
will treat it as negative" problem by first calling
"tvb_ensure_bytes_exist()" - if the length is *that* large, it will run
past the end of the tvbuff, so the exception that
"tvb_ensure_bytes_exist()" will throw with a negative argument will be
the correct exception.

svn path=/trunk/; revision=13614

17 years agoremove plugin_init()
Luis Ontanon [Sun, 6 Mar 2005 02:55:06 +0000 (6 02:55 -0000)]
remove plugin_init()

svn path=/trunk/; revision=13613

17 years agoChange to new_plugin_init()
Luis Ontanon [Sun, 6 Mar 2005 02:53:23 +0000 (6 02:53 -0000)]
Change to new_plugin_init()

svn path=/trunk/; revision=13612

17 years agoNo, they don't use BER for the variable portion of a PDU; update the
Guy Harris [Sun, 6 Mar 2005 02:24:49 +0000 (6 02:24 -0000)]
No, they don't use BER for the variable portion of a PDU; update the
comment appropriately.

Make a bunch of routines static.

Don't just dissect stuff past the end of the variable portion as data -
the protocol spec doesn't appear to say there's anything after that.

Don't pass the offset to the routines to dissect the different types of
PDUs, just have them start at 0.

Use guint8 for 8-bit unsigned quantities.

Rename the routine to dissect Abort PDUs to match the other PDU
dissectors.

svn path=/trunk/; revision=13611

17 years agoUpdate to Sun, February 27 2005.
Jörg Mayer [Sun, 6 Mar 2005 02:07:53 +0000 (6 02:07 -0000)]
Update to Sun, February 27 2005.

svn path=/trunk/; revision=13610

17 years agoDon't use "long" and "%l[doux]" for 64-bit quantities, use guint64 and %
Guy Harris [Sun, 6 Mar 2005 01:53:56 +0000 (6 01:53 -0000)]
Don't use "long" and "%l[doux]" for 64-bit quantities, use guint64 and %
followed by PRIu64.

Don't use C++/C99-style comments.

Use "tvb_reported_length()" to get packet lengths - don't use
"tvb_length()", and especially don't directly refer to the "length"
field of the tvbuff.

svn path=/trunk/; revision=13609

17 years ago- Modify make-manuf to add a message to manuf how to modify it
Jörg Mayer [Sun, 6 Mar 2005 01:52:34 +0000 (6 01:52 -0000)]
- Modify make-manuf to add a message to manuf how to modify it
  (aka: don't modify manuf, change manuf.tmpl and wka.tmpl instead)
- Remove OUI 08:00:0F from manuf.tmpl, the IEEE provides the correct
  value by now.
- Regenerate manuf

svn path=/trunk/; revision=13608

17 years agoMartin Mathieson: Add information sources
Jörg Mayer [Sun, 6 Mar 2005 01:15:29 +0000 (6 01:15 -0000)]
Martin Mathieson: Add information sources

svn path=/trunk/; revision=13607

17 years agoJuan Gonzales of Mitel Networks pointed out this change to the IEEE's OUI list
Luis Ontanon [Sun, 6 Mar 2005 00:39:40 +0000 (6 00:39 -0000)]
Juan Gonzales of Mitel Networks pointed out this change to the IEEE's OUI list

svn path=/trunk/; revision=13606