summaryrefslogtreecommitdiff
path: root/common/snmp-engine.c
AgeCommit message (Collapse)Author
2009-10-29Skip local socket types that the OS doesn't support.Stef Walter
When binding to local addresses, certain OS configurations will return 'not supported' for various socket types, like ipv6. Skip those socket types when they come up.
2009-10-24Include necessary headerStef Walter
2009-10-24Support for multiple local sockets (ie: INET + INET6)Stef Walter
* Allows us to make ipv6 queries.
2009-10-24Add back support for ports in snmp urls.Stef Walter
* Note that for urls like: snmp://host1,host2:161/xxx the port applies to both hosts.
2009-10-24Remove usage of sock_any calls.Stef Walter
* This allows us to properly handle complex addresses with things like %eth0 on the end, etc... * Also removes support for unix sockets, which didn't really make sense in an snmp context anyway. Not sure how that code was usable.
2009-09-24Fix memory leak on exit.Stef Walter
Memory leak on exit (not a big deal) where host->prepared was not freed.
2009-09-24Clear up SNMP pdu after decoding.Stef Walter
This frees strings.
2008-07-29 - Add parameter to specify bind address.Stef Walter
2008-03-15Use SNMP GETNEXT requests for the table queries. Stef Walter
Make table queries more efficient by combining match/value in the same request whenever we've already gotten a match previously.
2008-03-02 - Support failover between multiple agentsStef Walter
- Support table queries - Major refactoring of internals.