goldsimon
|
4aee4c1ac7
|
Free pbuf if pbuf_header() fails
|
2007-03-26 19:27:11 +00:00 |
|
fbernon
|
e54cd23ecb
|
stats.h, stats.c, msg_in.c: Stats counters can be change to u32_t if necessary with the new option LWIP_STATS_LARGE. If you need this option, define LWIP_STATS_LARGE to 1 in your lwipopts.h. More, unused counters are not defined in the stats structs, and not display by stats_display(). Note that some options (SYS_STATS and RAW_STATS) are defined but never used. Fix msg_in.c with the correct #if test for a stat display.
|
2007-03-22 16:36:45 +00:00 |
|
kieranm
|
7294cb080b
|
* Fix all uses of pbuf_header to check the return value. In some
cases just assert if it fails as I'm not sure how to fix them, but
this is no worse than before when they would carry on regardless
of the failure.
|
2007-03-21 12:55:00 +00:00 |
|
goldsimon
|
5eabd4591a
|
SNMP UDP ports can be configured at compile time
|
2007-03-08 10:32:29 +00:00 |
|
christiaans
|
a3d912a801
|
Fixed uninitalized variable warnings (using gcc 4.1.1)
|
2006-11-27 15:37:44 +00:00 |
|
christiaans
|
77e0f77850
|
Added snmp_send_trap() parameter, caller must pass enterprise id for enterprise secific traps.
|
2006-11-27 08:43:10 +00:00 |
|
christiaans
|
b72677c3ce
|
Added missing NULL return checks for snmp_mib_lrn_alloc() and trimmed whitespace at line ends.
|
2006-11-17 11:07:25 +00:00 |
|
christiaans
|
5e44122552
|
Trimmed whitespace at line ends.
|
2006-11-17 11:05:26 +00:00 |
|
christiaans
|
4e583dab2e
|
Again, fixed decoding of negative integers in snmp_asn1_dec_s32t(), tnx to though testing by Sander.
|
2006-10-13 13:45:06 +00:00 |
|
christiaans
|
bc182cab7c
|
Removed EXPERIMENTAL status.
|
2006-10-13 12:00:35 +00:00 |
|
christiaans
|
f6f6f11838
|
Fixed decoding of negative integers in snmp_asn1_dec_s32t(), removed EXPERIMENTAL status.
|
2006-10-13 11:59:45 +00:00 |
|
christiaans
|
2539b5cf61
|
Fixed up mib_external_node support, snmpwalk works for external objects.
|
2006-10-06 08:41:24 +00:00 |
|
christiaans
|
f7881e58bb
|
Improved message parse robustness. Rejecting 'error requests'. Removed invalid genError return on varbindlist parse error, changed badValue into noSuchName error for non-writeable objects.
|
2006-10-04 09:15:23 +00:00 |
|
christiaans
|
25ed4e9d16
|
Fixed clearing of head and tail pointers in snmp_mib_node_delete().
|
2006-10-03 10:41:48 +00:00 |
|
christiaans
|
cfb082a20b
|
Added external mibnode panic closure functions, tobe called for error responses.
|
2006-10-02 10:13:04 +00:00 |
|
christiaans
|
e440590c37
|
Fixed snmp_mib_node_insert() to return 2, for node present (not inserted). Also solves invalid rootnode count for this case.
|
2006-09-29 13:34:38 +00:00 |
|
christiaans
|
c851a19ab2
|
Added en->get_value_a() call for zero size get_value replies, e.g. for closing external transactions.
|
2006-09-28 11:46:24 +00:00 |
|
christiaans
|
c2f9d7dee0
|
Fixed encoding of object sub identifiers with trailing zero.
|
2006-09-28 11:43:49 +00:00 |
|
christiaans
|
473e567047
|
Added en->set_value_a() call for closing external transactions.
|
2006-09-27 15:11:30 +00:00 |
|
christiaans
|
64dab92c6b
|
Redesign of snmp_msg_event() fsm, added SNMP SET to fsm.
|
2006-09-27 07:25:16 +00:00 |
|
christiaans
|
d0f279ece4
|
Set TODO_SNMP_MSG_EVENT to 1. Moved some more code from snmp_recv() to snmp_event_service().
|
2006-09-22 08:05:17 +00:00 |
|
christiaans
|
a5532ffd4d
|
Added one strategic LWIP_DEBUGF to snmp_send_response().
|
2006-09-22 08:03:16 +00:00 |
|
christiaans
|
cb412134dd
|
Added newlines to LWIP_DEBUGFs.
|
2006-09-22 08:00:56 +00:00 |
|
christiaans
|
d079aae0e0
|
Fixed NULL dereferencing for zero length raw data.
|
2006-09-22 07:59:44 +00:00 |
|
christiaans
|
eabfb233b8
|
Moved SNMP_CONCURRENT_REQUESTS to opt.h, babysteps for external MIB nodes.
|
2006-09-20 13:33:50 +00:00 |
|
christiaans
|
960e724ad3
|
Improved mib node struct for external object access and moved get_object_def() calls to the message processing bit.
|
2006-09-14 15:08:54 +00:00 |
|
christiaans
|
82c46f957a
|
Fixed double iterator bug in send_trap(), multiple trap destinations work ok now.
|
2006-09-12 12:46:36 +00:00 |
|
christiaans
|
320ea29861
|
Added some lines for SET command.
|
2006-09-12 10:03:46 +00:00 |
|
christiaans
|
c5e99ada63
|
Fixed sysObjectID length to copy private IDs with unkown lengths properly.
|
2006-09-08 09:22:28 +00:00 |
|
christiaans
|
a88d054d05
|
Improved TRAP interfacing. Varbinds maybe allocated at (external) trap source as wel. Added trap destination settings.
|
2006-09-07 14:17:03 +00:00 |
|
christiaans
|
41ff80e5d3
|
First getnext succes, values are returned insead of NULLs, empty tables are skipped. Limitation: a single varbind per request, so 'snmptable' will fail.
|
2006-09-06 10:14:07 +00:00 |
|
christiaans
|
56c5fdbeaf
|
Added newlines in debug output, small optimalisations, more work on 'getnext', fixed 'get' on udp table.
|
2006-09-04 09:22:48 +00:00 |
|
christiaans
|
130d39cc03
|
Changed index structs to mib_list_node structs to place the table index trees directly in the mib tree.
|
2006-09-01 07:14:50 +00:00 |
|
christiaans
|
1485edf8e1
|
Added index tree node structs and functions, e.g. to be used for ARP table indexes.
|
2006-08-29 11:28:28 +00:00 |
|
christiaans
|
514ee867a6
|
Pacified GCC warnings and elaborated getnext to work on scalars, tables don't work yet.
|
2006-08-21 11:52:58 +00:00 |
|
christiaans
|
3cc7a406f4
|
Pacified GCC warnings and fixed double mem_free() while returning nosuchname err.
|
2006-08-21 11:51:19 +00:00 |
|
christiaans
|
c3f82acf7a
|
Pacified GCC warnings.
|
2006-08-21 11:50:03 +00:00 |
|
christiaans
|
7d1728f05a
|
Started with getnext and ensure zero length identifiers are accepted.
|
2006-08-17 14:14:58 +00:00 |
|
christiaans
|
4b5c14470a
|
Fixed htons into htonl for trap desctination ip.
|
2006-08-17 14:11:45 +00:00 |
|
christiaans
|
f198b11f27
|
Accepting zero length identifiers e.g. for getnext operation. Uncommon but valid.
|
2006-08-17 14:09:57 +00:00 |
|
christiaans
|
d734cd986c
|
Moved noleafs_get_object_def() and noleafs_get_value() protos from mib2.c to snmp_structs.h
|
2006-08-15 07:28:43 +00:00 |
|
christiaans
|
8559f3e583
|
MIB-2 object values near to completion, just committing for keeping the flame alive.
|
2006-08-11 14:16:36 +00:00 |
|
christiaans
|
d0b81d3b20
|
Corrected comment typo.
|
2006-08-11 14:13:39 +00:00 |
|
christiaans
|
9b11c4670d
|
Corrected returned object id for interfaces.ifTable.ifEntry.ifSpecific to zeroDotZero (0.0).
|
2006-08-07 11:35:32 +00:00 |
|
christiaans
|
7eeaf8eaa5
|
Corrected object identifier codec for object ids not starting with .iso.dod (e.g. zeroDotZero (0.0)).
|
2006-08-07 11:32:44 +00:00 |
|
christiaans
|
d8922d0410
|
Added minimalistic SNMP GET functionality.
|
2006-07-14 12:54:38 +00:00 |
|
christiaans
|
7a5cb21056
|
Fixed (experi)mental typo.
|
2006-07-07 11:33:36 +00:00 |
|
christiaans
|
333c3f18c0
|
Initial commit. Expirimental code, please note this is not yet fully functional.
|
2006-07-07 09:49:31 +00:00 |
|