Commit graph

991 commits

Author SHA1 Message Date
Guy Harris
84dadf4eee From Dominique Bastien: marker and OAM slow protocol support.
Fix his e-mail address.

svn path=/trunk/; revision=13287
2005-02-04 10:48:03 +00:00
Ronnie Sahlberg
b1d285c375 use a bitmap for the restore flags so the dissection is prettier
svn path=/trunk/; revision=13282
2005-02-04 05:26:51 +00:00
Ronnie Sahlberg
4fead805d5 initial checkin of modified idl file for autogenerating the BUTC interface
svn path=/trunk/; revision=13281
2005-02-04 04:58:03 +00:00
Ronnie Sahlberg
975a76b44f check in new directory for the files for autogenerating dcerpc interfaces
and the prototype idl compiler.

this is not ready for wide use yet but is useful with a svn area where we can sync our changes to the compiler.



svn path=/trunk/; revision=13280
2005-02-04 04:37:47 +00:00
Ronnie Sahlberg
e95485ff81 add support for varying strings in addition to conformant and varying strings that we already support
svn path=/trunk/; revision=13278
2005-02-04 04:02:36 +00:00
Ronnie Sahlberg
1461455adc update BUTC and fill in all (bar one) dissectors
svn path=/trunk/; revision=13277
2005-02-04 02:17:29 +00:00
Jörg Mayer
cf16ab5a13 Yaniv Kaul
Attached patch simplifies a very complex 'if' statement in packet-fw1.c
        and generally streamlines the code.


svn path=/trunk/; revision=13273
2005-02-03 23:42:06 +00:00
Jörg Mayer
94a6f0cc48 Yaniv Kaul:
Attached please find a small performance optimization to packet-ip.c,
        which removes multiple redundant calls to tvb_get_ptr().

Changed srt_addr and dst_addr from char to guchar

svn path=/trunk/; revision=13272
2005-02-03 23:35:57 +00:00
Jörg Mayer
9c638f9e7e Motonori Shindo:
Please find attached a small patch for CoSine L2 debug dissector. The
code used to incorrectly select the first 4 octets in the tvbuff. This
patch fixes this problem.

svn path=/trunk/; revision=13271
2005-02-03 23:24:08 +00:00
Jörg Mayer
326165db2b ncisco Alcoba:
Do not add target address if the packet is a Request. According to the RFC,
        target addresses in requests have no meaning


svn path=/trunk/; revision=13269
2005-02-03 22:52:20 +00:00
Anders Broman
915e63ae18 Add dissection of some more packages.
svn path=/trunk/; revision=13265
2005-02-03 21:57:42 +00:00
Anders Broman
72468bb0e5 From Francisco Alcoba:
Patch for graphing ISUP calls. It shows the type of message, 
in the first one the calling and called numbers, and in the second the SPs 
and CIC; in releases it shows the cause value.

svn path=/trunk/; revision=13263
2005-02-03 21:51:35 +00:00
Jörg Mayer
103ced271d Jon Ringle: bug fix to the stun ERROR-CODE dissecting
svn path=/trunk/; revision=13260
2005-02-03 21:11:46 +00:00
Lars Roland
627918aecb Small fix for h225 dissector as suggested by Tomas Kukosa
svn path=/trunk/; revision=13257
2005-02-03 16:22:08 +00:00
Anders Broman
acb8eef002 Add an OID
svn path=/trunk/; revision=13255
2005-02-03 06:54:55 +00:00
Ulf Lamping
69f2ac18a9 bugfix: the EOT flag detection in a COTP data TPDU was using little endian, although it's big endian in the packet.
some other minor output enhancements

svn path=/trunk/; revision=13247
2005-02-02 21:13:52 +00:00
Anders Broman
851ecd2ac4 From Jon Ringle:
1) Added a setup_frame parameter to conversation_t
2) Used the conversation_t next to maintain a list of conversations with the 
same src/dest tuple but different setup_frame number.
3) Changed the signature of find_conversation() and conversation_new() to pass 
in the frame number.
4) Adjusted packet-sdp to select RTP conversation if both m=audio and m=image 
are present, and T.38 conversation if only m=image is present. I expect that 
RTP/T.38 dissecting to be better, but I don't have a way to generate T.38 
packets.

svn path=/trunk/; revision=13243
2005-02-02 20:07:03 +00:00
Michael Tüxen
03b78c062f Add mtp3.pc as suggested by Luis Ontanon.
Cleanups

svn path=/trunk/; revision=13241
2005-02-02 13:37:04 +00:00
Ronnie Sahlberg
ecdd9999b1 the old netlogon protocol is now called smb_netlogon
svn path=/trunk/; revision=13230
2005-02-01 23:33:04 +00:00
Ronnie Sahlberg
9d2157c031 g_strlcpy does not exist in gtk 1.2
use strncpy instead


svn path=/trunk/; revision=13229
2005-02-01 23:30:18 +00:00
Anders Broman
6e4f24c0d9 Improve handling of pinfo->private_data
svn path=/trunk/; revision=13228
2005-02-01 22:57:22 +00:00
Lars Roland
2614749268 add packet-sdp.h
and from Julien Leproust:
fix graph_analysis.c

svn path=/trunk/; revision=13226
2005-02-01 14:00:25 +00:00
Lars Roland
197ceddab1 From Alejandro Vaquero:
h323 taps support up to 5 messages per packet now.

VoIP call analysis:
      - Collect ISUP, SIP and H323 calls from a capture and show them in window with the following info:
      - Start and Stop time of the call
      - Init

svn path=/trunk/; revision=13225
2005-02-01 12:12:35 +00:00
Guy Harris
db69eb8c13 Add some comments noting issues with some of the items in here.
svn path=/trunk/; revision=13224
2005-02-01 11:11:15 +00:00
Guy Harris
17e0d15df3 Move "dissect_nt_GUID()" into "packet-dcerpc-nt.c", as it's used by the
LSA dissector as well, and declare it in "packet-dcerpc-nt.h".

svn path=/trunk/; revision=13223
2005-02-01 05:21:08 +00:00
Guy Harris
5dd0ecbbcc If the VCI and payload type indicate that a cell is an OAM cell, dissect
it as such.

Clear the Info column when dissecting cells for an AAL we handle before
dissecting the cell, and set the Info column for OAM cells.

svn path=/trunk/; revision=13222
2005-02-01 05:19:53 +00:00
Ulf Lamping
970594e453 removed MSVC warnings:
packet-redback.c(63) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
packet-redback.c(64) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
packet-redback.c(65) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
packet-rmt-fec.c(108) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data

