Unrestricted monerod RPC exposed to the internet via monero.polensky.me #8
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
polen/nixos#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
monero.polensky.me(HTTPS and plain HTTP vhosts indevices/server/configuration.nix) proxies toasus:18081. That port is the full, unrestricted monerod RPC (services.monero.rpc.address = "0.0.0.0"indevices/asus/configuration.nix).Anyone on the internet can call admin methods:
stop_daemon,start_mining(to their own address),set_limits, peer bans, txpool flush.Fix
rpc-restricted-bind-ip=0.0.0.0,rpc-restricted-bind-port=18089inservices.monero.extraConfig).services.monero-wallet-monitor.daemonAddressat the restricted port.Done when
curl https://monero.polensky.me/stop_daemonno longer reaches an unrestricted endpoint, and wallets and p2pool still sync.Lauria referenced this issue2026-11-22 16:02:43 -05:00