Commit graph

3873 commits

Author SHA1 Message Date
Ronnie Sahlberg
b6ae69cfcf remove an array and some strcat from ncp
svn path=/trunk/; revision=16394
2005-11-05 01:23:06 +00:00
Ronnie Sahlberg
b1b51ed1b0 remove an array and the remaining strcat from ospf
svn path=/trunk/; revision=16393
2005-11-04 23:03:26 +00:00
Ronnie Sahlberg
909764f6b2 get rid of some strcat and a stackbased array
svn path=/trunk/; revision=16392
2005-11-04 21:55:23 +00:00
Ronnie Sahlberg
e07f132280 from Metze
some winsrepl updates


svn path=/trunk/; revision=16391
2005-11-04 21:22:21 +00:00
Ronnie Sahlberg
0cafcb3e50 From Menno Andriesse
New protocol : STANAG 5066

I changed it from being a plugin to a builtin dissector
and also changed a couple of small bugs


svn path=/trunk/; revision=16390
2005-11-04 21:14:33 +00:00
Anders Broman
857077708b Fix a typo and change TLLI representation to HEX.
svn path=/trunk/; revision=16389
2005-11-03 19:14:52 +00:00
Guy Harris
2447b390d2 "dissect_cmp_http()" doesn't check for a valid packet (it doesn't need
to, it's selected by the media-type string, not something unreliable
such as a port number), and doesn't return anything, so give it the
right type and don't declare it as a "new-style" dissector.

svn path=/trunk/; revision=16387
2005-11-03 04:35:39 +00:00
Guy Harris
81b9490d4c Get rid of (valid) warning about uninitialized variable, and clean up
indentation.

svn path=/trunk/; revision=16386
2005-11-03 04:33:51 +00:00
Guy Harris
30b5f0f493 Fix usage of PRI[du]64 - they just replace the "letter" part of the
format, they don't include the "%".

svn path=/trunk/; revision=16384
2005-11-03 04:30:35 +00:00
Luis Ontanon
ff20ed3e10 Some cleanup,
- Improve expert info
- Remove the debug tree (one warning unused function, will go)
- Make Sure Pending messages have a cmdmsg (and so a colinfo label)


svn path=/trunk/; revision=16383
2005-11-02 23:01:15 +00:00
Anders Broman
7cfbacfb79 Handle a optional parameter length of zero.
svn path=/trunk/; revision=16382
2005-11-02 21:49:24 +00:00
Ulf Lamping
820aaac6b0 MSVC warning fixed:
proto.c(4694) : warning C4101: 'stringified' : unreferenced local variable

svn path=/trunk/; revision=16381
2005-11-02 20:50:54 +00:00
Anders Broman
9fac8a5601 From David Wysochanski fix a typo.
svn path=/trunk/; revision=16380
2005-11-02 20:28:58 +00:00
Anders Broman
098fcb0d2b Use dissect_sip_tcp_heur for TCP to make re-assembly work on hueristics.
svn path=/trunk/; revision=16379
2005-11-02 20:24:42 +00:00
Luis Ontanon
b10fcd969a - terminate a value_string
- wildcard field subdissector


svn path=/trunk/; revision=16378
2005-11-02 19:46:47 +00:00
Anders Broman
6eb18470f8 From Tim
A small patch for camel and inap, where the linkedid doesn't get dissected correctly in camel or inap
and some tidy up in the camel asn.1 which now compiles with no warnings.

also fix the copy_file target (/y)

svn path=/trunk/; revision=16376
2005-11-02 07:51:55 +00:00
Luis Ontanon
c5ff846c22 - add a counter for pending messages
- do not use a value string for context ids
- remove the plugin registration as it is not supposedd to be a plugin


