Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect if using i2p-zero, disable I2CP Check in that case #12

Open
eyedeekay opened this issue Jan 6, 2020 · 0 comments
Open

Detect if using i2p-zero, disable I2CP Check in that case #12

eyedeekay opened this issue Jan 6, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@eyedeekay
Copy link
Collaborator

If the user is using i2p-zero for I2P, chances are they don't have an I2CP port exposed, which we use to detect the presence of an I2P router before attempting to connect to SAM. That way if the router is present but SAM isn't enabled we can advise the user to enable it. So instead, we need to check for I2CP, then attempt to connect to SAM. That way we have 4 states. No I2CP or SAM, I2CP but not SAM, SAM but not I2CP, and I2CP and SAM. We can adjust the action we take or advise for the user based on this state, in the case of SAM but not I2CP we can assume the I2P router is i2p-zero.

@bonedaddy bonedaddy added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants