Date: Wed, 24 Mar 2010 16:07:33 +0000 (UTC) From: Shteryana Shopova <syrinx@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/bsnmpd/modules/snmp_pf BEGEMOT-PF-MIB.txt Makefile pf_snmp.c pf_tree.def Message-ID: <201003241607.o2OG7mbC046896@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
syrinx 2010-03-24 16:07:33 UTC FreeBSD src repository Modified files: usr.sbin/bsnmpd/modules/snmp_pf BEGEMOT-PF-MIB.txt Makefile pf_snmp.c pf_tree.def Log: SVN rev 205607 on 2010-03-24 16:07:33Z by syrinx Now actually implement reading/refreshing/returning data from the pfTablesAddrTable and modify the BEGEMOT-PF-MIB to add support for IPV6 address' statistics in the PF tables via pfTablesAddrNetType and pfTablesAddrNet. While here, upgrade the pf_tree.def file to the new format that includes enumerated values. Also make sure to return SNMP_ERR_NOSUCHNAME for ALTQ objects, if ALTQ is disabled, so that the agent will know to skip the pfAltq subtree when servicing GETNEXT requests from SNMP clients (otherwise snmpwalk on begemotPf would stop at the pfAltq subtree with bsnmpd returning SNMP_ERR_GENERR). Revision Changes Path 1.3 +34 -17 src/usr.sbin/bsnmpd/modules/snmp_pf/BEGEMOT-PF-MIB.txt 1.4 +1 -0 src/usr.sbin/bsnmpd/modules/snmp_pf/Makefile 1.13 +282 -7 src/usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c 1.3 +17 -16 src/usr.sbin/bsnmpd/modules/snmp_pf/pf_tree.def
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003241607.o2OG7mbC046896>