Report new PF "translation" counter, indicating that address translation
has failed due to no free ports in the configured range. From Martin Pelikan.
This commit is contained in:
parent
bf54838811
commit
31579f410f
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2013/03/11 11:35:54 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2013/03/11 19:50:04 sthen Exp $
|
||||
|
||||
COMMENT-main= packet filter statistics visualization
|
||||
COMMENT-daemon= pfstat daemon
|
||||
@ -7,8 +7,8 @@ DISTNAME= pfstat-2.3
|
||||
|
||||
PKGNAME-main= ${DISTNAME}
|
||||
PKGNAME-daemon= ${DISTNAME:S/-/d-/}
|
||||
REVISION-main= 1
|
||||
REVISION-daemon=3
|
||||
REVISION-main= 2
|
||||
REVISION-daemon=4
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://www.benzedrine.cx/
|
||||
|
||||
|
12
net/pfstat/patches/patch-parse_y
Normal file
12
net/pfstat/patches/patch-parse_y
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-parse_y,v 1.1 2013/03/11 19:50:04 sthen Exp $
|
||||
--- parse.y.orig Sun Feb 24 22:12:50 2013
|
||||
+++ parse.y Sun Feb 24 22:13:05 2013
|
||||
@@ -133,7 +133,7 @@ coldef : GLOBAL STRING STRING
|
||||
"short", "normalize", "memory", "bad-timestamp",
|
||||
"congestion", "ip-option", "proto-cksum",
|
||||
"state-mismatch", "state-insert", "state-limit",
|
||||
- "src-limit", "synproxy", 0 };
|
||||
+ "src-limit", "synproxy", "translate", NULL };
|
||||
int i;
|
||||
|
||||
$$.type = 0;
|
20
net/pfstat/patches/patch-pfstat_conf_example
Normal file
20
net/pfstat/patches/patch-pfstat_conf_example
Normal file
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-pfstat_conf_example,v 1.1 2013/03/11 19:50:04 sthen Exp $
|
||||
--- pfstat.conf.example.orig Sun Feb 24 22:13:10 2013
|
||||
+++ pfstat.conf.example Sun Feb 24 22:13:31 2013
|
||||
@@ -6,7 +6,7 @@
|
||||
# collect
|
||||
# global
|
||||
# states entries|searches|inserts|removals [diff]
|
||||
-# counters match|bad-offset|fragment|...|synproxy [diff]
|
||||
+# counters match|bad-offset|fragment|...|translate [diff]
|
||||
# (see pfctl -si output, same strings)
|
||||
# interface name pass|block packets|bytes in|out v4|v6 [diff]
|
||||
# queue name passed|dropped|other packets|bytes|number [diff]
|
||||
@@ -85,6 +85,7 @@ collect 26 = global counters state-insert diff
|
||||
collect 27 = global counters state-limit diff
|
||||
collect 28 = global counters src-limit diff
|
||||
collect 29 = global counters synproxy diff
|
||||
+collect 30 = global counters translate diff
|
||||
|
||||
image "/var/www/htdocs/benzedrine.cx/pfstat-errors.jpg" {
|
||||
from 1 days to now
|
Loading…
Reference in New Issue
Block a user