diva-exchange / i2p

I2P Layer of diva.exchange. Based on i2pd, see https://github.com/PurpleI2P/i2pd
GNU General Public License v3.0
30 stars 8 forks source link

[BUG] Interface binding unavailable/`IP_BRIDGE` unused. #6

Open mtalexan opened 10 months ago

mtalexan commented 10 months ago

Because of https://github.com/diva-exchange/i2p/issues/5, only settings which are exposed as environment variables are available for configuration.
This doesn't include the ifname, ifname4, or ifname6. A very common option needing configuration is the interface binding to ensure traffic goes thru a specific network.


There seems to be an attempt to set this automatically that's only half setup. The entrypoint.sh parses the default route interface as IP_BRIDGE and does a sed replacement of it in the copy of the i2pd.org.conf, but there's no appearance of that variable anywhere in the i2pd.org.conf.

I'm not sure this is even necessary, I believe the i2pd application will use the default route if none is specified.

ShrirajHegde commented 1 month ago

I think #10 also fixes this by making i2pd.conf available for edit after the first run.

You can modify the i2pd.conf from the mount.