OpenBSD CVS

CVS log for src/usr.sbin/snmpctl/Attic/snmpctl.c


[BACK] Up to [local] / src / usr.sbin / snmpctl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24, Fri Aug 16 17:03:55 2019 UTC (4 years, 9 months ago) by martijn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.23: +1 -1 lines
FILE REMOVED

Send snmpctl(8) to the great bitbucket in the sky. You've served us well.

People are now expected to use snmp(1) for all their snmp client needs.

"Go ahead" deraadt@

Revision 1.23 / (download) - annotate - [select for diffs], Thu Aug 10 16:03:10 2017 UTC (6 years, 9 months ago) by rob
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.22: +9 -1 lines
Diff to previous 1.22 (colored)

Pledge snmpctl. Ok jca@, tb@

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 28 20:49:32 2016 UTC (7 years, 7 months ago) by natano
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.21: +6 -6 lines
Diff to previous 1.21 (colored)

Make snmpctl compile again after the env -> snmpd_env rename in snmpd's
smi.c r1.20.

ok cc(1)

Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 5 13:14:40 2015 UTC (8 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

EAGAIN handling for imsg_read. OK henning@ benno@

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 14 12:56:21 2014 UTC (10 years, 1 month ago) by blambert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.19: +133 -18 lines
Diff to previous 1.19 (colored)

Adapt snmpctl to use AgentX protocol to send traps

ok reyk@ benno@

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 14 20:48:52 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

cope with the EAGAIN API change for msgbuf_write()
ok benno

Revision 1.18 / (download) - annotate - [select for diffs], Tue Oct 1 17:20:39 2013 UTC (10 years, 8 months ago) by reyk
Branch: MAIN
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

Initial support for the "bulkwalk" command.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 1 12:41:49 2013 UTC (10 years, 8 months ago) by reyk
Branch: MAIN
Changes since 1.16: +10 -2 lines
Diff to previous 1.16 (colored)

Add initial SNMP client utility to snmpctl(8).
For example, snmpctl snmp walk 127.0.0.1

commit it deraadt@

Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 16 19:47:43 2013 UTC (10 years, 9 months ago) by guenther
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Use %lld and cast to (long long) when printing time_t values

otto@ millert@ lteo@ mikeb@ deraadt@

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 7 09:32:58 2013 UTC (11 years, 1 month ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

alloc the size of the struct not the size of a pointer to it
ok reyk@

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 17 16:43:59 2012 UTC (11 years, 8 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Update copyright and my email address in snmpd while I'm here.

Revision 1.13 / (download) - annotate - [select for diffs], Wed Mar 16 15:30:35 2011 UTC (13 years, 2 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.12: +6 -4 lines
Diff to previous 1.12 (colored)

fix trap sending in snmpd by adjusting snmpctl to the imsg libutil
change and fixing the ber element handling in snmpd itself.

tested by jsg@

Revision 1.12 / (download) - annotate - [select for diffs], Wed Dec 16 22:17:53 2009 UTC (14 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.11: +1 -2 lines
Diff to previous 1.11 (colored)

knf and unused variables

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jun 6 05:52:00 2009 UTC (15 years ago) by pyr
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.10: +2 -9 lines
Diff to previous 1.10 (colored)

sync snmpd with the common imsg code, making it lib ready as well.
ok eric@

Revision 1.10 / (download) - annotate - [select for diffs], Fri Sep 26 19:26:24 2008 UTC (15 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

add [-s socket] to usage();

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 26 15:19:55 2008 UTC (15 years, 8 months ago) by reyk
Branch: MAIN
Changes since 1.8: +8 -4 lines
Diff to previous 1.8 (colored)

allow to add an additional restricted control socket for trap sending
only (not even show commands).  this allows to place a socket for
traps in another daemon's chroot.

(based on restricted socket support from bgpd)

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 17 23:31:52 2008 UTC (16 years ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

documentation tweaks.

ok (some time ago) jmc@

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 18 02:09:30 2008 UTC (16 years, 4 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.6: +13 -3 lines
Diff to previous 1.6 (colored)

add a snmpctl command to send traps to registered receivers using
snmpd's imsg trap interface.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 16 09:51:15 2008 UTC (16 years, 4 months ago) by reyk
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

bump copyright

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jan 4 12:41:55 2008 UTC (16 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.4: +18 -3 lines
Diff to previous 1.4 (colored)

add the -n flag to dump numeric OIDs instead of symbolic names

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 28 17:22:32 2007 UTC (16 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.3: +51 -5 lines
Diff to previous 1.3 (colored)

add "show mib" command to dump compiled-in MIB names

Revision 1.3 / (download) - annotate - [select for diffs], Fri Dec 28 15:57:06 2007 UTC (16 years, 5 months ago) by thib
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

use $OpenBSD$ tags.

ok reyk@

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 5 16:02:34 2007 UTC (16 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

remove hoststatectl reference from snmpctl.c

From Leonardo Chiquitto (leonardo at ngdn dot org)

Revision 1.1 / (download) - annotate - [select for diffs], Wed Dec 5 09:22:44 2007 UTC (16 years, 6 months ago) by reyk
Branch: MAIN

Start working on snmpd(8) and snmpctl(8), a lightweight SNMP implementation
for OpenBSD.  SNMP is a necessary evil.  This is work in progress, don't
expect too much from it yet.

ok deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.