-
Notifications
You must be signed in to change notification settings - Fork 114
[Feature] allow multiple --reseed-from entries #797
Comments
Yes, this is spec defined and there is no reason to change it.
Yes, this is an intentional security measure.
Yes, this is one of the reasons I implemented the feature in the first place. You can reseed from any server which hosts an su3 file. This su3 file can have any name, and can have any address so long as it's resolvable. You can even reseed local files without the need for resolution. This is all done with
Bad idea, too cumbersome. We can simply do CSV, e.g., |
Let's think about a very realism use case. In a country where all public known I2P seeds sites are banned, the users just spread a lot of private servers on the forums. The other users copy the server lists and paste into their config file. The list may become longer and longer, then the CSV format is not manageable any more. |
At that point, the solution is not to use reseed in this manner. We can also simply reseed from a database file, whether CSV or other.
I have no idea how this would be user-friendly. No one uses cli options like this.
Multiple |
NOTICE: THIS ISSUE HAS BEEN MOVED TO GitLab. Please continue the discussion there. See #1013 for details. |
Currently the .su3 seed file name "i2pseeds.su3" and the predefined download hosts are hard coded in client/reseed.h.
That has two potential issues,
1, We can't modify the file name and the hosts without upgrade the tool.
2, More serious, in some countries such as China which I2P websites are banned, it's impossible (or very hard without VPN) to download from the predefined hosts. To make Monero/Kovri popular in such countries, we may expect that there are many "private seed servers". Then it's hard to use the "private seed servers" by default if we can't put all of them in config file.
I saw there is "reseed-from" entry in the config, but the issue is that it only supports one server. It's better to support multiple servers and the tool chooses the working server and abandons the banned server.
My suggestions,
1, Make "reseed-from" entry in the config be able to be multiple, such as "reseed-from-0", "reseed-from-1", etc.
2, If there is no any "reseed-from", or all "reseed-from"s don't work, the hard coded servers are used.
I'm happy to do it if we confirm it.
By submitting this issue, I confirm the following:
The text was updated successfully, but these errors were encountered: