From a1462b71686146b83f881105acca67a3169aa7e8 Mon Sep 17 00:00:00 2001 From: ygrek Date: Thu, 1 May 2014 22:50:12 +0800 Subject: [PATCH] update default blocklist url (Closes #4) --- src/daemon/common/commonOptions.ml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/daemon/common/commonOptions.ml b/src/daemon/common/commonOptions.ml index 063dac4c..73890e3d 100644 --- a/src/daemon/common/commonOptions.ml +++ b/src/daemon/common/commonOptions.ml @@ -1046,7 +1046,7 @@ let web_infos = define_option current_section ["web_infos"] web_infos = [ (\"server.met\", 0, \"http://www.gruk.org/server.met.gz\"); (\"hublist\", 0, \"http://dchublist.com/hublist.xml.bz2\"); - (\"guarding.p2p\", 96, \"http://www.bluetack.co.uk/config/level1.gz\"); + (\"guarding.p2p\", 96, \"http://upd.emule-security.org/ipfilter.zip\"); (\"ocl\", 24, \"http://members.lycos.co.uk/appbyhp2/FlockHelpApp/contact-files/contact.ocl\"); (\"contact.dat\", 168, \"http://download.overnet.org/contact.dat\"); (\"geoip.dat\", 168, \"http://www.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz\"); @@ -1055,7 +1055,7 @@ let web_infos = define_option current_section ["web_infos"] (list_option (tuple3_option (string_option, int_option, string_option))) [ ("guarding.p2p", 96, - "http://www.bluetack.co.uk/config/level1.gz"); + "http://upd.emule-security.org/ipfilter.zip"); ("server.met", 0, "http://www.gruk.org/server.met.gz"); ("geoip.dat", 0, @@ -1670,7 +1670,7 @@ let max_displayed_results = define_expert_option current_section ["max_displayed let options_version = define_expert_option current_section ["options_version"] ~internal: true "(internal option)" - int_option 22 + int_option 23 let max_comments_per_file = define_expert_option current_section ["max_comments_per_file"] "Maximum number of comments per file" @@ -2274,4 +2274,9 @@ let rec update_options () = enable_overnet =:= false; update 22 + | 22 -> + web_infos_remove "http://www.bluetack.co.uk/config/level1.gz"; + web_infos_add "guarding.p2p" 0 "http://upd.emule-security.org/ipfilter.zip"; + update 23 + | _ -> () -- 2.11.4.GIT