You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following crontab entries, the first line downloads Spamhaus bogon IPv4 list daily at 03:15 AM, updates Ipset named "bogonlist", which is used by dtables (my firewall script), and only logs error output. [dtables](https://github.com/vkucukcakar/dtables)
146
+
The second line downloads the Cloudflare IPv4 range, updates Ipset named "proxylist", which is used by the firewall. (There should be another line if we had IPv6 set support as IPv4 sets are not compatible with IPv6 sets.)
147
+
The third line downloads the Cloudflare IP range, updates the server configuration and reloads Nginx with zero downtime by sending a HUP signal to the container by Docker.
self::error( "Error: Current output file contains unknown data. Please clear or delete output file after checking to avoid overwriting arbitrary files or configuration data.\n" );
202
206
}
203
207
// Replace keywords with real urls of pre-defined sources
@@ -482,6 +486,12 @@ static function run() {
482
486
if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
483
487
self::error( "Error: This application requires PHP 5.3.0 or later to run. PHP " . PHP_VERSION . " found. Please update PHP-CLI.\n" );
484
488
}
489
+
/*
490
+
* Single instance check that I have implemented in predecessors of ip-list-updater is no longer required
491
+
* as memory consumption is slightly decreased after some optimizations in array usage
492
+
* and it also has disadvantages because of the multiple mode nature of the new script.
0 commit comments