Tomas Kukosa
a5bfb48c2f
OBJECT IDENTIFIER name resolution moved to oid_resolv.c
...
svn path=/trunk/; revision=16699
2005-12-06 11:45:55 +00:00
Anders Broman
e74a09cd01
If we don't have the OID name let the SNMP dissector try to get it from the MIB:s
...
svn path=/trunk/; revision=16680
2005-12-05 17:24:19 +00:00
Tomas Kukosa
dcae7d303f
new field type FT_OID for OBJECT IDENTIFIERs
...
svn path=/trunk/; revision=16652
2005-12-02 13:16:58 +00:00
Tomas Kukosa
97584210fb
improvements in value constraint support
...
- NO_BOUND is defined instead of usage -1
- negative bound is handled properly for INTEGER
svn path=/trunk/; revision=16505
2005-11-14 13:05:17 +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
Anders Broman
f3d6542e0f
Octest string of (size 2) does not dissplay correctly.
...
svn path=/trunk/; revision=16141
2005-10-06 08:53:51 +00:00
Tomas Kukosa
04fc893ad7
bug in dissect_per_object_identifier_str() fixed, wrong pointer was passed to oid_to_str()
...
svn path=/trunk/; revision=16018
2005-09-27 07:14:07 +00:00
Tomas Kukosa
300f1231cd
get rid of few warnings
...
svn path=/trunk/; revision=15895
2005-09-20 14:14:07 +00:00
Tomas Kukosa
d3492e684a
asn2eth
...
- #.FN_BODY accepts parameters too
- single line variant of #.FN_PAR is possible
- new parameter FN_VARIANT for OBJECT IDENTIFIER
packet-per.c
- dissect_per_object_identifier() returns value as tvb
- new dissect_per_object_identifier_str() function
PER dissectors adapted and regenerated
svn path=/trunk/; revision=15894
2005-09-20 10:56:08 +00:00
Tomas Kukosa
ee8d53adf5
remove unused parameter 'name' from dissect_per_choice()
...
svn path=/trunk/; revision=15861
2005-09-19 07:35:05 +00:00
Tomas Kukosa
510de327f5
- dissect_per_choice() creates now only one level tree insted of two levels tree
...
- dissect_per_choice() rewritten
svn path=/trunk/; revision=15740
2005-09-09 15:36:39 +00:00
Tomas Kukosa
b9b159713a
get rid of few warnings
...
svn path=/trunk/; revision=15700
2005-09-06 14:18:49 +00:00
Tomas Kukosa
bcdfd08b84
internal length field for constrained SEQUNCE/SET OF was not hidden
...
svn path=/trunk/; revision=15635
2005-08-31 14:53:15 +00:00
Tomas Kukosa
1050f6b5f2
avoid few warnings
...
svn path=/trunk/; revision=15610
2005-08-29 13:00:53 +00:00
Tomas Kukosa
0aad00ae37
- fix of bug made with too fast release
...
svn path=/trunk/; revision=15609
2005-08-29 11:37:08 +00:00
Tomas Kukosa
695130920c
- put real value insted of only text into tree for choice extensions
...
- sort alphabet for restricted character strings
- different handling of PER internal fields (only hide them)
svn path=/trunk/; revision=15608
2005-08-29 10:43:33 +00:00
Ronnie Sahlberg
6657ebb4c9
remove some more sprintf
...
svn path=/trunk/; revision=15458
2005-08-20 02:51:13 +00:00
Ronnie Sahlberg
a34e7e3d03
removal of even more sprintf
...
svn path=/trunk/; revision=15457
2005-08-20 02:33:33 +00:00
Gerald Combs
f2b29423aa
Fix value_tvb pointers.
...
svn path=/trunk/; revision=15409
2005-08-18 18:12:55 +00:00
Tomas Kukosa
ec979a97fb
- dissect_per_restricted_character_string() returns value in tvbbuff_t instead of char
...
- asn2eth:
fixed CHOICE tag handling
#.FN_PARS support for BIT STRING and all string types
intersection of SIZE and FROM constraints for string is handled
- new asn2eth features used in h225 and h245
- PER dissectors regeneration
svn path=/trunk/; revision=15408
2005-08-18 14:32:49 +00:00
Ronnie Sahlberg
efa1f43005
convert some tvb_fake_unicode() to tvb_get_ephemeral_faked_unicode()
...
svn path=/trunk/; revision=15272
2005-08-10 14:17:27 +00:00
Jörg Mayer
5602f5bb83
Make some funtions static. More char -> const char warning fixes
...
svn path=/trunk/; revision=15146
2005-07-30 01:01:02 +00:00
Tomas Kukosa
1374231148
- PER helper functions for SET/SEQUENCE OF dissection were changed to have prototype similar to BER (per_sequence_t is used as parameter)
...
- asn2eth was updated to support new PER helper functions for SET/SEQUENCE OF
- #.FN_PARS implemented for SET/SEQUENCE OF and REAL
- PER SET/SEQUENCE OF field can be FT_UINTxx to display number of items
- PER dissectors regenerated
svn path=/trunk/; revision=14921
2005-07-15 15:20:40 +00:00
Tomas Kukosa
5f2fd433ab
- use tvb instead of offset and length in dissect_per_octet_string() for value returning
...
- asn2eth: #.FN_PARS support for OCTET STRING
- usage of #.FN_PARS in h225 and h245
- h225: ParallelH245Control support
- h245: better support of NonStandardParameter
- usage of MAX_OID_STR_LEN constant
- all PER dissectors regenerated
svn path=/trunk/; revision=14844
2005-07-04 09:35:25 +00:00
Gerald Combs
3a6c9ab134
Fix a format string vulneratility in the AFP dissector identified
...
by iDEFENSE. Add constant format strings to proto_item_append_text()
in a bunch of other dissectors. Copy a comment from proto.c to proto.h.
svn path=/trunk/; revision=14713
2005-06-20 19:35:58 +00:00
Guy Harris
0583a7ef79
"proto_tree_add_text()" doesn't add a named field, so it takes no "hf_"
...
argument.
Report a non-integral type used with "dissect_per_integer()" with an
explicit "REPORT_DISSECTOR_BUG()" call, as that's a dissector bug.
svn path=/trunk/; revision=14651
2005-06-16 06:30:33 +00:00
Gerald Combs
578f7a4e84
Handle FT_UINTs in dissect_per_integer(). Fixes bug 234.
...
svn path=/trunk/; revision=14643
2005-06-15 22:56:23 +00:00
Gerald Combs
bcd1c5b9fa
From Steve Grubb: Fix buffer and array length checks. Fixes part of bug 217.
...
svn path=/trunk/; revision=14498
2005-05-30 21:01:52 +00:00
Gerald Combs
1a5605dc21
Throw an exception instead of calling g_assert_not_reached(). Fixes bug 175.
...
svn path=/trunk/; revision=14424
2005-05-24 13:50:20 +00:00
Tomas Kukosa
46a168734a
Usage of oid_to_str() in PER and BER helpers
...
svn path=/trunk/; revision=14217
2005-04-28 09:54:03 +00:00
Tomas Kukosa
94dffebd6c
NULL type decoders for PER and BER
...
svn path=/trunk/; revision=14201
2005-04-27 14:17:14 +00:00
Guy Harris
e44a0c7dd1
Use 0, not NULL, for integer arguments; NULL might be defined as "(void *)0",
...
and that causes compiler warnings when it's passed as an integer argument.
svn path=/trunk/; revision=13785
2005-03-16 23:49:12 +00:00
Anders Broman
2a9f29ce77
From Alejandro Vaquero :
...
Find attached a patch for "Voip analysis" to get the LRQ/LCF/LRJ messages included in the H323 calls for Gatekeeper to Gatekeeper configurations
svn path=/trunk/; revision=13337
2005-02-07 08:57:47 +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
Tomas Kukosa
5b3af778d6
ASN.1 PER VisibleString support
...
svn path=/trunk/; revision=13085
2005-01-17 10:09:43 +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
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
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
Guy Harris
816267f2c1
Don't have two variables, in different scopes in the same routine, have
...
the same name.
Fix up alignment.
svn path=/trunk/; revision=12400
2004-10-27 02:52:40 +00:00
Guy Harris
685bbf7b35
Encapsulate into a macro the idiom
...
if(offset&0x07){
offset=(offset&0xfffffff8)+8;
}
for byte-aligning a bit offset.
svn path=/trunk/; revision=12399
2004-10-27 02:34:30 +00:00
Guy Harris
94873c0d94
From Ronnie Sahlberg: set a variable before we test it.
...
svn path=/trunk/; revision=12281
2004-10-12 17:51:13 +00:00
Ronnie Sahlberg
97a1230136
dissect_per_restricted_character_string() was almost completely broken when it came to PrintableString.
...
I am amazed it worked at all and noone complained.
It is little less broken now and handles some of the PrintableStrings properly.
svn path=/trunk/; revision=12262
2004-10-11 12:00:08 +00:00
Guy Harris
4998eb51ee
Make the "per_choice_t" and "per_sequence_t" pointer arguments pointers
...
to const.
svn path=/trunk/; revision=12253
2004-10-11 06:38:12 +00:00
Guy Harris
bbe7f89742
Move prefs.c and prefs.h into the epan subdirectory.
...
svn path=/trunk/; revision=12115
2004-09-27 22:55:15 +00:00
Gilbert Ramirez
669db206cb
Move dissectors to epan/dissectors directory.
...
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.
Adjust #include lines in files that include packet-*.h
files.
svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00