-
sethsimmons
Is there a flag/command for getting network usage totals from monerod?
-
selsta
print_net_stats
-
sethsimmons
Wow thats amazing
-
sethsimmons
TY
-
sethsimmons
1.11GB rx, 15.78GB TX in 6h since updating to v0.17.1.8
-
sethsimmons
And what’s the correct value to pass to the limit-rate args to make it unlimited? -1?
-
sethsimmons
I don’t want to limit mine at all.
-
selsta
I guess you can set it to a large number
-
mnt_grrrl
limit-rate-up=1048576 # 1048576 kB/s == 1GB/s; a raise from default 2048 kB/
-
mnt_grrrl
s; contribute more to p2p network
-
mnt_grrrl
limit-rate-down=1048576 # 1048576 kB/s == 1GB/s; a raise from default 8192 kB/
-
mnt_grrrl
s; allow for faster initial sync
-
mnt_grrrl
Received 18215268 bytes (17.37 MB) in 8963 packets in 21.8 minutes, average 13.61 kB/s = 0.00% of the limit of 1.00 GB/s
-
mnt_grrrl
Sent 30734462 bytes (29.31 MB) in 5347 packets in 21.8 minutes, average 22.96 kB/s = 0.00% of the limit of 1.00 GB/s
-
selsta
I don’t seem to hit the limit on my node, on the one with the most traffic I get `31.07% of the limit of 2.00 MB/s`
-
tevador
my node has already sent 6 GB of data in less than 1 hour after updating to .8, I think the traffic used to be lower
-
mnt_grrrl
yea I am not seeing anything close to the limit
-
selsta
(12.31 GB) in 584016 packets in 5.6 hours is the most I have
-
selsta
sent
-
mnt_grrrl
tevador, what modes are you running clear, i2p, and/or tor? Any tips for increasing the traffic
-
selsta
but I assume less nodes that allow incoming connections online due to OOM attack -> more traffic
-
tevador
Sent 6749917619 bytes (6.29 GB) in 276931 packets in 55.6 minutes
-
tevador
I have 128 out peers
-
sethsimmons
Exposing RPC greatly increases traffic
-
selsta
that explains it, mine is default 12
-
binaryFate
<sethsimmons> And what’s the correct value to pass to the limit-rate args to make it unlimited? -1? <--- yes, check monerod --help
-
sethsimmons
I did, it wasn’t clear.
-
binaryFate
true, it doesn't say -1 is unlimited. Though it can't be anything else :)
-
selsta
-1 seems default
-
sethsimmons
It’s... oddly written and handled
-
sethsimmons
print_net_stats implies the default for up/down limits is enforced
-
selsta
settings limit_down -1 inside monerod sets it to default
-
sethsimmons
But the —limit-rate arg says its default is -1, which would imply unlimited.
-
selsta
--limit-rate might be unset, but --limit-rate-down and --limit-rate-up are set
-
selsta
that’s how I understand it
-
sethsimmons
I had none of them set explicitly
-
sethsimmons
But all three imply they have defaults that conflict in help
-
mnt_grrrl
tevador, is 128 out a good idea
-
sethsimmons
And print_net_stats implies that monerod is ignoring —limit-rate -1
-
selsta
(=2048) means 2048 is set by default
-
sethsimmons
Yes
-
sethsimmons
But how can it be set to a limit and —limit-rate set to unlimited at the same time by default 🤔
-
tevador
mnt_grrrl lower chance of getting eclipsed and I think it helps block/tx propagation; I've been running like this since before the attacks
-
sethsimmons
Also increases the chance of connecting to an attacking node and increases your proportional load on the network.
-
sethsimmons
Generally it’s recommended to keep out_peers at the default from most people I’ve talked to about it.
-
sethsimmons
But I haven’t seen a detailed/in-depth breakdown of the clear risks/benefits.
-
selsta
sethsimmons: it uses the lowest set limit
-
selsta
--limit-rate 500 will mean up and down are 500
-
selsta
ok no
-
selsta
just set --limit-rate to a large number
-
selsta
./monerod --limit-rate 100000 works for example, print_net_stats show 100MB/s
-
sethsimmons
Cool, I’ll just set that arg moving forward.
-
sethsimmons
I just restarted with up/down set to 1GB/s
-
agentpatience007
Do we still need to use block_tor.txt?
-
selsta
for now, no
-
selsta
you can use
gui.xmr.pm/files/block.txt or no block list
-
coffeeroaster
sech1: sysctl -w vm.nr_hugepages=2048 did the trick thanks!
-
sethsimmons
You can also use —enable-dns-blocklist if you’d rather use that method/not pass a file.
-
hyc
interesting, I actually have a fair numbero f outbound i2p and tor connections now
-
mnt_grrrl2
hyc, outgoing tor are client or peers?
-
hyc
I'm talking p2p
-
M5M400
selsta: will using dns blocklist automatically refresh and reapply regularly, or only on daemon restart?
-
p0nziph0ne
M5M400: good q
-
sech1
M5M400 dns blocklist updates without restarts
-
M5M400
nice
-
M5M400
daily? hourly? on change?
-
sech1
-
M5M400
thx sech1
-
sech1
FUK's nodes are stuck at blocks 2263958 and 2263960 :D
-
M5M400
poor fuknodes
-
sech1
I'm running without the blocklist and they're stuck, lol
-
M5M400
updated my pub node and a couple pool nodes... let's see if this any good
-
M5M400
:P
-
hyc
nice
-
hyc
tho, not sure why old nodes would be stuck. just means no real nodes will talk to them any more?
-
sech1
I don't think everyone updated already
-
sech1
Maybe it's a bug in the fake nodes
-
mj-xmr
Thank you all for working on the release.
-
rotten
<3
-
mj-xmr
I'd hate to brag, but if fighting off attacks becomes a priority, I know a wide range of machine learning and signal processing methods (from advanced down to the simplest, not requiring 3rd party dependencies). This could help in creating a time series signal of the connections and detecting anomalies in an elegant and not hard-coded way.
-
mj-xmr
-
mj-xmr
Nowadays with the ML methods availability, the hard part is actually the data preparation.
-
hyc
ML works after you have a good profile of good vs bad
-
hyc
we don't really know what bad traffic looks like until we've seen a lot of it
-
mj-xmr
The novelity detection takes care of that.
-
hyc
it may be novel and legitimate though
-
hyc
?
-
mj-xmr
It depends how you define it.
-
hyc
yes, and that's the hard part
-
mj-xmr
No ML method is 100% free of false positives and false negative detections. But you may damp (not entirely block) the traffic of those nodes who the system detects as novel. The hardcoded algos will on the other hand be 100% effective for the DEFINED rules, but may have loopholes for the other ones.
-
mj-xmr
Also, you can create a simulation of an attack, not only work on the live organism.
-
mj-xmr
Think of it as an audit.
-
mj-xmr
-
mj-xmr
So much for theory. I still think that the hardest part is data preparation and creating a solid simulation.
-
mj-xmr
(fuzzer style)
-
mj-xmr
"we don't really know what bad traffic looks like until we've seen a lot of it" -> apart from having the pre-trained ("off-line") model, the wallet could continously collect new data and update the model ("on-line training").
-
mj-xmr
All doable.
-
selsta
M5M400: you should wait with enable-dns-blocklist until the next release, seems there is a deadlock
-
selsta
no one reported it yet but if you are unlucky your node could freeze
-
selsta
but DNS block list does automatically refresh without restarting
-
mj-xmr
I'll be back tomorrow. HNY!
-
fhvusxzlg
Will you HODL XMR or dump it to buy Tari when it comes out?
-
obnnheao
jess: I can tell you why you can't stop the 'spam'. You are thinking in cult doctrine. If it was real spam, and I was selling Viagra for example - you could easily ban keywords and urls. Instead, stop being a sheep, think like a cult leader. Recoginse that this 'spam' is just some bullshit that you tell to the sheep.
-
obnnheao
When you do that, solution will present itself. Observe. 'spam' -> 'fireice_uk talks bad things about Monero on our IRC' (Don't say that out loud obviously, that will get you excommunicated) Solution? Get off-the-shelf sentiment analyser, detect anyone who 'talks bad things about Monero' and ban them.
-
mfoolb
is it possible to limit max traffic for a public node on a daily/weekly/monthly average?
-
dEBRUYNE
You can implicitly do it with the limit-rate / limit-up / limit-down flags I guess
-
mfoolb
ok, I'll look into that
-
Yonatan[m]1
Anyone has problems with broadcasting transactions?
-
Yonatan[m]1
My transactions sometimes get stuck and I have to use relay_tx to get them through.
-
dEBRUYNE
Yonatan[m]1: which version are you running?
-
Yonatan[m]1
I also get a "unable to send transaction(s) over tor - no suitable outbound connections at height (block height)" often
-
Yonatan[m]1
<dEBRUYNE "Yonatan: which version are you r"> Latest 0.17.1.8 - Oxygen Orion
-
Yonatan[m]1
CLI
-
Yonatan[m]1
> <@freenode_dEBRUYNE:matrix.org> Yonatan: which version are you running?
-
Yonatan[m]1
* Latest: 0.17.1.8 - Oxygen Orion
-
Yonatan[m]1
My args are: --enable-dns-blocklist --tx-proxy tor,127.0.0.1:9050 --rpc-bind-ip (IP) --rpc-bind-port 18081 --confirm-external-bind --restricted-rpc
-
Yonatan[m]1
* I also get a "unable to send transaction(s) over tor - no suitable outbound connections at height (block height)" error often
-
hyc
that's quite common
-
Yonatan[m]1
<hyc "that's quite common"> Any way I could mitigate this?
-
Yonatan[m]1
This is getting rather annoying.
-
hyc
haven't seen any reliable way yet, no
-
hyc
txns are still being broadcast over clearnet tho
-
Yonatan[m]1
Should I just disable Tor then?
-
Yonatan[m]1
It's not that critical but I prefer it on rather than off
-
hyc
why? leave it up, eventually some conns will settle down
-
Yonatan[m]1
I haven't had that issue before the attacks started happening.
-
binaryFate
Maybe because lot of people were/are still blocking tor nodes (as mitigation to attack). With new version helping against attack, they might unblock them
-
Yonatan[m]1
My Monero node just crashed
-
Yonatan[m]1
New attack maybe?
-
Yonatan[m]1
[batch] DB resize needed and then a crash
-
Yonatan[m]1
<binaryFate "Maybe because lot of people were"> So I would have to turn off Tor?
-
tevador
FYI, if your node keeps crashing with OOM, ban TOR exit nodes
-
tevador
there is a new attack
-
dEBRUYNE
tevador: Can you elaborate on the new variant?
-
M5M400
sigh
-
sethsimmons
Welp...
-
sethsimmons
No issues here with OOM attack, but I’m running with DNSBL
-
sethsimmons
I’ll get alerts the moment it happens to my node so I’ll report back if I do run into issues.
-
Inge-
5 hours since I had a "Synchronized OK" entry in my log (0.17.1.7 with regular blocklist)
-
sethsimmons
-
sethsimmons
Running without issues other than that, this one doesnt seem RandomX related and I’ve bumped my huge pages up to what I’ve seen recommended.
-
Lyza
<binaryFate> that doesn't make since, relaying transactions over tor doesn't use exit nodes
-
Lyza
<Yonatan[m]1> try adding some tor peers with --add-priority-node which will cause the daemon to attempt to always maintain a conenction to those nodes. hacky but will actually make tor / i2p relays more reliable
-
YourFutureMiner
jess: I can tell you why you can't stop the 'spam'. You are thinking in cult doctrine. If it was real spam, and I was selling Viagra for example - you could easily ban keywords and urls. Instead, stop being a sheep, think like a cult leader. Recoginse that this 'spam' is just some bullshit that you tell to the sheep.
-
netrik182[m]
I'm running monerod using this
github.com/monero-project/monero/bl…/contrib/tor/monero-over-tor.sh#L69 and --enable-dns-blocklist and still got a dozen "Unable to send transaction)s) to tor" in the last ~12 hours
-
selsta
enable-dns-blocklist is not related to this
-
Lyza
a dozen in 12 hours is pretty normal even using priority nodes
-
Lyza
I've got 16 such messages in 12 hours using i2p with like 4 or 5 priority nodes. The good news is it prints those messages any time all the connections drop, even if it's just for a second or two, so at least in my case it's still pretty reliable despite how often that message is printed
-
Lyza
<netrik182[m]> ^^
-
Lyza
there's also a github issue if u want to follow, #6631
-
netrik182[m]
Lyza: good to know, thanks. I thought my setup could be missing some config as I'm not well versed in tor/networking
-
Lyza
you could always add a couple more priority nodes to the script, or use both i2p and tor
-
netrik182[m]
<Lyza> there's also a github issue if u want to follow, #6631 << will follow
-
Yonatan[m]1
My node was crashed again, I have enable-dns-blocklist on
-
selsta
-
sethsimmons
OOM or something new Yonatan?
-
selsta
not sure if it is a good idea to add tor nodes to DNS block list
-
Yonatan[m]1
OOM
-
Yonatan[m]1
Something slipped through
-
selsta
it’s a different attack than previosuly
-
Yonatan[m]1
Not sure about that
-
Yonatan[m]1
Something must've slipped through
-
selsta
from logs it does not seem like the same attack
-
Yonatan[m]1
Shouldn't the latest version fix the OOM bug?
-
sethsimmons
It fixed the known attack vector that causes it.
-
sethsimmons
This is using a new attack vector apparently, but same end DoS result.
-
Yonatan[m]1
I hope the attacks wouldn't last long
-
Lyza
cool I just saw one start in my node in real time when I opened htop
-
Lyza
lmk if I should collect logs and what log info would be good or if I should just block these chuds. sounds like u might have what u need
-
mfoolb
anyone can explain this: 020-12-31 14:56:10.682I ----- BLOCK ADDED AS ALTERNATIVE ON HEIGHT 2264332
-
moneromooo
At the time stated, a block was finished processing as the height stated, not on the main chain.
-
mfoolb
I have 66% of connected peers in synchronizing state and has been so for a couple of hours, it is ok?
-
selsta
yes, you can ignore it
-
Yonatan[m]1
How can I make monerod restart automatically after a crash?
-
sethsimmons
Are you running it as a service or via Docker?
-
sethsimmons
The example systemd script will automatically restart after a crash.
-
Yonatan[m]1
I just run it using ./monerod
-
selsta
Yonatan[m]1: did you add the Tor ban list again?
-
Yonatan[m]1
<selsta "Yonatan: did you add the Tor ban"> Will do.
-
selsta
with that it should rarely crash
-
Yonatan[m]1
Done
-
Yonatan[m]1
but how can I make it restart automatically if it crashes?
-
selsta
maybe sethsimmons can explain
-
sethsimmons
<Yonatan[m]1 "but how can I make it restart au"> How are you running the node now?
-
Yonatan[m]1
<sethsimmons "How are you running the node now"> Just running ./monerod
-
Yonatan[m]1
and detaching it
-
sethsimmons
On Linux?
-
Yonatan[m]1
Yeah
-
sethsimmons
Ok let’s go to DMs.
-
Mmmmmmmmmm
If I'm running a full node, and I submit the Prune Blockchain command to the Json RPC, and I'm running a full node, it'll start the pruning process, and return when it's done?
-
Mmmmmmmmmm
-
Mmmmmmmmmm
Also what is the `bool check` variable there?
-
Mmmmmmmmmm
Couldn't find that command in the documentation, but found it under the JsonRpc section of
github.com/monero-project/monero/bl…ob/master/src/rpc/core_rpc_server.h
-
selsta
there is a check pruned status command
-
selsta
bool check might be related to that
-
Mmmmmmmmmm
What does the check do?
-
selsta
Check if the blockchain is pruned I assume
-
Mmmmmmmmmm
So why is it false by default?
-
moneromooo
You really don't want to prune a synced chain. Resyncing will be much faster.
-
moneromooo
I suspect pruning a full chain would need doing it in stages, but it's more time I want to spend on it.
-
Mmmmmmmmmm
So resynching in pruned-mode is better than pruning a synched chain, is that right?
-
Mmmmmmmmmm
Maybe I should just not support this RPC command?
-
agentpatience
I have a question for the devs... I started solo mining to my own node and within 2 weeks with only 20k/h I was able to discover a block. I put all my racks mining to the node to gather round 230 K/h per second in 2 weeks I found nothing. Was it just luck of the draw or am I doing something wrong?
-
sech1
<monerobux> At 20000 h/s with network diff of 2.25e+11 your expected time for find a block is 1.12e+07 s or 130.09 days
-
moneromooo
You will need.... wait for it..... patience.
-
sech1
<monerobux> At 230000 h/s with network diff of 2.25e+11 your expected time for find a block is 9.77e+05 s or 11.31 days.
-
moneromooo
Thanks for helping the network, that block might have prevented a 51% attack from succeeding.
-
sech1
Your time to find a block can be 1% of expected time or it can be 700-1000% if you're especially unlucky.
-
ndorf
agentpatience: we make your first block real easy, just to get you hooked.
-
agentpatience
The idea of running my own node to support the project seems like a no brainer to me. Its the only way the system will survive in the future? One must think about the future, when the ROI on mining becomes much lower it will prevent manay people from running thier own nodes? not like now, where there is incentive, but what happens when much of the incentive is gone?
-
moneromooo
There's a misunderstanding. Running a node doesn't force to to mine.
-
agentpatience
ndorf... i thought there might be some kind of trickery going on with beginners luck
-
moneromooo
If you meant "if there's no money in it anymore, who's gonna mine", then noone will (ie, if the exhcange rate goes to zero).
-
agentpatience
I realize this Moneromoo... I am not using the built in mining tool for the node... i mine with xmrig instead... is there any problem with that? also - I wanted to ask if there is any good reason to compile wallet from source instead of uning precompiled linux bins?
-
moneromooo
No problem with that.
-
moneromooo
Building your own is just good habit I guess. Protects against the builder of precompiled ones being an attacker.
-
moneromooo
Though reproducible builds have make this harder to pull off.
-
ndorf
agentpatience: i'm just kidding, of course. there's no trickery, you just got lucky. hope it keeps up :)
-
moneromooo
You do become more vulnerable to your compiler being backdoored, but if that happens, everyhting else probably also is.
-
moneromooo
Do check the GPG signatures on the git commit you use though.
-
moneromooo
Now, git's still not super great against high end attacks IIRC, but that can also go thorugh a hgonest builder anyway so you don't lose anything there.
-
agentpatience
when i look at all my miners it looks like they are all doing the same work on the same or similar block heights, is that normal?
-
ndorf
well they should all be on the same block height -- the current one
-
agentpatience
I am bringing down all my systems for a update right now my node is in a Dell VRTX a 2695 V4 that mines to itself then I have 3 other 2695 v4's that mine to that on top of this I have a M1000E 16x 2690 v2 mining to that node via xmrig. I have 2 prototype E7 quad processor rigs which are going down for updates as soon as Vertex is updated
-
gingeropolous
agentpatience, im curious, do you have a single node as the primary daemon, and on the other machines, your pointing xmrig to that single node?
-
agentpatience
How do I post photos here? -- Ginger to answer your question I just have a single node Daemon on my VERTEX slot 1 which is a 2695 v4
-
agentpatience
all the other guys run xmrig only and mine to that one node.
-
agentpatience
I heard there is another way to monitize my systems using this RPC thing, can anyone explain to me in simple terms if it is feasable or useful for my situation?
-
moneromooo
It's a system that allows you to require others to prove they mine to your address.
-
moneromooo
You can then require such proof before giving access to a service.
-
moneromooo
The builtin service is RPC access to monerod.
-
moneromooo
Primo (software) uses this for web server access (ie, mine to an address the web server gives you, see the pages when you proved doing so).
-
moneromooo
It's theoretically usable for anything "paywally".
-
agentpatience
lol Paywally, is it related to the monero project?
-
netrik182[m]
paywally in the sense that anything that can be put behind a paywall
-
netrik182[m]
news, for exemple
-
agentpatience
PRIMO is a computer software that simulates clinical linear accelerators (linacs) and estimates absorbed dose distributions in phantoms and computerized tomographies.
-
agentpatience
oh ffs
-
moneromooo
Right. If paywally is some software, it's just a name collision.
-
moneromooo
-
agentpatience
I just don'
-
agentpatience
I just don't get it
-
agentpatience
what use is this, ven if it is marketed properly?
-
agentpatience
hardly anyone in the camps i visit can even explain this stuff
-
agentpatience
If someone is maintaining node they are doing more work than just mining maybe RPC should be intergrated in that? It seems we need kickbacks for futures in Monero, where theres inventive to at least if mining goes to shit to run a node?
-
agentpatience
incentive and minig won't be the same in 5 years.
-
moneromooo
Either I got drunk *fast* or this is hard to understand.
-
agentpatience
The AMD 8000X will be out and will do roughly 100 K/h sec on its own!
-
agentpatience
lol
-
agentpatience
sorry my new years eve beers may have screwed with my grammer and spelling lol
-
agentpatience
I guess I still don't understand the functionality of RPC with monero wallet or with the daemon. If I made your hash and proved your data is correct with the team in the network, that is what it is saying?
-
ndorf
the wallet needs to use the daemon, via RPC, to scan for incoming transactions and transmit outgoing ones.
-
selsta
.merge+ 7244 7243
-
xmr-pr
Added
-
ndorf
if you don't have your own daemon, you can use a public one, which has the option of charging you for this service in the form of mining
-
agentpatience
ahh, that sounds cool
-
selsta
.merge+ 7237 7239
-
xmr-pr
Added
-
Snipa
.merges
-
xmr-pr
7237 7239 7243 7244