Commit Graph

126 Commits

Author SHA1 Message Date
Anders Broman 9636044d74 From Michael Lum:
ANSI MAP digits type decode and bitmask corrections
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3233

svn path=/trunk/; revision=27379
2009-02-05 18:09:00 +00:00
Anders Broman 8474c3d23d From Michael Lum:
ANSI MAP fix for TRN digits/SMS and OTA subdissection
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3214

svn path=/trunk/; revision=27276
2009-01-20 20:16:33 +00:00
Bill Meier c544c20956 Fix various typos and spelling errors (mostly in text strings)
svn path=/trunk/; revision=27050
2008-12-18 19:08:49 +00:00
Bill Meier a8f30cbca1 Fix some typos and spelling (mostly in text strings)
svn path=/trunk/; revision=27037
2008-12-17 17:23:37 +00:00
Anders Broman 3d0e9d7e34 From Michael Lum:
- new service options
- one comment was incorrect
- Expanded a profile in one of the messages

svn path=/trunk/; revision=26905
2008-12-03 06:46:23 +00:00
Anders Broman 49ce0c4edf Bug fixes:
- Put QualificationDirectiveRes in the tree.
- Use correct tag value for messageWaitingNotificationType (145)
- analogRedirectRecord is OPTIONAL.

svn path=/trunk/; revision=26877
2008-11-29 21:21:16 +00:00
Anders Broman 8aa42cd917 The updated Profile wasn't expanded in all places.
svn path=/trunk/; revision=26867
2008-11-27 19:38:41 +00:00
Bill Meier 18f81c6991 Re-generated packet-ansi_map.c (See svn #26718)
svn path=/trunk/; revision=26719
2008-11-06 22:08:46 +00:00
Anders Broman ac85993e58 Invalid code in range_delete_callback.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3041

svn path=/trunk/; revision=26715
2008-11-06 21:41:49 +00:00
Anders Broman e375c3990a Regenerate all asn2wrs generated dissectors
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Anders Broman 9b9c51873b From shmulikB:
1. ansi map fail to parser BCD digits when Numbering Plan: Telephony Numbering
(ITU-T Rec. E.164,E.163) (2)

2. fix dissector_try_port if sms-TeleserviceIdentifier RECIEVE BEFORE
sms-BearerData.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2989

svn path=/trunk/; revision=26521
2008-10-23 05:56:28 +00:00
Stig Bjørlykke 677eb18d20 Rewrote some prohibited APIs in epan/dissectors/ (sprintf, strcpy, strcat).
If we get some truncated strings we probably overwrote some buffers...

svn path=/trunk/; revision=24249
2008-02-02 17:25:40 +00:00
Anders Broman d38d7348e0 Wrong string used in g_hash_table_lookup().
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2154

svn path=/trunk/; revision=24000
2008-01-03 13:00:56 +00:00
Guy Harris b2f28fb370 Get rid of non-ASCII character in a value_string table. (They might
upset MSVC++ if the wrong code page is selected, and there's no
guarantee that all forms of output of dissected packets are in any
particular character encoding.)

svn path=/trunk/; revision=23819
2007-12-09 21:10:25 +00:00
Anders Broman 063c688bc0 Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2057
The tag for PSTNTermination is [95].

svn path=/trunk/; revision=23723
2007-12-03 22:22:25 +00:00
Jeff Morriss 980f624770 (Again, this time for ANSI MAP) From Florent Drouin: malloc the size of the structure, not the size of a pointer to the structure. Hopefully this will fix bug 1844.
svn path=/trunk/; revision=22892
2007-09-17 17:58:49 +00:00
Anders Broman 30e64dade4 Try to protect the hash table...
svn path=/trunk/; revision=22866
2007-09-13 20:20:11 +00:00
Anders Broman 120a0759b3 Warning fixes.
svn path=/trunk/; revision=22855
2007-09-12 18:12:18 +00:00
Anders Broman c4daf58278 Use the new ANSI TCAP dissector.
svn path=/trunk/; revision=22854
2007-09-12 16:45:53 +00:00
Stig Bjørlykke 2fc59fcc43 Fixed a warning: 'j' may be used uninitialized in this function.
svn path=/trunk/; revision=22815
2007-09-06 22:26:09 +00:00
Anders Broman 10f5c61bf3 Get rid of get_ber_last_reated_item() and fix dissection of wIN-TriggerList.
svn path=/trunk/; revision=22807
2007-09-06 16:27:17 +00:00
Anders Broman 108f4f347c Fix the asn1 code for WIN-TriggerList and systemMyTypeCode plus
a copy-paste error in the hf fields.

svn path=/trunk/; revision=22796
2007-09-05 22:24:40 +00:00
Anders Broman f7bed80d57 ANSI MAP systemMyTypeCode should be OPTIONAL
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1820

svn path=/trunk/; revision=22783
2007-09-04 16:55:48 +00:00
Luis Ontanon 00c5e48a17 get users of oid_resolv to use the new oids, rollout packet-snmp.c
svn path=/trunk/; revision=22651
2007-08-25 01:14:24 +00:00
Anders Broman 64ae231eaa From Chris Maynard:
Fix display filter field problems
Correct the template files in the case of generated dissectors.

svn path=/trunk/; revision=22621
2007-08-24 05:58:08 +00:00
Jeff Morriss 37b786a771 Change tvb_get_string() to tvb_get_ephemeral_string(). Since we weren't freeing the returned buffer, this cleans up a memory leak. NOTE: I had to manually regenerate this dissector without the "-T" option to avoid checking in a lot of changes that I don't understand/didn't make. Why is the Makefile newer than what's in epan/dissectors/ ?
svn path=/trunk/; revision=22511
2007-08-15 21:37:09 +00:00
Anders Broman 94a699a583 Fix some of the 'defined but not used' warnings.
svn path=/trunk/; revision=22229
2007-07-02 12:12:49 +00:00
Anders Broman 05b30163e2 Try to fix some more GCC warnings.
svn path=/trunk/; revision=22180
2007-06-24 09:18:36 +00:00
Anders Broman 58dd15575f Try to fix some GCC warnings.
svn path=/trunk/; revision=22172
2007-06-23 15:32:36 +00:00
Anders Broman 0b09a4cb76 Add code for signals:
- LCSParameterRequest
- CheckMEID
- PositionEventNotification
- StatusRequest

svn path=/trunk/; revision=22132
2007-06-18 19:20:52 +00:00
Anders Broman 3f3efe41da Generate ANSI MAP with the -X option.
svn path=/trunk/; revision=22072
2007-06-11 05:28:18 +00:00
Anders Broman dca634c4de Prepare for the use of the new -X parameter for BER encoded protocols.
svn path=/trunk/; revision=21889
2007-05-22 16:17:54 +00:00
Anders Broman f08cd1e5e3 actx in the rest of dissect_ber..()l
svn path=/trunk/; revision=21773
2007-05-15 05:49:43 +00:00
Anders Broman c01f382974 Second step in introducing asn context to BER dissectors just like in PER.
svn path=/trunk/; revision=21753
2007-05-13 20:58:29 +00:00
Anders Broman 4c692a62b6 Start introducing actx to ber functions.
svn path=/trunk/; revision=21705
2007-05-06 22:34:05 +00:00
Anders Broman cca5f4cfbc Add an IE.
svn path=/trunk/; revision=21462
2007-04-18 06:30:23 +00:00
Ronnie Sahlberg 8920a7e7f2 change the signature that asn2wrs generates for functions to marm all parameters as _U_
to reduce the number of compiler warnings.

update some template and cnf files to use _U_ as well 


svn path=/trunk/; revision=21088
2007-03-21 10:22:22 +00:00
Stephen Fisher 3f3d725506 Changes to the ansi_map and ospf dissectors to use new RVAL() (range string)
feature.


svn path=/trunk/; revision=20806
2007-02-14 01:16:19 +00:00
Jeff Morriss 0a9304dc6f Fix for bug 1350: Add return value for
dissect_ansi_map_sms_originationrestrictions()

Also close a couple of comments, remove one /* embedded in a comment,
remove a couple unused variables (still lots of unused params in there),
and fix indentation of some proto_item and proto_tree variable declarations.

svn path=/trunk/; revision=20730
2007-02-07 02:41:10 +00:00
Anders Broman 951cb6ee63 Fix a copy error.
svn path=/trunk/; revision=20728
2007-02-06 07:59:24 +00:00
Anders Broman 4e448c3cf9 Dissekt ControlChannelData.
svn path=/trunk/; revision=20458
2007-01-16 22:51:08 +00:00
Anders Broman 2cea2d7034 Dissect SMS-OriginationRestrictions.
svn path=/trunk/; revision=20444
2007-01-15 21:07:36 +00:00
Anders Broman 165354a3f5 Handle the case where the same TransactionID is used for two different
destinations.

svn path=/trunk/; revision=20440
2007-01-15 14:01:04 +00:00
Anders Broman de009c280a Dissect sms-BearerData also in responce messages if service code seen in Invoke.
Pretify a bunch of DigitsType parameters.

svn path=/trunk/; revision=20439
2007-01-15 10:19:50 +00:00
Anders Broman d1db2cb464 If a OCTET STRING has zero length a zero length tvb will be returned - handle that case
and add pretifications by Graeme Lunt.

svn path=/trunk/; revision=20430
2007-01-14 22:20:02 +00:00
Anders Broman 2aa94bbcd9 Dissect cdma2000HandoffInvokeIOSData and response data
(Missing .cnf file in previous checkin) add BCD decoded items to Digits type item.

svn path=/trunk/; revision=20426
2007-01-14 15:29:29 +00:00
Anders Broman ff5d1745e3 Handle the case ehere TCAP identifier isn't present.
svn path=/trunk/; revision=20421
2007-01-13 23:02:06 +00:00
Anders Broman 623ca476f1 - Correct Tag numbering and marking of OPTIONAL.
- Add some variants of Digits dissection.
 - Correct the DMH-RedirectionIndicator.
- Add reserved bits.

svn path=/trunk/; revision=20420
2007-01-13 19:18:46 +00:00
Anders Broman 2ddd0fdf0a Handle zero length invokes and some asn1 fixes.
svn path=/trunk/; revision=20418
2007-01-13 16:08:30 +00:00
Anders Broman 69238439c4 Dissect cdma2000HandoffInvokeIOSData.
svn path=/trunk/; revision=20409
2007-01-12 17:50:20 +00:00
Anders Broman 844abae29a Dissect CDMAServiceOption.
svn path=/trunk/; revision=20407
2007-01-12 12:05:56 +00:00
Anders Broman dd5a89ec49 Add dissection of cdmaChannelData and only add Opcode to hastable once.
svn path=/trunk/; revision=20398
2007-01-11 22:26:15 +00:00
Anders Broman c9bbf1b510 Packet-ber:
Handle the following type of construct
CDMATargetMAHOInformation ::= SEQUENCE {
	targetCellID			[3] IMPLICIT TargetCellID,
	cdmaPilotStrength		[65] IMPLICIT CDMAPilotStrength,
	cdmaTargetOneWayDelay	[61] IMPLICIT CDMATargetOneWayDelay
	}

CDMATargetMAHOList ::= SEQUENCE OF [135] IMPLICIT CDMATargetMAHOInformation

ansi_map:
- Correct an Enummeration
- add Missing OPTIONAL to Tags
- Handle parameter if it's one or two octets long.

svn path=/trunk/; revision=20386
2007-01-10 22:59:40 +00:00
Anders Broman dfeba2c627 Add ansi_map to the makefiles
Add missing IMPLICIT and tag numbers, some whitespace changes.

svn path=/trunk/; revision=20358
2007-01-09 21:45:46 +00:00
Anders Broman 284c951386 Show return signal in info col. also if no data.
svn path=/trunk/; revision=20335
2007-01-07 15:38:29 +00:00
Anders Broman c2b459f78f Check in the asn2wrs generated ANSI map dissector.
svn path=/trunk/; revision=20334
2007-01-06 20:51:03 +00:00
Anders Broman d61e373bb4 As ponted out by Stig Bjørlykke change a whole bunch of dissector_handle_t to static.
svn path=/trunk/; revision=20062
2006-12-07 20:34:08 +00:00
Anders Broman d74d57789d From Michael Lum
1)
A small change in the number of teleservices recognized

2)
Finally finished a lot of the changes for IOS 5 support.

The attached files must be used together.

Built in Windows XP Pro using Visual Studio C++ with the latest repository.

packet-ansi_map.c.gz

packet-ansi_a.gz
    This file contains both packet-ansi_a.c and packet-ansi_a.h changes.

libwireshark.def.gz

ansi_a_stat.c.gz

svn path=/trunk/; revision=19955
2006-11-22 06:39:24 +00:00
Anders Broman f265fad2bb From Jeff Morriss:
however there's a bug in the ANSI MAP dissector 
SSN preference code - it's deleting an ANSI SSN and adding an ITU one

svn path=/trunk/; revision=19018
2006-08-24 21:15:15 +00:00
Gerald Combs 7976c442db Fix a few format string bugs found by Ilja van Sprundel.
svn path=/trunk/; revision=18677
2006-07-07 00:45:54 +00:00
Anders Broman 41dc49bc3e From Michail Koreshkov:
Added option "ANSI MAP" in Preferences menu, that ansi_map protocol dissector can parse packets with non-standart SSN.

svn path=/trunk/; revision=18358
2006-06-06 18:39:49 +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
Jörg Mayer f9a57f08d1 Bill Meier:
Spelling fixes.

svn path=/trunk/; revision=16956
2006-01-05 13:01:08 +00:00
Luis Ontanon bc84ba5de6 Have tcap subdissectors registering using functions provided by tcap and tcap manage ssn registration.
In packet-sccp.c avoid not having a binding.


svn path=/trunk/; revision=16834
2005-12-17 16:55:45 +00:00
Gerald Combs 94e0d144c6 Add some length checks. Fixes bugs 381, 384, and 386.
svn path=/trunk/; revision=15599
2005-08-28 19:59:50 +00:00
Ronnie Sahlberg 73d84924b5 remove sprintf
svn path=/trunk/; revision=15490
2005-08-21 00:55:46 +00:00
Guy Harris a749379d3c Flag the "add_string" parameter as unused if it is - and don't flag it
as such if it *is* used. Get rid of the "add_string" parameter to
"param_digits_basic", as that function *isn't* called through a pointer.

Don't flag arguments in declarations as unused; you only do that in
definitions.

Clean up indentation.

svn path=/trunk/; revision=15479
2005-08-20 18:01:07 +00:00
Ronnie Sahlberg b7b0df514c From Michael Lum:
Fixed quite a few parameter IDs based on TIA-41-E (originally my mistakes).
Added support for filtering by DN, MIN, etc.
Moved where embedded 'Bearer Data' parameter is sub-dissected.



svn path=/trunk/; revision=15424
2005-08-19 08:39:19 +00:00
Jörg Mayer b8d33c4add Fix >2600 warnings by doing char -> const char changes.
Additionally in dissectors/packet-ansi_map.c:
        Flag unused parameters as such and remove dummy
        param = param;
        statements.

svn path=/trunk/; revision=15114
2005-07-27 07:57:01 +00:00
Guy Harris ab797734dd Get rid of the private "my_match_strval()" routine in many dissectors;
add a "match_strval_idx()" routine that does the same thing, and have
"match_strval()" call it.

Make those routines, and "val_to_str()", return a "const" pointer. 
Update dissectors as necessary to squelch compiler warnings produced by
that.

Use "val_to_str()" rather than using "match_strval()" and then, if the
result is null, substituting a specific string.  Clean up some other
"match_strval()"/"val_to_str()" usages.

Add a null pointer check in the NDPS dissector's "attribute_value()"
routine, as it's not clear that "global_attribute_name" won't be null at
that point.

Make some global variables in the AFS4INT dissector local.

Make some routines not used outside the module they're in static.

Make some tables "static const".

Clean up white space.

Fix Gerald's address in some files.

svn path=/trunk/; revision=14786
2005-06-26 19:56:52 +00:00
Ulf Lamping a96c3b0f73 packet-ansi_map.c(760) : warning C4090: 'return' : different 'const' qualifiers
svn path=/trunk/; revision=14772
2005-06-26 10:58:32 +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
Anders Broman c40a7d2ad9 From Javier Acuna:
filter packets by their Billing ID

svn path=/trunk/; revision=14409
2005-05-21 09:13:28 +00:00
Lars Roland ec9ca01616 Move the following files from /trunk to /trunk/epan:
asn1.[ch]
follow.[ch]
ptvcursor.[ch]
reassemble.[ch]
xmlstub.[ch]

fix #include statements accordingly.

svn path=/trunk/; revision=13366
2005-02-09 23:38:00 +00:00
Guy Harris 6472876ab3 Move the tap infrastructure to the epan directory.
svn path=/trunk/; revision=12128
2004-09-29 00:06:36 +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