Commit graph

818 commits

Author SHA1 Message Date
Guy Harris
9461951d50 Make the array for the "setup method" for RTP, RTCP, and T.38
conversations large enough to hold the maximum setup method size plus a
trailing '\0'.  Make the maximum setup method size 7, so that when the
trailing '\0' is included the total array length is a power of 2.  (The
longest string currently used is "Skinny", which fits in 7 characters).

This fixes problems in the RTP and RTCP dissectors similar to the one
found in the T.38 dissector.

Undo the previous change to packet-t38.c, as it's now safe to store in
method[MAX_T38_SETUP_METHOD_SIZE], because the array now has
MAX_T38_SETUP_METHOD_SIZE+1 characters.

(Should we use "strlcpy()", and supply our own "strlcpy()" if the system
and/or C library doesn't supply it?  Its semantics are a bit cleaner
than those of the "strncpy()"/null-terminate idiom, perhaps making it
less likely that mistakes of this sort will be made.)

svn path=/trunk/; revision=12803
2004-12-21 19:28:48 +00:00
Ronnie Sahlberg
97755f83fc from metze
make ethereal handle gss-api encrypted ldap blobs


svn path=/trunk/; revision=12802
2004-12-21 17:05:14 +00:00
Ronnie Sahlberg
cba7da7b6c abs_time_to_str() returns a staticly allocated string. dont g_free() it.
fix two instances of wrong parameter list to proto_tree_add_string_format()

if we call proto_tree_string()  the hf field has to be of a string format as well.



now it dissects christophe's capture without dumping core  but it looks weird.
mmse and telco people can read the specs and find ut what it wrong.



svn path=/trunk/; revision=12801
2004-12-21 16:44:11 +00:00
Jörg Mayer
337d6a27f0 Abhijit Menon-Sen:
- Make port configurable via prefs
        - Highlight keywords in addition to values in hexpane

svn path=/trunk/; revision=12800
2004-12-21 13:18:08 +00:00
Jörg Mayer
773681fca3 Giles Scott: Add Wlan tap
svn path=/trunk/; revision=12799
2004-12-21 12:30:24 +00:00
Ulf Lamping
dc3f1c1c2a Again, some warnings removed.
svn path=/trunk/; revision=12797
2004-12-21 10:02:42 +00:00
Gerald Combs
687a2d71eb Fix an off-by-one error when terminating a string.
svn path=/trunk/; revision=12796
2004-12-21 03:50:14 +00:00
Jörg Mayer
f774652d9b Abhijit Menon-Sen: Postgres v3 support
svn path=/trunk/; revision=12795
2004-12-20 23:24:13 +00:00
Guy Harris
b40e2e4dfb Get rid of extra include of <string.h>.
svn path=/trunk/; revision=12794
2004-12-20 22:51:05 +00:00
Ulf Lamping
da27f1fac3 Removed some of the unix related warnings. I'll remove the remaining DCOM related ones in the next days, step by step (by looking at the buildbot output).
svn path=/trunk/; revision=12793
2004-12-20 22:29:24 +00:00
Guy Harris
65d7e1d97c Include <string.h> to declare various functions.
svn path=/trunk/; revision=12792
2004-12-20 22:25:13 +00:00
Guy Harris
e20d80ea57 Use "plurality()" rather than locally-defined "PLURALIZE()" macros, and
get rid of the definition of "PLURALIZE()" in modules that don't use it.

svn path=/trunk/; revision=12791
2004-12-20 22:13:48 +00:00
Gerald Combs
8e36c366f8 Remove an unneeded "ntohl()" call.
svn path=/trunk/; revision=12790
2004-12-20 16:15:29 +00:00
Jörg Mayer
d9c383275a Found by Buildbot Solaris: isprint.h include only works on glib2 systems
svn path=/trunk/; revision=12787
2004-12-20 10:49:12 +00:00
Guy Harris
4cc0fdc5dd Put in a stub "dissector" for LDAP_FILTER EXTENSIBLE, so we can at least
dissect packets containing that filter type.

Note that if a dissector for a particular operation fails, we should
stop dissecting rather than trying to dissect the controls.

svn path=/trunk/; revision=12786
2004-12-20 09:53:27 +00:00
Ronnie Sahlberg
1574f4dd5e g_strescape only takes one parameter in glib 1.x
this makes ethereal compile for those of us that are not on the bleeding edge.
(gtk1 is much better anyway)


svn path=/trunk/; revision=12785
2004-12-20 08:44:10 +00:00
Jörg Mayer
4ba6d382b7 - Diplay SSID in mangemntframes
- Display unprintable characters in SSID as '.' (SSID charaters
  are of type octet, not alphanum).

svn path=/trunk/; revision=12784
2004-12-20 00:00:06 +00:00
Ulf Lamping
b2c9c74aed removed some gcc warnings (hopefully)
svn path=/trunk/; revision=12783
2004-12-19 17:26:23 +00:00
Ulf Lamping
2b02b27b29 add some IRemUnknown dissectors
svn path=/trunk/; revision=12782
2004-12-19 16:49:34 +00:00
Ulf Lamping
1143f7e2ca tweak some comments
svn path=/trunk/; revision=12781
2004-12-19 16:30:25 +00:00
Ulf Lamping
519e81d46c add dissection of RemoteActivation method
svn path=/trunk/; revision=12780
2004-12-19 16:29:08 +00:00
Ulf Lamping
e3f96e79e7 add a lot of dissect stuff to the OXID resolver, moved some details of the DUALSTRINGARRAY to packet-dcom.c
svn path=/trunk/; revision=12779
2004-12-19 16:13:05 +00:00
Ulf Lamping
ae802a6a02 bugfix: remove empty line, probably caused by eol confusion
svn path=/trunk/; revision=12778
2004-12-19 16:04:09 +00:00
Ulf Lamping
f2fd0e2424 renamed all DCOM related interface dissectors from packet-dcerpc-... to packet_dcom_... and add DCOM IDispatch dissector (incomplete, but better than nothing... ;-)
svn path=/trunk/; revision=12777
2004-12-19 14:08:03 +00:00
Ulf Lamping
ea0baf468e (on behalf of the PROFIBUS Nutzerorganisation e.V. Deutschland):
another part of the PROFINET dissectors (PN-CBA, including a lot of generic DCOM dissection) still some work to be done ...

svn path=/trunk/; revision=12776
2004-12-19 13:46:09 +00:00
Ulf Lamping
1f73d0df93 Merge dissection of EndpointMapper interfaces of version 3 and 4 into one file, as the dissection of both interface versions are (currently) identical. (Jaime, could you please check, if EPM4 dissection is still working well?)
svn path=/trunk/; revision=12775
2004-12-19 10:30:33 +00:00
Ronnie Sahlberg
d0fbb2596a add detection to TCP Analysis to detect and flag segments that will completely fill the window advertized from the other side.
I.e. when a segment is seen that would (as far as ethereal can tell from the ACKs it has seen in the other direction) fill the window completely.

It is similar to but not exactly the same as the XeroWindow detection since there are many instances where ZeroWindow detection would not work (i.e. an ACK where win==0    since many many situations occur where the window is full but no zerowindowack is ever generated)


Someone that has good english could, please, update the Wiki with this option.
It is very very useful to spot performance issues where the tcp window size is too small to accomodate the enmd-to-end latency.





svn path=/trunk/; revision=12774
2004-12-19 07:18:04 +00:00
Ronnie Sahlberg
62f26aaeb4 abort trying to dissect ldap controls if the header doesnt look right.
it will not solve the problem in the c06-  testmenageri capture that
contains unknown types of ldap commands   but it will at least 
stop the ldap controls dissector from dumping core.

someone interested in ldap might want to look at those "unknown ldap packets"
in the trace.