svn path=/trunk/; revision=16375
2005-11-01 21:09:28 +00:00
Anders Broman
e91462a7d8 Add "application/resource-lists+xml" to xml types
svn path=/trunk/; revision=16374
2005-11-01 19:50:25 +00:00
Olivier Biot
e931881626 Use g_print() instead of fprintf() to write messages to the debug console.
svn path=/trunk/; revision=16373
2005-11-01 18:18:46 +00:00
Luis Ontanon
f100a33216 - Embryonic Transaction & Context tracing
svn path=/trunk/; revision=16372
2005-11-01 16:28:13 +00:00
Guy Harris
1ed8d400ff Dump the range when printing an MK_RANGE operator.
svn path=/trunk/; revision=16370
2005-10-31 03:33:14 +00:00
Guy Harris
cbce856e9e When printing the code for a display filter:
print register numbers as unsigned (they're guint32);

	when printing a PUT_FVALUE instruction, show the value as well
	as the type of the value.

That requires that a bunch of types get to_repr methods; add them for
PCRE (FTREPR_DFILTER-only - show the regular expression as text),
tvbuffs (FTREPR_DFILTER_only - show the data as a hex string), integral
types, string types other than FT_STRING, and FT_IPv6.

That means we can use fvalue_to_string_repr() for FT_IPXNET and FT_IPv6
in proto_construct_dfilter_string(), and that we don't need to handle
integer and floating types specially in MATE.

Fix some problems with the PCRE execution code for tvbuff types.

svn path=/trunk/; revision=16369
2005-10-31 02:42:22 +00:00
Guy Harris
552ee02a93 Get rid of an unused variable, and declare a variable that points into a
tvbuff's data const.

svn path=/trunk/; revision=16368
2005-10-31 02:21:02 +00:00
Guy Harris
d06cfa133b Export fvalue_get_integer64(), for completeness.
svn path=/trunk/; revision=16367
2005-10-30 23:01:12 +00:00
Guy Harris
0be296b711 "XXX.XXX.XXX.XXX" is 15 characters, not 14 characters.
svn path=/trunk/; revision=16366
2005-10-30 22:55:30 +00:00
Jörg Mayer
942f7fce66 - Split dissect_wendor_specific_ie into
dissect_vendor_ie_wpawme and dissect_vendor_ie_rsn
- Display the vendor code on the top level of vendor specific IEs
- Make the vendor code of vendor specific IEs filterable
  (wlan_mgt.tag.oui)


svn path=/trunk/; revision=16363
2005-10-30 09:14:38 +00:00
Jörg Mayer
c9300eeb05 - Remove trailing whitespace
- IS_WEP is now (11i) called IS_PROTECTED
- Remove duplicate (and commented out) code
- Add reson code 0x24 to reason_codes


svn path=/trunk/; revision=16362
2005-10-30 09:13:27 +00:00
Guy Harris
7cef2a0d41 Give RFC numbers for MIPv6, NEMO, and FMIPv6.
Fix up NEMO #defines for field offsets, and field and option lengths, to
match #defines for other options.

Handle the padding in the FMIPv6 LLA option internally to the option
parser, and don't include the link-layer address unless it's present. 
Don't handle the length of the LLA option specially in the generic
option parser.

Clean up white space.

svn path=/trunk/; revision=16361
2005-10-29 23:22:13 +00:00
Ronnie Sahlberg
22ec08f551 remove some strcat and dissect the options bitfield properly
svn path=/trunk/; revision=16360
2005-10-29 22:47:20 +00:00
Guy Harris
9ef5d2a10b Use NULL for pointers, 0 for integers, to squelch compiler warnings.
svn path=/trunk/; revision=16359
2005-10-29 21:48:37 +00:00
Guy Harris
65207ac4cd Set "ti" in all code paths, to squelch a compiler warning.
svn path=/trunk/; revision=16358
2005-10-29 21:43:53 +00:00
Guy Harris
3bd8fdbca1 Get rid of an unused variable.
svn path=/trunk/; revision=16357
2005-10-29 21:43:00 +00:00
Ronnie Sahlberg
d232c0c69a add some simple heuristics for PVFS
make PVFS use tcp_dissect_pdus   so it will handle
reassembly,   pdu boundary tracking, pdu transfer time atc.




svn path=/trunk/; revision=16354
2005-10-29 03:07:26 +00:00
Ronnie Sahlberg
fa33d8ba22 comment out the heuristics registration until we actually implement some heuristics
svn path=/trunk/; revision=16353
2005-10-28 22:13:13 +00:00
Ronnie Sahlberg
5e35e8b0aa From Mike Frisch
New protocol : PVFS2


Example captures for fuzz testing can be found in Mikes email of Oct 7


svn path=/trunk/; revision=16352
2005-10-28 22:08:15 +00:00
Anders Broman
e481d3b6e5 1. replace "and" with "&&" in ethereal_gen.py:2103
2. add make_printable_string in libethereal.def


svn path=/trunk/; revision=16351
2005-10-28 19:27:13 +00:00
Gerald Combs
be65a36fcf If bytes_to_str() is passed a zero length value, return an empty string
instead of asserting.  Fixes bug 560.

Fix up whitespace.

svn path=/trunk/; revision=16350
2005-10-28 15:08:14 +00:00
Gerald Combs
c06e382fc2 Fix the bit mask for dec_dna.ctl.router_state. This should fix the
"check ftsanity.py output" error in Buildbot.  Fix up whitespace.

svn path=/trunk/; revision=16349
2005-10-28 14:20:18 +00:00
Luis Ontanon
34a310dbf2 Came up to be an almost complete rewrite:
- decode up to Q.2630.3
- (almost) all parameter fields have its own filter expression
- remove buffers from the stack
- add some color (expert info) to the tree


svn path=/trunk/; revision=16348
2005-10-28 12:02:13 +00:00
Ronnie Sahlberg
deaf5edaaf register 1.2.840.113533.7.66.13 as passwordbasedmac from CRMF
svn path=/trunk/; revision=16344
2005-10-27 11:54:55 +00:00
Ronnie Sahlberg
ce341ab40f add decoding of some more universal types for the opportunistic decode of unknown ber blobs.
svn path=/trunk/; revision=16343
2005-10-27 11:27:40 +00:00
Ronnie Sahlberg
b0cdcf40ab get rid of the last two strcpy from epan/dissectors
svn path=/trunk/; revision=16342
2005-10-27 10:11:22 +00:00
Ronnie Sahlberg
83b716efc7 remove some strcpy
svn path=/trunk/; revision=16341
2005-10-27 09:58:16 +00:00
Ronnie Sahlberg
6aa7909d79 get rid of some strcpy
svn path=/trunk/; revision=16340
2005-10-27 09:48:19 +00:00
Ronnie Sahlberg
3e0e34cd09 get rid of a strcpy
svn path=/trunk/; revision=16339
2005-10-27 09:43:32 +00:00
Ronnie Sahlberg
aa7627a8d1 get rid of some strcpy
svn path=/trunk/; revision=16338
2005-10-27 09:35:14 +00:00
Ronnie Sahlberg
e876bc7d68 remove some strcpy
svn path=/trunk/; revision=16337
2005-10-27 09:26:35 +00:00
Ronnie Sahlberg
9d2d42749b remove a strcpy() call
svn path=/trunk/; revision=16336
2005-10-27 09:17:10 +00:00
Ronnie Sahlberg
a3ddb4994a remove a strcpy
svn path=/trunk/; revision=16335
2005-10-27 09:14:07 +00:00
Ronnie Sahlberg
c8860c7e27 get rid of a strcpy
svn path=/trunk/; revision=16334
2005-10-27 09:11:00 +00:00
Ronnie Sahlberg
2a84d72f8f remove a strcpy call
svn path=/trunk/; revision=16333
2005-10-27 09:07:22 +00:00
Ronnie Sahlberg
9696d9dae8 remove a strcpy
make the code A LOT nicer
and get rid of unchecked memcpy



svn path=/trunk/; revision=16332
2005-10-27 08:50:42 +00:00
Ronnie Sahlberg
494958fbad remove some strcpy
svn path=/trunk/; revision=16331
2005-10-27 08:35:44 +00:00
Ronnie Sahlberg
96729e741d remove some strcpy() and some buffers.
boy o boy   the fc dissector family is in really poor shape and should be rewritten 




svn path=/trunk/; revision=16329
2005-10-27 08:18:59 +00:00
Guy Harris
3e0e3011e2 Don't run "process_ptvc_record()" on replies unless we're building a
protocol tree.

svn path=/trunk/; revision=16326
2005-10-26 23:10:20 +00:00
Guy Harris
de27c8a831 Add a comment.
svn path=/trunk/; revision=16324
2005-10-26 20:21:28 +00:00
Ronnie Sahlberg
6d964caa1e updates to CMP
implement the glue to dissect CMP oer TCP


svn path=/trunk/; revision=16323
2005-10-26 20:17:40 +00:00
Anders Broman
159963a270 Add the rest of the IE:s
svn path=/trunk/; revision=16322
2005-10-26 19:52:00 +00:00
Anders Broman
3a6ea1fc9b From Mike Duigou
Safer handling for building address string for AT_STRINGZ and AT_URI.

svn path=/trunk/; revision=16321
2005-10-26 19:08:37 +00:00
Anders Broman
973bdcb507 From Mark C Brown,
Small patch correcting nettl.uid to unsigned and adding pduin/pduout as nettl.kind values...

svn path=/trunk/; revision=16320
2005-10-26 19:01:29 +00:00
Anders Broman
85cd6d8dc7 Set correct offset fore some signals, use dummy funtion to get hf fields auto generated.
svn path=/trunk/; revision=16319
2005-10-26 18:52:46 +00:00
Anders Broman
78ed339b3d Tags should be implicit.
svn path=/trunk/; revision=16316
2005-10-25 20:30:43 +00:00
Anders Broman
c8d3cd483b As there are more Procedure codes the hueristics need to be updated.
svn path=/trunk/; revision=16315
2005-10-25 20:29:50 +00:00
Luis Ontanon
12198e77ee some ies in the init proc weren't propperly decoded.
svn path=/trunk/; revision=16314
2005-10-25 19:41:01 +00:00
Guy Harris
7e874fc9dd Don't declare "dissect_rtse_EXTERNAL()" in "packet-rtse.c" - let it get
it from "packet-rtse.h" (which, at least on some platforms, doesn't
declare it as static, so GCC 4.0, at least, fails because the static and
non-static declarations collide).

svn path=/trunk/; revision=16312
2005-10-25 19:37:38 +00:00
Guy Harris
cb41062126 Check in the re-generated NBAP dissector.
svn path=/trunk/; revision=16311
2005-10-25 19:35:33 +00:00
Luis Ontanon
8c28eb9648 Avoid a conflict in global symbols by declaring some variables static.
svn path=/trunk/; revision=16310
2005-10-25 18:38:47 +00:00
Ronnie Sahlberg
d69d22bcf5 remove a bunch of arrays, some strcpy() and make it dissect the fc4 type bitmask better
svn path=/trunk/; revision=16307
2005-10-25 11:24:24 +00:00
Ronnie Sahlberg
52a7e5cd66 remove a buffer from the stack and some strcpy()
the previous code had a bug in that it would never display one of the flags unless the other flag was also set.



svn path=/trunk/; revision=16306
2005-10-25 10:38:36 +00:00
Ronnie Sahlberg
84aad663a5 remove a stack based array and some strcpy()
svn path=/trunk/; revision=16305
2005-10-25 10:24:40 +00:00
Guy Harris
9cc23396f0 Fix a typo.
svn path=/trunk/; revision=16304
2005-10-25 08:58:27 +00:00
Guy Harris
36a2d54f78 Put the code to handle NDS ping replies and NDS replies into routines of
their own.

Do the tapping as early as possible, so it's done even if exceptions are
thrown - and do it regardless of whether the tree argument is null or
not, because a tap might be run without generating protocol trees.

Generate the expert info regardless of whether the tree arugment is null
or not, as that's also used with taps.

svn path=/trunk/; revision=16303
2005-10-25 06:20:46 +00:00
Anders Broman
480e4e949a From Martin André
the attached patch implements a dissector for the Fast Handovers for Mobile IPv6 protocol (RFC4068). This patch was produced against version 0.10.13 and extends the following files:
- packet-icmpv6.c
- packet-ipv6.h
- packet-mip6.c
- packet-mip6.h

svn path=/trunk/; revision=16302
2005-10-25 06:00:53 +00:00
Anders Broman
8f11a0d7c6 From Jochen Friedrich
this patch adds the description for LLC SAP 0xB4 and adds a dissector for basic format XID frames as documented in IEEE802.2. These frames are independent on the SAP / protocol and mandatory to all implementations.

svn path=/trunk/; revision=16301
2005-10-25 05:56:21 +00:00
Anders Broman
11c13762b7 Add missing file ( packet-ftbp.ch)
svn path=/trunk/; revision=16300
2005-10-25 05:53:12 +00:00
Guy Harris
f3144c4fef Clean up "print_address()" - fix the indentation, do the check for a
too-large address in common code, and *don't* use tvb_get_letohl() to
get IPv4 addresses (just use proto_tree_add_item(), it works Just Fine).

For integral values, always do the tvb_ensure_bytes_exist() test; don't
just do it if the length is the expected value (the real problem is with
bogus too-large lengths, so it's more important to do the check if the
length *isn't* the expected value!).  Fixes bug 549.

svn path=/trunk/; revision=16298
2005-10-25 00:28:40 +00:00
Anders Broman
314c36da9a From Graeme Lunt:
The ftbp.patch file includes:
a) A fix to acse.cnf which works around an asn2eth bug (it is the AE-qualifier EXPORT I want, but asn2eth doesn't generate the appropriate extern for the values). Also a small cosmetic change for EXTERNAL decodings.
b) New EXPORTs for the FTAM dissector for use in FTBP.
c) A fix to asn2eth to solve the problem if you EXPORT types that include a '-' character in the name (e.g. "AE-qualifier" from acse.cnf, "Date-and-Time-Attribute" from ftam.cnf). The problem is that asn2eth generates the "xxxx-exp.cnf" file using the 'C' name (which has replaced '-' with '_') rather than the original 'ASN' name. The fix just undoes the replacement as I couldn't see the original name being preserved anywhere. There still remains a problem if the type has a '.' in the name - but generally I don't think they do.

