-
Cydodop
hi
-
Cydodop
how to unblock host that is blocked
-
moneromoooo
unban IPHERE
-
Cydodop
thnx
-
moneromoooo
Though it'll get blocked again if there's a good reason for it.
-
Cydodop
why daemon block so fast my node
-
Cydodop
i have 2 nodes
-
moneromoooo
set_log 1, see errors
-
Cydodop
i c only blocked
-
Cydodop
"host .... blocked"
-
moneromoooo
OK, maybe one of the cases is missing a L1 log then.
-
Cydodop
maybe is need of other log level
-
moneromoooo
You can try 2 I guess, though in theory 1 is enough.
-
Cydodop
where are the criteria for blocking anyhost
-
Cydodop
config.h ?
-
moneromoooo
Mostly cryptonote_protocol_handler.inl and net_node.inl
-
Cydodop
how to make host never banned
-
moneromoooo
Early out in... block_host IIRC.
-
moneromoooo
Probably not the right thing to do though.
-
moneromoooo
The host connection will be dropped even if not banned.
-
Cydodop
i didnt understand
-
Cydodop
there is no block_host on monerod
-
moneromoooo
There is, I just looked: src/p2p/net_node.inl
-
Cydodop
nknown command: block_host
-
moneromoooo
git grep block_host - it's a C++ function.
-
Cydodop
this function is not inserted on arguments code!
-
Cydodop
i saw that but someone forgot it to insert as command on daemon
-
moneromoooo
You use it with "ban IP". It's also used for programmatic bans.
-
Cydodop
ah u mean to create script?
-
wfaressuissia[m]
-
wfaressuissia[m]
`while true; do; sleep 30; curl -v
localhost:18081/json_rpc -d '{"method":"set_bans","params":{"bans":[{"host":"88.99.55.66","ban":false},{"host":"99.88.77.66","ban":false}]}}'; done;`
-
wfaressuissia[m]
something like
-
Cydodop
wfaressuissia thnx
-
Cydodop
even peerlist can be banned?
-
wfaressuissia[m]
even some peerlist can be banned somehow
-
wfaressuissia[m]
I don't understand your question
-
Cydodop
u answered
-
Cydodop
thnx again
-
Cydodop
i checked commands on daemon but is not smth like unblock_host IP
-
Cydodop
why to create script
-
Cydodop
i have node one here one there
-
Cydodop
why to bother with script
-
moneromoooo
"unban" in the monerod console.
-
Cydodop
there is no unban forever
-
moneromoooo
But you really want to work out why a host is getting banned.
-
Cydodop
i checked defines cryptonote_protocol_handler.inl
-
Cydodop
but is complicated
-
Cydodop
why every that has monero must be a hacker
-
Cydodop
simple things
-
Cydodop
unban allday IP
-
Cydodop
not unban and in 1min banned
-
selsta
Cydodop: set log level 2 and then search for ban message to find out why you are getting banned
-
Cydodop
"LOG_PRINT_L1("Transaction already seen with bad semantics, rejected");"
-
Cydodop
this is the error message
-
moneromoooo
That's cached, restart monerod and check what the error was the first time.
-
Cydodop
ok
-
Cydodop
if i increase this to 20 will be a problem "P2P_IP_FAILS_BEFORE_BLOCK"
-
moneromoooo
No.