svn path=/trunk/; revision=12773
2004-12-19 04:10:05 +00:00
Jörg Mayer
1e51ddbae3 Giles Scott: Port weak key detection from Airsnort
svn path=/trunk/; revision=12772
2004-12-19 04:04:49 +00:00
Ronnie Sahlberg
9f87afbca5 mark some fields as GENERATED fields
svn path=/trunk/; revision=12771
2004-12-19 03:30:46 +00:00
Ronnie Sahlberg
7def0aa70c the mid values in smb are too unreliable for request/response matching since they wrap so quickly.
This has the effect that if you have a capture file with a hole in it, sa say when snoop or similar stops capturing packets for a while while writing the data to disk   you often end up with a packet just after the hole that is a response packet  and which ethereal mistakenly matches with a request/response from before the hole.


now,  when the first response is seen to a request   remove the entry from the unmatched table so that no other response can match the same request.



svn path=/trunk/; revision=12770
2004-12-19 03:19:53 +00:00
Ronnie Sahlberg
5d1b339131 make ndmp use tcp_dissect_pdus()
so that it will track pdu boundaries properly

not tracking pdu boundaries caused pain since it would miss too many
commands


svn path=/trunk/; revision=12769
2004-12-18 22:09:06 +00:00
Guy Harris
b321d9fbfe When the LMP dissector rejects a packet because it {is, isn't} UDP, let
some other dissector have it.

svn path=/trunk/; revision=12766
2004-12-17 19:27:46 +00:00
Guy Harris
3609ea96c3 From Stefan Metzmacher: basic decoding for LDAP Controls.
svn path=/trunk/; revision=12765
2004-12-17 19:14:24 +00:00
Guy Harris
14c5bed304 From Yaniv Kaul: add the CCM_POST method.
Tweak indentation.

svn path=/trunk/; revision=12761
2004-12-15 17:50:11 +00:00
Guy Harris
c2b55b8d97 From Yaniv Kaul: DCERPC-over-HTTP(!) support. (But why didn't whoever
came up with that not go whole hog and implement RFC 3093?)

svn path=/trunk/; revision=12756
2004-12-15 09:10:07 +00:00
Jörg Mayer
adf24fd4b1 Fix the following gcc-4 error:
==============
packet-ocsp.c:191: error: static declaration of 'Version_vals' follows non-static declaration
packet-x509af.h:39: error: previous declaration of 'Version_vals' was here
packet-ocsp.c: In function 'dissect_ocsp_T_response':
packet-ocsp.c:398: warning: pointer targets in passing argument 5 of 'dissect_ber_identifier' differ in signedness
packet-ocsp.c:398: warning: pointer targets in passing argument 7 of 'dissect_ber_identifier' differ in signedness
make[4]: *** [packet-ocsp.lo] Error 1
==============

This fix is in the generated file only - please fix in the right
source file too.


svn path=/trunk/; revision=12751
2004-12-14 13:41:36 +00:00
Guy Harris
4fef292099 From Victor Stratan: correct offset calculation and add TP-PID decoding
in SMS-SUBMIT-REPORT decoding based on 3GPP TS 23.040 V6.5.0 9.2.3.11.

svn path=/trunk/; revision=12750
2004-12-14 08:20:32 +00:00
Guy Harris
21a206c37f In the "PPP in HDLC-Like Framing" items, consider the starting delimiter
part of the packet's data.

If a packet has a starting and ending frame delimiter - i.e., the
delimiter at the end is followed by another delimiter - consider the
ending delimiter part of the first packet's raw data.

svn path=/trunk/; revision=12749
2004-12-14 08:15:13 +00:00
Anders Broman
6ced79161a Don't display the end delimiter as a fragment and change the bytes higligted with "PPP DATA" to exclude
the delimiters(or shold they both be included?)

svn path=/trunk/; revision=12748
2004-12-13 22:19:03 +00:00
Ronnie Sahlberg
fed43e3c12 get rid of some asn2eth warnings for x509ce
svn path=/trunk/; revision=12745
2004-12-13 12:53:35 +00:00
Ronnie Sahlberg
eeeadf7b7b remove some asn2eth warnings
svn path=/trunk/; revision=12744
2004-12-13 12:43:48 +00:00
Ronnie Sahlberg
d5ed983336 change the incorrect BER_UNI_TAG_TeletextString into BER_UNI_TAG_TeletexString
svn path=/trunk/; revision=12743
2004-12-13 11:59:48 +00:00
Ronnie Sahlberg
396ae4d70d remove some asn2eth warnings
svn path=/trunk/; revision=12742
2004-12-13 11:51:20 +00:00
Guy Harris
3f0412a729 Add a protocol layer for the raw byte stream for PPP in HDLC-like
framing, and put the raw packet and fragment data at that layer.

Add a common routine to dissect un-escaped PPP data that might have 0xff
0x03, and use it both for the raw PPP in HDLC-like framing and for
processing un-escaped data.

Check for an escape byte not followed by another byte (e.g., because the
packet is too short).

Handle the case where a chunk of that raw byte data doesn't begin with
0x7e, but starts with cruft from a previous PPP packet split across
lower-level packets.

svn path=/trunk/; revision=12741
2004-12-13 10:10:51 +00:00
Ronnie Sahlberg
8afae320de update of the asn2eth compiler to use the types ber_[choice|sequence]_t instead of ber_[choice|sequence]
regenerated all dissectors


fixed the choice/sequence struct to use unsigned entities for class and tag
(to reduce some compiler warning and because it should be signed quantities)



svn path=/trunk/; revision=12740
2004-12-13 08:15:34 +00:00
Guy Harris
b14f3dbba8 Get rid of an unused parameter.
svn path=/trunk/; revision=12736
2004-12-13 01:34:35 +00:00
Ronnie Sahlberg
593131d132 some cmip updates to handle m-Action and m-Action-confirmed
svn path=/trunk/; revision=12734
2004-12-12 23:33:40 +00:00
Ronnie Sahlberg
97f465c157 make the unknown_ber helper try to dissect NumericString and ENUMERATED when it encounters them
svn path=/trunk/; revision=12733
2004-12-12 22:59:43 +00:00
Ronnie Sahlberg
896737c467 update the helper for BER GeneralizedTime to handle implicit tag and update all dissectors using GeneralizedTime
svn path=/trunk/; revision=12732
2004-12-12 22:47:24 +00:00
Ronnie Sahlberg
4490217530 update to the ber CHOICE helper to make it handle (i hope) a CHOICE inside a CHOICE properly.
svn path=/trunk/; revision=12731
2004-12-12 22:19:00 +00:00
Anders Broman
d44941ac8d Dissect PPP messages of ethertype 0x8881
svn path=/trunk/; revision=12730
2004-12-12 20:28:18 +00:00
Anders Broman
e0245dbffd Add IMSI to the tree if it's built.
svn path=/trunk/; revision=12727
2004-12-12 16:46:09 +00:00
Ronnie Sahlberg
bc3979ee23 minor updates, get rid of temporary files during dissection
svn path=/trunk/; revision=12725
2004-12-12 01:29:21 +00:00
Ronnie Sahlberg
0e528dc7a1 updates from tomas and anders
create some missing makefiles for autogenerated dissectors

finish the transition to the new ber integer dissetor helper signature
and regenerate all ber dissectors



svn path=/trunk/; revision=12724
2004-12-12 01:14:03 +00:00
Ronnie Sahlberg
dab0fabcad remove the function with the old signature for ber integer dissection
svn path=/trunk/; revision=12723
2004-12-12 00:24:21 +00:00
Ronnie Sahlberg
549fcbe6e4 i couldnt find the source to this one so i changed the autogenerated one. switch to use the new signature for ber integer dissection
svn path=/trunk/; revision=12722
2004-12-12 00:20:49 +00:00
Ronnie Sahlberg
8bb437f0ee update gsmmap to use the new signature for the ber integer dissection helper
svn path=/trunk/; revision=12721
2004-12-12 00:17:15 +00:00
Ronnie Sahlberg
bdf35ecfc1 move kerberos over to use the new signature for ber integer dissection helper
svn path=/trunk/; revision=12720
2004-12-12 00:12:23 +00:00
Ronnie Sahlberg
e9bd26c0d0 update h248 to use the new integer dissector phasing out useage ofg the old dissector so we later can switch over.
svn path=/trunk/; revision=12719
2004-12-12 00:09:05 +00:00
Olivier Biot
718c4f1ef2 From Victor Stratan:
GSM SMS fixes:

 - Made Timezone view human readable based on 3GPP TS 23.040 V6.5.0 (9.2.3.11).

 - TP-UDHI field - located within bit no 6 one more place was left over from
   previous patch by Viorel Suman made on 9 Dec 2004.


svn path=/trunk/; revision=12718
2004-12-11 23:47:12 +00:00
Anders Broman
fb77ff6d54 Fix another lengt issue, and comment out some other faulty code - to tired to fix it now.
svn path=/trunk/; revision=12717
2004-12-11 23:15:25 +00:00
Anders Broman
8de59f7fa7 Don't add the length twice if tree is built.
svn path=/trunk/; revision=12713
2004-12-10 17:26:11 +00:00
Gerald Combs
5d3012bd86 PacketCable byte view highlighting was offset 4 bytes for many tree view items.
Fix the offset.

svn path=/trunk/; revision=12712
2004-12-10 16:14:08 +00:00
Ulf Lamping
f8b0e05555 add dissection of PN-IO IOxS field (should removed the gcc warning), some more code cleanup
svn path=/trunk/; revision=12711
2004-12-10 15:18:29 +00:00
Guy Harris
bebb2b7705 Get rid of C++/C99-style comments - not all C compilers accept them.
Fix some indentation.

svn path=/trunk/; revision=12710
2004-12-10 11:20:48 +00:00
Gerald Combs
ff7494014b The PacketCable MM code was displaying the secondary record keeping server
IP address where it should have displayed the CCC ID.

svn path=/trunk/; revision=12708
2004-12-09 23:25:01 +00:00
Gerald Combs
d528c62de1 From Brian Caswell:
The ACL parser will attempt to decode as many ACE structures as are
specified in the ACL structure.  If the number of ACE structures is
sufficiently large with one of the ACE structures specifying a size of
0, then the ACL parser will parse that ACE structure repeatedly,
eventually causing a denial of service to Ethereal.

I've attached a diff against HEAD that corrects the problem.  The diff
also corrects a few decoding errors in the NT ACL & ACE structures.  A
pcap is attached that reproduces the problem.

svn path=/trunk/; revision=12706
2004-12-09 22:17:50 +00:00
Olivier Biot
7799a91851 From Viorel Suman.
Various GSM SMS fixes:

 - Wrong positions of the fields, located within the first octet
   of the GSM SMS TPDU.

 - One byte is skipped during RP-ERROR vs. RP-ACK detecting:
   Offset must be increased only when RP-ERROR is detected in
   order to avoid one byte skipping.

 - Improper dissect method is used to dissect SMS-DELIVER-REPORT.

svn path=/trunk/; revision=12703
2004-12-09 21:50:27 +00:00
Gerald Combs
6c8707b255 Add PacketCable Event Message information to the "Info" column.
svn path=/trunk/; revision=12702
2004-12-09 21:06:03 +00:00
Gerald Combs
f1857c511c Terminate value_strings with "{ 0, NULL }" instead of "{ 0, "Unknown" }".
Otherwise, "tethereal -G values" fails on some platforms.

svn path=/trunk/; revision=12701
2004-12-09 19:52:59 +00:00
Gerald Combs
eae0fb9b98 Improve the byte length check from the last commit, and check for the same
problem in other parts of the code.

svn path=/trunk/; revision=12699
2004-12-09 19:06:59 +00:00
Gerald Combs
d888d28671 Check for a bogus byte length.
svn path=/trunk/; revision=12698
2004-12-09 18:46:27 +00:00
Gerald Combs
c3a4d2b14f Add another token size check.
svn path=/trunk/; revision=12697
2004-12-09 16:37:46 +00:00
Anders Broman
ec085fdae9 Add a value string for 3gpp2 Service option values.
svn path=/trunk/; revision=12696
2004-12-08 19:43:21 +00:00
Guy Harris
6224fde4b4 Fix the RCS ID.
The "if()" gets rid of one GCC warning, but adds another one - we could
leave the warning in place, as a reminder that the dissector needs to be
finished, or we could just tag the parameter with _U_ to suppress the
warning.

svn path=/trunk/; revision=12695
2004-12-08 19:25:09 +00:00
Guy Harris
f92f3a7512 Squelch some compiler warnings.
svn path=/trunk/; revision=12694
2004-12-08 19:23:30 +00:00
Gerald Combs
9283135b8b Check for an invalid header length.
svn path=/trunk/; revision=12693
2004-12-08 15:19:10 +00:00
Jörg Mayer
9c75e56ac7 Fix the following:
packet-ipmi.c:3568: warning: ISO C forbids initialization
        between function pointer and 'void *'
by declaring a proper function variable.

svn path=/trunk/; revision=12692
2004-12-08 13:11:46 +00:00
Ulf Lamping
998f36cdd8 (hopefully) removed some gcc warnings
svn path=/trunk/; revision=12691
2004-12-08 12:35:55 +00:00
Anders Broman
ca5d55eb0b From Susanne Edlund: I have rewritten the bssgp dissector to comply with 3GPP v 6.5.0.
svn path=/trunk/; revision=12690
2004-12-08 07:15:46 +00:00
Guy Harris
c37fb7fabd Add a URL for an old I-D for Etheric, and ask some questions about how
much ISUP stuff we should use?

svn path=/trunk/; revision=12689
2004-12-08 06:21:47 +00:00
Guy Harris
3404da87fd Just use the parameter type definitions, and value_string table, from
the ISUP dissector; if that's not the right thing to do, put the old
tables back and *don't* include "packet-isup.h".

svn path=/trunk/; revision=12688
2004-12-08 05:58:59 +00:00
Jörg Mayer
9c43367b5a Undo previous patch: It was wrong
svn path=/trunk/; revision=12687
2004-12-08 05:26:40 +00:00
Jörg Mayer
66e18465ee When we #include the prototype of a function/variable, it should not
be declared static.

svn path=/trunk/; revision=12686
2004-12-08 05:05:05 +00:00
Ronnie Sahlberg
0cdac27ea2 aoe update
svn path=/trunk/; revision=12685
2004-12-07 22:52:54 +00:00
Guy Harris
e0f053ec94 From Rene Pilz:
add the protocols GPRS Mobility Managment and GPRS Session
	Mangement to gsm_a (dtap);

	bug fix (RAND->128Bits=16Bytes != 12 Bytes).

svn path=/trunk/; revision=12682
2004-12-07 21:09:05 +00:00
Gerald Combs
3bbde0ecd2 The standard environment separator character under Windows is ";".
Net-SNMP expects this in the MIBS environment variable, so don't use
":" in the default MIB list if we're running under Windows.

svn path=/trunk/; revision=12681
2004-12-07 21:06:55 +00:00
Guy Harris
4d98722689 Get rid of an unused true_false_string value.
svn path=/trunk/; revision=12680
2004-12-07 18:21:21 +00:00
Guy Harris
61db2c8cc2 From Brett Kuskie: add more HTTP headers as filterable fields.
svn path=/trunk/; revision=12679
2004-12-07 17:59:58 +00:00
Gerald Combs
1bdc52af46 Check for a bogus length value.
svn path=/trunk/; revision=12677
2004-12-07 16:17:50 +00:00
Jörg Mayer
97c3a23beb svn propset svn:keywords Id svn:eol-style native .....
Add $Id: $ where missing

svn path=/trunk/; revision=12676
2004-12-07 11:13:58 +00:00
Ronnie Sahlberg
9b35ad5564 update one of the command names
svn path=/trunk/; revision=12675
2004-12-07 04:28:37 +00:00
Ronnie Sahlberg
2625d6d3e9 create a proper ETHERTYPE for ATAoverEthernet
svn path=/trunk/; revision=12674
2004-12-07 03:16:34 +00:00
Ronnie Sahlberg
ab3d6214d5 new protocol: ATAoverETHERNET (AoE)
svn path=/trunk/; revision=12673
2004-12-07 03:00:21 +00:00
Gerald Combs
ced793054b Add more suboption length checks to dissect_bap_phone_delta_opt().
svn path=/trunk/; revision=12672
2004-12-06 23:12:32 +00:00
Gerald Combs
aeee8356b7 Check for a bogus authentication subheader length.
svn path=/trunk/; revision=12671
2004-12-06 22:32:50 +00:00
Ulf Lamping
c87fb7a010 (on behalf of the PROFIBUS Nutzerorganisation e.V. Deutschland):
first part of the PROFINET dissectors (PN-RT, PN-DCP and PN-IO) still some work to be done ...

svn path=/trunk/; revision=12670
2004-12-06 18:05:14 +00:00
Ronnie Sahlberg
c20df95fd5 updates to pkix1implicit (we have to think about how to rewrite both pkix1eplicit and pkix1implicit to avoid the crap with duplicate definitions from x509)
New protocol : RFC3161  PKIX TimeStamp Protocol



svn path=/trunk/; revision=12669
2004-12-05 21:47:49 +00:00
Gerald Combs
ba475d8c35 Grab the last (and null) byte of the content type value.
svn path=/trunk/; revision=12668
2004-12-05 18:40:35 +00:00
Guy Harris
da632922f3 Add a URL for the BitTorrent protocol spec.
svn path=/trunk/; revision=12664
2004-12-03 20:51:10 +00:00
Guy Harris
cfde79b7de From Tomasz Mrugalski:
- option values updated to match RFC3898 (NIS/NIS+ options)
- FQDN option added (draft-ietf-dhc-dhcpv6-opt-fqdn-00.txt)
- Lifetime option added (draft-ietf-dhc-dhcpv6-opt-lifetime-00.txt)
- Long lasting typo corrected (those are identiTy associations, not
  identiFy associations)
- Fixed bug always reporting SIP DOMAIN option to be malformed (break was
  missing)
- Domains names are now parsed (in DOMAIN_LIST, SIP_SERVER_A, NIS_DOMAIN
  and NISPLUS_DOMAIN options). 

svn path=/trunk/; revision=12663
2004-12-03 09:51:16 +00:00
Ronnie Sahlberg
aef13dcde6 make the tcp dissector distinguish between duplicate acks and window updates
svn path=/trunk/; revision=12662
2004-12-03 05:53:09 +00:00
Guy Harris
4437245d30 From David Fort: the DNS RR type number for IPSECKEY will be changing to
45, so update the dissector.

svn path=/trunk/; revision=12655
2004-12-02 08:28:10 +00:00
Gerald Combs
594c47b14d Replace GRE_FR with ETHERTYPE_RAW_FR.
svn path=/trunk/; revision=12649
2004-12-01 23:18:20 +00:00
Anders Broman
e29f2ac105 Make the Ericsson internal decode of IP addresses a preference instead of IF DEFS, default off.
svn path=/trunk/; revision=12648
2004-12-01 21:59:03 +00:00
Guy Harris
d76db3fb6e Fix a typo.
svn path=/trunk/; revision=12644
2004-12-01 21:05:45 +00:00
Anders Broman
1f92ee7aea Add some ethertypes
svn path=/trunk/; revision=12643
2004-12-01 20:58:22 +00:00
Gerald Combs
c12298c668 Catch a couple of integer overflows.
svn path=/trunk/; revision=12641
2004-12-01 20:51:19 +00:00
Gerald Combs
df3a7623c9 Don't access memory that may have been freed.
svn path=/trunk/; revision=12640
2004-12-01 19:34:51 +00:00
Guy Harris
679479be68 From Jelmer Vernooij: BitTorrent support.
svn path=/trunk/; revision=12638
2004-12-01 12:41:43 +00:00
Guy Harris
ea3aa64618 From Marc Poulhies: fix the handling of the authentication option when
the authentication information is missing (which it can be), and fix a
typo.

svn path=/trunk/; revision=12637
2004-12-01 12:15:16 +00:00
Guy Harris
cecacdb16f From Martin Regner: support for the parts of H.245 version 10 that are
related to H.239.

svn path=/trunk/; revision=12634
2004-12-01 11:29:57 +00:00
Guy Harris
766fcf0ba9 From Yaniv Kaul: adds LZS as a compression method, per 'Transport Layer
Security (TLS) Protocol Compression UsingLempel-Ziv-Stac (LZS)' RFC (RFC
3943).