* Better ROS handling and registration
* Simplified RTSE registration
* X411 column information, extension naming and use of new RTSE/ROS registration
* X420 notification extensions, warnings removal and export of ExtensionsField (missed from recent FTBP patch).
* Better highlighting of S4406 protocol.


svn path=/trunk/; revision=16296
2005-10-24 21:42:19 +00:00
Luis Ontanon
149b419740 - optionally decode data pdus
- optionally decode a 2 byte pseudo-header
- Beautify colinfo


svn path=/trunk/; revision=16295
2005-10-24 21:26:25 +00:00
Luis Ontanon
9008cf5cd9 - packet records with AAL5 Pdus or AAL2 Sdus contain VP/VC and CID info in the packet record, use that instead of the one in the intreface description record.
- Fix Timestamps that got broken with nanoseconds.
- Add some more disabled code for debugging.


svn path=/trunk/; revision=16294
2005-10-24 21:20:03 +00:00
Anders Broman
c38e1002dd UMTS Node B Application Part(NBAP) packet dissection(3GPP TS 25.433 version 6.6.0 Release 6)
All IE:s not dissected yet.

svn path=/trunk/; revision=16293
2005-10-24 21:16:44 +00:00
Ronnie Sahlberg
b949ed06b1 get rid of a few strcpy and an array from the stack
svn path=/trunk/; revision=16292
2005-10-24 08:44:36 +00:00
Guy Harris
cd7fae828c Add #defines for NDS tag values, and use them in the definition of
nds_tags[] and in switch statements.  (Also, catch a case where we
didn't use NDS_PTYPE_ values.)

Use the existing #defines for MVTYPE_ values.

Make the handling of NDS_PTYPE_{IP,UDP,TCP} in one case match the
handling of the other cases (don't advance "ioffset", as it's advanced
by the length of the item).

When checking whether an NDS reply has a completion code, don't check
the fragment size, check the reassembled packet size.

Fix the handling of referrals in one case.

svn path=/trunk/; revision=16291
2005-10-24 02:49:32 +00:00
Guy Harris
eb2fb526aa Don't get caught in an infinite loop if we're stuck at the end of the
captured data.  Fixes bug 548.  (Also note that we need a better general
solution.)

svn path=/trunk/; revision=16290
2005-10-24 02:35:43 +00:00
Guy Harris
c7e56ef089 Clean up indentation.
Hand NCP_ALLOCATE_SLOT and NCP_DEALLOCATE_SLOT packets to
"dissect_ncp_request()", so we match up requests and replies, fill in
the Info column properly, etc..

svn path=/trunk/; revision=16289
2005-10-24 02:05:19 +00:00
Guy Harris
8e35fd8078 Add #defines of NDS protocol types, and use them in the value_string and
switch statements.

Add some sanity checking for ptvcursor_advance calls.

proto_tree_add_item() works fine for IPv4 addresses; use it for them. 
(tvb_get_letohl() doesn't work fine for them, even though it appears to
do so on little-endian machines.)

Only set the "visible" flag on the protocol tree when we're sure we have
one, so that it gets set even if we create a temporary tree.

Catch exceptions when dissecting requests, and compute and save the
results of conditional tests before rethrowing the exception, so the
results get saved even if the dissection gets an exception.

svn path=/trunk/; revision=16288
2005-10-22 06:25:14 +00:00
Guy Harris
c72ffd259d Move the ptvcursor.c code to epan/proto, and make ptvcursor_add() handle
FT_UINT_BYTES and FT_UINT_STRING correctly when the tree argument is
null (which involves carving proto_tree_add_item() into bits and having
both ptvcursor_add() and proto_tree_add_item() call those bits).

svn path=/trunk/; revision=16287
2005-10-22 05:43:09 +00:00
Guy Harris
e857b4feb4 Use the somewhat-misnamed "ipv4_addr_and_mask()" and
"ipv6_addr_and_mask()" to handle address+prefix bit length combinations.

svn path=/trunk/; revision=16286
2005-10-22 05:27:48 +00:00
Guy Harris
a24b71271a Don't roll your own code for showing the usual display of bits in a
bitfield, use the code we already have.

svn path=/trunk/; revision=16284
2005-10-22 03:52:06 +00:00
Anders Broman
9dd9e3e80f From Julian Onions
- some improvements to the NORM decoder, and the ability to
(optionally) heuristically detect NORM.
- some improvements to FEC block labelling.
- making the LCT header extension handler more generic and to decode more header extensions.

svn path=/trunk/; revision=16280
2005-10-20 18:51:47 +00:00
Anders Broman
591826a821 From Bruno Deniaud:
Handle NEMO (RFC  3963).

svn path=/trunk/; revision=16277
2005-10-20 15:51:39 +00:00
Anders Broman
20381722de Use the right offset when calling packet-gsm_a.c functions.
svn path=/trunk/; revision=16276
2005-10-20 15:49:03 +00:00
Anders Broman
604d8a8026 From Stephen Donovan:
Allow Ethereal to decode the IP address inside of Option 118

svn path=/trunk/; revision=16275
2005-10-20 05:29:53 +00:00
Guy Harris
e407c69770 Put back some comments that got removed and that note issues seen with
some captures.

svn path=/trunk/; revision=16274
2005-10-20 02:45:52 +00:00
Guy Harris
f225f8819e At least on Tiger, multiple definitions of an external don't work.
svn path=/trunk/; revision=16272
2005-10-19 19:40:55 +00:00
Gerald Combs
4665dd1714 Ethereal doesn't like it when you try to tell it that integers are
either -1 or 0 bytes long.  Use proto_tree_add_text() instead of
proto_tree_add_uint_format().  Fixes bug 542.

svn path=/trunk/; revision=16270
2005-10-19 15:36:59 +00:00
Gilbert Ramirez
804c13c213 From Greg Morris:
Updates to the NMAS dissector.
 
1. Fixes error checking fragments
2. Adds expert data


svn path=/trunk/; revision=16268
2005-10-19 14:39:09 +00:00
Gilbert Ramirez
c31e002512 From Greg Morris:
Adds expert data to the NDPS dissector


svn path=/trunk/; revision=16267
2005-10-19 14:32:05 +00:00
Gilbert Ramirez
ab3f0deefc From Greg Morris:
makefile.common.diff - epan directory
1. Adds new packet-ncp-sss.c and packet-ncp-sss.h for new Secret Store dissector
 
New Novell Secret Store Services dissector
packet-ncp-sss.c
packet-ncp-sss.h
 
ncp2222.py.diff
1. Adds a number of return values
2. Adds 64bit file size support
3. Add NCP 89,xx NCP's for UTF8 support
4. Fixes a number of field values for proper dissection
5. Adds support for Secret Store dissector
 
packet-ncp2222.inc.diff
1. Skwelches some compiler warnings
2. Redo of fix for bug 535 which original fix broke dissection of NDS verb 5
3. Adds support for Secret Store dissector
4. Adds expert data
5. Adds tap for service response time
6. Fixes dissection of stream attribute
7. Fixes defragmentation problem with more then 10 fragments
8. Fixes NDS dissection if reply buffer was less then 7
 
packet-ncp.c.diff
1. Adds tap data
2. Adds expert data
3. Fixes calculation for NCP connection number
4. Fixes malformed packet for destroy service connection
 
packet-ncp.c.diff
1. Adds tap data


svn path=/trunk/; revision=16266
2005-10-19 14:28:26 +00:00
Guy Harris
364702618a Point specifically to the CDP information on the various Cisco pages.
svn path=/trunk/; revision=16265
2005-10-19 07:57:38 +00:00
Gerald Combs
f4eaf40648 Don't pass a null value to strcmp(). Fixes bug 540.
svn path=/trunk/; revision=16262
2005-10-18 13:36:32 +00:00
Guy Harris
6e759b47f2 .FN_BODY text gets printf-style expansion done on it, so format strings
in the code have to have %'s escaped.  Do so.

svn path=/trunk/; revision=16260
2005-10-18 00:07:49 +00:00
Gerald Combs
7f33a96ea9 Don't pass -1 as a fragment length to fragment_add_check(). This keeps
us from crashing and it keeps Valgrind from taunting us with

==29091== Warning: silly arg (-1) to malloc()

Fixes bug 537.

svn path=/trunk/; revision=16258
2005-10-17 20:05:18 +00:00
Gerald Combs
93b99abf30 In packet-dcerpc-nt.c, make sure we call init_pol_hash() each time we load
a capture file.  This should fix bug #536.

Make sure we initialize our hash tables in packet-dcerpc-nt.c and several 
other files.  Fix up whitespace while we're at it.

svn path=/trunk/; revision=16255
2005-10-17 18:56:27 +00:00
Gerald Combs
5cadbb4de4 When dissecting an ACSE APDU make sure our OID isn't for an ACSE APDU
(which would make us recurse until we crashed).

svn path=/trunk/; revision=16252
2005-10-17 16:12:24 +00:00
Luis Ontanon
e3285cbcae make sure ta is signed before operating
svn path=/trunk/; revision=16251
2005-10-16 21:16:30 +00:00
Luis Ontanon
34bf00ef48 On windows:
packet-iuup.c(660) : warning C4244: 'function' : conversion from 'double ' to 'float ', possible loss of data
packet-iuup.c(665) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
packet-iuup.c(665) : warning C4244: 'function' : conversion from 'double ' to 'float ', possible loss of data


svn path=/trunk/; revision=16250
2005-10-16 21:07:48 +00:00
Gerald Combs
2544a95b7f Break out of an infinite loop. Fixes bug 535. Remove an unused
function (which had a buffer overflow!)  Initialize a variable flagged
by Valgrind.

svn path=/trunk/; revision=16247
2005-10-16 20:40:27 +00:00
Luis Ontanon
1d65dc39c5 IuUP
UMTS' Iu User Plane protocol.


svn path=/trunk/; revision=16246
2005-10-16 20:08:13 +00:00
Gerald Combs
cf7474a92e Fix up a length check.
svn path=/trunk/; revision=16245
2005-10-16 14:23:56 +00:00
Gerald Combs
7ce6f2c971 IPv6 addresses are 16 bytes.
svn path=/trunk/; revision=16243
2005-10-16 03:57:49 +00:00
Ronnie Sahlberg
2824ec57be fox a static/non-static signature mismatch
svn path=/trunk/; revision=16239
2005-10-16 01:47:29 +00:00
Ronnie Sahlberg
117f754846 remove some strcpy and strcat
svn path=/trunk/; revision=16238
2005-10-16 01:41:48 +00:00
Ronnie Sahlberg
3824015b82 remove a strcpy call
svn path=/trunk/; revision=16237
2005-10-16 00:36:43 +00:00
Ronnie Sahlberg
2cd5614407 replace a strcpy with g_snprintf so it will not show up in grep strcpy *.c
svn path=/trunk/; revision=16236
2005-10-16 00:33:00 +00:00
Ronnie Sahlberg
b5ecbaf8d5 remove one array from the stack
get rid of strcpy and strcat


svn path=/trunk/; revision=16235
2005-10-16 00:27:50 +00:00
Ronnie Sahlberg
6beaa5ce81 get rid of some strcpy
svn path=/trunk/; revision=16234
2005-10-16 00:14:19 +00:00
Ronnie Sahlberg
7cde2cd67a get rid of one stack buffer and some strcpy() and strcat()
svn path=/trunk/; revision=16233
2005-10-15 23:59:56 +00:00
Ronnie Sahlberg
ebc0197755 remove two redundant strcpy so they dont show up as noice for grep strcpy *.c
svn path=/trunk/; revision=16231
2005-10-15 23:26:32 +00:00
Ronnie Sahlberg
61fcf7fbca get rid of a strcpy() and some strcat()
remove two buffers from the stack


svn path=/trunk/; revision=16230
2005-10-15 23:17:04 +00:00
Ronnie Sahlberg
c1b84ccd59 remove some strcpy() and strcat()
remove two buffers from the stack.


svn path=/trunk/; revision=16229
2005-10-15 22:57:27 +00:00
Ronnie Sahlberg
23caf5e4d3 remove some strcpy() calls
svn path=/trunk/; revision=16228
2005-10-15 22:46:20 +00:00
Ronnie Sahlberg
24cc5e865a get rid of one strcpy() and one strcat()
svn path=/trunk/; revision=16227
2005-10-15 22:36:59 +00:00
Gerald Combs
c975c8e67a Use tvb_free() instead of g_free() to free tvbuffs.
svn path=/trunk/; revision=16220
2005-10-14 15:55:58 +00:00
Anders Broman
4ac15de1c6 From Didier
small AFP bugfix and a PAP dissector

svn path=/trunk/; revision=16214
2005-10-13 05:23:01 +00:00
Anders Broman
b67a452476 A small patch for presentation to:
a) maintain the session presentation context 
b) support SES_REFUSE

