summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/net-snmp
AgeCommit message (Collapse)Author
2014-05-081.7.4 releaseDmitry Kozlov
* fixed various bugs * introduced accel-cmd program * ippool: impelented persistance * radius: implemented default-realm option * radius: proper handling of Framed-IP-Address=255.255.255.254 * shaper: time range and other fixes * shaper: implemented mtu option * net-snmp: fixed run out of FD_SETSIZE
2014-04-29net-snmp: unshare file descriptors namespaceGuillaume Nault
Use unshare(CLONE_FILES) to create a local file descriptors namespace for the SNMP thread. This is similar to what was done in bf5340 'net-snmp: run snmp in "special" thread', but without calling clone() directly. So the net-snmp plugin keeps running in a regular pthread. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-04-29Revert "net-snmp: run snmp in "special" thread"Guillaume Nault
This reverts commit f2774e5a02d29de71eb64a64565b23090b6f6c5e. snmp_thread() needs to be run as regular thread to allow Valgrind analysis. Using a different namespace for file desciptors will be done later on using unshare(). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2014-04-14net-snmp: run snmp in "special" threadDmitry Kozlov
NET-SNMP is built on top of stale file descriptor multiplexing mechanism (select) which prevents to use descriptors with number >= 1024. Due to accel-ppp uses a lots of descriptors NET-SNMP easy overflows this limit and fails and even may crash whole accel-ppp process. This patch runs snmp in special thread which does not share file descritor table with main process, so it can use less descriptors and live in __FD_SETSIZE limit. Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-09-03snmp: properly terminate snmp threadDmitry Kozlov
2012-12-26cmake: use CMAKE_FIND_ROOT_PATH and LIB_SUFFIXKozlov Dmitry
2011-12-27snmp: implemneted new node (ACCEL-PPP-MIB::cli.0) which can be used to send ↵Kozlov Dmitry
cli commands
2011-08-30net-snmp: NETSNMP_PREFIX option to locate net-snmp library at different locationKozlov Dmitry
2011-08-23ppp: ipv6: multiple prefixes, route option, rdnss option implementationKozlov Dmitry
2011-08-19snmp supportKozlov Dmitry