Balint Reczey
1ebdb2e521
Export libwireshark symbols using WS_DLL_PUBLIC define
...
Also remove old WS_VAR_IMPORT define and related Makefile magic
everywhere in the project.
svn path=/trunk/; revision=47992
2013-03-01 23:53:11 +00:00
Pascal Quantin
59e4794390
Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8216 :
...
Add basic dissection of UTF8String type in ASN.1 PER dissector
svn path=/trunk/; revision=47233
2013-01-23 20:50:18 +00:00
Jakub Zawadzki
bf81b42e1e
Update Free Software Foundation address.
...
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Anders Broman
62866c78a0
Get rid of Warnings.
...
svn path=/trunk/; revision=39957
2011-11-20 12:43:04 +00:00
Anders Broman
03a6c7fe7d
Get rid of check_col() and use ENC.
...
svn path=/trunk/; revision=39151
2011-09-26 17:18:10 +00:00
Anders Broman
5f76488f0a
Move tvb_new_octet_aligned() to tvbuff.c and use it.
...
svn path=/trunk/; revision=39150
2011-09-26 15:11:14 +00:00
Tomas Kukosa
733452afd7
Support for Extension Addition Group in PER encoding
...
Fix for bug 6196 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6199
svn path=/trunk/; revision=38421
2011-08-09 08:00:06 +00:00
Anders Broman
98c852386d
Handle lenght restriction extension of restricted strings.
...
Fixes
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4251
svn path=/trunk/; revision=31047
2009-11-22 17:00:45 +00:00
Anders Broman
6f74922803
From Vincent Helfre and Me:
...
- Dissect GSM messages.
- Add functions to libwireshark needed by plugins.
svn path=/trunk/; revision=28068
2009-04-16 19:01:31 +00:00
Anders Broman
99bbe55222
Make it possible to check for extension marker in SEQUENCE OF and SET OF.
...
Fore some reason the trace in bug https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3360 does not decode properly
if dissecting the exension marker so leave that code #if 0:ed out for now.
svn path=/trunk/; revision=27848
2009-03-25 22:04:23 +00:00
Stig Bjørlykke
76ba68775b
Do not call a variable value_string as we have a struct with this name.
...
svn path=/trunk/; revision=26658
2008-10-31 18:42:53 +00:00
Anders Broman
8ad1d17b61
Handle the case where length is > remaining tvb
...
trace in:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1809
svn path=/trunk/; revision=24691
2008-03-18 20:10:50 +00:00
Anders Broman
6cb56fba71
make per_constrained_integer handle 64bits needed for X2AP.
...
svn path=/trunk/; revision=24097
2008-01-15 17:59:43 +00:00
Tomas Kukosa
7529f33437
support for additionally SIZE constrained Typereference
...
the support is only semiautomated as this feature does not occur very often
use this feature for the TBCD-STRING in the H.225 dissector
svn path=/trunk/; revision=23958
2007-12-28 10:42:44 +00:00
Tomas Kukosa
84488ec016
asn2wrs
...
- parameterized object class assignment
- octet string with extensible size constraint
- RELATIVE-OID type (still not supported in packet-per/ber)
packet-per
- octet string with extensible size constraint
more dissect_per_... functions exported from libwireshark.dll
PER dissectors regenerated
add forgotten packet-h323-template.h
fix svn properties for h323 files
svn path=/trunk/; revision=23309
2007-10-29 19:25:37 +00:00
Tomas Kukosa
7cca38408f
make dissect_per_length_determinant() private
...
svn path=/trunk/; revision=23214
2007-10-17 09:51:27 +00:00
Tomas Kukosa
ab5d466fc7
rose_ctx_t structure usage in Q.932 dissector
...
svn path=/trunk/; revision=22349
2007-07-18 13:15:36 +00:00
Tomas Kukosa
e8ecaf723b
support of CONTAINING constraint in OCTET STRING and BIT STRING
...
svn path=/trunk/; revision=21905
2007-05-23 13:36:25 +00:00
Tomas Kukosa
61ffcf48a9
- more variants of dissect_per_open_type_*()
...
- move asn1_get_real() to asn1.c/.h
svn path=/trunk/; revision=21757
2007-05-14 13:39:31 +00:00
Anders Broman
98cb9db12d
Split out asn1 common functions. Start of BER EXTERNAL.
...
svn path=/trunk/; revision=21670
2007-05-03 21:52:57 +00:00
Tomas Kukosa
6e491e8c3b
REAL type support
...
svn path=/trunk/; revision=21658
2007-05-03 09:15:04 +00:00
Tomas Kukosa
b112f7cd40
PER - support of EXTERNAL and ObjectDescriptor types (not tested)
...
svn path=/trunk/; revision=21640
2007-05-02 12:13:29 +00:00
Anders Broman
1cf1f16391
Split out common asn1 stuff to asn1.h and include that where needed.
...
svn path=/trunk/; revision=21635
2007-05-01 22:05:11 +00:00
Stephen Fisher
a69bfb6029
Remove stderr output of an error condition per bug #998 . The error is already
...
displayed in the packet tree.
svn path=/trunk/; revision=20320
2007-01-05 00:33:23 +00:00
Tomas Kukosa
5ff34d332b
- add value_ptr into struct _asn1_ctx_t
...
- small changes in h225.cnf
- H.225 regenerated
svn path=/trunk/; revision=18923
2006-08-16 08:07:30 +00:00
Tomas Kukosa
c333c6b5bd
few formal changes in PER dissector (rename asn_* types to asn1_* ones)
...
svn path=/trunk/; revision=18652
2006-07-04 06:49:53 +00:00
Tomas Kukosa
6ceb7937bc
remove name field from per_sequence_t structure, it can be retrieved from field information
...
svn path=/trunk/; revision=18637
2006-07-03 07:03:57 +00:00
Tomas Kukosa
9be9eb8e14
use "type function" instead of "field function" in PER CHOICE and SEQUENCE tables
...
it matches asn2wrs approach and makes generated dissectors source shorter
svn path=/trunk/; revision=18612
2006-06-29 15:26:41 +00:00
Tomas Kukosa
56d7db0c08
remove functions register_ber_oid_name() and get_ber_oid_name() from packet-ber.c, they were only OID but not BER related
...
use add_oid_str_name() and get_oid_str_name() instead of them
svn path=/trunk/; revision=18595
2006-06-28 14:19:08 +00:00
Jörg Mayer
10d81045a1
warning fix: no , at end of enum
...
svn path=/trunk/; revision=18398
2006-06-08 14:36:45 +00:00
Anders Broman
581dc56d63
MAke it possible to get a tvb with a BIT STRING, regenerate PER dissectors.
...
svn path=/trunk/; revision=18395
2006-06-08 06:06:17 +00:00
Tomas Kukosa
1f24a713be
- packet-per.[ch]: Open Type support
...
- asn2wrs.py: TYPE-IDENTIFIER and ABSTRACT-SYNTAX information object classes support
svn path=/trunk/; revision=18338
2006-06-05 06:49:52 +00:00
Tomas Kukosa
fbd2a3fe3e
- fix bugs in dissect_per_octet_string() introduced with unaligned variant
...
- step to new ASN.1 API - pass asn_ctx_t* through PER dissectors instead of packet_info*
- PER ALIGNED/UNALIGNED flag moved to asn_ctx_t
- PER created tree item pointer moved to asn_ctx_t
- add nbap into PER dissectors in asn1/Makefile.nmake
- use add_oid_str_name() instead of register_ber_oid_name() in H.225 and H.245
- export asn_ctx_init from library
- PER dissectors regenerated
svn path=/trunk/; revision=18209
2006-05-22 11:49:50 +00:00
Ronnie Sahlberg
feab79e328
change a whole bunch of ethereal into wireshark
...
svn path=/trunk/; revision=18196
2006-05-21 04:49:01 +00:00
Anders Broman
102bb4be54
Preparations to be able to handle unaligned PER.
...
svn path=/trunk/; revision=18119
2006-05-10 05:58:06 +00:00
Tomas Kukosa
3b5ed30a0d
better support for ASN.1 Enumerated type in PER decoding
...
support in asn2eth will follow
svn path=/trunk/; revision=17530
2006-03-08 13:50:04 +00:00
Anders Broman
d19c901b52
Make a new PER function dissect_per_enumerated() and use it for the two places in RANAP where
...
extensions has been made to enumerations. asn2eth should be updated to use it.
svn path=/trunk/; revision=17474
2006-03-05 20:21:19 +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
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
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
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
Ulf Lamping
960f3e60b4
if some PER errors has to be put to the stderr, give at least info where it's coming from (__FILE__ and __LINE__)
...
BTW: time for something like a "NotImplementedException"?!?, this seems to be a common mechanism, if a dissector hasn't implemented all protocol elemements (yet)
svn path=/trunk/; revision=14554
2005-06-04 22:05:50 +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
Gerald Combs
8e79a1852f
Use an offset of 0 in PER_NOT_DECODED_YET() so that we don't generate a
...
dissector bug error.
svn path=/trunk/; revision=13970
2005-03-29 16:11:11 +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
Tomas Kukosa
5b3af778d6
ASN.1 PER VisibleString support
...
svn path=/trunk/; revision=13085
2005-01-17 10:09:43 +00:00