svn path=/trunk/; revision=16213
2005-10-13 05:20:40 +00:00
Ronnie Sahlberg
fd29897666 get rid of some strcpy() and some compiler warnings
svn path=/trunk/; revision=16212
2005-10-13 05:07:28 +00:00
Ronnie Sahlberg
5312127584 get rid of some strcpy()
svn path=/trunk/; revision=16211
2005-10-13 03:22:53 +00:00
Ronnie Sahlberg
056065d055 get rid of some strcpy()
svn path=/trunk/; revision=16210
2005-10-13 03:17:53 +00:00
Ronnie Sahlberg
14ecc1ddd5 remove some strcpy() from diameter and remove some arrays from the stack
svn path=/trunk/; revision=16209
2005-10-13 03:10:28 +00:00
Guy Harris
a9c08c4421 Show internal errors with REPORT_DISSECTOR_BUG().
svn path=/trunk/; revision=16208
2005-10-13 02:21:01 +00:00
Ronnie Sahlberg
719be76291 fix for bug 529
a CHOICE might not consume any butes in teh encoding if there were no matching
choice arms found.

make the loop in acse abort with malformed packet if the choice failed to decode anything  to prevent an infinite loop in bug 529


svn path=/trunk/; revision=16207
2005-10-13 01:39:53 +00:00
Guy Harris
461b05a964 Don't use a static, fixed-length buffer for the result of
unicode_to_bytes() - allocate one large enough for the string we'll be
generating, using ep_alloc().

