commit e7a3260b61796aba554e8d6efc2c5814d6a8b0b4 from: mischa date: Mon May 08 08:40:26 2023 UTC run -T show on protected commit - eb7b9c0cd148ddc6bdbebeb7f5984d1245b33156 commit + e7a3260b61796aba554e8d6efc2c5814d6a8b0b4 blob - d80a0b87e95845194e8b13b40c12c2d1056b55a0 blob + 70590aa23c801d08566f4e1c2430068936226e23 --- ard.pl +++ ard.pl @@ -140,6 +140,7 @@ sub http_child { } elsif ($token eq 'protect') { my $protect = qx(pfctl -t protected -T add $client_ip 2>&1); chomp $protect; + qx(pfctl -t protected -T show > /etc/pf.protected); _log("$client_ip $token $protect"); _http_response($c, {content_type => 'text/plain'}, "Received [$client_ip -> protect] $protect");