RNS Logo

rns.recipes

◈ 9ce92808be498e9e05590ff27cbfdfe4
https://rns.recipes/forum/general/important-security-notice-media-conversion-in-rngit-and-nomadnet

nomadnet I2P auto import/disabled interface issues (linux ubuntu server)

NomadNet Help

Started by oatmilk! 47829b93a57f1d41... ·

oatmilk! 47829b93a57f1d41...
edited #1

when being an idiot (yes i know lol) and having a i2p connection in your config file, while not having i2p or i2pd installed on the system (or maybe not running??), and then going to disable it through the nomadnet UI for interface management (and then going to restart your RNS system) RNS(d) (and nomadnet) will not open due to content not actually added by the user.

 

i'll make a ledgeable bug report prollllyyy tmr afternoon, it's 4:30am and i need to get some sleep

 

 

[[Catz Node I2P]]
type = I2PInterface
enabled = yes
peers = f77ptezksg4qr4rdike5t2kj3hh2oa7l7qmohqwow6uc6evzjjtq.b32.i2p

 

is what i put into the nomadnet through
image.png
image.png

 

when i added it, i had a I2P implementation installed(and running, but was unable to connect). i only removed I2P after restarting the first time to see if i could get a connection, and deemed i couldn't, and thus gave up.

 

after disabling it through [C-o] in nomadnet to try and come back to it later with a more rested brain.
the lines that caused
image.png
to happen were added

 

 

unsure if this is intended behavior that lacks a sanity check, or an actual significant bug i found by being a dumbass

Mark 8dd57a7382268096...
#2

Ah! That is interesting. So if you actually pasted it just as above, with no other entries, there does seem to be a bug somewhere in the flow that adds the interface to the config file. It looks like it might have added it with ifac_size = None, which is not a valid config option (it has to be an integer), and therefore it errored out when you then started it later.

 

It's probably in the nomadnet config file write handling somewhere.

 

Could also add a check to the RNS config loading, but honestly I prefer for it to raise an error if there's something completely nonsensical in there, so users don't just end up running a config that is different from what they think.

oatmilk! 47829b93a57f1d41...
#3

Mark wrote:

[...]

 

can confirm, pasted as shown, and it probably added that line after i disabled the interface

 

honestly my preferred behavior would be for it to notify of the error, and offer to remove the affected entry or comment it out or something

Post a Reply

Supports Markdown: **bold**, *italic*, `code`, ```code blocks```, [links](url)

Log in to upload images

Quote
Copied to clipboard