aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
AgeCommit message (Collapse)AuthorFilesLines
2005-09-19Don't dereference a null pointer. Fixes bug 460.Gerald Combs1-1/+1
svn path=/trunk/; revision=15874
2005-09-19In the SPNEGO dissector, don't call a subdissector if we don't have a TVB.Gerald Combs1-1/+4
Fixes bugs 448, 449, 451, 452, 454, 456, and 461. Add similar TVB checks to the BER dissector. svn path=/trunk/; revision=15869
2005-09-19sometimes it seems that we have the text based h248/megaco running ontop ofRonnie Sahlberg1-0/+16
m3ua and not the binary one. make the binary dissector check if it is really the text based one to be used and if so call that dissector instead. svn path=/trunk/; revision=15862
2005-09-19remove unused parameter 'name' from dissect_per_choice()Tomas Kukosa1-4/+4
svn path=/trunk/; revision=15861
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-09-15Don't use u_char - not all platforms define it, and even those that doGuy Harris1-2/+2
might require other files to be included to get it. svn path=/trunk/; revision=15828
2005-09-15Add a Makefile.Guy Harris1-0/+17
svn path=/trunk/; revision=15827
2005-09-15Replace the spnego dissector with an asn2eth generated one.Anders Broman5-0/+1359
svn path=/trunk/; revision=15810
2005-09-11Replace tvb_memcpy() calls that extract IPv4 addresses into a guint32,Guy Harris2-4/+4
and that extract IPv6 addresses into a "struct e_in6_addr", with tvb_get_ipv4() and tvb_get_ipv6() calls - except for some that we remove, by using proto_tree_add_item(), rather than replacing. Have epan/tvbuff.h include epan/ipv6-utils.h, to define "struct e_in6_addr" (not necessary to declare the tvbuff routines, but including it there means "struct e_in6_addr" is guaranteed to be defined before those declarations, so we don't get compiler complaints if we define it *after* those declarations). svn path=/trunk/; revision=15758
2005-09-09Dissect "nbs-9".Anders Broman3-2/+29
svn path=/trunk/; revision=15742
2005-09-08Fix more problems found by Steve Grubb, along with other changes:Gerald Combs2-7/+11
Camel: Fix an off-by-one error. Don't alloc and free where it's not needed. Remove an unused variable. PPP and K12: Fix memory leaks. svn path=/trunk/; revision=15725
2005-09-07Set "COPYCMD=/Y" and remove the "/Y" from each XCOPY command in orderGerald Combs41-83/+83
to fix compilation under Windows NT. This should fix bug 403. The changes were made using "find . -name Makefile.nmake | xargs perl -pi.bak -e 's: /y::i'". They appear to work under XP, but if anything broke I blame Larry Wall. svn path=/trunk/; revision=15710
2005-09-06Ftam - Use some mofe FN_PAR:sAnders Broman2-12/+47
PRES Dissect PDU type based on SS-user data from SES(Info from asn1 file). svn path=/trunk/; revision=15703
2005-09-06Make sure we don't overflow the dialedDigits array.Guy Harris1-1/+4
svn path=/trunk/; revision=15702
2005-09-06get rid of few warningsTomas Kukosa2-10/+12
svn path=/trunk/; revision=15700
2005-09-05Squelch compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15697
2005-09-05Squelch compiler warnings.Guy Harris1-3/+3
svn path=/trunk/; revision=15696
2005-09-05Squelch a compiler warning.Guy Harris1-1/+1
svn path=/trunk/; revision=15695
2005-09-05Use the same string for the protocol's filter name as is used in theGuy Harris1-1/+1
names of its filterable fields. svn path=/trunk/; revision=15693
2005-09-05Add some OID:s as we now use the Presentation context and use FN_PARS.Anders Broman3-13/+23
svn path=/trunk/; revision=15688
2005-09-04 From Graeme LuntAnders Broman7-8/+14
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. Withs some changes to remove various warnings and errors. svn path=/trunk/; revision=15680
2005-09-04From Graeme LuntAnders Broman36-91/+6108
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-04From Graeme Lunt:Anders Broman5-43/+48
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-02From ouli:Anders Broman2-1/+7
- Add version 2 CancelLocation decoding svn path=/trunk/; revision=15665
2005-09-02Regenerate dissectors with the current asn2eth.Guy Harris8-23/+23
svn path=/trunk/; revision=15664
2005-08-31Upadte to call Data dissector from PRES based on OID in Presentation Context,Anders Broman5-58/+147
based on the code in ACSE. svn path=/trunk/; revision=15643
2005-08-31Add a Makefile.Guy Harris1-0/+16
svn path=/trunk/; revision=15642
2005-08-31Give it an RCS ID.Guy Harris1-0/+2
svn path=/trunk/; revision=15639
2005-08-31- more standard way for FastStart item dissectionTomas Kukosa6-28/+31
- protocol names fixed svn path=/trunk/; revision=15636
2005-08-31Decode CmnInform fixes bug 376.Anders Broman1-2/+17
svn path=/trunk/; revision=15630
2005-08-30propset svn:keywords and svn:eol-styleJörg Mayer1-1/+1
svn path=/trunk/; revision=15629
2005-08-30Break out of an infinite loop. Fixes bugs 392 - 395. Add a UNIX MakefileGerald Combs2-6/+22
for generation of the PRES dissector. svn path=/trunk/; revision=15626
2005-08-29MapDialougePDU.cnfAnders Broman8-3/+795
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-28Co ordidnate CMIP abd GNM.Anders Broman3-38/+38
svn path=/trunk/; revision=15593
2005-08-28Add dissection of ITU M.3100 GNM (GENERIC NETWORK INFORMATION MODEL).Anders Broman5-0/+1153
svn path=/trunk/; revision=15592
2005-08-28add missing value_string terminationRonnie Sahlberg1-2/+5
svn path=/trunk/; revision=15582
2005-08-28another value_string that was not terminatedRonnie Sahlberg1-1/+2
fix a bug from the previous checking as well. svn path=/trunk/; revision=15577
2005-08-26Make sure the size of dialedDigits matches the ASN.1 definition.Gerald Combs1-1/+1
svn path=/trunk/; revision=15540
2005-08-26Add a pair of #defines to emem.c that make ep_alloc() and se_alloc()Gerald Combs1-0/+1
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-26time resolution changes from packet-h225.c moved to packet-h225-template.cTomas Kukosa1-10/+4
svn path=/trunk/; revision=15538
2005-08-26Dissectors registered with "register_ber_oid_dissector()" return void.Guy Harris1-30/+30
Fix the spelling of "attribute". svn path=/trunk/; revision=15537
2005-08-25Fix malformed packet if linkedId is present dissect some OID:sAnders Broman2-5/+151
svn path=/trunk/; revision=15533
2005-08-22Fix decoding of sendIdentificationArg/Res and ProvideSubscriberLocationAnders Broman4-164/+18
svn path=/trunk/; revision=15510
2005-08-21remove sprintf from gsm_aAnders Broman1-1/+1
Do the update for the .cnf file too. svn path=/trunk/; revision=15497
2005-08-20There's no longer a need to individually remove items fromGuy Harris2-9/+2
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-19from Jeff SnyderRonnie Sahlberg1-24/+13
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-19some ememificationLuis Ontanon1-8/+1
svn path=/trunk/; revision=15433
2005-08-19add the $Id:$Luis Ontanon2-0/+4
svn path=/trunk/; revision=15432
2005-08-18From Tim Endean:Anders Broman2-86/+108
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-18several times replacing:Ulf Lamping1-1/+1
sprintf -> g_snprintf snprintf -> g_snprintf vsnprintf -> g_vsnprintf strdup -> g_strdup svn path=/trunk/; revision=15412