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
This commit is contained in:
Alex Richardson 2021-02-04 17:56:26 +00:00
parent c203bd70b5
commit 58de61b996
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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