svn path=/trunk/; revision=12633
2004-12-01 11:19:04 +00:00
Guy Harris
fee19e1413 Squelch some compiler warnings.
svn path=/trunk/; revision=12632
2004-12-01 06:48:52 +00:00
Guy Harris
7b81bb17f3 According to the part of the DCE RPC spec at
http://www.opengroup.org/onlinepubs/009629399/chap12.htm#tagcjh_17_06_01

the number of transfer syntaxes is a u_int8, with an alignment pad byte
following it, not a u_int16.

svn path=/trunk/; revision=12631
2004-12-01 06:44:54 +00:00
Guy Harris
cb900b4d1a Get rid of a long-obsolete comment.
svn path=/trunk/; revision=12630
2004-12-01 03:42:55 +00:00
Gerald Combs
077795e8fa bytes_to_str() returns a static value. Don't g_free() it.
svn path=/trunk/; revision=12629
2004-12-01 01:21:22 +00:00
Anders Broman
20404ffaa4 Fix port preference handling.
svn path=/trunk/; revision=12628
2004-11-30 22:11:56 +00:00
Anders Broman
196f22e273 New dissector for NSIP from Susanne Edlund, default port2 changed to unallocated port 19999
svn path=/trunk/; revision=12626
2004-11-30 21:19:25 +00:00
Gerald Combs
d45961b73f Replace a few instances of match_strval() with val_to_str().
svn path=/trunk/; revision=12625
2004-11-30 16:52:21 +00:00
Ronnie Sahlberg
8f73759eef Make ethereal dissect application/pkix-crl CertificateRevocationLists over HTTP.
svn path=/trunk/; revision=12624
2004-11-30 04:08:16 +00:00
Ronnie Sahlberg
f07b25895b when creating a new subset tvb for a field for further dissection by child dissectors, then if the original tvb is short and doesnt contain enough data, try to create a new subset tvb with as much data we do have instead of just bailing out.
svn path=/trunk/; revision=12623
2004-11-30 03:39:34 +00:00
Gerald Combs
795a28ec7c Add another length check.
svn path=/trunk/; revision=12621
2004-11-29 19:30:12 +00:00
Guy Harris
1b96812a61 Get rid of a debug message.
svn path=/trunk/; revision=12620
2004-11-29 18:02:07 +00:00
Gerald Combs
37667ae337 Check for an overly large header length value in order to avoid an integer
overflow.

