Commit Graph

349 Commits

Author SHA1 Message Date
Anders Broman d9e1a9c0bb From Graeme Lunt
I attach my RTSE dissector (in tar file) which requires the included ROS dissector, as well as a patch to the latest pres.{cnf,asn}. The ROS dissector uses a new field in the SESSION_DATA_STRUCTURE to pass the ROS operation to the sub-dissector, though this is also set by other dissectors (RTSE uses it in X.410 mode). 

Note that X.400 P1 in X.410 mode doesn't use ROS, so it is useful not to explicitly include ROS in my X411 dissector. However, the inclusion of a ROS dissector won't effect any dissectors that currently implement their own ROS.

I also include dissectors for:

X.411 	(P1) 		X.400 OSI Message Transfer Service
X.420 	(P22) 	X.400 OSI Information Object
STANAG 4406	(P772)	STANAG 4406 Military Message Extensions (to P22)

These rely on the RTSE and ROS dissectors.

svn path=/trunk/; revision=15679
2005-09-04 16:22:12 +00:00
Anders Broman bc4b6481b4 From Graeme Lunt:
Basically the changes are:
a) [pres] make the find_oid_by_[pres_]ctx_id (I changed the name to make it more specific) non-static so it can be called from other dissectors (see acse.cnf changes). I also call it from RTSE and ROS dissectors
b) [acse] remove (#ifdef NOT_NEEDED) the oid lookup table and any reference to acse_handle - as these are no longer needed
c) [acse] register the acse dissector on 2.2.1.0.1
with some modifications: -#ifdef:ed code removed
- renamed aco -> pco

svn path=/trunk/; revision=15678
2005-09-04 09:00:01 +00:00
Anders Broman 3b949ac5a4 From ouli:
- Add version 2 CancelLocation decoding

svn path=/trunk/; revision=15665
2005-09-02 05:46:10 +00:00
Guy Harris 92e0e21362 Regenerate dissectors with the current asn2eth.
svn path=/trunk/; revision=15664
2005-09-02 05:43:49 +00:00
Anders Broman 5dd3862875 Upadte to call Data dissector from PRES based on OID in Presentation Context,
based on the code in ACSE.

svn path=/trunk/; revision=15643
2005-08-31 20:20:56 +00:00
Guy Harris dc7c324547 Add a Makefile.
svn path=/trunk/; revision=15642
2005-08-31 20:02:06 +00:00
Guy Harris fe9bc12b33 Give it an RCS ID.
svn path=/trunk/; revision=15639
2005-08-31 19:51:16 +00:00
Tomas Kukosa fd99f48371 - more standard way for FastStart item dissection
- protocol names fixed

svn path=/trunk/; revision=15636
2005-08-31 15:03:12 +00:00
Anders Broman 1b2fd47cb2 Decode CmnInform fixes bug 376.
svn path=/trunk/; revision=15630
2005-08-31 05:46:20 +00:00
Jörg Mayer fa9ef2ccbd propset svn:keywords and svn:eol-style
svn path=/trunk/; revision=15629
2005-08-30 20:21:11 +00:00
Gerald Combs e66bb9e691 Break out of an infinite loop. Fixes bugs 392 - 395. Add a UNIX Makefile
for generation of the PRES dissector.

svn path=/trunk/; revision=15626
2005-08-30 19:43:32 +00:00
Anders Broman 2273b1b7fc MapDialougePDU.cnf
Fix a typo.

packet-ber.c 
packet-acse.c
packet-cmip.c
- Add  OID(s)

packet-ses.c
Fix export of a value string and change names to the ones used in the protocol spec.

Replace PRES dissector with an asn2eth generated one.

svn path=/trunk/; revision=15614
2005-08-29 20:07:06 +00:00
Anders Broman 374034bf98 Co ordidnate CMIP abd GNM.
svn path=/trunk/; revision=15593
2005-08-28 15:01:49 +00:00
Anders Broman 12c44d2d72 Add dissection of ITU M.3100 GNM (GENERIC NETWORK INFORMATION MODEL).
svn path=/trunk/; revision=15592
2005-08-28 14:56:03 +00:00
Ronnie Sahlberg a085bc9094 add missing value_string termination
svn path=/trunk/; revision=15582
2005-08-28 02:28:48 +00:00
Ronnie Sahlberg 927b1668d8 another value_string that was not terminated
fix a bug from the previous checking as well.

