]> git.proxmox.com Git - pve-firewall.git/commitdiff
fix Razor macro
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 30 Mar 2019 16:36:16 +0000 (17:36 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 30 Mar 2019 16:36:18 +0000 (17:36 +0100)
'ACCEPT' was plain wrong here and broken and disables ALL firewalling
for a Container, at least when used in a Security Group.

fixes 857f62c833a604eb8399467a94d325c1994367eb
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reported-by: Tom Weber <pve@junkyard.4t2.com>
src/PVE/Firewall.pm

index f294d365545facc005c3a6195ba699eaf4674bce..ba1cb5f5924af094fe647f98d40e2703eca96ff4 100644 (file)
@@ -423,7 +423,7 @@ my $pve_fw_macros = {
     ],
     'Razor' => [
        "Razor Antispam System",
-       { action => 'ACCEPT', proto => 'tcp', dport => '2703' },
+       { action => 'PARAM', proto => 'tcp', dport => '2703' },
     ],
     'Rdate' => [
        "Remote time retrieval (rdate)",