svn path=/trunk/; revision=16206
2005-10-12 22:37:15 +00:00
Ulf Lamping
fafdf68095 from Richard van der Hoff:
Attached is a patch which makes the console log level (warning/message/debug etc) a configurable preference. There's no gui for setting it, but since it's pretty much only going to be useful for developers, I'm sure you'll cope...
----
I've added a small comment to the file output that it has no dialog output

svn path=/trunk/; revision=16205
2005-10-12 21:26:27 +00:00
Anders Broman
261ff255ac From Shoichi Sakane
svn path=/trunk/; revision=16200
2005-10-12 05:36:44 +00:00
Anders Broman
2145d15234 From Rene Pilz:
- LLC XID patch (reaability patch).
- Dissection of the MS Radio Capabilities.


svn path=/trunk/; revision=16199
2005-10-12 05:34:36 +00:00
Ronnie Sahlberg
8409491a8a get rid of one strcpy()
svn path=/trunk/; revision=16198
2005-10-12 02:30:10 +00:00
Ronnie Sahlberg
814c216689 remove some strcpy() and dissect a bitfield properly
only 86 strcpy() now remain in epan/dissectors


svn path=/trunk/; revision=16197
2005-10-12 01:43:25 +00:00
Ronnie Sahlberg
4dd264cc65 remove some redundant strcpy()
fix a compiler warning