svn path=/trunk/; revision=12619
2004-11-29 17:52:38 +00:00
Ronnie Sahlberg
e433dc13c2 new protocol : RFC2560 Online Certificate Status Protocol
svn path=/trunk/; revision=12618
2004-11-29 09:58:16 +00:00
Ronnie Sahlberg
8b4a9a21e1 export some more sympols from PKIX1EXPLICIT
svn path=/trunk/; revision=12617
2004-11-29 08:43:19 +00:00
Ronnie Sahlberg
748784dc6b Export AuthorityInfoAccessSyntax from pkix1implicit
svn path=/trunk/; revision=12616
2004-11-29 07:57:19 +00:00
Anders Broman
d607cdb1e4 From LEGO if Mate is pressent call it.
svn path=/trunk/; revision=12615
2004-11-28 20:52:52 +00:00
Anders Broman
d7f54a23e8 Bugfixes- handle zero length bytecode, handle end-off-message with implied parameters(udvm initialised to zero).
svn path=/trunk/; revision=12614
2004-11-28 19:41:17 +00:00
Ronnie Sahlberg
43f6f484ac new protocol : RFC3820 PKIXProxy
svn path=/trunk/; revision=12610
2004-11-28 04:26:27 +00:00
Gerald Combs
a0ad7be1d1 The recent length check added to proto_tree_add_string() revealed a
couple of problems when reading the PROTOS SNMP captures.  Check for
integer overflows in dissect_snmp_pdu and asn1_null_decode.