svn path=/trunk/; revision=13221
2005-02-01 00:52:38 +00:00
Ulf Lamping
89ee9a7290 removed MSVC warnings:
packet-juniper.c(262) : warning C4761: integral size mismatch in argument; conversion supplied
packet-juniper.c(289) : warning C4761: integral size mismatch in argument; conversion supplied

svn path=/trunk/; revision=13220
2005-02-01 00:51:42 +00:00
Anders Broman
a960b72f5f Put application context OID in pinfo->private data to be used by sub-dissector(s).
svn path=/trunk/; revision=13218
2005-01-31 21:38:56 +00:00
Anders Broman
d9614f8c40 Update som valuse strings
svn path=/trunk/; revision=13217
2005-01-31 21:37:11 +00:00
Anders Broman
f2c5299014 From LEGO:
- remove duplicate fields from VSAs (every defined field in VSAs was set twice)
 - dissect radius packet with avplen == 0 (did not decode authenticator when no AVPs were present)

svn path=/trunk/; revision=13216
2005-01-31 21:36:31 +00:00
Ronnie Sahlberg
22c81aa543 there are two NETLOGON protocols
the really really old one which is never used
and there is the DCE/RPC one that is used by all windows/cifs implementations.

We used to reserve the protocol name NETLOGON for the old obsolete protocol
and since we can not have two protocols with the same name, called
the current protocol RPC_NETLOGON instead.

that does not exactly make sense.


This renames the old obsolete protocol to SMB_NETLOGON  to make way and allow
the real netlogon protocol take the name NETLOGON



svn path=/trunk/; revision=13215
2005-01-31 09:56:42 +00:00
Ronnie Sahlberg
d3beff7c6a call dissect_ndr_uuit_t directly and avoid a dependency on packet-dcerpc-netlogon
svn path=/trunk/; revision=13214
2005-01-31 09:43:07 +00:00
Ronnie Sahlberg
262d2b36c8 support H.248 BER over SCTP PPID 7
svn path=/trunk/; revision=13213
2005-01-31 03:31:13 +00:00
Guy Harris
467ece8920 From Florian Lohoff: Redback SmartEdge SE400/800 tcpdump disassembly.
svn path=/trunk/; revision=13212
2005-01-31 03:03:02 +00:00
Guy Harris
e2089f3d82 Add a URL for Gnutella specs.
Don't check, in the dissectors for particular Gnutella packets, whether
the packet goes past the end of the tvbuff - let that throw an exception
so unreassembled packets are shown as such.

Clean up indentation.

Boost GNUTELLA_MAX_SNAP_SIZE to 4096 (one Gnutella spec suggests that
packets should be < 4K), and use it to

	1) clamp the length of packets (so we don't do huge reassembly
	   or have problems when the total packet length, including the
	   header, overflows 32 bits)

and

	2) check the length of packets before using tcp_dissect_pdus(),
	   to distinguish between packets to be reassembled and a
	   transfer stream.

Pass the correct value to tcp_dissect_pdus() as the header length.

svn path=/trunk/; revision=13211
2005-01-31 00:28:02 +00:00
Ronnie Sahlberg
a43da7a4ff add dissection of three new flags in the security descriptor
svn path=/trunk/; revision=13210
2005-01-30 23:15:10 +00:00
Anders Broman
7578a81982 Add OID:s to old dissector, for comparison reasons.
svn path=/trunk/; revision=13209
2005-01-30 18:00:48 +00:00
Anders Broman
a4db2eb570 In case of "faulty" BER tag:s return tvb = NULL
svn path=/trunk/; revision=13208
2005-01-30 17:48:18 +00:00
Ronnie Sahlberg
bb7160249d rename lsa_dissect_LSA_SECURITY_DESCRIPTOR to lsa_dissect_sec_desc_buf
change its signature to match the autogenerated signatures.

add a small wrapper function so tha tthe handwritten lsa can still call the
function through dissect_ndr_pointer()

no changes in functionality,  essentially just a rename of a function and signature change


svn path=/trunk/; revision=13207
2005-01-30 13:00:35 +00:00
Ronnie Sahlberg
7fc663c738 rename lsa_dissect_LSA_SECURITY_DESCRIPTOR_data to lsa_dissect_sec_desc_buf_data
to make the symbol compatible with an autogenerated LSA dissector.

no changes to the code, just a rename.


svn path=/trunk/; revision=13206
2005-01-30 12:38:38 +00:00
Ronnie Sahlberg
ae9fe25e4f rename lsa_dissect_POLICY_DNS_DOMAIN_INFO to lsa_dissect_DnsDomainInfo and change the signature slightly.
the signature change is to make it compatilbe with the signatures the idl compiler generates.


svn path=/trunk/; revision=13205
2005-01-30 12:21:17 +00:00
Ronnie Sahlberg
95b0d123ba add a new dissect_ndr_counted_ascii_string() that mimics dissect_ndr_counted_string() but handles an ASCII string instead of a Unicode one.
svn path=/trunk/; revision=13204
2005-01-30 11:56:37 +00:00
Guy Harris
cdaf516b8b Byte arrays are byte arrays, not strings.
svn path=/trunk/; revision=13203
2005-01-30 03:43:03 +00:00
Ronnie Sahlberg
0431c0c49f change dissect_ndr_counted_byte_array to be more consistent with dissect_ndr_counted_string
svn path=/trunk/; revision=13202
2005-01-30 02:52:25 +00:00
Guy Harris
87bf383873 Add the I-D name for L2TPv3 to a comment.
Do more, and more careful, AVP length checks.

Use tvb_format_text() to display strings.

Just use "col_add_fstr()" to set the Info column - there's no need to
format into a buffer and then set the column to that buffer.

Make the L2TP dissector a "new-style" dissector and have it reject
packets with an unknown version number - the dissection effect is the
same if no other dissector claims the packet (it just gets displayed as
data), but this allows other dissectors to claim it.

Don't use the length field if the length bit isn't set.

svn path=/trunk/; revision=13201
2005-01-29 23:45:53 +00:00
Guy Harris
152e6819a2 Put the dissection of the payload at the top level.
If the information that we used to guess the payload type is part of the
payload, don't make it correspond to the "Payload Type" protocol tree
item - it's covered by the dissected payload.

If we don't succeed in guessing the protocol type, just dissect the
payload as data.

svn path=/trunk/; revision=13200
2005-01-29 22:21:09 +00:00
Guy Harris
5084ff9f37 Treat the command opcodes as SBC-2 for CD-ROMs as well as for block
devices.

