summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-01-04document the -n and -N command line options.Reyk Floeter
2008-01-04always bzero the oid lookup key before initializing it.Reyk Floeter
2008-01-04add the -n flag to dump numeric OIDs instead of symbolic namesReyk Floeter
2008-01-03send the correct lengthReyk Floeter
2008-01-03handle no more than 2147483647 (0x7fffffff) variable bindingsReyk Floeter
From RFC3416
2008-01-03scalars have an index of 0 in the returned oid (like sysDescr.0).Reyk Floeter
2008-01-03fix parsing of get* requests with multiple varbind elementsReyk Floeter
2008-01-02Make sure that a key belongs to the table before returning a match.Mats O Jansson
Change smi_odi_cmp to return int as expected by RB-tree. -moj ok reyk@
2007-12-31we must reset the poll timeout to INFTIM when receiving the IMSG_SETTIMEHenning Brauer
because otherwise the poll timeout will stay at SETTIME_TIMEOUT (15s) forever unless we time out waiting for the first reply with -s spotted by Aaron Riekenberg <aaron.riekenberg@gmail.com>
2007-12-31use the same trick as for perl to make sure manpages get built laterMarc Espie
2007-12-30add missing space between argument names and ellipsisIgor Sobrado
ok jmc@
2007-12-29add the IP-MIB ipAddrTable. it requires to encode the ipv4 addressesReyk Floeter
in the OIDs as the table index. the next step is to simplify the common mib implementation regarding the special requirements of these strange snmp tables.
2007-12-28printf field widths are always int, so add casts to removeCharles Longeau
"warning: field width is not type int" "looks good" otto@
2007-12-28shrink the max number of supported OID elements from 128 to 32.Reyk Floeter
2007-12-28set the default port in host byte order to get the correct resultReyk Floeter
2007-12-28syncReyk Floeter
2007-12-28add "show mib" command to dump compiled-in MIB namesReyk Floeter
2007-12-28split code handling the "structure of management information" and theReyk Floeter
"message processing subsystem" into separate files smi.c and mps.c
2007-12-28split the MIB declarations (names) from the definitions (implementation).Reyk Floeter
2007-12-28use $OpenBSD$ tags.Thordur I. Bjornsson
ok reyk@
2007-12-28spacingReyk Floeter
2007-12-28use the snmp camelCase for MIB definitions, this allows to simplifyReyk Floeter
the code a bit and is mostly a stylistic change.
2007-12-28allows src: urls to work better by using -F nolock during pkg builds.Marc Espie
Also turns off ftp package fetching, as noticed by bernd@ With this, src: urls should be mostly functional now.
2007-12-28tweak the semantics so that no-default-conflict works.Marc Espie
requested by mbalmer@,sturm@. okay winiger@
2007-12-27Make a snmpwalk against snmpd on hppa and macppc work. armish still dontMats O Jansson
work. -moj
2007-12-27some fatal() calls that should be fatalx(); ok henning@Kevin Steves
2007-12-23log a warning one time when we can't open or write the drift file;Kevin Steves
also add "(no drift file)" to the adjfreq log message on failure; ok henning@
2007-12-23for "fixed-address", note that no lease is generated; after someJason McIntyre
discussion with krw, who hasn;t ok'd this diff, but we can change it if he doesn;t like it; started by mail from Max Hayden Chiz
2007-12-23remove double word in comment;Jason McIntyre
2007-12-23provide timer_nextduein, which provides the number of seconds until theHenning Brauer
next timer expires. use that in the session engine's mainloop, which simplifies it and removes the last bits of timer internals knowledge from anywhere outside timer.c.
2007-12-23remove some unused #defines; ok henning@Kevin Steves
2007-12-23send timers for bgpctlshow neighbor foo timer in seperate messages afterHenning Brauer
the peer data. makes bgpctl display code independent from timer implementation internals. only running timers are displayed now, stopped ones are skipped.
2007-12-23use timer_running (with left = NULL, which the last commit made possible)Henning Brauer
instead of timer_get and checking manually
2007-12-23make all timer_get() callers (except timer_set which will needHenning Brauer
special handling) and onein session.c that will go away able to cope with timer_get() returning NULL (i.e.nosuch timer/not running)
2007-12-22just call getpwnam(NTPD_USER) once; ok henning@Kevin Steves
2007-12-20note that redirections with the sticky-address option will not countReyk Floeter
statistics for new connections with sticky states.
2007-12-20implement statistics for redirections, like the existing statisticsReyk Floeter
for relays. they can be viewed with the new "relayctl show redirects" command. (uses the previous change to pf_table.c to get the statistics) looks good pyr@
2007-12-20rework timers.Henning Brauer
stop changing tienmr values directly, always use new timer_(get/set/stop/running) functions. preparation for more to come :) ok claudio
2007-12-19regenJakob Schlyter
2007-12-19ref rndc-confgen(8); from Jean RabyJakob Schlyter
2007-12-18make it possible to run without locking the database. To be used byMarc Espie
SRC: url, which require it.
2007-12-15fix the sensors mib to match the new OpenBSD PENReyk Floeter
2007-12-15initial manpage bits for snmpd.conf(5)Reyk Floeter
2007-12-15shrink the code by making some ipstat parts table-driven. at someReyk Floeter
point i may want to define a general table-driven interface for mibs.
2007-12-15ips_odropped is ipOutDiscards not ipInDiscardsReyk Floeter
2007-12-15add support for ipReasmTimeoutGilles Chehade
ok (and thanks to) reyk@
2007-12-15implement one function to call the ipstat sysctl needed in a number ofReyk Floeter
places instead of repeating the code. inspired by an idea from gilles@
2007-12-15more sysctl style changes for older codeReyk Floeter
2007-12-15change the style of the sysctl mib setupReyk Floeter
2007-12-15now that ip statistics are available through sysctl, make snmpd's IP-MIBGilles Chehade
aware of them ok reyk@