svn path=/trunk/; revision=12609
2004-11-28 04:21:30 +00:00
Ronnie Sahlberg
a95e6e0407 it appears that a SES_REFUSE spdu actually contains a CMIP-A-ASSOCIATE and not a CMIP-A-ABORT
svn path=/trunk/; revision=12608
2004-11-27 00:11:52 +00:00
Ronnie Sahlberg
c0e68bf50c prettify the printing of the octet_format field which is really just a BCD
svn path=/trunk/; revision=12607
2004-11-26 23:14:30 +00:00
Ronnie Sahlberg
c4b39a818f New protocol: RFC3709 LogotypeCertificateExtensions
svn path=/trunk/; revision=12606
2004-11-26 00:56:22 +00:00
Ronnie Sahlberg
222ba89923 update dissection of unknown blobs to try to dissect even more stuff.
svn path=/trunk/; revision=12605
2004-11-25 22:27:52 +00:00
Ronnie Sahlberg
43045f122d updates to prettify a bit when attempting to dissect an unknown blob
svn path=/trunk/; revision=12604
2004-11-25 21:30:38 +00:00
Ronnie Sahlberg
d10fa2e070 try to print an IPAddress as an ip address and not as a 4 byte octet string
svn path=/trunk/; revision=12603
2004-11-25 21:00:17 +00:00
Ronnie Sahlberg
9d81458421 from Stig: change the draft number for NAT-D
svn path=/trunk/; revision=12602
2004-11-25 20:44:17 +00:00
Ronnie Sahlberg
311c02124c From Giles Scott : updates to packet-nt-sonmp.c
svn path=/trunk/; revision=12601
2004-11-25 20:38:10 +00:00
Ronnie Sahlberg
776ca2b654 From LEGO: make the request id and operation filterable
svn path=/trunk/; revision=12599
2004-11-24 21:26:52 +00:00
Anders Broman
a8487d1bc3 add some 3gpp2 AVP:s to packet-radius.c and use "vendor" table packet-3g-a11.c
svn path=/trunk/; revision=12595
2004-11-24 12:25:37 +00:00
Guy Harris
7c3027c5e9 Export two versions of the Ethereal dissector, for use with encapsulated
Ethernet frames, one for encapsulated frames that include an FCS and one
for encapsulated frames that don't include an FCS.  Use the appropriate
versions.

In the ISL dissector, do the same sort of processing we do in the
Ethernet dissector to figure out whether the frame has a trailer or not
and whether it has an FCS or not.

svn path=/trunk/; revision=12593
2004-11-24 09:13:52 +00:00
Guy Harris
b3b1679a57 Fix some typoes.
svn path=/trunk/; revision=12592
2004-11-24 09:00:23 +00:00
Guy Harris
ad2583dcd9 Only interpret a frame as an FW1 header if it looks like one, as per a
patch from Yaniv Kaul.

svn path=/trunk/; revision=12590
2004-11-24 06:04:43 +00:00
Guy Harris
f0bb45622b From Yaniv Kaul: the authentication token might be NTLMSSP or it might
be GSS-API.

svn path=/trunk/; revision=12589
2004-11-24 04:14:56 +00:00
Guy Harris
8747b8e544 From Lane Hu: add support for more IPMI commands.
svn path=/trunk/; revision=12588
2004-11-24 03:54:40 +00:00
Guy Harris
ff3efbb9ff From Francisco Alcoba: handle RTP over IPv6.
svn path=/trunk/; revision=12586
2004-11-24 03:18:30 +00:00
Guy Harris
b0993663a1 From Jeff Morriss: SSCOP over UDP and SSCF-NNI support.
svn path=/trunk/; revision=12585
2004-11-24 02:59:49 +00:00
Guy Harris
eb0a24bbad Updates from Erwin Rol.
svn path=/trunk/; revision=12584
2004-11-24 02:36:14 +00:00
Anders Broman
cacec2985d Make it possible to fileter on partial_state create and access.
svn path=/trunk/; revision=12583
2004-11-23 22:03:28 +00:00
Anders Broman
c45f9fee60 Fix some memmory leaks
svn path=/trunk/; revision=12580
2004-11-22 22:19:03 +00:00
Guy Harris
077423bc83 Get rid of an unused variable.
svn path=/trunk/; revision=12577
2004-11-22 10:26:45 +00:00
Guy Harris
dabae881cd From Yaniv Kaul: increment the offset pointer *after* you use it to put
into the protocol tree the field you're incrementing past.

Update a comment.

svn path=/trunk/; revision=12576
2004-11-22 08:23:00 +00:00
Guy Harris
696a6dce64 Fix a spelling error.
svn path=/trunk/; revision=12575
2004-11-22 08:12:42 +00:00
Guy Harris
0271280470 Put the value of the length field in a variable-length token, not the
length of the token, into the protocol tree as the length value.

svn path=/trunk/; revision=12574
2004-11-22 08:11:31 +00:00
Ronnie Sahlberg
f102c20151 New protocol: RFC2634 ExtendedSecurityServices
updates to cms to accomodate the new protocol

add author to some files


svn path=/trunk/; revision=12573
2004-11-22 03:36:26 +00:00
Guy Harris
117d9d7ee4 Tag the compression protocol item as such.
The compression option isn't just the compression protocol, it can
include options for the protocol, so name the ett_ variable for its tree
appropriately.

svn path=/trunk/; revision=12572
2004-11-22 02:12:43 +00:00
Guy Harris
2f72f30630 In code that checks whether to accept a packet, first check to make sure
the data being checked exists.

svn path=/trunk/; revision=12571
2004-11-22 01:58:21 +00:00
Ronnie Sahlberg
f833c77dff cmip update add all remaining functions Arguments and Results
svn path=/trunk/; revision=12570
2004-11-21 23:25:04 +00:00
Guy Harris
6ec445bfe4 Set the length of the tvbuff to be handed to the subdissector
appropriately (minimum of reported length and length of data left
in the parent).

svn path=/trunk/; revision=12569
2004-11-21 23:02:36 +00:00
Guy Harris
4956f5fba1 From Bill Meier:
1. Add Preferences:

   a. To allow specification of a hint as to TDS protocol being decoded 
      (Unspecified/TDS4/TDS5/TDS7/TDS8); Default: 'unspecified'

      The 'hint' is used only when needed to do a correct decode.

      If the protocol is unspecified, the decode is as previous.

   b. To allow specification of 'ranges' of TCP ports to be treated as 
      'TDS tcp ports'; i.e. if the source or destination port of a tcp
      connection matches a specified range, then the connection should be
      considered to be TDS.

   c. To allow specification of a hint as to whether TDS being decoded is 
      'little-endian' or 'big-endian'. Default: 'little-endian'.

      A hint is just that; E.G. if TDS7+ packets are encountered the decode
      is always 'little-endian'.

