diff --git a/networks/google.json b/networks/google.json index 56a27ea..96b59fd 100644 --- a/networks/google.json +++ b/networks/google.json @@ -12,6 +12,8 @@ "gstatic.com" ], "networks": [ + "85.249.244.0/23", + "213.221.56.0/27", "104.154.0.0/15", "104.196.0.0/14", "104.237.160.0/19", diff --git a/networks/redtube.json b/networks/redtube.json deleted file mode 100644 index f0a7f51..0000000 --- a/networks/redtube.json +++ /dev/null @@ -1,9 +0,0 @@ - { - "description": "redtube", - "domains": [ - "redtube.com" - ], - "networks": [ - "66.254.114.238/32" - ] -} \ No newline at end of file diff --git a/networks/snapeda.json b/networks/snapeda.json new file mode 100644 index 0000000..e9dc593 --- /dev/null +++ b/networks/snapeda.json @@ -0,0 +1,9 @@ +{ + "description": "www.snapeda.com", + "domains": ["www.snapeda.com"], + "networks": [ + "104.26.0.159/32", + "104.26.1.159/32", + "172.67.71.169/32" + ] +} \ No newline at end of file diff --git a/plugins/quagga/QuaggaPlugin.php b/plugins/quagga/QuaggaPlugin.php index 6618612..413f00c 100644 --- a/plugins/quagga/QuaggaPlugin.php +++ b/plugins/quagga/QuaggaPlugin.php @@ -66,6 +66,8 @@ class QuaggaPlugin extends Plugin rename($configfile, $backupFile); file_put_contents($configfile, implode("\n", $lines)); + sleep(10); + //restart zebra return shell_exec($this->config["restart_cmd"]); }