Comments (9)
I would prefer to return CANT_REACH_PEER error in this case
from i2pd.
after discussion, Java I2P agrees with orignal that we should send CANT_REACH_PEER, and propose to make that change in our code unless somebody can come up with a good reason why we should support loopback
from i2pd.
I confirm this behaviour, with 2.50.1-8-g5cf1961f.
from i2pd.
Check for self address was added intentionally, with this commit: d81ca5f.
However, no one remember why it was needed to be done this way.
I tried to disable check here:
Lines 446 to 452 in dfe8b25
Connection established correctly, nothing exploded.
But I can't be sure that it is safe to make such change of course.
from i2pd.
I don't see a reason why a destination should be able to connect to itself. For testing purposes, just create two session. Hence this check was added to avoid some potential security breaches.
from i2pd.
Probably related:
qbittorrent/qBittorrent#10791
arvidn/libtorrent#7479
from i2pd.
from i2pd.
I just thought i should report it because it also causes log spam with messages like "Remote LeaseSet not found" and "Can't send packets, missing remote LeaseSet, sSID=..."
from i2pd.
https://i2pgit.org/i2p-hackers/i2p.i2p/-/merge_requests/173
from i2pd.
Related Issues (20)
- NAT46 support request HOT 3
- SAM stream creation with incompatible crypto key type
- [Question] - How to backup current i2pd address and transfer to a new machine? HOT 8
- Weird padding calculation for SSU2Session Token Request HOT 6
- Multi Homing issues with address selection HOT 1
- update/fix default values in config file and remove outdated information HOT 3
- understanding spammy error log entries. HOT 7
- undefined reference to i2pd HOT 12
- boost undefined symbol error when linking with mold HOT 2
- [Feature] Reseed on network up HOT 6
- Accept Contributions/PRs from Who Involved in Monero HOT 4
- I2PControl: RouterManager method returns invalid JSON when unknown params are passed
- [BUG] Yggdrasil crashing i2pd HOT 2
- Possible to introduce an alternative GUI based on GTK? HOT 4
- i2pd browser is dead HOT 4
- nullptr deref
- not run on qnap armv7 docker HOT 3
- network dead? HOT 20
- SEGV HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from i2pd.