svn path=/trunk/; revision=16195
2005-10-11 23:38:57 +00:00
Anders Broman
118236bacc From Ignacio Goyret
correct a bug in parsing Lucent/Ascend PPP dumps. Basically, blobs with "PPP-OUT" should be labelled "PPP transmit" while blobs with "PPP-IN" should be labelled "PPP receive". The current code labels them the other way around.

packet-ppp.c
- Properly decode option to enable ECRTP (it wasn't decoded).
- Use the ipv6 knob to control ipv6 decoding (previously, it
  was using the ipv4 knob).

svn path=/trunk/; revision=16194
2005-10-11 19:55:55 +00:00
Anders Broman
8402972003 From Richard van der Hoff
Here's another rework of the iax desegmentation logic, which 
fixes bug 515 and its dupes.

svn path=/trunk/; revision=16193
2005-10-11 19:44:59 +00:00
Anders Broman
4686f4f2a5 Replace the current ranap dissector with an asn2eth generated one.
svn path=/trunk/; revision=16191
2005-10-11 17:48:01 +00:00
Ronnie Sahlberg
1cfe020e5b remove the old dssetup since we now generate it using pidl
svn path=/trunk/; revision=16189
2005-10-11 09:32:49 +00:00
Ronnie Sahlberg
975146d18b add new autogenerated dssetup
svn path=/trunk/; revision=16188
2005-10-11 09:32:09 +00:00
Ronnie Sahlberg
99195c6b7e smoe more bitmaps dissected and a few strcpy() removed.
fix some obvious bugs with masking (masking with 0xd0 and shifting 5 bits to the right)


svn path=/trunk/; revision=16187
2005-10-11 09:26:50 +00:00
Ulf Lamping
9043311823 add llc_add_oui
svn path=/trunk/; revision=16186
2005-10-11 09:11:36 +00:00
Anders Broman
b08333d010 Missed files
svn path=/trunk/; revision=16185
2005-10-11 05:56:51 +00:00
Anders Broman
b854132495 From Hannes Gredler:
fixes the AF/SAFI codepoints
for BGP Layer-2 VPNs from  a Juniper pre-standard implementation to the new "official" IANA assigned codepoints.

From Julian Onions
packet-rmt-norm.ch Decode more oif the protocol

svn path=/trunk/; revision=16183
2005-10-11 05:23:27 +00:00
Anders Broman
3f7ed7c2a2 Fix problems with bitstring:
- dissect_per_bitstring needs to know if extention exists or not.
- Fixes for bitstring sizes up to 16 ( where max = min ).

svn path=/trunk/; revision=16181
2005-10-10 20:38:28 +00:00
Guy Harris
ef966c3377 If we don't want to dump core when a field is registered twice, at least
make the message give enough information to give us some hope of finding
the offending field.

svn path=/trunk/; revision=16179
2005-10-10 18:06:50 +00:00
Gerald Combs
ad3db4ffa2 Remove an extra HF array item.
svn path=/trunk/; revision=16178
2005-10-10 16:12:51 +00:00