svn path=/trunk/; revision=15577
2005-08-28 01:51:50 +00:00
Gerald Combs b70ea47464 Make sure the size of dialedDigits matches the ASN.1 definition.
svn path=/trunk/; revision=15540
2005-08-26 15:46:53 +00:00
Gerald Combs ac90099d13 Add a pair of #defines to emem.c that make ep_alloc() and se_alloc()
use individual g_malloc() calls instead of memchunks.  This lets us use
tools like Valgrind and ElectricFence to find bugs.

In the H.245 dissector, set h245_pi to NULL after we're done with
it so that we don't go stomping through our memchunks with muddy
boots later on.  Fixes the current Buildbot menagerie failure.

svn path=/trunk/; revision=15539
2005-08-26 15:45:31 +00:00
Tomas Kukosa 57a75020f7 time resolution changes from packet-h225.c moved to packet-h225-template.c
svn path=/trunk/; revision=15538
2005-08-26 12:15:49 +00:00
Guy Harris 1f9c6e5322 Dissectors registered with "register_ber_oid_dissector()" return void.
Fix the spelling of "attribute".

svn path=/trunk/; revision=15537
2005-08-26 01:31:32 +00:00
Anders Broman bd42437262 Fix malformed packet if linkedId is present dissect some OID:s
svn path=/trunk/; revision=15533
2005-08-25 21:25:52 +00:00
Anders Broman 1f0b3d1d38 Fix decoding of sendIdentificationArg/Res and ProvideSubscriberLocation
svn path=/trunk/; revision=15510
2005-08-22 16:19:31 +00:00
Anders Broman 929bd9dc39 remove sprintf from gsm_a
Do the update for the .cnf file too.

svn path=/trunk/; revision=15497
2005-08-21 13:52:33 +00:00
Guy Harris eadcfd642a There's no longer a need to individually remove items from
acse_ctx_oid_table - destroying the hash table will destroy the hash
table items, and the destroy function no longer has any work to do
because the OID strings are now allocated with se_strdup() (and thus get
freed when the capture is closed).

Regenerate packet-acse.c, which also regenerates acse-exp.cnf.

svn path=/trunk/; revision=15480
2005-08-20 18:17:36 +00:00
Ronnie Sahlberg 23ef5de217 from Jeff Snyder
H245 updates
make multiple pdus/frame work

update to have nu limit on the max number of tappable pdus per frame


svn path=/trunk/; revision=15441
2005-08-19 21:19:49 +00:00
Luis Ontanon 831775973a some ememification
svn path=/trunk/; revision=15433
2005-08-19 15:50:48 +00:00
Luis Ontanon 884ad17572 add the $Id:$
svn path=/trunk/; revision=15432
2005-08-19 15:46:39 +00:00
Anders Broman 1e1df99990 From Tim Endean:
Small patch to ber.c

The tcap dissector has been updated to use this length. I have not tested other asn.1 dissectors to ensure that they correctly use the indefinite encoding flag instead of the length value returning zero. 

There may also be some problems when re-assembly is needed, but the ability to deal with indefinite length is much more useful.

For developers the get_ber_length now returns the length of the pdu including the EOC, where you have dissectors that use packet-ber.c the eoc may need to be dealt with separately.

The tcap dissector has had numerous changes to make it less cluttered, and the useful feature of the previous version where a dialogue could be filtered out by selecting either the source or destination transaction ID has been incorporated into this version.

svn path=/trunk/; revision=15414
2005-08-18 21:36:59 +00:00
Ulf Lamping 994496a184 several times replacing:
sprintf -> g_snprintf
snprintf -> g_snprintf
vsnprintf -> g_vsnprintf
strdup -> g_strdup