svn path=/trunk/; revision=13199
2005-01-29 20:56:20 +00:00
Guy Harris
75e4d0a2ce Use the 64-bit integer fetch routines to support 64-bit NDR integers.
svn path=/trunk/; revision=13198
2005-01-29 20:39:14 +00:00
Ronnie Sahlberg
995a967894 only add 4 bytes to the pdu length IFF header digest/crc32 is actually used.
svn path=/trunk/; revision=13193
2005-01-29 04:44:40 +00:00
Ronnie Sahlberg
0c00534dd1 we need a dissect_ndr_uint64() that dissects an NDR hyper
svn path=/trunk/; revision=13185
2005-01-28 09:37:47 +00:00
Ronnie Sahlberg
610da77693 older MS DCE/RPC interfaces often use a construct that is to be treated as a 64 bit integer but in reality is a struct containing 2 32bit integers.
this construct is aligned on 4 byte boundaries in ndr and NOT
8 bytes as a real uint64 (== hyper) would be.


rename the existing dissect_ndr_uint64  ro  dissect_ndr_duint32  (double uint32) to make it reflect better the alignment of the type.



svn path=/trunk/; revision=13184
2005-01-28 09:29:49 +00:00
Ronnie Sahlberg
289fd317a0 add a macro for aligning NDR datastreams to 8 byte boundaries
svn path=/trunk/; revision=13183
2005-01-28 09:12:40 +00:00
Ulf Lamping
751d2ebfce if there must be an unknown version message, use hex instead of decimal to print the unknown version number
svn path=/trunk/; revision=13179
2005-01-26 23:14:54 +00:00
Ulf Lamping
a5def37d6d if there must be an "unknown transport" message, at least print the transport name
svn path=/trunk/; revision=13178
2005-01-26 23:13:36 +00:00
Ulf Lamping
6fe12c02b5 bugfix of crash_00001_20050124142515.cap: dissector packet-daap.c displayed [Dissector Bug] as it dissected a length field and used it without checking it first.
use tvb_ensure_bytes_exist() before using this length value, so [Malformed Packet] will be displayed

svn path=/trunk/; revision=13177
2005-01-26 22:37:04 +00:00
Ulf Lamping
f92d7df152 bugfix of crash_00026_20050124150108.cap: three places with possible write behind the end of fixed arrays
used g_malloc instead of a fixed array

svn path=/trunk/; revision=13176
2005-01-26 22:24:42 +00:00
Anders Broman
a4a33b58e7 Fix a typo leading to no conversation set up for RTCP
svn path=/trunk/; revision=13174
2005-01-26 20:06:09 +00:00
Guy Harris
e80d808690 Add "applications/soap+xml" as a text media type.
svn path=/trunk/; revision=13172
2005-01-25 20:53:27 +00:00
Anders Broman
2fd03d5baf Make the sub system number (ssn) settings preferences.
svn path=/trunk/; revision=13170
2005-01-24 20:41:19 +00:00
Ulf Lamping
777f729958 the methods from these interfaces were missing the DCOM this/that header and therefore were missdissected
svn path=/trunk/; revision=13168
2005-01-24 19:30:07 +00:00
Guy Harris
bfcea09863 Add support for reassembly of Gnutella packets that cross TCP segment
boundaries.

svn path=/trunk/; revision=13165
2005-01-24 01:20:14 +00:00
Guy Harris
1dcecc733a Get rid of an extra space after the edge value of a SACK item if
relative sequence numbers aren't being used.

svn path=/trunk/; revision=13164
2005-01-24 00:18:13 +00:00
Ronnie Sahlberg
5b33d550a6 needs an ALIGN_TO_2_BYTES to make the idl compiler happy
svn path=/trunk/; revision=13162
2005-01-22 19:56:12 +00:00
Anders Broman
f9021bcb6a Handle some more op codes.
svn path=/trunk/; revision=13159
2005-01-21 22:46:14 +00:00
Anders Broman
92691ce697 Fixed bugs with conversations and t35
svn path=/trunk/; revision=13158
2005-01-21 22:45:20 +00:00
Ulf Lamping
13e90b72b3 use col_set_fence for COL_INFO, if multiple DCE/RPC requests/responses are in one (TCP)PDU. I've used " # " as the delimiter string, BTW: do we have an "official" one yet?
svn path=/trunk/; revision=13149
2005-01-20 19:26:24 +00:00
Ronnie Sahlberg
91548c85da SACK prettyfication
svn path=/trunk/; revision=13141
2005-01-20 13:19:11 +00:00
Ronnie Sahlberg
85c7eb84fd make TCP SACK option handle relative sequence numbers
svn path=/trunk/; revision=13140
2005-01-20 12:29:11 +00:00
Tomas Kukosa
5978eebab0 NonStandardData and TunnelledProtocol reimplemented and tested
H225 dissector regenerated with new asn2eth version

svn path=/trunk/; revision=13139
2005-01-20 12:16:53 +00:00
Guy Harris
b6f0632323 Free the chunk of reassembled DNP data iff there was a CRC error;
otherwise, we're using it in a tvbuff and shouldn't free it (even if the
next level of reassembly isn't complete, so that al_tvb is ultimately
null).

svn path=/trunk/; revision=13134
2005-01-20 09:44:29 +00:00
Guy Harris
3060dc91b6 Squelch some compiler warnings.
svn path=/trunk/; revision=13133
2005-01-20 07:58:23 +00:00
Guy Harris
b799112fdd Make some routines static that aren't used outside this module.
Use "guint16" instead of "u_int16_t", "guint8" instead of "u_int8_t",
and "guint" instead of "u_int", to handle platforms lacking the latter
types.  Make "ppp_heuristic_guess()" reeturn a Boolean, as it just
returns a "yes or no" answer.

svn path=/trunk/; revision=13132
2005-01-20 07:02:08 +00:00
Guy Harris
c4c4dd4715 Back out the asn2eth-generated GSM MAP dissector for now, at Anders
Broman's request, as it has a number of problems.

svn path=/trunk/; revision=13131
2005-01-20 06:22:20 +00:00
Guy Harris
36e8efcbca From Hannes Gredler: support for Juniper's DLT_JUNIPER_ATM{1,2} values.
svn path=/trunk/; revision=13130
2005-01-20 05:40:56 +00:00
Guy Harris
b8e743ada9 From Jean-Baptiste Marchand: stub dissectors for rras and pnp MSRPC
interfaces.

svn path=/trunk/; revision=13129
2005-01-20 05:06:38 +00:00
Guy Harris
c04a9a4180 There's no guaranteee that "req_resp_hdrs_do_reassembly()" gets called
only at the beginning of a tvbuff, so it needs an argument that's the
starting offset in the tvbuff.

svn path=/trunk/; revision=13128
2005-01-20 04:37:03 +00:00
Guy Harris
2b7ca484ac From Ruud Linders: support short names in multipart headers; SIP-T
requires this.

