Commit Graph

2393 Commits

Author SHA1 Message Date
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
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