-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathChangeLog
2546 lines (1461 loc) · 70.3 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2023-06-11 Michal Josef Špaček <[email protected]>
* Makefile.PL, MANIFEST, ...: Packaging improvements
2022-11-23 Simon Leinen <[email protected]>
* test/get-cisco-power-usage.pl: New demo script
2017-06-24 Allan Jude <[email protected]>
* lib/SNMP_Session.pm: Apply Socket6 patch from FreeBSD ports
2008-03-19 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm: Improved initialization of the flags for
non-blocking behavior in receive_response_3(). The __DIE__ and
__WARN__ signal handlers should be bound to the defaults, because
the caller might be binding those and get in our way. Also, we
only want to compute the flags once, on initialization.
2007-12-22 Simon Leinen <[email protected]>
* lib/SNMP_util.pm, lib/SNMP_Session.pm, lib/BER.pm:
Upgraded to Artistic License 2.0.
Copyright notice updated for 2008.
* Artistic: Upgraded to Artistic License 2.0, from
http://svn.perl.org/viewcvs/parrot/trunk/LICENSE?view=markup&rev=19096
2007-11-01 Simon Leinen <[email protected]>
* lib/SNMP_util.pm: New MIB parsing code from Mike Mitchell.
2007-10-13 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION):
Upgraded to 1.11, to pick up change to SNMP_util.pm.
* changes.html: Document loop detection fix in SNMP_util.pm.
* faq.html, index.html: Updated my e-mail address.
* README, README.SNMP_util, lib/SNMP_Session.pm, lib/SNMP_util.pm,
changes.html: Changed Tobi Oetiker's mail address.
* README, index.html: Changed MRTG URL.
* lib/SNMP_util.pm: [All changes from Mike Mitchell]
Global replace || => or, && => and, to avoid precedence errors.
(snmpwalk_flg): Improved loop detection.
2007-10-13 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION): Upgraded to 1.11, to pick up
change to SNMP_util.pm.
* README, README.SNMP_util, changes.html, lib/SNMP_Session.pm:
Changed Tobi Oetiker's mail address.
* lib/SNMP_util.pm: [All changes from Mike Mitchell]
Changed Tobi Oetiker's mail address.
Global replace || => or, && => and, to avoid precedence errors.
(snmpwalk_flg): Improved loop detection.
* README: Changed MRTG URL.
2007-05-18 Simon Leinen <[email protected]>
* README, changes.html, index.html: Updated copyright.
* lib/SNMP_util.pm (Check_OID):
Fix regexp for qualified OID case (Mike Mitchell).
2007-05-03 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm: Added Mike Fischer as a contributor.
($VERSION): Incremented to 1.10.
(receive_response_3): Added optional "dont_block" argument. If
this is present and non-zero, pass MSG_DONTWAIT to the recv()
call. MSG_DONTWAIT is wrapped in an eval, to avoid breaking the
code on systems that don't have the flag.
(request_response_5): Pass dont_block=1 to receive_response_3.
According to Mike Fisher, Linux sometimes blocks on recv() even
though a select() for readability has returned, for example when a
checksum fails.
2007-05-03 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm: Added Mike Fischer as a contributor.
($VERSION): Incremented to 1.10.
(receive_response_3): Added optional "dont_block" argument. If
this is present and non-zero, pass MSG_DONTWAIT to the recv()
call. MSG_DONTWAIT is wrapped in an eval, to avoid breaking the
code on systems that don't have the flag.
(request_response_5): Pass dont_block=1 to receive_response_3.
According to Mike Fisher, Linux sometimes blocks on recv() even
though a select() for readability has returned, for example when a
checksum fails.
2007-01-06 Simon Leinen <[email protected]>
* lib/BER.pm: Updated copyright notice.
(pretty_print): Use PDU names according to RFC3416.
2006-12-21 Simon Leinen <[email protected]>
* test/cricket-genconf-sensor:
Try to install newly generated configuration, where possible.
* test/cricket-genconf-sensor: Added header comment.
* test/cricket-genconf-sensor: New script.
2006-12-15 Simon Leinen <[email protected]>
* test/entls (router_pretty_name):
New subroutine, greps RANCID configuration file
for `hostname' command. Caches the result so that files are only
opened once.
(print_physical): Use new forms of per-router defaults.
* test/entls:
Changed so that `-t' generates a Cricket configuration file to measure
all transceivers that support DOM (Digital Optical Monitoring). This
involves some structural changes.
(print_phys_tree): Implemented in terms of the new
`print_phys_tree_1'.
(print_phys_tree_1): Maintain a stack of parent nodes when traversing
the node tree. This stack is stored in each node's `parent_stack'
slot, and can be used by the node class' `tostring' method.
* test/entls ($print_vendor_type, $print_ent_physical_index):
New variables.
(Entity::PhysicalEntry::tostring): Added optional printing of index
and entPhysicalVendorType, controlled by the above variables.
2006-10-12 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm, lib/BER.pm: Updated copyright string.
2006-08-06 Simon Leinen <[email protected]>
* faq.html:
Updated SNMPv3 text, mentioning that SNMPv3 is supported by MRTG 2.13
and up, using Net::SNMP.
* lib/SNMP_util.pm (snmpLoad_OID_Cache):
Strip single or double quotes around the OID and
value. This allows us to read SunNet Manager OID files, which are
also distributed by e.g. Cisco (ftp://ftp.cisco.com/pub/mibs/oid).
Idea by Jan van Keulen, code cleanup by Mike Mitchell.
2006-07-13 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION): Incremented to 1.08.
* lib/SNMP_Session.pm (BEGIN):
Bind the __DIE__ signal handler, so that detection of IPv6
capability works even when someone else has bound that handler.
(Patch from Tobi Oetiker.)
2006-04-09 Simon Leinen <[email protected]>
* lib/SNMP_Table.pm (snmp_row_to_object): Added.
2006-04-05 Simon Leinen <[email protected]>
* test/trap-listener: Added prettyfication of OIDs.
Suppressed less-than-useful output such as the trap community or the
source port.
2006-03-16 Simon Leinen <[email protected]>
* README: Update copyright notice for 2006.
2006-02-17 Simon Leinen <[email protected]>
* test/entls: New "entls" script.
2006-01-20 Simon Leinen <[email protected]>
* test/qosls: Slight improvements in output for readability.
* README: Credit Jan van Keulen.
* lib/SNMP_Session.pm ($VERSION): Incremented to 1.08.
* lib/SNMP_util.pm:
Some fixes from Mike Mitchell, notably in the area of OID translation.
2006-01-17 Simon Leinen <[email protected]>
* test/find-admin-up-oper-down.pl:
Find interfaces that are admin up but oper down.
2006-01-15 Simon Leinen <[email protected]>
* index.html:
Fixed $session -> $trap_session in trap receipt example. Thanks to
rahul shah <[email protected]> for noticing this.
2005-12-10 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm (SNMPv2c_Session::map_table_start_end):
Slight reindentation.
* lib/SNMP_Session.pm (SNMPv2c_Session::map_table_start_end): Call
`SNMP_Session::index_compare' rather than just `index_compare'.
2005-11-05 Simon Leinen <[email protected]>
* faq.html: Upgraded SNMP URI syntax reference from draft to RFC 4088.
2005-07-12 Simon Leinen <[email protected]>
* changes.html: Added missing `mailto:'.
* index.html, changes.html: README.SNMP_util -> dist/
2005-07-08 Simon Leinen <[email protected]>
* lib/SNMP_util.pm (snmpwalk_flg): Bug fix by Laurent Girod.
2005-04-24 Simon Leinen <[email protected]>
* lib/SNMP_Table.pm: Repository : :ext:diotima:/home/leinen/CVS
Module : SNMP_Session/lib
Working dir: ~/perl/SNMP_Session/lib/
In directory .:
Up-To-Date 1.38 BER.pm
Up-To-Date 1.145 SNMP_Session.pm
Added SNMP_Table.pm
Up-To-Date 1.51 SNMP_util.pm
--------------------- End ---------------------
-- last cmd: cvs -f status -v --
2005-03-29 Simon Leinen <[email protected]>
* test/qosls: *** empty log message ***
* test/if-counters.pl: New options: -B to avoid use of get-bulk.
-C to avoid use of curses.
* test/bgpls: *** empty log message ***
2005-01-21 Simon Leinen <[email protected]>
* faq.html: Updated.
2004-12-19 Simon Leinen <[email protected]>
* test/msdpls: Added `-n' option to suppress resolving IP addresses.
(usage): Made more readable.
* test/msdpls (usage): Explain options.
* test/msdpls (usage): Added.
2004-12-07 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm: Removed strange formatting.
2004-11-05 Simon Leinen <[email protected]>
* test/sorrento-nest-list (%short_types): Added a few new types.
(@nestmasters): Beginning of update.
2004-10-29 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm: Require BER.pm 1.05.
($VERSION): Incremented to 1.07.
* lib/SNMP_Session.pm:
context_flag -> context_flag() to fix error message from "use strict
subs" with recent Perl versions. Acknowledged Gerry Dalton.
* changes.html:
Documented 1.06 (SNMPv2 inform parsing) and 1.07 (strict subs bug with
newer Perl versions) changes to SNMP_Session.pm.
* MANIFEST (META.yml): Added by MakeMaker.
* README: Added Gerry Dalton.
2004-09-17 Simon Leinen <[email protected]>
* test/if-counters.pl:
Added `-s' option to look at L3 switching statistics on a Catalyst
6500 and probably some other Cisco L3 switches.
(out_switching_engine): New subroutine.
2004-09-15 Simon Leinen <[email protected]>
* test/msdpls: Added `-d' flag.
Added debugging output.
2004-09-04 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm:
Mention Andrew Cornford-Matheson in the header comment.
* lib/SNMP_Session.pm ($VERSION): 1.05 -> 1.06.
(decode_trap_request): Understand inform requests, too.
2004-09-02 Simon Leinen <[email protected]>
* README, index.html: CMU SNMP -> Net-SNMP.
* index.html (decode_trap_request):
Mention that it supports SNMPv2 informs, too.
* README (Contributors): Added Andrew Cornford-Matheson.
(decode_trap_request): Mention that it supports SNMPv2 informs, too.
* changes.html: Upgraded to 1.05.
2004-08-23 Simon Leinen <[email protected]>
* index.html:
New distribution site http://www.switch.ch/misc/leinen/snmp/perl/dist/
Made pointers more absolute.
2004-07-15 Simon Leinen <[email protected]>
* lib/BER.pm ($VERSION): Upped to 1.05.
(BEGIN): Register various pretty printers.
(pretty_printer): Simplified because most types are handled by
registered pretty printers now.
* lib/SNMP_Session.pm ($VERSION): Upped to 1.05.
* changes.html: Document 1.04 change (in SNMP_util.pm).
* ChangeLog: Updated using C-x v a.
* index.html: Updated copyright years.
* lib/SNMP_util.pm, lib/SNMP_Session.pm ($VERSION): Upped to 1.04.
* lib/SNMP_util.pm (snmpget, snmpgetnext, snmpset):
Use wantarray() to determine whether
to return an array or just the first value.
2004-07-15 Simon Leinen <[email protected]>
* lib/SNMP_util.pm, lib/SNMP_Session.pm ($VERSION): Upped to 1.04.
* lib/SNMP_util.pm (snmpget, snmpgetnext, snmpset):
Use wantarray() to determine whether
to return an array or just the first value.
2004-06-22 Simon Leinen <[email protected]>
* README: Updated copyright years.
2004-03-22 Simon Leinen <[email protected]>
* lib/SNMP_util.pm:
Require recent versions of BER.pm and SNMP_Session.pm.
($VERSION): Incremented to 1.03.
* lib/SNMP_Session.pm ($VERSION): Incremented to 1.03.
* changes.html (SNMP_util.pm): Documented 1.03 fix.
* lib/SNMP_util.pm (snmpwalk_flg):
Added missing line from Mike Mitchell's patch.
2004-03-21 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION): Incremented to 1.02.
* changes.html: Document BER.pm 1.01 and 1.02.
* lib/SNMP_Session.pm:
Require BER.pm 1.01, because previous versions lack support for a
variant of integer encoding.
($VERSION): Incremented to 1.01.
2004-02-17 Simon Leinen <[email protected]>
* BER-1.01-Mike-Mitchell.diff, BER-1.01-02.diff: Applied.
* lib/SNMP_util.pm (snmpwalkhash, snmpwalk_flg):
Implemented the new hash-reference
argument.
* changes.html: Documented BER.pm and SNMP_util.pm news in 1.02.
* test/ber-test.pl: Use strict.
Added function prototypes.
* lib/BER.pm (%pretty_printer):
New variable. This is a hash of pretty-printers
per BER type code. It is manipulated by register_pretty_printer() and
unregister_pretty_printer(), and used by pretty_print().
(register_pretty_printer, unregister_pretty_printer): New subroutines,
contributed by Mike Mitchell.
(pretty_print): If a pretty-printer has been registered for the type
code, call it.
(encode_intlike): In the Math::BigInt case, copy the integer before
taking its bmod(), because bmod() is destructive.
* README.SNMP_util:
Document additional optional `hash ref' argument to snmpwalkhash().
2004-02-08 Simon Leinen <[email protected]>
* lib/BER.pm (decode_intlike_s): Use decode_length().
(decode_length): Accept an optional second argument, specifying the
offset into the first argument at which to begin parsing. This
eliminates a substr() operation for every object. The callers have
been adapted accordingly.
* README: Added Milen Pavlov.
2003-12-14 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION): 0.99 -> 1.00.
* changes.html: 0.100 -> 1.00.
* test/iftop: Added support for 64-bit counters.
* lib/SNMP_Session.pm ($default_use_16bit_request_ids): New variable.
(encode_request_3): Obey `use_16bit_request_ids' in request ID
generation.
* changes.html: Added note on `use_16bit_request_ids'.
* README: Added Luc Pauwels <[email protected]> as a contributor.
2003-12-04 Simon Leinen <[email protected]>
* index.html:
Added new "Served Individual Item Link" to the "Essential SNMP" book
on Amazon, but commented it out because it breaks the formatting.
Removed the "NEW" icon from the existing Essential SNMP pointer.
2003-11-26 Simon Leinen <[email protected]>
* test/iftop: Adding iftop
* test/README (iftop): Added URL.
* test/README, MANIFEST: Added Dave Plonka's `iftop'.
2003-11-09 Simon Leinen <[email protected]>
* changes.html:
Document Mike Mitchell's snmpset support for all known types.
* lib/SNMP_util.pm (snmpset): Encode all known types.
2003-11-07 Simon Leinen <[email protected]>
* changes.html: Mentioned Christopher J. Tengi.
* README, lib/SNMP_util.pm:
Added Christopher J. Tengi to contributors list.
* changes.html: Document 0.99 changes.
* lib/SNMP_util.pm ($VERSION): Incremented to 0.99.
* lib/SNMP_util.pm (snmpset): Support Gauge32 values.
2003-10-20 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION): Incremented to 0.99.
* lib/SNMP_Session.pm (SNMPv1_Session::open):
Simplify initial request_id generation.
* lib/SNMP_Session.pm (encode_request_3):
Handle avoid_negative_request_ids in a saner way.
Thanks to Mike Mitchell.
2003-09-26 Simon Leinen <[email protected]>
* test/trap-send:
Added forward declarations. Thanks to Bret Allibone for pointing out
the problem.
2003-09-09 Simon Leinen <[email protected]>
* changes.html: Documented 0.98 changes.
* lib/SNMP_Session.pm ($VERSION): Incremented to 0.98.
* lib/SNMP_Session.pm: Require BER version 0.95.
Fixed a portability issue in the IPv6 code.
* lib/SNMP_util.pm: Require BER version 0.95.
2003-09-08 Simon Leinen <[email protected]>
* lib/SNMP_util.pm: Changes from Mike Mitchell:
Depend on SNMP_Session.pm 0.97.
Fix parsing of OIDs with multiple quoted strings.
($VERSION): Incremented to 0.98.
2003-09-02 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm: Undid most of the last change.
* lib/SNMP_Session.pm: Removed ``use strict "subs"'' in a few places.
* README: Added Joerg Kummer to credits.
* lib/SNMP_util.pm ($VERSION): Increased to 0.97.
(snmpset): Added TimeTicks support, courtesy Joerg Kummer.
* changes.html: TimeTicks support in snmpset.
* changes.html: Added IPv6; $default_avoid_negative_request_ids notes.
* contrib/SNMP_util.pm, test/util-trap.pl, test/v6-list-prefixes, test/vc-counters.pl, test/verio-problem.pl:
Initial import of the essential parts of SNMP_Session
* contrib/SNMP_util.pm, test/util-trap.pl, test/v6-list-prefixes, test/vc-counters.pl, test/verio-problem.pl:
New file.
* faq.html, p2.htm, security.html, test/atol-test.c, test/bad-trap.pl, test/bay-atm-test.pl, test/bgp-check-routes, test/bulkwalkbug.pl, test/cammer, test/capturetest.pl, test/counter64-test.pl, test/d.pl, test/digital-bug, test/fore-test.pl, test/inexist.pl, test/list-bgp4-table, test/mcount.pl, test/mdebug, test/negative-counter.pl, test/sequence-bug.pl, test/set-test.pl, test/shipmr, test/snmptrap.note, test/snmptrap.pl:
Initial import of the essential parts of SNMP_Session
* faq.html, p2.htm, security.html, test/atol-test.c, test/bad-trap.pl, test/bay-atm-test.pl, test/bgp-check-routes, test/bulkwalkbug.pl, test/cammer, test/capturetest.pl, test/counter64-test.pl, test/d.pl, test/digital-bug, test/fore-test.pl, test/inexist.pl, test/list-bgp4-table, test/mcount.pl, test/mdebug, test/negative-counter.pl, test/sequence-bug.pl, test/set-test.pl, test/shipmr, test/snmptrap.note, test/snmptrap.pl:
New file.
2003-06-30 Simon Leinen <[email protected]>
* README: Updated Philippe Simonet's e-mail.
Added Valerio Bontempi and Lorenzo Colitti.
* lib/SNMP_Session.pm ($SNMP_Session::default_avoid_negative_request_ids):
Exported.
2003-06-04 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm:
Changes from Lorenzo Colitti: Avoid eval() in some places to make code
more robust.
2003-05-29 Simon Leinen <[email protected]>
* test/wwwtest: Also use CGI.pm to generate HTML.
* test/wwwtest (snmp_get, write_query_form): Use CGI.pm methods.
* test/wwwtest: Use CGI.pm for query parsing.
Open SNMPv2c_Session.
(parse_query): Deleted.
($ipv4_only_p): New variable.
* test/test.pl: Parse option arguments: `-4', `-v (1|2)'.
* test/test.pl: Add subroutine prototypes; use strict.
Use additional arguments to SNMP_Session->open to activate IPv6 code.
* lib/SNMP_Session.pm (SNMPv1_Session::open):
Create an IO::Socket::INET object, rather than
an IO::Socket::INET6 object, whenever sockfamily is AF_INET.
(SNMPv2c_Session::open): Avoid trying to bless() an undefined object,
to improve error diagnostics.
* test/wwwtest: Added subroutine prototypes.
($community_file_name): New variable.
(write_query_form): Compute <option> tags from @allowed_hosts.
* lib/SNMP_Session.pm (SNMPv1_Session::BEGIN):
Insist on version 1.26 when trying to import
IO::Socket::INET6.
(SNMPv1_Session::open): No longer pass PeerAddress and PeerPort when
creating the INET6 Socket object. This means that the socket will not
be connected. This, in turn, means that `lenient_address_matching'
and socket-recycling will have a chance of working.
* test/if-counters.pl: Add IPv6 support:
* Require SNMP_Session 0.96 or later.
* Accept `-4' option to set `ipv4only' in SNMP_Session->open() call.
* Updated usage message.
* test/walk-intf.pl: Added subroutine prototype for usage().
2003-05-25 Simon Leinen <[email protected]>
* lib/SNMP_util.pm:
Added IPv6 changes by Valerio Bontempi and Lorenzo Colitti.
* lib/BER.pm: application_flag -> application_flag (),
context_flag -> context_flag ().
* lib/SNMP_Session.pm (encode_request_3):
encode_int_0 -> encode_int_0 ().
2003-05-10 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm:
Integrated IPv6 patch by Valerio Bontempi and Lorenzo Colitti.
2003-03-14 Simon Leinen <[email protected]>
* lib/BER.pm: Mention Jan Kasprzak as a contributor.
* README: Added Jan Kasprzak.
2003-03-13 Simon Leinen <[email protected]>
* changes.html, index.html: Copyright -> 2003.
* changes.html: Document decode_sequence() bug fix.
* lib/SNMP_Session.pm, lib/BER.pm ($VERSION): Increased to 0.95.
* lib/SNMP_util.pm: Added Jakob Ilves' return_array_refs support.
* lib/BER.pm (decode_sequence): Fix operator precedence bug.
2003-02-27 Simon Leinen <[email protected]>
* test/if-counters.pl:
Clear the screen after traversing the interfaces. This helps when
interfaces are removed while the program is running.
2003-02-24 Simon Leinen <[email protected]>
* index.html:
Fixed decode_by_template() call in trap reception example.
2002-10-27 Simon Leinen <[email protected]>
* changes.html: Added pointer to test/capturetest.pl.
* MANIFEST: Added test/capturetest.pl.
* changes.html: Documented 0.94 changes to BER.pm and SNMP_Session.pm.
* README: Added Jakob Ilves to list of contributors.
* lib/BER.pm ($VERSION): Incremented to 0.94.
2002-10-24 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm (request_response_5, open):
Support PDU capture buffer.
* lib/BER.pm (pretty_generic_sequence, decode_generic_tlv):
New functions for
debugging, contributed by Jakob Ilves <[email protected]>
(/IlvJa).
2002-10-02 Simon Leinen <[email protected]>
* README, index.html: Use "or" instead of "||" in examples.
2002-09-12 Simon Leinen <[email protected]>
* changes.html:
Document $default_avoid_negative_request_ids in SNMP_Session.pm.
Document changes to SNMP_util.pm.
* test/trap-listener:
Added argument parsing and usage() message. The UDP port to listen on
can now be specified using `-p'.
Print better diagnostics for decoding errors.
* lib/SNMP_Session.pm (open):
Undid problematic "optimization" when computing the
possibly-negative request_id.
* index.html: Added pointer to IOG.
2002-09-06 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($default_avoid_negative_request_ids):
New variable.
(encode_request_3): Honor `avoid_negative_request_ids'.
(open): Set `avoid_negative_request_ids', and initialize the
`request_id' slot accordingly.
2002-05-05 Simon Leinen <[email protected]>
* lib/SNMP_util.pm (snmpwalk_flg):
Added missing initialization to suppress warning when
`-w' is in use.
2002-05-03 Simon Leinen <[email protected]>
* lib/SNMP_util.pm: Updated to 0.93b1 from Mike.
* README.SNMP_util:
Updated to 0.93b1 from Mike - describe new snmpwalk() behavior (now
accepts multiple OIDs).
* lib/SNMP_util.pm (snmpwalk_flg):
Added missing initialization to suppress warning when
`-w' is in use.
2002-03-06 Simon Leinen <[email protected]>
* test/msdpls ($css_stylesheet): Deleted.
(msdp_duplicate_report_header): Inline the CSS stylesheet.
(msdp_report_duplicate_sas): Use `pretty_ip_html'.
Format entries as a table.
(pretty_ip_html): New subroutine.
2002-03-01 Simon Leinen <[email protected]>
* test/uli-fh-to-dns.pl: New file.
2002-02-22 Simon Leinen <[email protected]>
* lib/BER.pm:
(decode_oid, decode_by_template_2, decode_sequence, decode_string):
Abort and return error when the PDU is shorter than the length bytes
promised.
2002-02-17 Simon Leinen <[email protected]>
* test/msdpls (msdp_fill_in_duplicates):
New subroutine that removes all
non-duplicate SAs from the hash and fills in the duplicates with more
information by doing specific walks.
* test/msdpls: Generate HTML output.
2002-02-16 Simon Leinen <[email protected]>
* test/msdpls: Changed code to list duplicate SAs.
2002-02-15 Simon Leinen <[email protected]>
* test/msdpls: New file.
* changes.html: Fixed text according to Mike Mitchell's mail.
* lib/SNMP_Session.pm (decode_trap_request):
Better error handling for decoding problems.
* lib/BER.pm (decode_by_template_2):
Better diagnostics for undefined or short PDUs.
* lib/BER.pm (decode_by_template):
Better diagnostics for undefined or short PDUs.
2002-02-12 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION):
Incremented to 0.92, to synchronize with SNMP_util.pm.
* changes.html: Documented SNMP_util 0.92b2 changes.
* lib/SNMP_util.pm ($VERSION): Incremented to 0.92.
(@EXPORT): Export new symbol `snmpmaptable4'.
(snmpmaptable4): New subroutine.
Use map_table_start_end.
(snmpmaptable): Now implemented in terms of `snmpmaptable4'.
(toOID): Convert strings to indexes.
(snmpMIB_to_OID): New one-pass/two-pass MIB parsing code.
* README.SNMP_util: New version from Mike Mitchell (0.92b2):
Document how to set sessino parameters using a hash as the first OID.
Document snmpmaptable4.
2002-01-30 Simon Leinen <[email protected]>
* changes.html: Updated copyright notice.
Documented map_table_start_end fix.
* index.html, README, lib/BER.pm, lib/SNMP_Session.pm:
Updated copyright notice.
* test/if-counters.pl:
Fixed argument parsing so that target and options can be mixed.
* test/if-counters.pl (out_interface):
Suppress "unrouted VLAN..." interfaces.
2002-01-26 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm ($VERSION): Incremented to 0.91.
2001-12-14 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm (SNMPv2_Session::map_table_start_end):
Added comments.
Fixed bug that caused a superfluous query to be sent when the table
was already fully received.
2001-12-12 Simon Leinen <[email protected]>
* test/sorrento-nest-list (%short_types): Recognize "GM-GE2-2.5G-A".
2001-12-11 Simon Leinen <[email protected]>
* test/sorrento-nest-list (%short_types):
Recognize "GM-GE2" as channel ("c") card.
* test/sorrento-nest-list:
Applied the new naming scheme Chris Watts (Ascom) and myself had
agreed upon.
2001-12-06 Simon Leinen <[email protected]>
* index.html: Added /ref=nosim/ to Amazon book pointers.
2001-11-29 Simon Leinen <[email protected]>
* test/lambda-webmon.pl (get_amp_status):
New subroutine that does all the SNMP requests.
(make_amp_html_page): Renamed from `make_html_page'.
2001-11-28 Simon Leinen <[email protected]>
* test/lambda-webmon.pl (@eastbound_amps, @westbound_amps):
New naming convention.
2001-11-24 Simon Leinen <[email protected]>
* test/lambda-webmon.pl: New file.
2001-11-22 Simon Leinen <[email protected]>
* test/lambda-monitor.pl ($inverse_video):
New variable. Default is normal video now.
(show_light_trail): dbM -> dBm.
(print_html_trailer): Added color legend.
(class_for_amp_status): New subroutine that converts the amplifier
status bits into a class by finding the highest bit set.
* test/lambda-monitor.pl: Added HTML output.
* test/lambda-monitor.pl: New file.
2001-11-14 Simon Leinen <[email protected]>
* changes.html: Documented new SNMP_util.pm and if-counters.pl.
* index.html: Added pointer to "Essential SNMP".
* test/snmpspeed.pl: *** empty log message ***
* lib/SNMP_Session.pm ($VERSION): Incremented to 0.90.
* test/if-counters.pl:
Implemented Counter64 support (activated by "-l" argument):
Use Math::BigInt.
($counter64_p, $ifHCInOctets, ifHCOutOctets): New variables.
(rate_32): Added optional multiplier argument.
(rate_64, rate, rate_or_0): New subroutines that generalize rate_32.
(out_interface): Use rate_or_0 rather than rate_32.
Use ifHCOutOctets/ifHCOutOctets if $counter64_p is set.
Always request ifAlias for the interface description.
(usage): Document -l flag.
* lib/SNMP_util.pm: Fixed typo in comment.
* test/snmpwalkh.pl: Fixed typo in comment (Example 2 -> Example 3).
* test/snmpwalkh.pl: New version ("0.90b2") from Mike Mitchell.
* lib/SNMP_util.pm: New version ("0.90b2") from Mike Mitchell:
(snmpwalk, snmpwalkhash): Now implemented as trampolines to
snmpwalk_flg.
(snmpopen): Bug fix in handling of the optional "port" argument.
2001-11-13 Simon Leinen <[email protected]>
* lib/SNMP_Session.pm (error_return, error, ber_error):
Moved downward in the file, but
forgot why.
2001-10-19 Simon Leinen <[email protected]>
* test/if-counters.pl (rate_32):
New subroutine that computes a rate from two Counter32
values and an interval.
(out_interface): Use it.
2001-10-03 Simon Leinen <[email protected]>
* test/sorrento-nest-list (%nestmasters): Added muxBE1.
2001-09-18 Simon Leinen <[email protected]>
* test/sorrento-nest-list (%nestmasters): Added muxCE1.
2001-09-05 Simon Leinen <[email protected]>
* test/sorrento-nest-list: New file.
2001-08-27 Simon Leinen <[email protected]>
* README.SNMP_util:
Added documentation for snmpwalkhash (Mike Mitchell).
* changes.html (SNMP_util.pm):
Mentioned new version 0.89 with new snmpwalkhash
subroutine.
* MANIFEST (test/snmpwalkh.pl): Added.
* test/snmpwalkh.pl: New file.
* lib/SNMP_util.pm (snmpwalkhash): New function.
2001-08-22 Simon Leinen <[email protected]>