svn path=/trunk/; revision=15412
2005-08-18 19:31:15 +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
Anders Broman 206c6edb22 from Tomas Kukosa, remove a redundant g_strdup()
svn path=/trunk/; revision=15387
2005-08-17 09:43:16 +00:00
Ronnie Sahlberg 2046fd75b8 from Tomas Kukosa, remove a redundant g_strdup()
svn path=/trunk/; revision=15379
2005-08-17 08:31:54 +00:00
Ronnie Sahlberg c30eeef7d8 some more gmemchunk -> se_alloc() updates
there are only 5 gmemchunks left   but they have different litetime for their allocations   than the 100+   ones that have been removed.

The remaining 5 should be converted some other way.




svn path=/trunk/; revision=15328
2005-08-13 01:29:31 +00:00
Luis Ontanon 03c8023311 avoid throwing a malformed packet
svn path=/trunk/; revision=15298
2005-08-11 23:51:35 +00:00
Luis Ontanon 1480f629dc Change a switch into an "if else if else if else" that fixes the "too large for switch" in HP-UX 10.20 .
The generated file has a lot of indentation changes due probably to a change in asn2eth.

The underlying reason for which I added this code (dissect_ber_integer() would not add as a "filterable" field if it is larger than 4 bytes, should be handled in dissect_ber_integer() ) remains there.

Should we change dissect_ber_integer() itself to make sure that a 5 byte unsigned integer which fits in 4 bytes gets added to the tree as "filterable"?


svn path=/trunk/; revision=15294
2005-08-11 18:21:23 +00:00
Jörg Mayer f378e9ec64 Add eol-style and keywords properties
svn path=/trunk/; revision=15219
2005-08-05 00:29:34 +00:00
Ronnie Sahlberg 63728d5770 Add unix makefile for work in progress GSM-SS dissector
svn path=/trunk/; revision=15217
2005-08-05 00:23:08 +00:00
Anders Broman 7789e73a99 Use the new fn_par functions, fix of a bug and export functions used by gsm_ss.
svn path=/trunk/; revision=15203
2005-08-03 20:51:54 +00:00
Anders Broman 92588a098f First checkin of asn2eth generated gsm ss dissector - work in progress not ready to replace the existing
dissector yet.

svn path=/trunk/; revision=15202
2005-08-03 20:49:52 +00:00
Jörg Mayer b7cd596353 Fix svn properties where needed:
Remove svn:executable
        Add svn:eol-style
        Add svn:keywords


svn path=/trunk/; revision=15178
2005-08-02 05:21:19 +00:00
Jörg Mayer 84d1d10937 set svn:eol-style and svn:keywords
svn path=/trunk/; revision=15177
2005-08-02 05:17:00 +00:00
Jörg Mayer da9b7a9db9 Fix "no previous declaration" warnings
Remove trailing ^M (cr) from some files

svn path=/trunk/; revision=15175
2005-08-02 05:09:41 +00:00
Jörg Mayer b73a3f2773 Fix more "no previous declaration" warnings
svn path=/trunk/; revision=15174
2005-08-02 04:57:58 +00:00
Jörg Mayer 37a3b7529f Fix more "no previous declaration" warnings - the forgotten files
svn path=/trunk/; revision=15170
2005-08-02 04:32:33 +00:00
Tomas Kukosa 1602310bd4 - update ftam.cnf for new asn2eth compiler
- usage of #.FN_PARS in h225 and h245 dissectors
- PER dissectors regenerated

svn path=/trunk/; revision=15162
2005-08-01 08:46:09 +00:00
Jörg Mayer 54861853a8 More char -> const char warning fixes
svn path=/trunk/; revision=15155
2005-07-30 07:13:27 +00:00
Anders Broman 885eb43326 Upade asn code for map_dialouge and use some functions from gsm_map.
svn path=/trunk/; revision=15105
2005-07-26 20:34:55 +00:00
Anders Broman 6cec8a40c2 Export
AddressString
ExtensionContainer
SecurityHeader
ProtectedPayload
To be used by MAP_dialouge

svn path=/trunk/; revision=15104
2005-07-26 20:04:16 +00:00
Gerald Combs 681825d9e9 Fixes from Gisle Vanem.
svn path=/trunk/; revision=15101
2005-07-26 19:11:31 +00:00
Tomas Kukosa 5344edee04 fix for new asn2eth
svn path=/trunk/; revision=14990
2005-07-22 10:38:22 +00:00