2004-01-25 kragen <kragen@pobox.com>
Copyright (c) 2003-2004 AirWave Wireless, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2004-01-07 kragen <kragen@pobox.com>
Added placeholders for copyright notice.
Eliminated duplicate lines from ChangeLog.
Updated and cleaned up documentation and comments, fixing several
errors.
Trimmed source lines to 80 columns.
Removed excessive peformance history in SNMP.pm comments.
Updated TODO.
2003-12-24 kragen <kragen@pobox.com>
2003-12-20 kragen <kragen@pobox.com>
Rearranged TODO.
Added another couple of tests.
2003-12-10 kragen <kragen@pobox.com>
Updated documentation.
Minor cleanups here and there.
Added tests for encoding and decoding packets with many lengths, and
for badValue. Found a buglet: some warning in 'unpack' for some
packet lengths.
TODO list slowly shrinking.
2003-12-09 kragen <kragen@pobox.com>
Supposedly boosted performance in SNMP.pm by normally using the short-form
encoding. Haven't measured.
Added and rearranged documentation in SNMP.pm.
2003-12-08 kragen <kragen@pobox.com>
2003-12-07 kragen <kragen@pobox.com>
2003-12-07 kragen <kragen@pobox.com>
Fixed encoding and decoding of things with long length fields.
10% performance penalty for things without, but at least the code
is correct now.
2003-12-04 kragen <kragen@pobox.com>
Added performance test to Simple.t (which now takes >15 seconds,
ick.). Improved performance of agent for walks. The performance test
automatically takes care of ensuring Simple reuses its socket, because
performance halves when it doesn't.
Simplified and optimized walk code in Simple. Also, it now handles
leading dots the way the documentation I wrote this morning said it
did.
Doubled Agent.t's timeout on socket reads to 250ms --- I had a
spurious test failure.
Added getNextRequest handling to the SNMP agent and walks to
SNMP::Simple.
Added $SNMP::Simple::error_status.
Updated and corrected documentation and TODO file.
Refactored some tests.
2003-12-03 kragen <kragen@pobox.com>
Implemented adjustable timeouts and retries in SNMP::Simple, with defaults
from Net::SNMP.
Added request-ID generation and checking to SNMP::Simple.
Raised threshold on Mapper performance test so it doesn't fail
sporadically.
* TODO: Updated TODO.
2003-12-01 kragen <kragen@pobox.com>
Added community string handling to agent.
2003-11-30 kragen <kragen@pobox.com>
Now SNMP agent actually uses network and handles get and set requests,
but it's still pretty incomplete.
* ChangeLog: Added ChangeLog.
* SNMP/Agent.pm, SNMP/Agent.t, SNMP/Mapper.pm, SNMP/handle-lotsa-requests.pl:
Added SNMP agent implementation --- it can generate plausible response
packets, but doesn't yet know how to ship them over the network. And it
looks like it can do that about 2000 times per second!
* SNMP.pm, SNMP.t, TODO, getsysname-lots-simple.pl, update-todo:
Added SNMP::Simple module to do one-line SNMP gets and sets. Not really
production-quality yet. Needs a lot more work. Significantly slower
than raw SNMP.pm, but still 10x as fast as Net::SNMP.
Added TODO file and build script.
Corrected test count.
2003-11-29 kragen <kragen@pobox.com>
Initial CVS import. Can encode and decode SNMP messages, and
there are some scripts to use this ability to do actual SNMP
transactions, about 12x as fast as Net::SNMP 4.1.2.