2, Register tcp MS SQL default ports (1433, 2433) as TDS ports
   ('dissector_add'). This also enables TDS as a choice for 'decode as'.

3. 'netlib_check_login_pkt' changed to check 'TDS tcp port' range(s) as 
    entered in preferences;

4. Change 'dissect_tds_query_packet' to handle TDS4 ascii in addition to
   TDS7/8 UCS-16.

5. Change 'dissect_tds_rpc' to:

   a. handle TDS4 ascii RPC in addition to TDS7/8 UCS-16 RPC;
   b. handle Microsoft 'encoded' rpc_name;
   c. fix memory leak (not freeing memory obtained using
      'tvb_fake_unicode');

6. Change 'dissect_tds_response' to:

   a. handle tds4 tokens 'tds_col_name' and 'tds_col_info';
   b. dissect tokens 'tds_doneinproc' and tds 'doneproc' similarly to
      'tds_done'
   c. reclaim memory allocated for 'tds_col' structures when finished 
      processing response
           (Additional memory was being allocated each time a 
            tokenized tds5 response was processed)

7. New function 'dissect_tds_col_info_token' (similar to
   'read_results_tds5') associated with handling TDS4 responses.

8. New functions 'dissect_tds_query5_packet', 'dissect_tds5_lang_token'

9. Rework TDS token size calculation; Some TDS tokens have a length field
   of other than 2 bytes. (e.g.: the length field 
   for TDS_LANG_TOKEN is 4 bytes)

10. Update token definitions and usages;

   a. Update based upon info from current version of FreeTDS 'tds.h' 
      as well as info from Sybase TDS5 document;
      example: TDS_124_TOKEN renamed to TDS_PROCID_TOKEN

   b. TDS_124_TOKEN [TDS_PROCID] was incorrectly not considered 
      a 'fixed-size' token in function 'tds_is_fixed_token'

svn path=/trunk/; revision=12566
2004-11-21 22:03:33 +00:00
Anders Broman
81a790ca83 If message for SIP port starts with F8 it's a SIGCOMP message - decode it.
svn path=/trunk/; revision=12565
2004-11-21 21:47:51 +00:00
Ronnie Sahlberg
7bd55170ac update to cmip
add functions  m-action and m-action-confirmed


svn path=/trunk/; revision=12564
2004-11-21 21:29:10 +00:00
Guy Harris
acc3b28324 From Yaniv Kaul: yet *another* place where an NTLMSSP rather than GSSAPI
blob can appear.

svn path=/trunk/; revision=12563
2004-11-21 21:23:30 +00:00
Guy Harris
aada868cd8 From Shingo Horisawa:
add the "unknown sequence number" flag;

	fix dissection of unreachable destinations in RERR messages;

	fix prefix size in draft-perkins-manet-aodv6-01 RREP
	messages to be 7 bits, not 5 bits;

	put the message dissection under the top-level AODV tree rather
	than at the top level;

	fix labeling of source IPv6 address in RREP messages.

Update the comments at the beginning (AODV is now RFC 3561), and note
that RFC 3561 says that, for IPv6, the only change is that the address
fields are enlarged.

Rename RREQ_DEST and RREQ_GRAT to more fully indicate what they are.

Fix the name of the draft in the description of the
draft-perkins-manet-aodv6-01 messages.

Fix description of Gratuitous RREP flag in RREQ messages.

svn path=/trunk/; revision=12562
2004-11-21 21:05:16 +00:00
Ronnie Sahlberg
dc7aaa104b add a new oid
svn path=/trunk/; revision=12560
2004-11-21 11:12:20 +00:00
Ronnie Sahlberg
c47d1f0aa6 with the autogenerated export conformance files we need a small change to packet-ber.c
asn2eth  generates exports for CHOICE as of BER_CLASS_UNI  while the handgenerated ones specified the calss as BER_CLASS_ANY.

make dissect_ber_sequence()  look at the tag as well and if -1 its a wildcard and anything goes.



svn path=/trunk/; revision=12559
2004-11-21 10:34:08 +00:00
Ronnie Sahlberg
00e3474dec cleanup for x509af
svn path=/trunk/; revision=12558
2004-11-21 10:16:06 +00:00
Ronnie Sahlberg
dab0c0fa2c cleanup for x509ce
svn path=/trunk/; revision=12557
2004-11-21 10:00:40 +00:00
Ronnie Sahlberg
b48e26b8df SelectedAttributeTypes are now almost completely implemented also here i added a small makefile to reduce boring typing on the commandline
svn path=/trunk/; revision=12556
2004-11-21 08:56:09 +00:00
Ronnie Sahlberg
8b9b044698 update to x509if autogenerate the exports conformance file and create a small makefile since i am tired of typing that long command line every time
svn path=/trunk/; revision=12555
2004-11-21 08:22:21 +00:00
Ronnie Sahlberg
e097f046b5 From Yaniv Kaul : New Protocol: X509 Certificates over HTTP
svn path=/trunk/; revision=12554
2004-11-21 07:21:17 +00:00
Ronnie Sahlberg
7119af2815 Add a whole bunch of dissector to X509IF and export them.
X509if is now almost complete.



svn path=/trunk/; revision=12553
2004-11-21 06:40:02 +00:00
Ronnie Sahlberg
2c25e3c6f6 add dissection of AuthorityInfoAccessSyntax
svn path=/trunk/; revision=12552
2004-11-21 05:21:26 +00:00
Guy Harris
2ad42a55fc From Bart Braem: add support for the "destination only" flag.
svn path=/trunk/; revision=12551
2004-11-21 03:21:02 +00:00
Ronnie Sahlberg
ed107b8938 add the oids for id-kp-xxx key purpose identifier to the pkix dissector
svn path=/trunk/; revision=12549
2004-11-20 21:26:08 +00:00
Ronnie Sahlberg
649398d952 get rid of some compiler warnings
svn path=/trunk/; revision=12548
2004-11-20 07:11:08 +00:00
Ronnie Sahlberg
e216cc55f3 updates to sat to make the template smaller.
svn path=/trunk/; revision=12546
2004-11-20 06:54:45 +00:00
Ronnie Sahlberg
a6d6309361 ean up SAT a bit remove the unneccesary implementation of DirectoryStr4ing in the template and make the export of it correct.
svn path=/trunk/; revision=12545
2004-11-20 05:58:13 +00:00
Ronnie Sahlberg
2ba488f839 When we have a BER blob but we dont have the dissector for that oid implemented in ethereal (yet),
call a new function to start dissecting what unknown fields we can dissect.

Currently only PrintableString and INTEGER implemented but it will be easy to add other BER Universal types as needed later



svn path=/trunk/; revision=12544
2004-11-18 10:46:27 +00:00
Guy Harris
105c252b03 Don't create a dissector handle that we don't use.
svn path=/trunk/; revision=12543
2004-11-18 03:35:43 +00:00
Guy Harris
f6024ff41e Don't set a string pointer to point to a constant string if that pointer
will later be handed to a free-memory routine - g_strdup() the constant
string.

svn path=/trunk/; revision=12542
2004-11-17 20:09:11 +00:00
Anders Broman
7e6f597dd5 From Martin Regner add the possibillity to disscet BICC over SCTP
svn path=/trunk/; revision=12539
2004-11-17 19:33:31 +00:00
Guy Harris
745937933a Add IPv6 address<->name mappings for AAAA records.
svn path=/trunk/; revision=12538
2004-11-17 10:03:14 +00:00
Guy Harris
366ff47474 Rename some routines and structures to reflect that they're specific to
IPv4; use different data structures for port numbers.

