summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-01-31use a hyphen for "interface-specific" as a compound term. this isJason McIntyre
not a hard and fast rule (actually it's a form i abuse) but hostname.if.5 currently uses two conflicting forms and this keeps it consistent;
2008-01-31some small fixes for snmp stuff;Jason McIntyre
2008-01-31enable snmpd in the buildReyk Floeter
approved by deraadt@, ok thib@
2008-01-31do not leak confd on malloc failure in control_accept()Henning Brauer
found by Igor Zinovik <zinovik@cs.karelia.ru>
2008-01-31add prefixes to names of structure elements to make it easier to grepThordur I. Bjornsson
for code, next struct session; ok reyk@;
2008-01-31add prefixes to names of structure elements to make it easier to grepReyk Floeter
for code, next struct relay. knf long line fixes will follow later. ok thib@
2008-01-31add prefixes to names of structure elements to make it easier to grepReyk Floeter
for code, start with struct relayd. finally. ok thib@
2008-01-30spacingReyk Floeter
2008-01-29When doing reconfigure() dont run a purge_config() on theThordur I. Bjornsson
new_env if parse_config() fails, it's NULL and parse_config() already freed it; Prevents segfaults when relayctl issues a reload and there's a syntax error in the configuration file. OK reyk@
2008-01-29relayd(8) may lose memory allocate to varaible `cnl' (structReyk Floeter
ctl_natlook). Free `cnl' allocated memory on failure. From Igor Zinovik (zinovik at cs.karelia dot ru)
2008-01-29When relayd(8) accepts control it creates `connfd' descriptor with acceptReyk Floeter
function. Close it when ctl_conn allocation fails. From Igor Zinovik (zinovik at cs.karelia dot ru)
2008-01-29Free resources now that we don't always exit after an unsuccessfulPierre-Yves Ritschard
parsing of the configuration. From Igor Zinovik <zinovik at cs.karelia.ru> ok thib@ and me.
2008-01-29fix Makefile racesMarc Espie
2008-01-28Reconnect a client socket after three consecutive send failures.Marco Pfatschbacher
This allows recovery after an IP address change (e.g. on dialup links). Also move the update of "nextaction" timeout below the deadline check. OK henning@
2008-01-26replace reference to deprecated @pkgcfl keyword by @conflictLandry Breuil
ok espie@
2008-01-25validate argv, okay otto@, henning@Marc Espie
2008-01-25show an example for writing ErrorLog to syslogStuart Henderson
ok henning
2008-01-24"read(..., ..., sizeof Y) < sizeof Y" is a dangerous idiom because itKenneth R Westerback
does an unsigned comparison and read() can return -1. Use '!=' instead of '<' since read() can't return more than 'sizeof Y'. Not perfect (that would require a separate test for -1) but a very common usage. ok henning@
2008-01-24timeticks typeReyk Floeter
2008-01-23extend bgpctl show rib detail output to include more attributes in the output.Claudio Jeker
In addition to communities bgpctl now prints the aggregator, originator id, cluster list and extended communities if available. OK henning@
2008-01-23Add defines for extended communities. OK henning@Claudio Jeker
2008-01-21add names for OpenBSD test MIBsReyk Floeter
2008-01-21move snmpd.conf to the etc/ directory. it is not installed yet by the build.Reyk Floeter
2008-01-21update configuration exampleReyk Floeter
2008-01-21move README to the Attic; ask me directly if you need to know aboutReyk Floeter
the TODOs and remaining issues.
2008-01-21syncReyk Floeter
2008-01-19some usb devices stale (getstring: ioctl: Input/output error) if aMarc Winiger
string is requested with language id 0, so we get the language table first and use the language id from there ok mglocker@
2008-01-18free oid data before overwriting itReyk Floeter
2008-01-18Call store_options() with correct cutoff values, i.e. ones not 7 bytesKenneth R Westerback
too large. Fixes a problem where a nicely crafted packet could crash dhcpd. Nuke a superfluous declaration of store_options() while here. Problem found and fix tested by Peter Hessler. ok beck@ millert@ henning@
2008-01-18implement very basic support of the BRIDGE-MIB which is enough to getReyk Floeter
recognized as a network device by some NMS.
2008-01-18fix descriptionReyk Floeter
2008-01-18parse ip addresses for trapsReyk Floeter
2008-01-18trap.cReyk Floeter
2008-01-18fix stringval lengthReyk Floeter
2008-01-18add a snmpctl command to send traps to registered receivers usingReyk Floeter
snmpd's imsg trap interface.
2008-01-17swap argumentsReyk Floeter
2008-01-17the optional trap varbind elements may be nullReyk Floeter
2008-01-17allow to configure optional per trap receiver communities and toReyk Floeter
restrict the receivers to a specified mib.
2008-01-17add basic snmpv2 support (snmpv2, trapv2, getbulk)Reyk Floeter
ok canacar@
2008-01-16send a coldStart trap to registered receivers on startup and cleanupReyk Floeter
the trap code a little bit.
2008-01-16document the "trap receiver" option.Reyk Floeter
2008-01-16implementation of the SNMP trap sender interfaceReyk Floeter
2008-01-16typoReyk Floeter
2008-01-16define correct snmpv3 versionReyk Floeter
2008-01-16bump copyrightReyk Floeter
2008-01-16tweakReyk Floeter
2008-01-16move trap code to an own file; there will be moreReyk Floeter
2008-01-16start working on an interface to send traps via snmpd.sock. userlandReyk Floeter
applications will be able to send imsgs defining the trap to snmpd and the daemon will do the ASN.1/BER encoding before sending traps to the registered receivers. there are two advantages of this approach that a) the applications do not need to handle any ASN.1/BER encoding and b) snmpd will provide a central interface to define trap receivers. discussed with thib and others
2008-01-12better ui for locking messages.Marc Espie
Instead of just saying we await the release, we say when it's done. (practically, a lot of package operation take `some time', it's good for the user to know whether the command is still waiting for an held lock, or actually doing some work)
2008-01-12unbreak DEBUG codeReyk Floeter