svn path=/trunk/; revision=13127
2005-01-20 01:26:34 +00:00
Ulf Lamping
39a6232a8d try to defragment DCE/RPC fragments (simply one after the other), if alloc_hint is zero
svn path=/trunk/; revision=13126
2005-01-19 23:41:07 +00:00
Anders Broman
d80fae9ab9 Attempt to reimplement "non standard data/parameter" and "tunnelled
protocol"

svn path=/trunk/; revision=13123
2005-01-19 22:44:09 +00:00
Gerald Combs
561fbc8b25 Add a field called "frame.protocols" which shows the protocols present
in the frame.   The filter "frame.protocols contains ip:icmp:ip" could
be used to find any ICMP packets containing IP headers.

Clean up whitespace.

svn path=/trunk/; revision=13118
2005-01-19 04:49:29 +00:00
Ulf Lamping
b5ee55d468 slightly improve dissection of complex_ping response
svn path=/trunk/; revision=13113
2005-01-18 20:44:11 +00:00
Guy Harris
e2ba7ba242 Add packet-h450.h to the list of header files.
svn path=/trunk/; revision=13107
2005-01-18 02:29:14 +00:00
Lars Roland
c2435429a1 Fix a small bug in h245.cnf.
All h.323 related statistics should work now in the same way as they did before the h323 dissectors were generated.

svn path=/trunk/; revision=13105
2005-01-17 23:42:22 +00:00
Guy Harris
4f81f615b0 Use -1 rather than tvb_length() to create a protocol tree item that runs
to the end of the tvbuff.

Don't return a value from "dissect_h4501()" - the value isn't used, and
"dissect_h4501()" is registered with "register_dissector()", so it's not
supposed to return a value.

svn path=/trunk/; revision=13104
2005-01-17 23:26:45 +00:00
Anders Broman
eee54467b1 Reinsert h450 dissection
svn path=/trunk/; revision=13100
2005-01-17 22:30:31 +00:00
Anders Broman
232ab9d158 Export q931_protocol_discriminator_vals
svn path=/trunk/; revision=13098
2005-01-17 22:26:33 +00:00
Anders Broman
f6fe109fc7 If a string of zero length is encountered offset still needs to be advanced(?)
svn path=/trunk/; revision=13097
2005-01-17 22:25:36 +00:00
Lars Roland
5a483e3abe From Anders Broman:
Add recently lost support for the h.323 conversations tap in the h225 dissector.

svn path=/trunk/; revision=13092
2005-01-17 21:52:30 +00:00
Tomas Kukosa
5b3af778d6 ASN.1 PER VisibleString support
svn path=/trunk/; revision=13085
2005-01-17 10:09:43 +00:00
Guy Harris
3778ca99c1 If a given TLV type isn't found in an aim_tlv table, just use "Unknown"
as the description - some aim_tlv tables have NULL in the end-of-table
entry.

For those that don't, replace "Unknown" with NULL; "Unknown" is now
redundant.

svn path=/trunk/; revision=13084
2005-01-17 08:13:02 +00:00
Guy Harris
6d5fa89996 When assembling application layer chunks, don't include the transport
layer byte in the reassembled data - including it means we have to pass
to "tvb_new_real_data()" a pointer to the *second* byte of a mallocated
chunk of data, but that would require us to have the free routine for
the new tvbuff back that pointer up before freeing it (we aren't doing
that currently, which means that "free()" either complains bitterly or,
potentially, corrupts the arena, causing crashes later).

Put in some XXX comments about some issues seen when looking at the
code.

svn path=/trunk/; revision=13083
2005-01-17 03:39:58 +00:00
Guy Harris
2bdef3c122 Rename the FieldError exception to DissectorError.
Add a DISSECTOR_ASSERT() macro, which is the usual type of assertion
macro, but throws a DissectorError exception with a message giving the
flien and line number and the failed test as a string.  Use that macro
in "alloc_field_info()".

Report that exception in the Info column and the protocol tree, as well
as logging the exception failure with g_warning().

svn path=/trunk/; revision=13078
2005-01-16 23:30:55 +00:00
Lars Roland
ce032dd5cf Add a few more things to the h225 dissector that got lost.
Lost things left:
-h.450 stuff
-support for the h.323 conversations tap (It is currently broken.)

svn path=/trunk/; revision=13076
2005-01-16 21:21:41 +00:00
Guy Harris
636d4690d7 Make the object length variable in some routines an "int"; we fetch a
16-bit unsigned value into it, but we might round it up to a multiple of
4 bytes, which could overflow a guint16.  Make arguments corresponding
to them "int" as well.

Use the reported length in "cops_analyze_packetcable_mm_obj()".

svn path=/trunk/; revision=13075
2005-01-16 20:26:19 +00:00
Ulf Lamping
1c9781b4ec throw the new FieldError exception, if a dissector tries to add a field with invalid parameters
add a message parameter to the show_exception function

svn path=/trunk/; revision=13074
2005-01-16 16:06:15 +00:00
Guy Harris
d1ae7c688f From Jon Ringle:
don't dissect attributes if there aren't any;

	put each attribute into a subtree;

	register the dissector by name.

Use "match_strval()" to check whether the message type is a known STUN
message type, and to generate the message type for the Info column.

Don't use "tvb_bytes_exist()" to check when we run out of data - use the
length fields from the packet.  Check the sanity of those lengths, too.

svn path=/trunk/; revision=13063
2005-01-16 04:25:27 +00:00
Guy Harris
7af9548d90 The keycode_first and keycode_count arguments to "listOfKeysyms()" can
come directly from packet data, so don't abort if they define a sequence
of keycodes that goes past 255 - just report errors for the keycodes
past 255.

Clean up indentation.

svn path=/trunk/; revision=13059
2005-01-16 01:22:53 +00:00
Guy Harris
b24afc4ed8 Revert to the previous formatting of the item.
svn path=/trunk/; revision=13058
2005-01-16 00:48:25 +00:00
Guy Harris
f1ce220265 Display the keycode list for a modifier a bit differently (don't list
the modifier name for every keycode, just give the modifier name once
and then show all the keycodes), and use "proto_item_append_text()"
rather than building a string.

Clean up white space.

svn path=/trunk/; revision=13057
2005-01-16 00:29:54 +00:00
Guy Harris
99594646d4 Correction for TP-Validity-Period extended format, from Victor Stratan:
Fix 1:
	Offset not incremented for relative type

	Fix 2:
	Semioctets not reversed for HHMMSS relative type

