Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-09-03 | Missing breaks. | Jonathan Gray | |
ok pyr@ | |||
2008-07-24 | reserve a few OpenBSD MIBs that might be implemented later or to avoid | Reyk Floeter | |
conflicts wird 3rd parties. | |||
2008-07-18 | merge host_v6 with relayd's version to use getaddrinfo instead of | Reyk Floeter | |
inet_pton. host_v4, host_v6, and host_dns could be merged into one function using getaddrinfo but i keep it in multiple functions to keep it in sync with the other daemons using this common code. | |||
2008-07-18 | merge log_host with relayd's version using getnameinfo and rename it | Reyk Floeter | |
to print_host. | |||
2008-06-29 | Use C99, not gcc-specific variadics. Ok miod@. | Anders Magnusson | |
2008-06-13 | correction from Tamas TEVESZ; | Jason McIntyre | |
2008-05-22 | - fix a bug in msgbuf_write() that caused a descriptor to stay in the fd | Gilles Chehade | |
list even after being sent successfully. this has imsg_get_fd() keep returning the first fd. no impact in snmpd. "go for it" pyr@, "yeah someone screwed up in the copy" henning@ | |||
2008-05-12 | Error out with usage line if additional arguments are given after the | Pierre-Yves Ritschard | |
option parsing. Found out the hard way by jdixon on ifstated. ok sobrado@, jdixon@, millert@ | |||
2008-03-30 | .Xr snmpctl | Martin Reindl | |
ok jmc@ | |||
2008-03-24 | msg_controllen has to be CMSG_SPACE so that the kernel can account for | Theo de Raadt | |
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis | |||
2008-03-20 | Fix HISTORY. OK reyk@ | Todd C. Miller | |
2008-03-18 | remove ber_add_astring and make it the default behaviour in | Reyk Floeter | |
ber_add_string, ber_add_nstring, and ber_add_bitstring to allocate and copy the provided buffer instead of just attaching it to the ber element. this may add some overhead but fixes and avoids some bugs with static buffers and simplifies the ber api again. From Matthew at Dempsky dot org With input from claudio@ | |||
2008-03-18 | fix bug that ber_oid2ber skips the first byte when encoding powers of | Reyk Floeter | |
128. E.g., it will encode 128 as 0x00 instead of 0x81 0x00. From Matthew at Dempsky dot org | |||
2008-03-17 | convert more strings to use the new ber_add_astring() function which | Reyk Floeter | |
simplifies the code. | |||
2008-03-17 | another sizeofa instead of sizeof fix | Reyk Floeter | |
2008-03-17 | fix incorrect use of sizeof() where there sizeofa() macro should be used | Reyk Floeter | |
ok dlg@ | |||
2008-03-16 | implement the hrSWRun portion of the HOST-RESOURCES mib. you can see whats | David Gwynne | |
running now, which is another thing my nms at work likes. ok reyk@ | |||
2008-03-16 | usage statements are preceeded with usage: | David Gwynne | |
ok reyk@ | |||
2008-03-15 | provide sizeofa for counting the number of elements in an array. use it for | David Gwynne | |
passing the length of the mib in all these sysctl calls. ok reyk@ | |||
2008-03-15 | Repair the simple cases for msg_controllen where it should just be | Theo de Raadt | |
CMSG_SIZE(sizeof(int)), not sizeof(buffer) which may be larger because of alignment; ok kettenis hshoexer | |||
2008-03-15 | move zerodotzero up so more stuff can use it | David Gwynne | |
this is an ok bit of a bigger diff that reyk wanted split up | |||
2008-03-14 | add a new ber function ber_add_astring() that strdups the string and | Reyk Floeter | |
sets the be_free flag (which is required in some cases). this will make it easier because it is done manually at some places in the code. discussed with dlg | |||
2008-03-13 | Correct CMSG_SPACE and CMSG_LEN usage everywhere in the tree. Due to | Theo de Raadt | |
an extensive discussion with otto, kettenis, millert, and hshoexer | |||
2008-03-12 | remove noisy warning message | Reyk Floeter | |
ok claudio@ | |||
2008-03-12 | fix a memleak in the ber_read_elements() error case. | Reyk Floeter | |
ok claudio@ | |||
2008-03-12 | Check that the current ber element is a sequence or a set when '{' or '(' | Claudio Jeker | |
is used. OK reyk@ | |||
2008-03-12 | mostly stylistic - always print the client host name in snmpe error | Reyk Floeter | |
messages and make sure that the host string is initialized. | |||
2008-03-12 | if (class != BER_CLASS_UNIVERSAL || type != BER_TYPE_SEQUENCE) | Claudio Jeker | |
not if (class != BER_CLASS_UNIVERSAL && type != BER_TYPE_SEQUENCE) the class and type need to be of correct. OK reyk@ | |||
2008-03-12 | SNMP has a restricted BER encoding especially all encodings use the | Claudio Jeker | |
definite-length from. So bail out with an error if this is not the case. OK cloder@, reyk@ cvs: ---------------------------------------------------------------------- | |||
2008-03-12 | Return an error if more data is requested even though the buffer is empty. | Claudio Jeker | |
Fixes an infinite loop seen by cloder@. OK cloder@, reyk@ | |||
2008-03-10 | provide a partial implementation of the HOST-RESOURCES-MIB. this implements | David Gwynne | |
the hrStorage part, which is enough to see how much space is used on your filesystems. makes my nms happy. ok reyk@ | |||
2008-02-27 | Unbreak parser by initializing topfile correctly. | Marco Pfatschbacher | |
I got fooled by patch(1). Sorry. Found by and OK thib@. | |||
2008-02-27 | Have popfile() also close the main config file, | Marco Pfatschbacher | |
but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@ | |||
2008-02-26 | Fix memory leak in the parser. Found by Matthew Dempsky but using the more | Claudio Jeker | |
common way to clear the TAILQ. OK thib@ | |||
2008-02-16 | sort flags in both synopsis and usage | Igor Sobrado | |
ok reyk@ | |||
2008-02-09 | fix a memleak in the snmp engine and the ber i/o; free the dynamically | Reyk Floeter | |
allocated ber write buffer after using it. extend the ber api with a ber_free() function to do the required cleanup. Thanks to Will Backman (bitgeist at yahoo dot com) for testing and for figuring out that there was a memleak. | |||
2008-02-08 | use correct variable for COUNTER64 | Reyk Floeter | |
2008-02-07 | add a imsg which allows to "lock" the control connection, the | Reyk Floeter | |
restricted connection will reject any commands except snmp traps. | |||
2008-02-07 | spacing | Reyk Floeter | |
2008-01-31 | some small fixes for snmp stuff; | Jason McIntyre | |
2008-01-31 | do not leak confd on malloc failure in control_accept() | Henning Brauer | |
found by Igor Zinovik <zinovik@cs.karelia.ru> | |||
2008-01-30 | spacing | Reyk Floeter | |
2008-01-24 | timeticks type | Reyk Floeter | |
2008-01-21 | add names for OpenBSD test MIBs | Reyk Floeter | |
2008-01-21 | move snmpd.conf to the etc/ directory. it is not installed yet by the build. | Reyk Floeter | |
2008-01-21 | update configuration example | Reyk Floeter | |
2008-01-21 | move README to the Attic; ask me directly if you need to know about | Reyk Floeter | |
the TODOs and remaining issues. | |||
2008-01-21 | sync | Reyk Floeter | |
2008-01-18 | free oid data before overwriting it | Reyk Floeter | |
2008-01-18 | implement very basic support of the BRIDGE-MIB which is enough to get | Reyk Floeter | |
recognized as a network device by some NMS. |