Chris Maynard
b7e5cce721
Update asn1-generated dissector.
...
svn path=/trunk/; revision=42838
2012-05-24 23:31:38 +00:00
Alexis La Goutte
62de88285d
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
...
svn path=/trunk/; revision=41300
2012-03-02 11:02:46 +00:00
Bill Meier
24cf0aad06
Update generated ASN1 *.[hc] files after recent work done by Jeff Morriss;
...
The only change in each file is in a comment showing the asn2wrs cmd used to build that file.
svn path=/trunk/; revision=39427
2011-10-15 19:27:27 +00:00
Stig Bjørlykke
ba2aae0f8e
Use ENC_NA as encoding for FT_PROTOCOL, FT_NONE and FT_BYTES.
...
svn path=/trunk/; revision=38122
2011-07-19 18:48:31 +00:00
Stig Bjørlykke
a7c5d642d5
Regenerate ASN.1 dissectors to update the #line directive.
...
svn path=/trunk/; revision=37118
2011-05-13 08:12:27 +00:00
Stig Bjørlykke
340d64e780
Make the third argument to a UAT copy callback a size_t.
...
svn path=/trunk/; revision=34695
2010-10-29 21:51:59 +00:00
Stig Bjørlykke
e6dac92931
Put Abort reason in info column.
...
svn path=/trunk/; revision=34159
2010-09-20 12:49:52 +00:00
Graeme Lunt
6fc0e7cb8c
Interpret single-ASN1-type as ASN.1 and not as an OCTET STRING.
...
svn path=/trunk/; revision=33375
2010-06-29 18:09:03 +00:00
Graeme Lunt
eef8c02bd7
Bug 3597 - implicit octet string that is constructed causes PRES/FTAM dissect failure
...
Introduced some state to remember last dissected Tag/Length so that they can be recalled if an IMPLICIT tag is encountered and stripped. This allows its to be determined if the value has a constructed value - and so can be reassembled.
In this case, it is a IMPLICIT constructed OCTET STRING at the presentation layer.
Many thanks to Fred Gruman for identifying - and apologies for the delay in commiting.
svn path=/trunk/; revision=33048
2010-06-02 14:42:57 +00:00
Jeff Morriss
a0c858efcd
Add a little more code to avoid not-very-useful blurbs:
...
- Change spaces in the name to underscores before comparing it to the blurb.
- Check if the type simply as T_ prepended to the name.
- Don't put in a blurb of "NULL".
and regenerate the dissectors.
svn path=/trunk/; revision=32748
2010-05-11 03:53:31 +00:00
Jeff Morriss
e47ad9a37f
Regenerate a few more of the ASN.1 dissectors
...
svn path=/trunk/; revision=32745
2010-05-11 02:37:46 +00:00
Stig Bjørlykke
6199e515c9
Don't type prune the data_ptr pointer for UAT.
...
svn path=/trunk/; revision=32629
2010-05-02 13:50:52 +00:00
Bill Meier
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Stig Bjørlykke
2f8830b4d0
From LEGO via bug 3459:
...
Add a callback to UAT to be called after the table has being updated,
use it to renew the snmp_ue_cache.
svn path=/trunk/; revision=32112
2010-03-04 12:50:18 +00:00
Stig Bjørlykke
8aa7359eb3
Use correct return value type from dissect_ppdu().
...
Fixed a typo.
svn path=/trunk/; revision=31590
2010-01-20 12:51:04 +00:00
Stig Bjørlykke
9b3a53b8d1
Split in two asn files.
...
svn path=/trunk/; revision=31445
2010-01-05 08:50:15 +00:00
Anders Broman
e8042d8eec
From gonzalocas:
...
GSSE message dissector.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4370
svn path=/trunk/; revision=31442
2010-01-04 23:17:37 +00:00
Stig Bjørlykke
6d1dae6f28
Make all proto_* values static.
...
svn path=/trunk/; revision=30516
2009-10-11 16:24:29 +00:00
Stig Bjørlykke
843459d075
Made dissect_pres() static.
...
Added changes from r29446 to .cnf file:
Switch a bunch of dissectors over to using tvb_new_subset_remaining()
svn path=/trunk/; revision=30385
2009-10-07 07:47:41 +00:00
Kovarththanan Rajaratnam
8b515e9340
Switch a bunch of dissectors over to using tvb_new_subset_remaining()
...
svn path=/trunk/; revision=29446
2009-08-16 12:36:22 +00:00
Kovarththanan Rajaratnam
0a5b014cec
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Stig Bjørlykke
b228488bc0
From Kovarththanan Rajaratnam via bug 3548:
...
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
2009-06-18 21:30:42 +00:00
Stig Bjørlykke
c47e788c94
Regenerate all asn2wrs generated dissectors.
...
svn path=/trunk/; revision=28379
2009-05-16 22:07:03 +00:00
Stig Bjørlykke
9ebac2bff6
g_free() is NULL safe, so we don't need check against it.
...
svn path=/trunk/; revision=27719
2009-03-13 22:21:22 +00:00
Stig Bjørlykke
7ff188128b
Added a users context list to map a presentation context identifier to an
...
object identifier when the capture does not contain a PRES package with a
presentation context definition list for the conversation.
Added a few expert infos.
svn path=/trunk/; revision=27631
2009-03-07 00:28:34 +00:00
Bill Meier
09e139a234
asn2wrs generated files changed as a result of recent asn1 template changes
...
svn path=/trunk/; revision=26698
2008-11-04 22:28:52 +00:00
Anders Broman
e375c3990a
Regenerate all asn2wrs generated dissectors
...
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Graeme Lunt
b2b7c8a769
Annotate the presentation context identifier with the presentation context.
...
svn path=/trunk/; revision=24982
2008-04-13 16:08:34 +00:00
Anders Broman
de16039c51
Get rid of dissect_ber_boolean_value() and change the signature of
...
dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature.
Regenerate all BER dissectors.
svn path=/trunk/; revision=24015
2008-01-04 16:21:07 +00:00
Stig Bjørlykke
46d0b5e076
Update do use the -X and -T asn2wrs flags.
...
svn path=/trunk/; revision=23354
2007-11-04 17:24:25 +00:00
Graeme Lunt
473077719e
This patch make PRES context identifiers conversation aware.
...
svn path=/trunk/; revision=22207
2007-06-27 17:51:19 +00:00
Graeme Lunt
21209f9b5b
This patch adds RTSE reassembly. The reassembly is done when
...
receiving a SES MAJOR SYNC POINT, as this indicates the end of the
COTP DT Data stream. Previous the RTSE dissector was called when
receiving a COTP DT Data fragment with the "last data unit" bit set,
but this does not work with messages fragmented in RTSE. Reassembly
can be turned off in the preferences.
svn path=/trunk/; revision=22176
2007-06-24 05:28:27 +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
Tomas Kukosa
a70a1b3eb6
EXTERNAL type is handled in asn2wrs now
...
private implementations were renamed EXTERNAL -> EXTERNALt
svn path=/trunk/; revision=21662
2007-05-03 11:37:47 +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
Tomas Kukosa
5cd8c719e6
ASN.1 dissectors regenerated with new asn2wrs to get updated field blurb
...
svn path=/trunk/; revision=18921
2006-08-16 05:58:39 +00:00
Tomas Kukosa
604000a6b3
- remove some #.MODULE_IMPORT from .cng files
...
- regenerate BER dissectors so as to change rest of Ethereal->Wireshark and asn2eth -> asn2wrs
svn path=/trunk/; revision=18217
2006-05-24 12:24:54 +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
Guy Harris
b45d2efe6d
Regenerate with the latest asn2eth, to get FT_OID used, and to add #line.
...
svn path=/trunk/; revision=16736
2005-12-08 23:29:21 +00:00
Jörg Mayer
eff40f65db
Trivial warning fixes
...
svn path=/trunk/; revision=16561
2005-11-22 12:51:14 +00:00
Guy Harris
a30e519736
When registering a context ID and OID, set the OID to NULL if we don't
...
have an OID to register.
If our table of context identifiers and OIDs is to keep that association
on a per-conversation basis, it should use conversations, not
address/port, as we aren't necessarily running over TCP or UDP.
svn path=/trunk/; revision=16554
2005-11-20 04:34:58 +00:00
Ronnie Sahlberg
2d8fb070ca
if the packet is mangled the oid string might be NULL.
...
dont try to register a NULL oid
svn path=/trunk/; revision=16553
2005-11-20 02:48:26 +00:00
Tomas Kukosa
3b770d5c7c
- dissect_ber_object_identifier() returns value as tvb
...
- new dissect_ber_object_identifier_str() function
- BER dissectors adapted and regenerated
svn path=/trunk/; revision=16501
2005-11-14 10:02:31 +00:00
Anders Broman
b67a452476
A small patch for presentation to:
...
a) maintain the session presentation context
b) support SES_REFUSE
svn path=/trunk/; revision=16213
2005-10-13 05:20:40 +00:00
Anders Broman
bb18a56bbd
Dissect "nbs-9".
...
svn path=/trunk/; revision=15742
2005-09-09 19:46:57 +00:00
Anders Broman
4029a91b8b
Ftam - Use some mofe FN_PAR:s
...
PRES Dissect PDU type based on SS-user data from SES(Info from asn1 file).
svn path=/trunk/; revision=15703
2005-09-06 18:08:45 +00:00