Anders Broman
e375c3990a
Regenerate all asn2wrs generated dissectors
...
svn path=/trunk/; revision=26670
2008-11-01 22:30:14 +00:00
Jaap Keuter
49fe94aa3f
Fix for bug 2823
...
Do not pass automatic variables back into caller space.
svn path=/trunk/; revision=26426
2008-10-13 06:56:27 +00:00
Gerald Combs
aac8e0d91d
Fix a spelling error pointed out by Noam Rathaus.
...
svn path=/trunk/; revision=26228
2008-09-18 17:19:15 +00:00
Bill Meier
d13bc6c7f4
Fix a (probably benign) case where it appears that && should be &
...
svn path=/trunk/; revision=26058
2008-08-22 14:28:03 +00:00
Luis Ontanon
42c3239a1a
luis.ontanon@gmail.com => luis@ontanon.org
...
svn path=/trunk/; revision=25937
2008-08-05 21:03:46 +00:00
Luis Ontanon
1cbce0623f
It is useless in a Protocol Analyzer to avoid the user to have a password shorter than 8 chars.
...
svn path=/trunk/; revision=25043
2008-04-15 12:12:20 +00:00
Gerald Combs
f8e75ecd32
Make the SMI preference a little more verbose. In the COPS and SNMP
...
preferences, tell the user where they can change the SMI settings. In
the 802.11 preferences, fix a tooltip.
svn path=/trunk/; revision=24620
2008-03-13 22:17:11 +00:00
Stig Bjørlykke
aa9b4bf541
Add a const.
...
svn path=/trunk/; revision=24592
2008-03-09 14:20:28 +00:00
Stig Bjørlykke
9f412a5a8a
Show VarBind OIDs and trap enterprise OID in info column.
...
Initialize pdu_type in dissect_snmp_PDUs() and param_tvb in
dissect_snmp_SnmpEngineID() to avoid potential crashes.
svn path=/trunk/; revision=24591
2008-03-09 13:58:58 +00:00
Stig Bjørlykke
3c6ecbf54b
Corrected a typo: octestring -> octetstring.
...
svn path=/trunk/; revision=24589
2008-03-09 11:24:37 +00:00
Stig Bjørlykke
293e337c2b
Display agent-addr as IPv4 address.
...
svn path=/trunk/; revision=24588
2008-03-09 10:54:55 +00:00
Stig Bjørlykke
fdc980e79d
Added an option to uat_new() to set if configuration shall be saved in the
...
selected profile.
Don't save SMI Paths and SMI Modules in the profiles because reloading
currently doesn't work (bug 2309).
svn path=/trunk/; revision=24580
2008-03-06 22:13:24 +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
6b59696fd7
Added missing array for hf_snmp_big_counter_value.
...
svn path=/trunk/; revision=24516
2008-03-01 11:43:04 +00:00
Gerald Combs
2ed9d7d43e
Make sure we don't dereference a NULL pointer. Fixes bug 2277.
...
svn path=/trunk/; revision=24467
2008-02-26 01:17:18 +00:00
Gerald Combs
1997308ac1
Handle unsigned SMI types. This should fix bug 2292.
...
svn path=/trunk/; revision=24457
2008-02-25 00:00:41 +00:00
Tomas Kukosa
e6e926d5f1
get rid of get_ber_last_created_item()
...
svn path=/trunk/; revision=24001
2008-01-03 13:07:17 +00:00
Stig Bjørlykke
3fe2bbe38f
Fetch ObjectName and its relative oid_info before handling an eventual error
...
value, so we have valid values to put in the VarBind entry. Include the error
note text as the label.
This should fix bug 2144.
svn path=/trunk/; revision=23962
2007-12-28 22:19:33 +00:00
Tomas Kukosa
0ba8976eb7
fix confusion in tag handling
...
svn path=/trunk/; revision=23702
2007-12-03 13:48:45 +00:00
Tomas Kukosa
7eb5048da9
fix tag handling inside snmp trap
...
svn path=/trunk/; revision=23508
2007-11-20 13:55:39 +00:00
Ronnie Sahlberg
5770b859b6
updated snmp dissector
...
svn path=/trunk/; revision=23455
2007-11-15 09:50:36 +00:00
Gerald Combs
7d8064f548
Initialize var_list in dissect_smux(), so that we don't use previously
...
ep_freed() memory and abort.
svn path=/trunk/; revision=23436
2007-11-12 18:44:29 +00:00
Anders Broman
44470bc5f4
SNMP with option -X and -T
...
svn path=/trunk/; revision=23352
2007-11-04 16:47:30 +00:00
Bill Meier
b337d20d4c
Include winposixtypes.h only if building with GNUTLS; Bug 1942: part 2 of 2 of fix.
...
asn1 template file plus generated .[hc] files;
Note that the generated files include changes which are a result of previous
changes to snmp.cnf (SVN #23252 ) and of other changes (eg: svn 21145).
svn path=/trunk/; revision=23302
2007-10-29 01:14:51 +00:00
Jörg Mayer
094e2a9a5f
Get rid of the remains of NET-SNMP in the build process.
...
svn path=/trunk/; revision=22934
2007-09-24 06:59:40 +00:00
Jaap Keuter
2ae2f20203
Try to get the Windows buildbot going by avoiding namespace collision.
...
svn path=/trunk/; revision=22871
2007-09-14 06:51:07 +00:00
Luis Ontanon
168f8923e7
eliminate an anonymous enum.
...
svn path=/trunk/; revision=22868
2007-09-13 20:27:05 +00:00
Luis Ontanon
fb34ef1f2c
Given the opportunity I check in the changes to snmp I got in this machine.
...
- Indexing (implied and not) is OK now, however indexes for related tables (AUGMENT, EXTEND, etc) are registered many times.
svn path=/trunk/; revision=22861
2007-09-13 16:49:51 +00:00
Luis Ontanon
d56f4f3a68
- turn some other TC from FT_BYTES to FT_STRING so that human-readable strings become readable by humans
...
- Add the EngineId decoding for the contextEngineId
- Add some expert info about malformed indexed oids
svn path=/trunk/; revision=22720
2007-08-28 23:55:49 +00:00
Luis Ontanon
79ea56143c
Fix non implicit oid key indexes. This starts to look good!
...
svn path=/trunk/; revision=22718
2007-08-28 21:27:54 +00:00
Luis Ontanon
dfbac00752
SNMP:
...
- As noted by Thomas Anders values are not added to the tree anymore. Move the calling of subdissectors to the end of the function, so that the value is added to the tree.
- add port 8161 to be decoded as SNMP (hey, it's on IANA's services file!)
UAT:
- do not have the uat reloaded.
OIDS:
- do not complain if renaming an OID to an identical name
svn path=/trunk/; revision=22704
2007-08-28 15:18:32 +00:00
Tomas Kukosa
99a2ec1c9f
fix bug in snmp.variable_oid subdissector calling and call them at the end of snmp dissector (so as snmp does not overwrite COL_INFO of subdissector)
...
svn path=/trunk/; revision=22701
2007-08-28 07:59:35 +00:00
Luis Ontanon
392fd3f689
- packet-snmp(-template).c
...
- reimplement the "snmp.variable_oid" dissector table
- oids.[ch]
- get rid of keytype_implicit in oid_value_type_t we won't use it.
- have the windows base path for mibs be consistent to where we've put the mibs
- oid_get_from_encoded() and oid_get_from_string(): have the subids array being computed in a prior statement of where the side-effected argument is going to be used... worked on gcc, not on windows... I deserve "have daemons flying out of my nose" for that :-).
svn path=/trunk/; revision=22684
2007-08-27 17:05:11 +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
Jörg Mayer
5a1e278801
Revert back to old version with manually fixed get_ber_length parameters
...
svn path=/trunk/; revision=22636
2007-08-24 13:52:37 +00:00
Jörg Mayer
b312e64f6a
get_ber_length doesn't need the tree argument, get rid of it.
...
Rebuild asn1 dissectors.
svn path=/trunk/; revision=22627
2007-08-24 07:12:04 +00:00
Jeff Morriss
a6dd859454
For LEGO: Use crypt_tvb when we don't have cleartext_tvb
...
svn path=/trunk/; revision=22358
2007-07-19 14:04:56 +00:00
Jeff Morriss
81e2b4b66e
Change "lenght" to "length", this time in the *source* of the SNMP dissector (sigh)
...
svn path=/trunk/; revision=22357
2007-07-19 13:43:36 +00:00
Jeff Morriss
794a933a2c
Change "lenght" to "length" and "decypt" to "decrypt"
...
svn path=/trunk/; revision=22356
2007-07-19 13:05:39 +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
Guy Harris
1bc049906a
Add some GCC warnings to the standard set, and add some others to the
...
--enable-extra-gcc-checks set.
If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.
Constify a bunch of stuff, and make some other changes, to get rid of
warnings.
Clean up some indentation.
svn path=/trunk/; revision=21526
2007-04-23 10:59:26 +00:00
Luis Ontanon
a031a39a31
Implement proposed fix for Bug 1125
...
svn path=/trunk/; revision=21339
2007-04-05 22:16:12 +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
Luis Ontanon
b26c1c4ca2
Add a description of UAT fields, and have it as a tooltip in the New/Edit Dialog.
...
svn path=/trunk/; revision=20797
2007-02-12 19:57:41 +00:00
Luis Ontanon
4e55e354bb
Have the windows buildot compiling again.
...
svn path=/trunk/; revision=20742
2007-02-08 10:15:04 +00:00
Luis Ontanon
b08d8470e7
Oddly enough MSVC cannot compile this one.
...
svn path=/trunk/; revision=20738
2007-02-07 18:51:44 +00:00