-
xmr-pr
moneromooo-monero opened pull request #6939: p2p: give all hosts the same chance of being picked for connecting
-
xmr-pr
-
moneromooo
Would be be OK with another release when the P2P connection patches are in, assuming they do ? They should hopefully fix the 3 minute relay time problem, though we'll only know for sure once most of the network has updated.
-
moneromooo
s/d b/d /peopl/
-
moneromooo
Oh, look, a stray slash.
-
moneromooo
vtnerd: you may want to check 6940 does not break something. The intent is to change the connections considered for stem phase destinations.
-
sech1
But what if a peer doesn't relay blocks to you because you always relay blocks to that peer first?
-
gingeropolous
then that peer isn't really integrated into the network
-
moneromooo
What does "But what if a peer doesn't relay blocks to you because you always relay blocks to that peer first?" mean ?
-
gingeropolous
it means that the peer is using you as its only connection to the network
-
moneromooo
Ah. Then it'll get dropped.
-
gingeropolous
which means it isn't worthy of receiving a tx
-
gingeropolous
( maybe? )
-
moneromooo
It sure is pointless to send stem txes to it.
-
moneromooo
And boy, do I hate this hard to read C++ style with structrures with operator() on them.
-
gingeropolous
i mean, does a peer first check whether a peer has a lower blockheight before sending a block?
-
gingeropolous
or it just blasts blocks to all of its peers
-
moneromooo
I tihnk it might test whether it's close enough, from memory.
-
moneromooo
Saves bandwidth if you think the peer will just drop it.
-
moneromooo
Something like a few hundred IIRC.
-
gingeropolous
well that could throw a spanner in this mechanism... if my node is height 4055, and a peer has a new block 4055, then it won't send to me?
-
gingeropolous
or does this mechanism "fib" to a peer and say "yeah i totally haven't gotten a new block..."
-
moneromooo
Hmm. Doesn't seem to do. Guess I never did it.
-
sech1
I mean if you happen to send new blocks to some peer all the time, would that peer send blocks to you if it knows you already have them?
-
moneromooo
No.
-
sech1
so this scoring system could block such peer
-
sech1
just because it has higher network latencies
-
xmr-pr
moneromooo-monero opened pull request #6940: protocol: don't stem transactions to peers who don't relay blocks
-
xmr-pr
-
moneromooo
You wold not select that node to test if you sent it the block.
-
moneromooo
So I don't think it'd get dropped.
-
sech1
ah, so you stop sending blocks to the nodes you test?
-
moneromooo
Yes.
-
moneromooo
And yes, it's easily bypassable.
-
sech1
I'm more worried about false positives. False negatives will always happen with empirical tests.
-
sech1
but forcing fake peers to relay blocks will certainly help the network :D
-
gingeropolous
wownero is gonna implement
-
UkoeHB__
how do nodes handle ddos of invalid tx? blacklist sender?
-
moneromooo
Depends why the tx isn't valid. If really really invalid, it'll end up blocked in many cases.
-
moneromooo
If I'm a node that has no incoming txes, I never the stem phases tx. It's intended, but it means a large part of the network is not used for dandelion routing.
-
moneromooo
In particular, since spies always allow incoming, it gives them a larger percentarge of that dandelion sub network.
-
kayront
so i've enabled inbound p2p connections over tor after discussing it here, and i'm seeing WAY more (like x20-x30) connections to my monero daemon vs bitcoin
-
kayront
.. that strikes me as a bit strange
-
yanmaani
gingeropolous: What if you just have 5000ms latency to network say? Like if you're using Tor with a bad circuit.
-
yanmaani
Wouldn't setting some sort of per-ASN limit cut down on the spy problem? Instead of saying "select 1 random peer", say "select 1 random peer weighted by how many peers I have who are in its ASN".
-
moneromooo
It would.
-
yanmaani
so if I have 83 Hetzner peers, 24 OVH peers, 4 OvO peers, and 23 random peers each on unique residential IP blocks, the probability of me picking a given residential node is going to be 83 times higher than Hetzner.
-
sech1
I think Bitcoin already has this type of filtering
-
sech1
Residential nodes usually have their ports blocked
-
sech1
For example I'm behind 2 NATs, no way to set up port passthrough
-
gingeropolous
u don't have access to the first NAT?
-
sech1
No, first NAT is off limits to me
-
sech1
2nd NAT is my router
-
dEBRUYNE
vtnerd: Please prioritize investigating #6929
-
dEBRUYNE
Getting numerous reports per day of people having their transactions stuck or failed
-
luigi1111w
any feedback on ccs 138?
-
selsta
I have been running the "detect and drop asshole peers" and checked every dropped peer against my list and did not have any false positives
-
gingeropolous
6939?
-
selsta
gingeropolous: 6936
-
selsta
did not tests PRs from today yet
-
selsta
test*
-
selsta
moneromooo: your patches all include if boost > 106600, but reproducible builds use 106400
-
selsta
we can bump the boost version for depends / gitian, or do you intend on changing this?
-
moneromooo
The make_address_v4 function appears in 1.66 AFAICT.
-
moneromooo
I suppose I could copy it.
-
» moneromooo looks
-
moneromooo
Actually 1.66 is from 2017, good enough.
-
selsta
good enough meaning we should update depends boost.mk file?
-
moneromooo
Yes.
-
selsta
TheCharlatan: do you think this will bump our minimum glibc
monero-project/monero #6693 ?
-
moneromooo
Actually, looks like this function's extractable...
-
TheCharlatan
Probably not, but could check.
-
selsta
extracting the function would be ideal, if possible
-
moneromooo
I'll make a PR, doesn't looks like it's pulling anything funky.
-
selsta
ty
-
moneromooo
And obviously they have a custom licence...
-
selsta
boost license should be compatible if the header is included
-
moneromooo
done
-
hyc
don't forget to create MONERO
-
selsta
ty
-
selsta
I would like to do a point release with mooo’s latest PRs relatively soon, seeing that we get a lot of reports of failed transactions
-
moneromooo
They would not fix the failed ones, just the after-three-minutes ones.
-
moneromooo
(unless the reason is 100% eclipsed nodes ?)
-
hyc
do users know that their txns haven't failed, and are just taking 3 minutes?
-
selsta
hyc: no, there is a bug that makes them fail
-
selsta
not only long delay
-
hyc
right, but how do users know the difference btw the two conditions?
-
moneromooo
Wait an hour :P
-
xmr-pr
moneromooo-monero opened pull request #6942: p2p: rewrite boost's make_address_v4 to cater for < 1.66
-
xmr-pr
-
selsta
moneromooo: the fail issue seems related to propagation after a timeout, so if we have less timeouts the issue should happen less often
-
selsta
hopefully :D
-
moneromooo
Would be nice to have people give opinions on how hard to club these nodes. Currently it's very slow.
-
selsta
hyc: yea not ideal, though we don’t display it as failed currently for the first 4.5 minutes
monero-project/monero #6914
-
moneromooo
I could test more than one peer per block (say, current out peers / 8 + 1 or so). This increases the probability that the peer also tests us at the same time -> both get a score drop.
-
moneromooo
I could also test txes, but that's probably exploitable I think.
-
selsta
moneromooo: does banning a node remove them from your peer list?
-
moneromooo
Also, sweet spot between banning for a day and banning forever. The banm will happn hours after start already.
-
moneromooo
I don't think it does.
-
» moneromooo goes look
-
selsta
because if we ban these nodes from seed nodes (and also remove them from peer list), plus having your PRs should be okay for now IMO
-
moneromooo
Doesn't appear to.
-
selsta
better to not set it too aggressive for now
-
iDunk
I see 6936 as an addition to 6920. 6920 (The Club) + 6936 (Heuristic).
-
selsta
is it a lot of working removing peers if you manually ban them?
-
selsta
code wise
-
moneromooo
No.
-
moneromooo
Could move them to grey, only white is sent.
-
selsta
sounds good
-
selsta
iDunk: yep agree
-
selsta
okay we have everything PRed now for a further point release
-
selsta
moneromooo: can you fix tests compilation with 6936?
-
xmr-pr
moneromooo-monero opened pull request #6943: p2p: remove banned peers from the white list
-
xmr-pr
-
selsta
iDunk: what do you think about this comment?
monero-project/monero #6920/files#r512230265
-
selsta
I don’t care which format we use.
-
iDunk
I actually prefer that the ban list is a separate file. Future additions could be subnet banning and 6936 writing to the ban list file.
-
iDunk
Btw, I have 0 bans with 6936.
-
selsta
start monerod like this: ./monerod --log-level 0,net.cn:INFO,net.p2p.msg:INFO
-
selsta
tail -f ~/.bitmonero/bitmonero.log | grep -E --line-buffered "bad peer"\|"waiting"
-
selsta
afaik it will only get banned if a peer gets dropped twice which will take a while
-
iDunk
I mean, I know it drops connections, but I'd expect "bans" to list any bans.