Guy Harris
a8bc4a0d13
Rename the routines that handle dissector tables with unsigned integer
...
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys. (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)
svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Graeme Lunt
4095079e1c
Decode parameters as ASN.1 directly and avoid interpreting as an OCTET STRING.
...
svn path=/trunk/; revision=33374
2010-06-29 18:07:33 +00:00
Jeff Morriss
2efec6f8c5
tcaphash_context_t.oid is of size LENGTH_OID+1, not LENGTH_OID. Just use sizeof(tcaphash_context_t.oid) instead of LENGTH_OID so we can use that last byte. This allows us to retrieve the whole ACN when the ACN is LENGTH_OID bytes long.
...
svn path=/trunk/; revision=33089
2010-06-04 19:28:39 +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
8f210cf4e0
Regenerate a few of the ASN.1 dissectors
...
svn path=/trunk/; revision=32742
2010-05-11 02:13:26 +00:00
Bill Meier
f8b92f8d0b
#include <stdio.h> not needed.
...
svn path=/trunk/; revision=32405
2010-04-06 17:01:14 +00:00
Anders Broman
69b7a06578
Remove redundant calls to check_col() in the .cnf files and regenerate.
...
svn path=/trunk/; revision=31523
2010-01-13 21:41:28 +00:00
Anders Broman
a7255dd3ba
Make it possible to match transaction Id:s for Conversation where
...
both Originatingand Responding TID is present.
svn path=/trunk/; revision=31156
2009-12-02 20:16:21 +00:00
Kovarththanan Rajaratnam
81d9f3030d
Remove more unused variables/forward declarations
...
svn path=/trunk/; revision=30520
2009-10-11 17:25:04 +00:00
Kovarththanan Rajaratnam
0dcf31b8bc
Make some ett/hf variables static
...
svn path=/trunk/; revision=30519
2009-10-11 17:14:19 +00:00
Stig Bjørlykke
6d1dae6f28
Make all proto_* values static.
...
svn path=/trunk/; revision=30516
2009-10-11 16:24:29 +00:00
Anders Broman
1b454d9012
Propagate the changes to the .cnf file so they don't get lost when regenerating the dissector.
...
Use col_set_str instead of col_add_fstr/col_add_str when adding constant strings to COL_INFO
svn path=/trunk/; revision=30092
2009-09-23 15:43:55 +00:00
Kovarththanan Rajaratnam
124faf721c
Use col_set_str instead of col_add_fstr/col_add_str when adding constant strings to COL_INFO
...
svn path=/trunk/; revision=30089
2009-09-23 14:52:01 +00:00
Kovarththanan Rajaratnam
8c48c6835f
Rename address_to_str() to ep_address_to_str() because:
...
1) This indicates that the string has ephemeral lifetime
2) More consistent with its existing seasonal counterpart, se_address_to_str().
svn path=/trunk/; revision=29747
2009-09-06 14:25:47 +00:00
Kovarththanan Rajaratnam
17c9803cac
Sanitize epan includes
...
svn path=/trunk/; revision=29499
2009-08-21 20:25:24 +00:00
Kovarththanan Rajaratnam
6110a96f68
Don't guard col_set_str (COL_INFO/COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29345
2009-08-09 07:59:51 +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
Bill Meier
0f9f5caf9d
As suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need check against it.
...
Also (from me): Clean up spacing
svn path=/trunk/; revision=27727
2009-03-15 15:40:55 +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
Bill Meier
dc2fed3ed3
Remove unused prefs.h, conversation.h & data_handle; Fix typo
...
(File re-generated from the template & etc)
svn path=/trunk/; revision=26432
2008-10-13 16:56:17 +00:00
Anders Broman
a417d106a3
Get rid of some unused code warnings.
...
svn path=/trunk/; revision=25851
2008-07-28 14:31:35 +00:00
Stig Bjørlykke
b091b8d26c
Rewrote to use g_strlcpy and g_strlcat.
...
svn path=/trunk/; revision=24525
2008-03-01 17:23:39 +00:00
Stig Bjørlykke
7fc046ab67
Hmmm. The previous ansi_tcap.cnf did not make valid code.
...
I hope this fix is correct...
svn path=/trunk/; revision=24118
2008-01-17 09:20:17 +00:00
Stig Bjørlykke
7629966a00
- Removed some unused variables in asn1 dissectors
...
- Fixed last parameter to cry_cipher_open() in pkcs12
svn path=/trunk/; revision=24116
2008-01-16 20:41:23 +00:00
Tomas Kukosa
1e794fc494
ANSI TCAP regenerated and tested with -T -X asn2wrs options
...
asn2wrs has -T (tagged types support) and -X (new BER sttructures) default behavior
remove all -T and -X usage
svn path=/trunk/; revision=23823
2007-12-10 08:35:41 +00:00
Gerald Combs
5434b707e8
Replace strcpy()+strcat() with g_snprintf(). Make sure a string isn't
...
NULL before we try to use it. This fixes a crash found during fuzzing
and a possible buffer overrun.
svn path=/trunk/; revision=23435
2007-11-12 17:02:46 +00:00
Jeff Morriss
e2b37cf8df
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=22891
2007-09-17 17:53:50 +00:00
Anders Broman
0254fe13d9
Remove debug code.
...
svn path=/trunk/; revision=22867
2007-09-13 20:24:50 +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
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
Anders Broman
c7fd82dbbe
Add code for finding sub dissectors.
...
svn path=/trunk/; revision=22544
2007-08-17 23:23:36 +00:00
Anders Broman
8d76d4130e
Collect context data.
...
svn path=/trunk/; revision=22528
2007-08-16 19:59:55 +00:00
Anders Broman
d2e37e0fef
Change tcap_private to ansi_tcap_private.
...
svn path=/trunk/; revision=22505
2007-08-15 05:47:17 +00:00
Anders Broman
211ad2e696
Actually adding the dissector may help :)
...
svn path=/trunk/; revision=22502
2007-08-14 22:10:55 +00:00