Browse Source

update addressbook subscriptions

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1634/head
R4SAS 4 years ago
parent
commit
7c8280934a
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 3
      contrib/subscriptions.txt
  2. 2
      libi2pd/Config.cpp
  3. 5
      libi2pd_client/HTTPProxy.cpp

3
contrib/subscriptions.txt

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
http://inr.i2p/export/alive-hosts.txt
http://reg.i2p/hosts.txt
http://identiguy.i2p/hosts.txt
http://stats.i2p/cgi-bin/newhosts.txt
http://i2p-projekt.i2p/hosts.txt

2
libi2pd/Config.cpp

@ -213,7 +213,7 @@ namespace config { @@ -213,7 +213,7 @@ namespace config {
options_description addressbook("AddressBook options");
addressbook.add_options()
("addressbook.defaulturl", value<std::string>()->default_value(
"http://joajgazyztfssty4w2on5oaqksz6tqoxbduy553y34mf4byv6gpq.b32.i2p/export/alive-hosts.txt"
"http://shx5vqsw7usdaunyzr2qmes2fq37oumybpudrd4jjj4e4vk4uusa.b32.i2p/hosts.txt"
), "AddressBook subscription URL for initial setup")
("addressbook.subscriptions", value<std::string>()->default_value(""), "AddressBook subscriptions URLs, separated by comma")
("addressbook.hostsfile", value<std::string>()->default_value(""), "File to dump addresses in hosts.txt format");

5
libi2pd_client/HTTPProxy.cpp

@ -32,8 +32,9 @@ @@ -32,8 +32,9 @@
namespace i2p {
namespace proxy {
std::map<std::string, std::string> jumpservices = {
{ "inr.i2p", "http://joajgazyztfssty4w2on5oaqksz6tqoxbduy553y34mf4byv6gpq.b32.i2p/search/?q=" },
{ "stats.i2p", "http://7tbay5p4kzeekxvyvbf6v7eauazemsnnl2aoyqhg5jzpr5eke7tq.b32.i2p/cgi-bin/jump.cgi?a=" },
{ "reg.i2p", "http://shx5vqsw7usdaunyzr2qmes2fq37oumybpudrd4jjj4e4vk4uusa.b32.i2p/jump/" },
{ "identiguy.i2p", "http://3mzmrus2oron5fxptw7hw2puho3bnqmw2hqy7nw64dsrrjwdilva.b32.i2p/cgi-bin/query?hostname=" },
{ "stats.i2p", "http://7tbay5p4kzeekxvyvbf6v7eauazemsnnl2aoyqhg5jzpr5eke7tq.b32.i2p/cgi-bin/jump.cgi?a=" },
};
static const char *pageHead =

Loading…
Cancel
Save