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

WHERE SENSE in rpc-login for both core and restricted RPC?! #9489

Open
itmagpro opened this issue Sep 23, 2024 · 1 comment
Open

WHERE SENSE in rpc-login for both core and restricted RPC?! #9489

itmagpro opened this issue Sep 23, 2024 · 1 comment

Comments

@itmagpro
Copy link

itmagpro commented Sep 23, 2024

Example config:

# Binding on 0.0.0.0 (IPv4):18081
# CORE RPC server initialized OK on port: 18081
# Initializing restricted RPC server...
rpc-bind-ip=0.0.0.0
rpc-bind-port=18081
confirm-external-bind=1
restricted-rpc=0
no-igd=1
rpc-login=login:password

# Binding on xxx.xxx.xxx.xxx(IPv4):18091
# RESTRICTED RPC server initialized OK on port: 18091
# Starting core RPC server...
rpc-restricted-bind-ip=xxx.xxx.xxx.xxx
rpc-restricted-bind-port=18091

Then, if we try login to CORE RPC or RESTRICTED RPC without --rpc-login=login:password flag, in both case we get this:

Error: wallet failed to connect to daemon: xxx.xxx.xxx.xxx:18091. Daemon either is not started or wrong port was passed. Please make sure daemon is running or change the daemon address using the 'set_daemon' command.
Background refresh thread started
[wallet xxxxxx (no daemon)]:

For CORE RPC ok, rpc-login set.., but for why he need to me on rpc-restricted-bind-ip?

What if I not want set password for rpc-restricted-bind?

In this case I see solution to make additional option like rpc-restricted-bind-login

ALSO...

[wallet xxxxxx (no daemon)]: help all
Commands:
...

Give us set_daemon option:

set_daemon <host>[:<port>] [trusted|untrusted|this-is-probably-a-spy-node]

But.., HOW WEE CAN connect with login password with this set_daemon option!?

[wallet xxxxxx (no daemon)]: set_daemon xxx.xxx.xxx.xxx:18091 trusted
Warning: connecting to a non-local daemon without SSL, passive adversaries will be able to spy on you.

WHERE set_proxy (direct access deny to remote IP from my network), set_allow_any_ssl or some thing else for connect to password protected node from wallet without exit?

[wallet xxxxxx (no daemon)]: version
Monero 'Fluorine Fermi' (v0.18.3.4-release)

...a raw fake...

@nahuhh
Copy link

nahuhh commented Nov 4, 2024

So this is a feature request for --restricted-rpc-login ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants