PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.27k stars 424 forks source link

Incoming connection from invalid IP #1991

Closed GamePlayer-8 closed 10 months ago

GamePlayer-8 commented 11 months ago

Good morning,

I've got a problem with i2pd router running inside of a rootless container, using slirp4netns.

Router keeps sending errors like:

NTCP2: Incoming connection from invalid IP 10.0.2.100
SSU2: Incoming packet received from invalid endpoint 10.0.2.100:39164

Configuration file i2pd.conf.

yhaenggi commented 11 months ago

Use a real stack, not an userspace emulation (slirp in this case).

GamePlayer-8 commented 10 months ago

There's no solution towards slirp networking?

orignal commented 10 months ago

You must exclude it here https://github.com/PurpleI2P/i2pd/blob/openssl/libi2pd/util.cpp#L644