-
sech1
-
sech1
in a form of university course
-
sech1
and Knuth's TAOCP
-
aum
xmrpow the wonderful thing about Java is it feels so good when you move on to a freer, less "choking tie, starch shirt and tight suit" language :)
-
aum
for myself, I can't stand Java for actual development; its red tape slows down the thinking terribly
-
xmrpow
sech1: I dont know this specific book, but we talked about the efficiency of datastructures and things like standard sorting algos.
-
sech1
We used Pascal and later Assembler for as languages for learning. Pascal was nice learning language for its strict grammar and type checking, Assembler was good for learning low level
-
sech1
and data structures/algorithms to learn programming in general
-
sech1
good combo
-
xmrpow
so you studied computer science right?
-
sech1
yes, in university
-
ocb
hmmm something is wrong
-
xmrpow
sech1: When I started with computer science we had to learn haskell :-D
-
ocb
something is really wrong. starting monerod with 0.17.1.5 docker image 18081 is open to local, however when started with 0.17.1.7 image same config .. 18081 does not open ...
-
selsta
ocb: rpc?
-
selsta
look into --rpc-restricted-bind-ip
-
ocb
yep rpc
-
selsta
by default restricted rpc binds on 127.0.0.1 now
-
xmrpow
sech1: Could you recommend some other good computer science books, which are worth to read?
-
sech1
-
sech1
that one is a huge fat book
-
ocb
yep, rpc-bind-ip=172.x.x.x rpc-bind-port=18089 rpc-restricted-bind-port=18081 confirm-external-bind=1 restricted-rpc=1 .. with 0.17.1.5 i can see the 18081 is open, but with 0.17.1.7 same config 18081 is c losed
-
xmrpow
sech1: Ok thanks, I gonna give it a try. Im sure it is not that complicated like these german study books. Germans normally make things more complicate than they are in reality;)
-
selsta
ocb: yes, add --rpc-restricted-bind-ip 172.x.x.x
-
ocb
selsta: when was this introduced, between 0.17.1.5 and 0.17.1.7 ?
-
ocb
selsta: thank you. back on the road.
-
selsta
-
selsta
we did not intentionally break backwards compatibility
-
selsta
but new behavior makes more sense
-
selsta
now you can bind unrestricted to e.g. local and don't have to worry about firewall
-
ocb
selsta: it does, i wondered earlier why there isn't such an option and was confused with rpc-bind-restricted
-
ocb
i planned to make building auto, but now.. think i'll just leave it on manual or it will require manual checks.
-
ocb
thanks for the help!!
-
ocb
s/manual/multiple/
-
ocb
selsta: i wondered for a moment, could the same people be behind attacks on electrumx servers (mainly btc) and on monero. whoever it is, they keep hitting but in the case of electrumx they are using client vulnerability to scam coins
-
selsta
unlikely the same people
-
selsta
our attacker is monero focused and mostly cares about annoying users
-
ocb
i see you are probably right. i didn't even know until now about ongoing monero attacks. maybe my ip was low in their list :)
-
ocb
have a good day /away
-
viperperidot[m]
What is the correct current block height?
-
viperperidot[m]
Not sure if my node is under attack right now or not
-
selsta
2260297
-
nioc
2260297
-
selsta
w0w
-
nioc
u faster than a bot :)
-
ocb
lol
-
viperperidot[m]
Ok thanks looks like im good
-
viperperidot[m]
Is there a way to know that your block height is correct?
-
selsta
xmrchain.net
-
cryptorchist
Wishing you guys the best in fighting against the attack. Happy holidays!
-
nodlr
phew. finally updated monerod and applied banlist
-
nodlr
Was reading the /r/monero and looked like my monerod got killed
-
nodlr
bastards >:O
-
moneroist
No remote node will get my view key until I set up node as trusted right?
-
hyc
node never gets your key
-
moneroist
I was guessing about it, but then what is trusted daemon option?
-
hyc
the daemon will see transactions you create
-
moneroist
what benefits then are?
-
hyc
on an untrusted node, the wallet will ask for blocks around the height it wants
-
hyc
to obscure which one is the block of interest
-
hyc
on trusted node, it will ask for exactly the block it wants
-
hyc
so trusted node will be more efficient
-
hyc
on a trusted node, the wallet can turn mining on and off. untrusted node can't.
-
hyc
various other stuff
-
moneroist
ok thanks for explain :)
-
ask6155
hello
-
ask6155
I'm in the process of syncing pruned monero blockchain. The syncing was going pretty fast till 50% after which it has slowed down to a crawl.
-
ask6155
Why is that?
-
hyc
the early blockchain was mostly empty blocks
-
ask6155
huh?
-
hyc
not many transactions were happening early in monero's life
-
hyc
the latter half of the blockchain has a lot more activity, more volume
-
ask6155
how long is it supossed to take to sync a pruned blockchain?
-
hyc
and also heavier crypto algorithms, so more CPU-intensive to verify
-
ask6155
how can I increase the syncing speed?
-
hyc
hard to say. dunno what's bottlenecking for you - network, CPU, or disk
-
ask6155
I have 20mbps, 2 cores and a rotating disk.
-
hyc
probably disk is too slow
-
hyc
but you should check a performance monitor to see what's busy
-
moneroist
rotating disk is a biggest bottleneck
-
moneroist
with SSD sync is finished something about 12h as I remember, with HDD it is something about couple days maybe week
-
ask6155
cpu is at 60%, internet usage is not capping at all (at about 200KBps) I think it is the hardrive. ;(
-
hyc
how much RAM have you got? running windows or linux?
-
ask6155
linux. I have 4GB
-
hyc
you can tweak the OS a little to use RAM more aggressively
-
hyc
in /proc/sys/vm
-
hyc
echo 90 > dirty_ratio
-
hyc
echo 60 > dirty_background_ratio
-
hyc
echo 60000 > dirty_expire_centisecs
-
hyc
then run monerod with --db-sync-mode fast:async
-
hyc
or fast:async:10000
-
hyc
oh, and also echo 0 > swappinessappiness
-
hyc
... echo 0 > /proc/sys/vm/swappiness
-
hyc
that will leave data cached in RAM for up to 10 minutes, default is only 30 seconds
-
hyc
greater caching will lighten load on the HDD
-
hyc
if you have a system crash, you may lose more data, so don't do this if you have unstable power or other shaky environment
-
moneroist
hyc maybe do you know hot to read mdb files on linux?
-
moneroist
I was try using mdb-tools
-
moneroist
but with mdb-parsecsv there is core dumped :?
-
hyc
there's no csv data in the blockchain db
-
hyc
mdb-tools is for M$ Access db files. monero uses LMDB
-
moneroist
uhh you are right I forgot about it
-
moneroist
ok so even when it is lmdb how to open/read this on linux?
-
kloinka
Is there a bug/attack on latest monerod? The service seems to be using excessive memory.
-
moneroist
I see there is lmdb in linux apt but can not install it
-
moneroist
I will only open/read lmdb database with python?
-
Mochi101
kloinka, yes
-
kloinka
Thought so , thanks...I tried --limit-rate and --in-peers paramus but didnt help.
-
moneroist
on reddit you have post with recipe how to prevent but it is hotfix
-
kic0
use --ban-list
-
ask6155
I think there's still some problem. After doing all what you said. I still at 50% and it says estimated time to finish is 1 month!
-
asok
a node with 64 GB ram crashed, but another one with 256 GB survived
-
asok
does anyone know how many nodes were taken down?
-
asok
(approx.)
-
Jaska_
by whom and when?
-
asok
ref: topic
-
kic0
is this on v017 release or master only?
monero-project/monero #7138
-
moneroist
how to prepare transfer for submit by rpc wallet? there are methods transfer, submit_transfer, sign_transfer what is the flow? I would like to get preinformation before send tx like fee and so on
-
binaryFate
-
binaryFate
first you create it with 'do_not_relay' set to true, and store the hex result. You can then relay the hex transaction after doing your checks
-
moneroist
@binaryF
-
moneroist
binaryFate oohh I see it, thanks!
-
kloinka
Thanks Mochi101, --ban- list worked a charm! 😁
-
kloinka
Spoke too early...service fails after a short time.
-
vekin
I've had it up for over 24 hours with the new banlist but its using 17.7G of ram D:
-
vekin
23h cpu time too which seems a bit high
-
sech1
8G ram used after 3 hours on my node, tor ban list helps but not entirely
-
kico
-
kico
:P
-
LyzaL
selsta new candidates for the block list
paste.debian.net/1178369
-
kico
-
kico
if anyone wants a script to see if node is synced
-
LyzaL
-
kico
not optimal but it works
-
LyzaL
that file should include some tor exit nodes that aren't in block_tor.txt
-
LyzaL
kloinka not sure if you caught my last message before disconnecting but have you tried this list?
gui.xmr.pm/files/block_tor_new.txt
-
LyzaL
contains additional tor exit nodes, may help with the memory issues
-
vekin
LyzaL: yeah i've been using it and it lets me keep my node up longer but I'll have to wait for the real fix, I saw some patches on github but they aren't commited yet
-
LyzaL
guess I'm lucky so far
-
LyzaL
I have a little script that bans node displaying the +2 issue but I think the nodes causing oom crashes aren't doing the +2 thing
-
vekin
I have an increased number of allowed incomming connections and good bandwidth so the problem is probably made worse by that
-
vekin
i don't get the +2 issue any longer with the block list
-
LyzaL
cool, I wasn't either but I just found some that aren't on the list yet
-
vekin
i do get the synchronized ok messages extremely frequently though, probably around 1 per second
-
d3cker
hello, @vekin unfortunately I have the +2 issue with ban list. It occured after few hours. OOM not showing on build from last night (so far). Has anyone tried PR with --enable-dns-blocklist feature?
-
kico
i tried but seems to be only included in master ?
-
vekin
I don't think any of the oom/cpu/bad peer handling is merged yet, the last commit was 7 days ago
-
d3cker
so it's placebo effect then
-
kico
ye
-
kico
lol
-
vekin
it hasn't been very long though they are moving really fast already
-
kico
.git push
-
kico
if one updates block.txt the node is using do the changes get picked up by it ?
-
vekin
i think you have to restart monerod and reload the blocklist
-
kico
yeah that's what I thought thanks for confirming
-
LyzaL
kico I made a little script to update the ban list without restarting
paste.debian.net/1178373
-
LyzaL
also here is one that does some rough detection of nodes causing the +2 issue
paste.debian.net/1178372
-
kico
naisu! thanks!
-
LyzaL
for the second one you'll have to change the monerod path if you use it
-
kico
sure I can see /path/to/monerod
-
kico
thanks! this helps :)
-
LyzaL
you bet
-
selsta
LyzaL: do you run my block list?
-
LyzaL
selsta I do
-
LyzaL
were some of those IPs already on it?
-
selsta
yes
-
LyzaL
hmmmm
-
selsta
159.65.173.58 is a new one
-
selsta
can you double check?
-
LyzaL
double check what, that I'm using the list?
-
selsta
14:10 <LyzaL> selsta new candidates for the block list
paste.debian.net/1178369
-
LyzaL
159.65.173.58 is on block_tor.txt
-
selsta
yes I added it 1 sec ago :D
-
LyzaL
haha ok
-
LyzaL
I've been banning them manually, so Ig let me restart monerod and see what happens
-
h2017
my node died at least once in the night. i noticed that the ban list has been updated again with 6 new entries. I have applied the new ban list. I hope that helps
-
selsta
the problem is my list does not include tor relays with exit policy for 18080
-
selsta
gui.xmr.pm/files/block_tor_new.txt is a more complete list but might also contain false positives
-
h2017
ok i'll keep it in mind
-
h2017
i don't know anything about the release schedule, so forgive this question. Does anyone have any kind of back of the envelope estimate of when fixes might arrive in a production release?
-
selsta
-
h2017
would it be worth it for me to compile from git?
-
h2017
as someone who's willing to do it but it goes outside my comfort zone a bit
-
selsta
we hopefully have a release out in 24-48h
-
agentpatience
Can we just hve one banlist, no there are 3?
-
agentpatience
now
-
Jaska_
just keep banning them manually
-
Jaska_
list will be old after few hours
-
anchor[m]
Damn, are we banning tor nodes now
-
selsta
only exit nodes, and also only temporary
-
selsta
you can still use monero with tor using --tx-proxy
-
kico
.onions should not be affected by the ban list?
-
selsta
yep
-
kico
makes sense
-
sugaring[m]
What stops the sender from spending the receivers output. I don't see a signature on the transaction. Only one is the RingCT signatures.
-
mfoolb
I've just read a reddit post on r/monero asking to start a public node.. while I really agree on supporting monero, I think that some kind of disclaimer from a security perspectvice should be needed (most of the comments I read are from guys trying to use their home pc)
-
selsta
-
sugaring[m]
When do I prove ownership of an output I own? Would this happen in the ring signature?
-
mfoolb
selsta: I was referring specifically to the reddit post.. considering the levels of the comment I highly doubt that they are all aware of the security concern.. I thought that some of the moderator could add something about it.. even this link you gave (maybe with the 'this is a must' in bold too)
-
sech1
sugaring you can spend an output only if you have a private spend key for this output, it's not related to ring signatures
-
sugaring[m]
Whoever has the address’s key owns the output. But what stops the sender from referencing my output as the one to be spent. Where does the ownership happen?
-
moneromooo
The sender does not know the output's secret key. It needs the receiver's secret spend key to derive.
-
moneromooo
But the sender can reference that output in another tx, 10/11 are outputs not necessarily owned by the sender,
-
sugaring[m]
I understand that part. The sender knows the value and the blind to the Pedersen commitment. Can't he just rebuild it his side and spend the output?
-
h2017
how does more public nodes strengthen the network. fluffypony said to just run a node open for p2p (which I'm doing)
-
h2017
this is about the r/monero thread asking for more public nodes
-
dEBRUYNE
mfoolb: I suppose I can write a comment and sticky it
-
dEBRUYNE
What do you expect to be there?
-
mfoolb
dEBRUYNE: Well, first of all thanks. I thought it could be useful to explain that it is better to use a dedicated machine and one you surely don't use to browse the web, send e-mail, daily routine..
-
sugaring[m]
moneromooo: What stops this from happening?
-
mfoolb
ofc if I'm not the only one seeing this as a potential problem for supporting users
-
dEBRUYNE
Especially for an RPC node, yes
-
h2017
can a mod on reddit just remove that post and replace it with a better one? It should say more p2p-facing nodes
-
h2017
open to p2p traffic (i don't know what the best terminology is)
-
selsta
both are useful for the network
-
h2017
asking people to run public nodes right now will just cause mass confusion
-
h2017
selsta why are the rpc-facing nodes beneficial to the network?
-
selsta
because the reality is that not everyone runs their own node, even if in an ideal world this would be the case
-
selsta
but yes p2p nodes help way more than public rpc nodes, but every rpc node is also a p2p node
-
h2017
i add what fluffypony said to me (he said to just run an rpc-facing node) to the comments will people get angry?
-
sugaring[m]
<sech1 "sugaring you can spend an output"> Does that mean I need to sign the transaction?
-
h2017
would other like it if i ran another node from my same IP address?
-
h2017
or is there a way that i can make my existing node do more than it's doing?
-
Frenn_
weird my monerod was "Unable to send transaction(s), no available connections" and i needed to kill -9 to reboot cause no command worked really weird
-
dEBRUYNE
Frenn_: Are you running with the --ban-list flag?
-
Frenn_
dEBRUYNE: yes
-
selsta
what do you mean with no command worked?
-
h2017
if I increase the number of outgoing connections (say from 12 to 24) will that help the network?
-
selsta
Frenn_: let’s see if it happens again
-
LyzaL
having more outgoing increases your connectedness to the network so you get blocks faster, but allowing more incoming connections is the bigger thing. I think incoming is unlimited by default though
-
h2017
yes o
-
h2017
i;ve got unlimmited incoming, so i think i'm helping the network as much as i can (without running a fully public node)
-
h2017
i actually don't want to run a public node ever. i think it disincentivises people to run their own nodes
-
selsta
keeping the node updated helps the network
-
h2017
my nodes on 24/7 now. it's always updated
-
p0nziph0ne
Frenn_: i had the same message starting monerod with ban list
-
p0nziph0ne
but monerod works normal for me
-
selsta
yea the message can happen on startup
-
Frenn_
p0nziph0ne: my node was stuck :(
-
p0nziph0ne
selsta: what is the cause for this message?
-
selsta
I can imagine that it is a check running too early
-
selsta
no available connections is probably correct directly on startup
-
selsta
it just should not print yet
-
selsta
-
p0nziph0ne
but unable to send transaction sounds not very confident
-
p0nziph0ne
when this is not an error in regard to the network attack, thats good
-
selsta
p0nziph0ne: yea it is not related to the attack and should get fixed
-
p0nziph0ne
thanks
-
sugaring[m]
I'm confused and need some help. When Bob spends his output. At what point does he prove ownership?
-
sugaring[m]
Does Bob use the private key/ public key generated from the one-time address to sign the ring signature?
-
sugaring[m]
Does the ring signature's public key relate to the outPk (output public key)?
-
sugaring[m]
What stops Alice from using Bob's commitment when she know the value and the blind?
-
needmoney90
The key image
-
needmoney90
the key image is kind of like a one-way fingerprint of the true spend of the ring
-
needmoney90
cant fake it
-
sugaring[m]
needmoney90: I'm reading zero to Monero second addition and there they explain it as follows.
-
-
sugaring[m]
* To spend his ‘0’ amount output [sic] in a new transaction, all Bob needs to do is prove ownership
-
sugaring[m]
by signing a message with the one-time key K . The private key kB is the ‘spend key’ since it
-
sugaring[m]
is required for proving output ownership, while kBv is the ‘view key’ since it can be used to find outputs spendable by Bob
-
sugaring[m]
But I don't see any signatures in the transaction structure. Only one is the MLSAG.
-
sugaring[m]
So at what point does the above happen? That's confusing me.
-
aum
monerod doesn't like the format of my mining receive address
-
selsta
mining to subaddresses is not supported
-
aum
oh ok
-
aum
thanks selsta, now working, and compliments to the devs for the configuration options; nice to have mining stealing only non-essential CPU cycles
-
aum
what's the general drill for raising pull requests for contributed code?
-
selsta
aum: can you rephrase?
-
aum
selsta if I want to add code, eg API verbs for showing node mining stats, then what is the procedure for submitting code for inspection, with a view to possible acceptance into the core codebase?
-
selsta
just submit a pull request
-
selsta
no special procedure