svn path=/trunk/; revision=12536
2004-11-17 08:53:20 +00:00
Ronnie Sahlberg
bd1a1e3ae1 New protocol : SMRSE ShortMessageRelayService
svn path=/trunk/; revision=12535
2004-11-17 08:42:31 +00:00
Gerald Combs
75ce5ae404 Fix a cut/paste error.
svn path=/trunk/; revision=12533
2004-11-16 23:29:09 +00:00
Anders Broman
ffdb8be766 Implemented state-create, handling of g_hash_table at redesection needs more work.
svn path=/trunk/; revision=12532
2004-11-16 22:15:58 +00:00
Anders Broman
9d981ba8b9 Add some more OID string translations
svn path=/trunk/; revision=12529
2004-11-15 19:06:10 +00:00
Ronnie Sahlberg
e7b85d2760 New protocol PKIXQualified from RFC3739
svn path=/trunk/; revision=12528
2004-11-14 09:50:24 +00:00
Ronnie Sahlberg
e7082f5194 Since we can now handle SEQUENCE OF ANY uncomment this "difficult" field from
the Attribute SEQUENCE to make it more complete.



svn path=/trunk/; revision=12527
2004-11-14 09:48:11 +00:00
Ronnie Sahlberg
27df480915 make SEQUENCE OF understand a sequence of ANY
svn path=/trunk/; revision=12526
2004-11-14 09:45:04 +00:00
Ronnie Sahlberg
4222121cc6 export GeneralName from X509CE
svn path=/trunk/; revision=12525
2004-11-14 08:51:49 +00:00
Ronnie Sahlberg
20697638ac make octet string also allow for utf8strings
svn path=/trunk/; revision=12524
2004-11-14 08:50:37 +00:00
Ronnie Sahlberg
9f9a03119c theis is the actual dissector for the new protocol : CMIP
svn path=/trunk/; revision=12523
2004-11-14 06:13:15 +00:00
Ronnie Sahlberg
9c965a4c07 various changes in the generated dissectors after asn2eth was patched.
i think it is high time to put makefiles down in asn1/   since this autogenerating dissectors "experiment" have payed off so well   and it actual;ly works!


