git: da80e76821e7 - stable/13 - sbin/pfctl: fix tests after recent output changes
Alex Richardson
arichardson at FreeBSD.org
Wed Mar 17 10:27:53 UTC 2021
The branch stable/13 has been updated by arichardson:
URL: https://cgit.FreeBSD.org/src/commit/?id=da80e76821e7dc7ca2b87e711399c198d578604e
commit da80e76821e7dc7ca2b87e711399c198d578604e
Author: Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-02-04 17:56:26 +0000
Commit: Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-03-17 09:56:28 +0000
sbin/pfctl: fix tests after recent output changes
The output now contains http-alt instead of 8080 and personal-agent
instead of 5555.
This was probably caused by 228e2087a32847fa51168f3f0c58f931cb2cb0f8.
Reviewed By: kp
Differential Revision: https://reviews.freebsd.org/D28481
(cherry picked from commit 58de61b9967b36f5fbd34e8b51ece7b4b772f104)
---
sbin/pfctl/tests/files/pf0089.ok | 2 +-
sbin/pfctl/tests/files/pf0096.ok | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sbin/pfctl/tests/files/pf0089.ok b/sbin/pfctl/tests/files/pf0089.ok
index 1f80e22b92b8..c2403e775da1 100644
--- a/sbin/pfctl/tests/files/pf0089.ok
+++ b/sbin/pfctl/tests/files/pf0089.ok
@@ -8,4 +8,4 @@ pass in on lo1000001 inet proto tcp from any to 10.0.0.1 port = ssh flags S/SA k
pass in on lo1000001 inet proto tcp from any to 10.0.0.2 port = ssh flags S/SA keep state (source-track rule, max-src-conn 10)
pass in on lo1000001 inet proto tcp from any to 10.0.0.3 port = ssh flags S/SA keep state (source-track rule, max-src-conn-rate 3/99, src.track 99)
pass in on lo1000000 inet proto tcp from any to 10.0.0.1 port = http flags S/SA modulate state (source-track rule, max-src-conn 100, max-src-conn-rate 10/5, overload <bad> flush, src.track 5)
-pass in on lo1000000 inet proto tcp from any to 10.0.0.1 port = 8080 flags S/SA synproxy state (source-track rule, max-src-conn 1000, max-src-conn-rate 1000/5, overload <bad> flush global, src.track 5)
+pass in on lo1000000 inet proto tcp from any to 10.0.0.1 port = http-alt flags S/SA synproxy state (source-track rule, max-src-conn 1000, max-src-conn-rate 1000/5, overload <bad> flush global, src.track 5)
diff --git a/sbin/pfctl/tests/files/pf0096.ok b/sbin/pfctl/tests/files/pf0096.ok
index e1d9efe31f93..df7af0a3a157 100644
--- a/sbin/pfctl/tests/files/pf0096.ok
+++ b/sbin/pfctl/tests/files/pf0096.ok
@@ -1,5 +1,5 @@
myports = "5555 6666"
moreports = "5555 6666 7777"
-pass in proto tcp from any to any port = 5555 flags S/SA keep state
+pass in proto tcp from any to any port = personal-agent flags S/SA keep state
pass in proto tcp from any to any port = 6666 flags S/SA keep state
pass in proto tcp from any to any port = 7777 flags S/SA keep state
More information about the dev-commits-src-all
mailing list