svn path=/trunk/; revision=13056
2005-01-15 23:45:37 +00:00
Guy Harris
d8d4a344c8 From Carlos Pignataro: Layer Two Tunneling Protocol version 3 [L2TPv3]
updates and enhancements:

  - Added Cookie and L2-Specific sublayer support via preferences dialog.
  - Added carried payload dissecting support from draft-ietf-l2tpext-pwe3-*
    and draft-townsley-l2tpv3-mpls-02.txt
  - Completed missing message types (call types) and result codes for stopccn
    and cdn.
  - Fixed conditionals for avp_vendor_id (Vendor-Specific AVPs)
  - Changed Pseudowire Capabilities List AVPs to use subtree instead of tab
  - Added numeric value of result and error codes
  - Added Session ID for v3 data packets and missing flags and reserved
  - Added version to the L2TPv3 protocol tree
  - Changed `Tunnel Id' to `Control Connection Id' for v3
  - Fixed offset for ctrl_tree on L2TPv3 over UDP
  - Added `L2TPv3' in the COL_PROTOCOL and fixed handling of L2TP version

svn path=/trunk/; revision=13055
2005-01-15 23:36:24 +00:00
Guy Harris
268e7b23d4 From Yann: handle OLSR messages with an unknown message type, using the
message length.

svn path=/trunk/; revision=13044
2005-01-15 10:09:00 +00:00
Michael Tüxen
8d5801b10d Add support for extended sequence numbers as specified in Annex A of Q.703.
svn path=/trunk/; revision=13042
2005-01-14 22:26:18 +00:00
Guy Harris
766b213ed6 If an item in a source description chunk begins with 4 bytes of zero,
that doesn't mean it's padding at the end of a previous item - it might,
for example, be the *first* item in the chunk.  Don't treat it as
padding.

Do, however, treat an item that begins with a zero byte as an item, but
break out of the loop processing items as soon as the item type is put
into the protocol tree, as there's no length field or data in an
RTCP_SDES_END item.  Fix the comment for that loop to indicate that the
loop checks both for end-of-frame and for an RTCP_SDES_END item.

svn path=/trunk/; revision=13040
2005-01-14 19:28:02 +00:00
Guy Harris
e7fd062619 Pass 0, not FALSE, as the FCS length argument (FALSE is defined as 0,
but the field is integral, not Boolean, so it's clearer if it's passed
as 0).

svn path=/trunk/; revision=13039
2005-01-14 18:05:08 +00:00
Gerald Combs
6c530b42b3 From Greg Morris: Improve malformed packet handling.
svn path=/trunk/; revision=13034
2005-01-14 17:09:11 +00:00
Guy Harris
94ecf93f8a Fix indentation.
Catch size values >= 0x80000000 and throw an exception rather than
crashing with an assertion.

svn path=/trunk/; revision=13032
2005-01-14 12:20:03 +00:00
Guy Harris
685b736c0b From Rene Pilz:
- Fix partly wrong cause values in the gmm (found by Miklos Szurdi)
	- Fix high/low nibble swap of the force to standby field (found by
	  Miklos Szurdi)
	- Dissect all elements

svn path=/trunk/; revision=13030
2005-01-14 11:40:05 +00:00
Guy Harris
544216dd74 From Stefano Pettini: RMT support for ALC and NORM.
svn path=/trunk/; revision=13029
2005-01-14 11:17:35 +00:00
Anders Broman
1fb480bcfe Some minor bugfixes to H225 functions exported and an OID added and one OID for H245
svn path=/trunk/; revision=13024
2005-01-13 21:12:06 +00:00
Guy Harris
d1f9f0b516 Use tcp_dissect_pdus() for DLSw-over-TCP.
Have the DLSw dissector reject packets with an unknown version field.

Leave out some more fields when dissecting Capability Exchange packets,
as they're not used in those packets.

Show numbers in hex when appropriate.

Show the individual subfields of the flow control and SSP flags fields.

Show the frame direction field with val_to_str(), and show the raw
value.

Clean up indentation.

svn path=/trunk/; revision=13019
2005-01-13 17:26:10 +00:00
Guy Harris
9fd1400dee Updates from Susanne Edlund.
Remove bogus boilerplate from introductory comment.

svn path=/trunk/; revision=13018
2005-01-13 09:21:04 +00:00
Guy Harris
e93d213c7a OPT RRs don't have a class field.
svn path=/trunk/; revision=13016
2005-01-13 07:51:08 +00:00
Guy Harris
d49241d087 Use symbolic names for ARP types.
Clean up indentation.

svn path=/trunk/; revision=13015
2005-01-13 07:49:31 +00:00
Guy Harris
31871276d6 HTTP requests have no content if there's no Content-Length header and no
Transfer-Encoding header.

svn path=/trunk/; revision=13014
2005-01-13 07:47:26 +00:00
Guy Harris
d7bf4a1400 Display PER booleans the way other bitfields are displayed.
svn path=/trunk/; revision=13013
2005-01-13 07:43:17 +00:00
Anders Broman
6465708652 Don't crash on a negative length
svn path=/trunk/; revision=13012
2005-01-13 07:03:14 +00:00
Ulf Lamping
aa139758f9 add new function dissect_dcerpc_uuid_t and let dissect_ndr_uuid_t call it
svn path=/trunk/; revision=13006
2005-01-12 21:20:50 +00:00
Guy Harris
7b49d981ae From Deepak Jain: L2TP v3 (draft 15) support.
Add VENDOR_IETF to <epan/sminmpec.h>, and add an entry for it to
sminmpec_values[], so that the L2TP dissector can use them rather than
defining its own copy of the private enterprise number values and table
- and make it do so.

svn path=/trunk/; revision=12999
2005-01-09 21:42:39 +00:00
Guy Harris
d8c21fe77e Properly declare "dissect_h245()" and "dissect_h245_h245()" as returning
nothing.

svn path=/trunk/; revision=12998
2005-01-09 00:01:55 +00:00
Guy Harris
54a2df6352 Get rid of some of the boilerplate comments from the sample dissector,
and de-boilerplate another part of the comment.

Fix a test of "octet_aligned" that was setting it to false rather than
testing whether it was false.

svn path=/trunk/; revision=12996
2005-01-08 20:54:23 +00:00
Anders Broman
d787b13c7c Reinsert dissection of h450 messages
svn path=/trunk/; revision=12994
2005-01-08 16:38:13 +00:00
Anders Broman
45aa6d1949 Add a dissector for RTP payload AMR RFC 3267
svn path=/trunk/; revision=12993
2005-01-08 15:49:37 +00:00
Anders Broman
5163475742 Generate "conversations" code correctly, adaptions to changes in asn2eth generator.
Regenerate with latest asn2eth compiler.

svn path=/trunk/; revision=12992
2005-01-08 14:42:12 +00:00
Guy Harris
d91588af2d Use BASE_NONE, not FT_NONE, for the "base" value of an FT_STRING field.
svn path=/trunk/; revision=12987
2005-01-07 19:34:36 +00:00
Guy Harris
4d47f84a1f Get rid of duplicate "element signature" field.
Clean up indentation.

The signatures are 4-byte strings - treat them as such.

Don't hide fields - dissectors should show what all bytes, other than
perhaps padding bytes, are.

Don't use the tvb_format_text-ified versions of strings as the value -
Ethereal already deals with non-printable characters when displaying
them.

When creating a subset tvbuff that runs to the end of the parent, use -1
as the length, don't calculate the length ourselves.

Use "tvb_reported_length()", not "tvb_length()", in loops that parse the
entire packet.

svn path=/trunk/; revision=12986
2005-01-07 19:29:54 +00:00
Gerald Combs
02520bcf9c Define data_handle at startup.
svn path=/trunk/; revision=12984
2005-01-07 15:08:24 +00:00
Guy Harris
8860bfa6ef From Mike Duigou: JXTA protocol support.
svn path=/trunk/; revision=12982
2005-01-07 12:58:43 +00:00
Guy Harris
b2aee79a35 From Carlos Pignataro:
o BGPv4 SAFI-Specific Attribute support
	  - draft-kapoor-nalawade-idr-bgp-ssa-00.txt
	o Tunnel SAFI support for BGP
	  - draft-nalawade-kapoor-tunnel-safi-02.txt
	o Small length fix

svn path=/trunk/; revision=12977
2005-01-07 11:43:05 +00:00
Guy Harris
a419637209 From Chris Maynard: free strings fetched with "tvb_fake_unicode()" when
we're done with them.

svn path=/trunk/; revision=12974
2005-01-07 10:44:44 +00:00
Guy Harris
0667d869b2 From Chris Maynard: free mallocated strings when we're done with them.
(There's still the risk of a leak if we throw an exception before we
free the string.)

Clean up indentation.

svn path=/trunk/; revision=12973
2005-01-07 10:39:51 +00:00
Guy Harris
87919fc4ef From Chris Maynard: free strings fetched with "tvb_get_string()".
Use "format_text()" or "tvb_format_text()" with the %s format, to handle
non-printable characters.

When uncompressing data into a new tvbuff, add it to the list of data
sources as we do elsewhere.

When putting items into the protocol tree from an uncompressed tvbuff,
use the offset into the tvbuff and the length of the item.

Fetch string lengths into a variable and use the variable rather than
repeatedly fetching the length from a tvbuff.

Use -1 rather than tvb_length_remaining() when putting a "to the end of
the tvbuff" item into the protocol tree.

Use "proto_tree_add_item()" to put items into the tree, rather than
"proto_tree_add_xxx" calls with a "tvb_get_yyy" call as the argument.

If we've fetched a value into a variable, don't re-fetch it in
"proto_tree_add_xxx" calls.

svn path=/trunk/; revision=12971
2005-01-07 10:09:34 +00:00
Guy Harris
50708fac46 Add a dissector to handle IEEE 802a's OUI Extended Ethertype; dissectors
can register an OUI, and PIDs for that OUI, in the same fashion that
they can do so for SNAP (after which the 802a OUI Extended Ethertype is
clearly modeled).

svn path=/trunk/; revision=12967
2005-01-06 08:37:43 +00:00
Guy Harris
586da2f14e Handle the case where nobody registers any OUIs and oui_info_table is
thus null.

svn path=/trunk/; revision=12966
2005-01-06 08:21:25 +00:00
Guy Harris
9f3573430b From Chris Maynard: catch a case where a string allocated with
"tvb_get_string()" wasn't freed.  (It appears there can also be leaks if
an exception is thrown while dissecting.)

svn path=/trunk/; revision=12965
2005-01-05 11:00:11 +00:00
Guy Harris
cf347c9f8b Use tvb_format_text() with %s format items, to handle non-printable
characters.

Clean up indentation.

svn path=/trunk/; revision=12964
2005-01-05 10:55:00 +00:00
Guy Harris
77762e2ddc From Chris Maynard: don't extract strings with "tvb_get_string()" if
we're not going to use them, and free them when we're done with them.

Clean up white space.

svn path=/trunk/; revision=12963
2005-01-05 10:51:05 +00:00
Guy Harris
45d7435bd3 From Chris Maynard: free strings allocated by "tvb_get_string()" after
we're done with them.

svn path=/trunk/; revision=12962
2005-01-05 10:45:43 +00:00
Guy Harris
de220d047d From Chris Maynard: free strings allocated by "tvb_fake_unicode()" after
we're done with them.

svn path=/trunk/; revision=12961
2005-01-05 10:42:26 +00:00
Guy Harris
652b22c0b9 From Chris Maynard: free mallocated data.
Don't assign the result of a routine that mallocates data to a const
pointer - that forces us to cast the pointer when freeing the data.

svn path=/trunk/; revision=12960
2005-01-05 10:38:50 +00:00
Guy Harris
6a8b0221f4 From Chris Maynard: free strings even if we don't put them into the
protocol tree.

svn path=/trunk/; revision=12959
2005-01-05 10:27:22 +00:00
Guy Harris
db204c7045 From Chris Maynard: free strings fetched with "tvb_fake_unicode()".
svn path=/trunk/; revision=12956
2005-01-05 10:17:09 +00:00
Guy Harris
c0f439e6ff Free the image type string as soon as we're done with it, so that we
don't leak it (even if we throw an exception processing the image).

svn path=/trunk/; revision=12955
2005-01-05 10:13:24 +00:00
Guy Harris
d4bf60e4ba From Chris Maynard: add a missing free of a string fetched with
tvb_get_string().

svn path=/trunk/; revision=12954
2005-01-05 10:05:03 +00:00
Guy Harris
33daa3e715 From Chris Maynard: don't fetch a string if we're not going to use it.
Also, move up the freeing of the tag string to immediately after we're
done with it, so we don't leak it if we throw an exception getting the
value.

svn path=/trunk/; revision=12953
2005-01-05 10:01:04 +00:00
Guy Harris
c2e6d1e686 Use "tvb_format_text()" with %s format strings, so that we handle
non-printable strings.

svn path=/trunk/; revision=12952
2005-01-05 09:53:03 +00:00
Guy Harris
81df0567ab Use "tvb_format_text()" to generate the text to use in
"proto_tree_add_text()" calls, so that we handle non-printable
characters if they happen to appear in the strings.

svn path=/trunk/; revision=12951
2005-01-05 09:46:43 +00:00
Guy Harris
51014ac699 Use "tvb_format_text()" to extract and format the buddy name string in
the top-level item for the buddy name, rather than extracting the string
into a mallocated buffer (and not freeing it...).

Put all the code to put stuff into the protocol tree inside "if(tree)".

svn path=/trunk/; revision=12950
2005-01-05 09:41:20 +00:00
Lars Roland
adcb6ff460 Fix broken parts of the new h225 dissector:
- add more data to the Info structure of the h225 taps.
- Fix the output to the Info Column

This patch is not complete, but statistics should basically work now.

svn path=/trunk/; revision=12948
2005-01-05 02:25:34 +00:00
Gerald Combs
4aee782dfa If the ICMP code is present, put it in the Info column.
svn path=/trunk/; revision=12934
2005-01-03 00:08:40 +00:00
Lars Roland
8dadc16642 fix a typo in new packet-h225.h
svn path=/trunk/; revision=12933
2005-01-02 22:56:25 +00:00
Anders Broman
08ab390705 Change the dissectors to asn2eth generated ones.
svn path=/trunk/; revision=12932
2005-01-02 22:05:47 +00:00
Guy Harris
ffaf53a9d6 *Correctly* append to the filter string.
svn path=/trunk/; revision=12926
2005-01-02 10:01:05 +00:00
Guy Harris
4d38774957 Unlike the detailed description of resource record types, the
detailed description of classes is pretty much redundant - remove it.

svn path=/trunk/; revision=12925
2005-01-02 09:40:26 +00:00
Guy Harris
f7bffeb9f7 "inet_pton()" isn't getting declared on Windows; include "inet_v6defs.h"
if NEED_INET_V6DEFS_H is defined, as is done in "packet-sdp.c", the
other module using "inet_pton()".

svn path=/trunk/; revision=12920
2005-01-01 23:40:56 +00:00
Guy Harris
a46d94072b Get rid of some warnings about variables whose values might be lost in a
longjmp, by properly qualifying those variables as volatile.

svn path=/trunk/; revision=12914
2005-01-01 23:11:46 +00:00
Guy Harris
4df2c4abd9 Make the signatures of functions passed to "register_tap_listener()"
match what "register_tap_listener()" expects (rather than squelching
warnings about the differences by casting function pointers to "void
*").

Make static some functions not used outside the module in which they're
defined. 

svn path=/trunk/; revision=12913
2005-01-01 12:49:54 +00:00
Guy Harris
71217a8007 As we've made the tap_specific_data field of a tap_packet_t structure a
const pointer (so that we don't get complaints when we make the
tap-specific data argument to "tap_queue_packet()" a const pointer,
allowing dissectors to hand const data to a tap without a complaint), we
should make the tap per-packet function take a const pointer as an
argument as well.  Do so.

In some taps, use _U_, or actually use the argument, rather than
sticking in dummy "X = X" assignments to fake use of parameters.  (This
means that the tap functions in question no longer have the notion that
they act on a particular static structure wired in.)

svn path=/trunk/; revision=12910
2005-01-01 02:57:02 +00:00
Guy Harris
3f0d0ca5ea Note what Fibre Channel spec documents this protocol.
Don't assign the const pointers passed to hash routines to non-const
pointers.

In "zonenm_to_str()", don't assume there's a null terminator in the
packet - use "tvb_get_string()" so that the buffer into which it's
copied is explicitly null-terminated.

Put the Domain & Port into the protocol tree as a "0xXXXXXXXX" string,
rather than as a string with one blank in it.

svn path=/trunk/; revision=12909
2004-12-31 22:00:44 +00:00
Guy Harris
ed15a73962 Don't bother copying the switch name to a buffer - we can just use
"tvb_get_ptr()".

svn path=/trunk/; revision=12908
2004-12-31 21:40:22 +00:00
Guy Harris
e58a199e9a Fix a bug introduced in the previous checkin.
Make the names for list record types match the names used before the
previous checkin.

svn path=/trunk/; revision=12907
2004-12-31 21:36:08 +00:00
Guy Harris
43ee35425a FC-over-IP is now covered by RFCs; update the specification references.
Make the protcol/version information an array of 8 bytes, not 2 guints;
not all the world's a (little-endian) PC!

svn path=/trunk/; revision=12906
2004-12-31 21:20:46 +00:00
Guy Harris
21cd2e1603 Note what Fibre Channel spec documents this protocol.
Don't assign the const pointers passed to hash routines to non-const
pointers.

Don't use "tvb_get_ptr()" to get a pointer to a data structure, and
dereference that pointer - there's no guarantee that the structure in
question will be located on an appropriate boundary in the data from the
packet (regardless of whether it's properly aligned within the data for
the protocol being dissected).

Put the record length for an EFP request into the protocol tree.

Check the sanity of the payload length for that request.

In "zonenm_to_str()", don't assume there's a null terminator in the
packet - use "tvb_get_string()" so that the buffer into which it's
copied is explicitly null-terminated.

Put the Domain & Port into the protocol tree as a "0xXXXXXXXX" string,
rather than as a string with one blank in it.

svn path=/trunk/; revision=12905
2004-12-31 20:58:23 +00:00
Guy Harris
16a61cc9c0 Note what Fibre Channel spec documents this protocol.
Don't assign the const pointers passed to hash routines to non-const
pointers.

Don't assume that strings the spec says are null-terminated are
necessarily null-terminated in the packet - use "tvb_strsize()" to find
the length of the purported null-terminated string; it'll throw the
appropriate exception if no null is found.

svn path=/trunk/; revision=12904
2004-12-31 20:35:55 +00:00
Guy Harris
43cf3c2480 Use "proto_tree_add_item()" to add a chunk of bytes to the protocol
tree.

svn path=/trunk/; revision=12900
2004-12-31 03:18:13 +00:00
Guy Harris
1d4bf3263b Don't assign const pointers to non-const pointers, especially if the
object pointed to by the non-const pointer won't be modified.

svn path=/trunk/; revision=12899
2004-12-31 03:17:00 +00:00
Guy Harris
018883dea9 "string_to_hex()" doesn't modify its first argument, so make it a
"const" pointer, and don't cast away the constness of "tvb_get_ptr()"s
result when passing it to "string_to_hex()".

svn path=/trunk/; revision=12898
2004-12-31 03:14:18 +00:00
Guy Harris
85f89615ea Don't cast away the constness of pointers passed to "ip_to_str()" -
"ip_to_str()" takes a "const guint8 *" argument.

svn path=/trunk/; revision=12897
2004-12-31 03:12:51 +00:00
Guy Harris
d9f4b6c9eb There are no guarantees that "strncasecmp()" works with
non-null-terminated strings, so be safe and fetch the metatag string
with "tvb_get_string()".

svn path=/trunk/; revision=12896
2004-12-31 03:10:11 +00:00
Guy Harris
29c1d25ddc Use "tvb_memeql()" to check whether specified bytes in a packet have a
specified value.

Make a constant array "const".

svn path=/trunk/; revision=12895
2004-12-31 02:48:53 +00:00
Guy Harris
9d9687dd5a Don't cast away the constness of argument pointers.
Don't supply our own definition of AF_INET or our own declaration of
"inet_pton()" - use the system ones if they're available.

"mkipv4_address()" doesn't modify the string passed to it - make it a
const pointer.

svn path=/trunk/; revision=12894
2004-12-31 02:16:05 +00:00
Guy Harris
8d80985ef7 Don't roll our own code to display IPv4 or IPv6 addresses, use
"ip_to_str()" and "ip6_to_str()".

Check the length of items for IPv4 and IPv6 addresses before displaying
them as such.

svn path=/trunk/; revision=12893
2004-12-31 02:13:42 +00:00
Guy Harris
31cbbecd00 Don't assign the const pointers passed to hash routines to non-const
pointers.

Now that "col_set_str()" takes a "const char *" as the second argument,
we don't have to cast away the constness of strings passed to it.

svn path=/trunk/; revision=12892
2004-12-31 02:11:13 +00:00
Guy Harris
b39dd4b7cc Don't assign a const pointer argument to a non-const pointer variable.
svn path=/trunk/; revision=12891
2004-12-31 02:09:48 +00:00
Guy Harris
caf46302c8 Don't assign the const pointers passed to hash routines to non-const
pointers.

svn path=/trunk/; revision=12890
2004-12-31 02:08:01 +00:00
Jörg Mayer
9522cf61c0 Make sure print_buff is \0-terminated
svn path=/trunk/; revision=12886
2004-12-31 01:56:22 +00:00
Jörg Mayer
22dad47c9a As pointed out by Guy: We should be able to filter on the original SSID,
so use a copy of the existing one for printing.

svn path=/trunk/; revision=12885
2004-12-31 01:37:54 +00:00
Guy Harris
a0de9d34c7 Add a "tvb_bytes_to_str_punct()" routine, which wraps
"bytes_to_str_punct()", and use it instead of extracting the bytes and
formatting them by hand.

svn path=/trunk/; revision=12876
2004-12-30 23:47:52 +00:00
Anders Broman
d7bda80c71 Change a function name in preparation for genereating H.245 and H.225 dissectors with asn2etrh
svn path=/trunk/; revision=12873
2004-12-30 22:40:21 +00:00
Gerald Combs
3969acf046 From Vincent Jardin: Fix the dissection of relayed messages.
svn path=/trunk/; revision=12868
2004-12-30 16:45:37 +00:00
Guy Harris
d1fd7820b4 In the "capture_null()" routine, handle IPv6.
svn path=/trunk/; revision=12865
2004-12-30 02:27:00 +00:00
Guy Harris
7e7d12b446 Update a URL.
svn path=/trunk/; revision=12864
2004-12-30 02:21:33 +00:00
Guy Harris
0ccf418724 Add a "get_addr_name()" routine that takes an "address *" and attempts
to resolve it to a name.

Fix up some const-pointer-to-non-const-pointer, and
function-pointer-to-void-*, conversions.

Fix some comments.

svn path=/trunk/; revision=12863
2004-12-30 02:10:24 +00:00
Guy Harris
0e6504201f From Albert Chin: get rid of C99/GCCisms (initializing automatic
structures with non-constant values).

svn path=/trunk/; revision=12861
2004-12-29 22:17:04 +00:00
Guy Harris
a16a9d2096 Add Ethernet type for DEC Local Area Systems Transport.
svn path=/trunk/; revision=12850
2004-12-29 00:44:45 +00:00
Ulf Lamping
89c7567797 fix a freebsd buildbot compile error, caused by myself :-(
svn path=/trunk/; revision=12845
2004-12-27 21:35:09 +00:00
Ulf Lamping
c8a328e2b9 fix a solaris buildbot compile error
svn path=/trunk/; revision=12844
2004-12-27 16:11:08 +00:00
Ulf Lamping
5bcad85d01 Again, some warnings removed.
svn path=/trunk/; revision=12842
2004-12-27 13:17:20 +00:00
Ulf Lamping
b026aa4bc2 Again, another warning (hopefully) removed.
svn path=/trunk/; revision=12841
2004-12-27 10:11:28 +00:00
Guy Harris
c6bdaa41c6 From Jouni Malinen: use a length field from the packet to determine how
much data is available, rather than using "tvb_length_remaining()".

svn path=/trunk/; revision=12840
2004-12-26 22:52:16 +00:00
Guy Harris
1220516388 From Yaniv Kaul: add Ethernet address-to-name (or, at least, address-to-
vendor-name-and-next-three-bytes-in-hex) resolution for Ethernet/802.x
hardware addresses.

Move the ARP hardware types into a header file, for use by dissectors
other than the ARP dissector.

svn path=/trunk/; revision=12839
2004-12-26 22:26:02 +00:00
Gerald Combs
dce666e0d1 From Vincent Jardin:
- support for new DHCPv6 options
 - fix for the support of OPTION_RELAY_MSG 

svn path=/trunk/; revision=12838
2004-12-26 18:58:52 +00:00
Ulf Lamping
bf5bf359e0 Again, some warnings removed.
svn path=/trunk/; revision=12837
2004-12-26 10:11:42 +00:00
Guy Harris
355c52a0b3 From Jouni Malinen: dissect TLS extensions (RFC 3546) for ClientHello
and ServerHello.

svn path=/trunk/; revision=12836
2004-12-26 00:28:47 +00:00
Guy Harris
ce604cf8f0 From Luis Ontanon: add more filterable fields to DNS, PGM, GTP, and RADIUS.
svn path=/trunk/; revision=12835
2004-12-26 00:22:16 +00:00
Ulf Lamping
5a89cfc00b Again, some warnings removed.
svn path=/trunk/; revision=12834
2004-12-25 18:35:21 +00:00
Ulf Lamping
872a860814 Fix a core dump causing the buildbot test menagerie to fail. It was caused by incorrectly trying to proto_tree_add_item() with a very huge length. However, someone with more SQL knowledge than me should have a qualified look at that place and do a better fix.
svn path=/trunk/; revision=12833
2004-12-25 14:46:40 +00:00
Ulf Lamping
78ff68d4b5 a lot of warnings removed, most of them about pointer to int casts without using the appropriate GLib macros
svn path=/trunk/; revision=12832
2004-12-25 13:49:30 +00:00
Ulf Lamping
e8459f4ea1 Again, some warnings removed.
svn path=/trunk/; revision=12831
2004-12-25 10:30:58 +00:00