diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-11 19:49:38 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-03-11 19:49:38 +0000 |
commit | 131a2175b89bac0403738c3a2eaf38b16dccf806 (patch) | |
tree | fcf8b03171a79bc4993b51e9adc1224a2b14ab2d /share/snmp | |
parent | 17a23178ab9f04a755a3ec567893161ecaaa579b (diff) |
Report new PF "translation" counter, indicating that address translation
has failed due to no free ports in the configured range. ok mikeb@
Diffstat (limited to 'share/snmp')
-rw-r--r-- | share/snmp/OPENBSD-PF-MIB.txt | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/share/snmp/OPENBSD-PF-MIB.txt b/share/snmp/OPENBSD-PF-MIB.txt index b7d0c0fa150..b54e703d893 100644 --- a/share/snmp/OPENBSD-PF-MIB.txt +++ b/share/snmp/OPENBSD-PF-MIB.txt @@ -1,4 +1,4 @@ --- $OpenBSD: OPENBSD-PF-MIB.txt,v 1.1 2012/02/23 03:54:38 joel Exp $ +-- $OpenBSD: OPENBSD-PF-MIB.txt,v 1.2 2013/03/11 19:49:37 sthen Exp $ -- -- Copyright (c) 2004-2012 Joel Knight <knight.joel@gmail.com> -- @@ -33,7 +33,7 @@ IMPORTS FROM SNMPv2-CONF; pfMIBObjects MODULE-IDENTITY - LAST-UPDATED "201201260000Z" + LAST-UPDATED "201302242033Z" ORGANIZATION "OpenBSD" CONTACT-INFO " Author: Joel Knight @@ -43,6 +43,8 @@ pfMIBObjects MODULE-IDENTITY DESCRIPTION "The MIB module for gathering information from OpenBSD's packet filter. " + REVISION "201302242033Z" + DESCRIPTION "Add separate counter for failed translations" REVISION "201201260000Z" DESCRIPTION "Add OPENBSD-PF-MIB to OpenBSD's snmpd" ::= { openBSD 1 } @@ -238,6 +240,15 @@ pfCntSynproxy OBJECT-TYPE "The number of packets that were dropped during the TCP synproxy process." ::= { pfCounters 15 } +pfCntTranslate OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + DESCRIPTION + "The number of packets that were dropped because network address + translation was requested and no unused port was available." + ::= { pfCounters 16 } + -- pfStateTable |