i dont know anything about how autogen stuff works  :-(




svn path=/trunk/; revision=12522
2004-11-14 05:15:09 +00:00
Ronnie Sahlberg
ede6ed2e8e New protocol for the telco people to play with : CMIP
Only one function is implemented so fat   M-Get   but it would be trivial to add all the missing ones once there are example captures.



svn path=/trunk/; revision=12521
2004-11-14 05:12:49 +00:00
Ronnie Sahlberg
bb0cf08d8c Major update of the ber helpers to fix a lot of bugs and make the handling of implicit_tags more sane.
It worked reasonably well   mainly, I suspect, due to implicit tags are reasonably uncommon in the dissectors we have already implemented and that the bugs were masking eachothers.


my regression tests (limited test samples though) decodes this new one exactly the same as the old one.


As a bonus by not changing anythiong in the decode  is that now it is possible to get dissection of implice items to work properly,  hence CMIP
(and also x509 Extensions work now)


make heaps of dissector helpers implicit_tag  aware.

change asn2eth to generate code to call the implicit_tag aware integer dissector helper.


svn path=/trunk/; revision=12520
2004-11-14 05:10:44 +00:00
Ronnie Sahlberg
2e13664c4b add new integer dissector helper that is aware of implicit tags
svn path=/trunk/; revision=12519
2004-11-13 14:16:06 +00:00
Ronnie Sahlberg
a638e3681b fix bug in handling an optional item
svn path=/trunk/; revision=12518
2004-11-13 10:06:15 +00:00
Guy Harris
9ffe5f9243 Get rid of an unused prameter and an unused variable.
Use %u, not %d, for unsigned variables.

svn path=/trunk/; revision=12517
2004-11-12 23:14:49 +00:00
Ronnie Sahlberg
1d85091b92 By popular request,
make ethereal be able to measure the time it took to transfer a PDU atop TCP.

This is great for analyzing performance issues caused by network/frame loss/congestion.


See  http://wiki.ethereal.com/TcpPduTime


svn path=/trunk/; revision=12516
2004-11-12 22:04:19 +00:00
Guy Harris
0284f4d4f5 From Ignacio Goyret: decode RFC 2509 and RFC 3544 IPCP options.
Fix up the AUTHORS file.

svn path=/trunk/; revision=12514
2004-11-12 10:17:13 +00:00
Guy Harris
5289391300 From Mark Phillips: optionally support decoding the payload of ESP
packets using null encryption (with a heuristic to detect null
encryption).

svn path=/trunk/; revision=12513
2004-11-12 10:03:53 +00:00
Guy Harris
f7042f6a52 From Yuriy Sidelnikov: remove some unused value_string tables, and fix
typos in other tables.

svn path=/trunk/; revision=12512
2004-11-12 09:56:12 +00:00
Guy Harris
8c53b99707 For dynamic DNS updates, give the counts in the message the appropriate
names.

For RRs with a data length of 0 - as can appear in dynamic DNS updates -
don't attempt to display the data.

svn path=/trunk/; revision=12511
2004-11-12 09:46:31 +00:00
Anders Broman
384cbd6977 From Nils Ohlmeier : patch for packet-sip.c which looks if the
Contact header in the REGISTER reply contains more then one binding.  
Details: up to now each Contact header was counted as one binding. But that 
is not correct, because several Contact headers (as several other SIP headers 
as well) can be written in one line separated by commatas.

svn path=/trunk/; revision=12507
2004-11-10 22:15:58 +00:00
Guy Harris
bcaceaf20e From Rich Coe:
fix the heuristic code -- sometimes a conversation already
	    exists;
	fix the dissect code to display all the tags in the PDU.

svn path=/trunk/; revision=12504
2004-11-10 10:28:43 +00:00
Guy Harris
4b3a0e98a5 From Greg Morris:
support 6 additional login message verbs;

	correct a problem with displaying proper return code values in
	the reply packets.

Clean up white space.

Use "tvb_reported_length_remaining()" instead of
"tvb_length_remaining()", and don't use either one to avoid throwing an
exception on a short or malformed packet.

Use "val_to_str()" rather than "match_strval()", so we don't crash if a
value happens not to be valid.

svn path=/trunk/; revision=12503
2004-11-10 10:03:42 +00:00
Anders Broman
50ccc513e4 From Luis Ontanon: Use hf_isup_parameter_type insted of hf_isup_message_type.
svn path=/trunk/; revision=12499
2004-11-09 20:16:17 +00:00
Anders Broman
d885b845c4 Add some OID string names
svn path=/trunk/; revision=12497
2004-11-09 07:03:04 +00:00
Anders Broman
f1b5065273 Make it possible to print name of OID strings for PER coded OID:s as well.
svn path=/trunk/; revision=12496
2004-11-09 06:49:35 +00:00
Ronnie Sahlberg
d26b93eb56 export RDNSequence from x509if
svn path=/trunk/; revision=12494
2004-11-06 05:31:03 +00:00
Ronnie Sahlberg
eb3f657847 export DistinguishedName from x509if
svn path=/trunk/; revision=12493
2004-11-06 05:26:31 +00:00
Ronnie Sahlberg
ed1a11f34f make x509if use the new ANY type and get rid of the workaround
svn path=/trunk/; revision=12492
2004-11-06 02:13:38 +00:00
Ronnie Sahlberg
d1e31a5c20 make CMS use the new ANY type and get rid of the workaround
svn path=/trunk/; revision=12491
2004-11-06 02:06:55 +00:00
Ronnie Sahlberg
05cf6b7ced Make X509AF use the new support for ANY type and remove the workaround
svn path=/trunk/; revision=12490
2004-11-06 02:03:14 +00:00
Guy Harris
6e10679910 Move smb.trans2.cmd and smb.nt.function near the top of the hf[] array,
so they show up near the top of the list of fields in the dialog box for
adding a field to a filter - those are probably quite likely to be used
in filter expressions where you don't happen to remember the name of the
field, and those should show up at the top so you don't have to scroll
through the entire list of fields to find them.  (I suspect most other
fields either will rarely be filtered on at all, or would be filtered
only mainly with the "Match" or "Prepare" filter items, where you don't
need to know the name or even the text of the field.)

svn path=/trunk/; revision=12489
2004-11-05 21:39:31 +00:00
Guy Harris
019dc30543 Fix some typoes and clean up whitespace a bit.
svn path=/trunk/; revision=12487
2004-11-03 23:19:09 +00:00
Anders Broman
6dbef66b2d Added some value strings and started to add mobile-ip changes from latest draft.
svn path=/trunk/; revision=12486
2004-11-03 22:32:07 +00:00
Anders Broman
f4035c429a Add SIP headers from: http://www.ietf.org/internet-drafts/draft-ietf-sip-resource-priority-05.txt
svn path=/trunk/; revision=12485
2004-11-03 22:16:20 +00:00
Guy Harris
0384ceeeb6 Check for ISL frames before checking for ETHERTYPE_UNK, as ISL fields
might have 0 in what would be the Ethernet type field.

Also, handle the first 5 octets of the destination address of an ISL
frame being 0C-00-0C-00-00.

svn path=/trunk/; revision=12484
2004-11-03 20:20:45 +00:00
Guy Harris
2a12cdec29 Add a new URL for ISL information.
svn path=/trunk/; revision=12483
2004-11-03 20:18:30 +00:00
Guy Harris
dc5d1958a1 From Giles Scott: make the chunk size and data length unsigned so we
handle values > 2^31-1.

svn path=/trunk/; revision=12482
2004-11-03 20:01:53 +00:00
Guy Harris
d7c83086ff From Yuriy Sidelnikov:
take stuff that has to be done regardless of whether a protocol
	tree is being built outside "if (tree)";

	handle PDUs with both data and control units.

svn path=/trunk/; revision=12481
2004-11-03 19:52:24 +00:00
Guy Harris
92f52c4e1c From Yuriy Sidelnikov: take stuff that has to be done regardless of
whether a protocol tree is being built outside "if (tree)".

svn path=/trunk/; revision=12480
2004-11-03 19:46:09 +00:00
Guy Harris
00204157bc Fix some strings.
svn path=/trunk/; revision=12479
2004-11-03 19:39:44 +00:00
Guy Harris
affeb01009 From Yuriy Sidelnikov: take stuff that has to be done regardless of
whether a protocol tree is being built outside "if (tree)".

svn path=/trunk/; revision=12478
2004-11-03 19:34:44 +00:00
Guy Harris
62fce7b2d7 Use the #define for the eDonkey-over-TCP header length.
svn path=/trunk/; revision=12477
2004-11-03 19:23:07 +00:00
Guy Harris
3d37d77f53 Add support for desegmentation of eDonkey-over-TCP.
Clean up indentation.
 
Give edonkey.protocol a value_string table.

svn path=/trunk/; revision=12476
2004-11-03 19:12:49 +00:00
Guy Harris
723832dbf0 Close a comment, and re-generate the GSM MAP dissector files.
svn path=/trunk/; revision=12473
2004-11-02 01:25:05 +00:00
Gerald Combs
02032272ad When we dynamically discover a Kerberos key, it helps to add it to the
key list.  In the Nettle code, clear the key list and re-read the key
file when the key file preference changes.

Remove a redundant define in config.h.win32.

svn path=/trunk/; revision=12471
2004-11-01 23:54:05 +00:00
Anders Broman
76bafcae5e New GSM MAP files based on the asn2eth compiler.
svn path=/trunk/; revision=12470
2004-11-01 22:33:09 +00:00
Gerald Combs
5d0468963b Add support for the dhpublicnumber OID.
svn path=/trunk/; revision=12465
2004-11-01 18:11:48 +00:00
Gerald Combs
66d08181dd Register OID dissectors correctly.
svn path=/trunk/; revision=12463
2004-11-01 17:49:53 +00:00
Guy Harris
57a61b29a6 From Ryuji Somegawa: dissect the Registration Update Authentication
Extension.

svn path=/trunk/; revision=12462
2004-11-01 17:48:36 +00:00
Gerald Combs
c31b0ca7ed Create a conversation only when we see a KDC_REQ.
svn path=/trunk/; revision=12461
2004-11-01 17:04:05 +00:00
Guy Harris
8a7f77731e Make the protocol tree item for ICMPv6 cover the entire ICMPv6 packet,
including any included packet.

svn path=/trunk/; revision=12458
2004-10-31 23:36:21 +00:00
Guy Harris
2d268b7a20 Get rid of a bunch of trailing spaces.
svn path=/trunk/; revision=12455
2004-10-31 02:47:07 +00:00
Guy Harris
7cd29e879e Add a "hf_sec_rgy_pname_t_size" hf_ value and corresponding field, and
use it ("sec_rgy_pname_t_size" had been used as an hf_ value, but it's
just a #define).

Fix the code for some strings to advance the offset by the string size
regardless of whether it's > 1 or not.

svn path=/trunk/; revision=12454
2004-10-31 02:39:39 +00:00
Guy Harris
1f02604dcd from Mark Phillips: the length field in the UDP header includes the
length of the UDP header itself, so subtract the length of the header
when using it to limit the length of the payload tvbuff.

Clean up the computing of the captured length of the payload tvbuff (we
really should get rid of the "length" argument to "tvb_new_subset()",
and have it compute the captured length based on the supplied reported
length and the amount of that data actually present in the parent
tvbuff).

Don't fetch the length and checksum fields until we use them (so that we
don't throw an exception until then, and fail to process the source and
destination ports), and check whether the length is bogus regardless of
whether we're building a protocol tree or not.

svn path=/trunk/; revision=12444
2004-10-30 10:04:35 +00:00
Guy Harris
6d9c6770bb Squelch some compile warnings.
svn path=/trunk/; revision=12443
2004-10-30 09:19:14 +00:00
Guy Harris
212015b7ff The length of the protocol tree item passed to "dissect_ppp_common()"
should be the length of the packet being dissected, so that if we throw
an exception dissecting it, the item covers the entire packet (because
it's incomplete, and thus *all* of it is the beginning of the header).

Instead, we should pass the length of the part of the header prior to
the protocol field as an argument to "dissect_ppp_common()", and it
should use that to set the length of that item.

svn path=/trunk/; revision=12441
2004-10-30 08:45:10 +00:00
Guy Harris
bbd6db0f46 The interface name field is 6 bytes if we *do* have UUID information in
the file and 10 bytes if we *don't*.

Small language edits in preference text and blurb.

svn path=/trunk/; revision=12440
2004-10-30 07:47:50 +00:00
Guy Harris
6c1c5fc3e7 From Martin Pichlmaier: the first 4 bytes of the Symantec firewall
header are the IP address of the interface that saw the packet.

svn path=/trunk/; revision=12439
2004-10-30 07:23:55 +00:00
Ronnie Sahlberg
b1e1e18ad1 change Extension to be implemented inside the conformance file and remove it from the template
svn path=/trunk/; revision=12438
2004-10-30 02:36:58 +00:00
Ronnie Sahlberg
805f948c29 implement AlgorithmIdentifier using the conformance file and remove it from the template
svn path=/trunk/; revision=12437
2004-10-30 02:18:44 +00:00
Ronnie Sahlberg
ee310edcda fix call_ber_iod_callback() to move offset past the end of the current blob.
svn path=/trunk/; revision=12436
2004-10-30 01:54:40 +00:00