00:11 |
shinohai |
thimbronion: is specific version of python required to run ? |
| |
~ 28 minutes ~ |
00:39 |
billymg |
http://logs.nosuchlabs.com/log/asciilifeform/2021-07-30#1049465 << regarding the wp code viewer, users unfortunately must manually escape html characters (see this footnote containing a sed script which handles all the offending characters) |
00:39 |
dulapbot |
Logged on 2021-07-30 18:14:24 shinohai: thimbronion: Can has plaintext of alcuin code? I still am unable to get properly formatted code trying to copy from WP page. |
00:41 |
billymg |
but otherwise i copy/pasted what thimbronion has in his post and diffed it against the genesis he added and there was only one line that got munged L318 |
00:45 |
thimbronion |
shinohai: I'm using python 2.7 from inside pyenv. |
00:46 |
thimbronion |
billymg: I manually escaped those two right brackets - I guess the escaping doesn't get escaped! |
00:46 |
billymg |
thimbronion: i'm also using this extra bit of css to widen the code blocks, which i think improves legibility quite a bit, e.g. here |
00:47 |
billymg |
thimbronion: haha yeah, not that kind of escaping |
00:47 |
billymg |
needs to be the html kind, e.g. ] |
00:48 |
thimbronion |
ooooooh ok. |
00:54 |
shinohai |
thanx thimbronion will try from inside pyenv, got "ImportError: No module named lib.server" otherwise :/ |
00:57 |
thimbronion |
shinohai: it appears that one particular file didn't make it into the diff. You need an empty __init__.py file inside the lib dir for imports to work. |
00:57 |
thimbronion |
I'm not sure why vdiff would have skipped that file. |
01:00 |
thimbronion |
shinohai: here's a tarball that has everything: http://share.alethepedia.com/alcuin/alcuin-9999.tar.gz |
01:07 |
shinohai |
Hmm when I did the genesis I got a `lib/` directory and it contains: |
01:07 |
shinohai |
channel.py client.py funcs.py infosec.py peer.py __pycache__ server.py |
01:07 |
shinohai |
so yeah missing the init |
01:09 |
shinohai |
aha thimbronion just `touch __init__.py` indeed fixed it thanx |
01:15 |
shinohai |
I'm guessing because diff ignores empty files is reason that didn't make it into genesis. |
| |
↖ |
| |
~ 3 hours 1 minutes ~ |
04:17 |
signpost |
you'll have to put a single space in it for vdiff to bother with it |
04:17 |
signpost |
I had the same problem with pentacle; there's a hilarious number of empty files in gnat+deps |
| |
~ 3 hours 51 minutes ~ |
08:09 |
punkman |
http://logs.nosuchlabs.com/log/asciilifeform/2021-07-30#1049501 << also consider that you need some file contents to hash with V. |
| |
↖ |
08:09 |
dulapbot |
Logged on 2021-07-30 21:11:17 shinohai: I'm guessing because diff ignores empty files is reason that didn't make it into genesis. |
08:11 |
punkman |
do any of the Vs handle duplicate file contents with different file names? |
| |
~ 3 hours 44 minutes ~ |
11:55 |
shinohai |
http://logs.nosuchlabs.com/log/asciilifeform/2021-07-31#1049504 << good point, perhaps add comment to init file to accomplish this since empty file anyway. |
11:55 |
dulapbot |
Logged on 2021-07-31 04:05:35 punkman: http://logs.nosuchlabs.com/log/asciilifeform/2021-07-30#1049501 << also consider that you need some file contents to hash with V. |
| |
~ 2 hours 8 minutes ~ |
14:03 |
thimbronion |
Anyone know how to get vdiff to ignore a file, like .git, for example? |
14:13 |
thimbronion |
davout: belated reply to your comment: http://thimbron.com/2021/07/the-comms-chronicle/#comment-286 |
14:14 |
thimbronion |
The comment spam has gotten bad recently. |
| |
~ 35 minutes ~ |
14:49 |
shinohai |
$vwap |
14:49 |
busybot |
The 24-Hour VWAP for BTC is $ 41478.35 USD |
14:49 |
shinohai |
$uptime |
14:49 |
busybot |
The bot has been up for: 9 days 18 hours 29 minutes and 6 seconds |
| |
~ 1 hours 48 minutes ~ |
16:38 |
cgra |
looks like trb may be susceptible to a trivial DoS -- getting greeted by a pile of bloated agent strings, ~10MB each. |
16:38 |
cgra |
version parsing doesn't specifically limit the agent string size; GetRefCount() is special and plays a part; all the stale peer details (agent strings included) get kept in RAM for extra 15 minutes, after being disconnected (vNodesDisconnected). |
16:38 |
cgra |
it worked on my local node, so not yet tested in the wild. anyone willing to lend a node for target practice? |
16:38 |
cgra |
the issue was apparently handled in prb in 2014, by prohibiting agent strings beyond 256 bytes. the simplest fix i can imagine off-hand, is just truncating the agent string. i could't find any use of it, so could even truncate to just 32 bytes. |
| |
↖ |
| |
~ 15 minutes ~ |
16:54 |
asciilifeform |
cgra: this noad oughta make a suitable target. |
16:54 |
dulapbot |
Logged on 2021-07-30 16:46:30 watchglass: 205.134.172.27:8333 : Alive: (0.755s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=693450 (Operator: asciilifeform) |
16:54 |
asciilifeform |
!w probe 205.134.172.27 |
16:54 |
watchglass |
205.134.172.27:8333 : Alive: (0.086s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=693579 |
16:54 |
asciilifeform |
^ alive |
16:54 |
asciilifeform |
cgra: feel free to bake a vpatch, also, i'ma test & sign. |
16:54 |
* |
asciilifeform must bbl |
| |
~ 31 minutes ~ |
17:26 |
cgra |
asciilifeform: a modest row of 10 bombs apparently sank in, wasn't sure whether ok to sink the whole ship or not |
17:27 |
cgra |
i used 950000-byte agent strings |
17:28 |
cgra |
sorry, 9500000-byte |
| |
~ 3 hours ~ |
20:28 |
asciilifeform |
!w probe 205.134.172.27 |
20:28 |
watchglass |
205.134.172.27:8333 : Alive: (0.153s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=693602 |
20:29 |
asciilifeform |
cgra: still floating apparently ? |
20:29 |
cgra |
asciilifeform: yeah, no serious damage attempted |
20:29 |
asciilifeform |
cgra: feed it until falls down, lessee if actual leak or not |
20:30 |
cgra |
ok, sec |
20:30 |
asciilifeform |
a la 'wedger' |
20:30 |
dulapbot |
Logged on 2020-02-26 16:13:05 asciilifeform: bvt: http://nosuchlabs.com/pub/wedge/wedger.py ; and use with http://nosuchlabs.com/pub/wedge/snap_49999.txt or hash file of same format of your choice. |
20:31 |
cgra |
asciilifeform: my bomber is based on just that :) |
20:34 |
cgra |
asciilifeform: how does it look so far? |
20:34 |
asciilifeform |
!w probe 205.134.172.27 |
20:34 |
watchglass |
205.134.172.27:8333 : Alive: (0.125s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=693602 |
20:34 |
asciilifeform |
apparently not oom ? |
20:34 |
cgra |
can you easily watch ram usage? |
20:35 |
asciilifeform |
if it's a troo leak, wedger-style, oughta be able to fill it neh |
20:35 |
asciilifeform |
cgra: not from where currently sitting, unfortunately |
20:36 |
cgra |
asciilifeform: ok |
20:36 |
asciilifeform |
leave it to loop, why not, then !w probe etc. later in the day |
20:36 |
cgra |
asciilifeform: how much ram there? |
20:37 |
asciilifeform |
cgra: 4GB |
20:37 |
asciilifeform |
typically about half full (nuffin but trb on that box) |
20:37 |
cgra |
now down apparently |
20:37 |
asciilifeform |
!w probe 205.134.172.27 |
20:37 |
watchglass |
205.134.172.27:8333 : Could not connect! |
20:37 |
asciilifeform |
a++ cgra |
20:37 |
asciilifeform |
how many shots took ? |
20:37 |
cgra |
(or busy doing smth else...) |
20:38 |
asciilifeform |
nah if 'could not connect' means process killed. |
20:38 |
cgra |
asciilifeform: "a bunch", my methods weren't easily measurable |
20:40 |
asciilifeform |
ftr the linked prb patch against this booby -- sucks. instead oughta simply reject variable-length entities above 1e6 bytes (block size) ~and~ drop any peer which exhausts some arbitarry memory usage (say, 2 sd above avg) |
20:40 |
dulapbot |
Logged on 2021-07-31 12:34:35 cgra: the issue was apparently handled in prb in 2014, by prohibiting agent strings beyond 256 bytes. the simplest fix i can imagine off-hand, is just truncating the agent string. i could't find any use of it, so could even truncate to just 32 bytes. |
20:40 |
cgra |
asciilifeform: i suspect this is not even limited to the agent string, deeper down issue is possibly the std::vector "capacity" concept. |
20:42 |
asciilifeform |
aha |
20:42 |
asciilifeform |
the prb people, very characteristically, plugged wrong end of funnel. |
20:42 |
asciilifeform |
(how else to ~create~ the next exploitable 5 bugs...) |
20:44 |
asciilifeform |
cgra: 'EXCEPTION: St9bad_alloc' 'bitcoin in ThreadSocketHandler()' as expected. |
20:45 |
cgra |
right |
20:46 |
asciilifeform |
cgra: feel free to abuse that box further if you find it convenient. |
20:46 |
asciilifeform |
it's what it is there for. |
20:47 |
cgra |
asciilifeform: ok, thanks! does it need you to stand up if tripped? |
20:48 |
asciilifeform |
cgra: it does but i dun much care if it sits for a night |
20:48 |
* |
asciilifeform deliberately does not set these to auto-restart, it makes watching for this sort of thing trickier |
20:49 |
asciilifeform |
not erryone with a pill against trb helpfully brings it to #a ! |
20:49 |
asciilifeform |
(the previous wedger for instance did not) |
20:50 |
asciilifeform |
!w probe 205.134.172.27 |
20:50 |
watchglass |
205.134.172.27:8333 : Alive: (0.084s) V=99999 (/therealbitcoin.org:0.9.99.99/) Jumpers=0x1 (TRB-Compat.) Blocks=693604 |
| |
~ 1 hours 30 minutes ~ |
22:20 |
punkman |
https://www.reddit.com/r/Bitcoin/comments/osva08/robinhood_owns_more_bitcoin_than_microstrategy/ |
| |
↖ |
22:23 |
punkman |
https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html |
| |
↖ |
22:25 |
punkman |
22 bc1 addresses in top 100 |
| |
~ 28 minutes ~ |
22:53 |
punkman |
in usglolz: "A new provision has been added that expands the Tax Code's definition of "broker" to capture nearly everyone in crypto, including non-custodial actors like miners, forcing them all to KYC users." "This provision is part of the bipartisan & otherwise popular infrastructure bill, which is moving quickly through Congress & is highly |
| |
↖ |
22:53 |
punkman |
likely to pass." |
| |
~ 20 minutes ~ |
23:13 |
* |
lobbes comes up for air |
23:14 |
lobbes |
asciilifeform: just to update you: I haven't forgotten about getting logbot and auctionbot connected to arsenet (as well as setting up an ircd). I ended up quitting current saltmine and am in the process of selling house for hopefully a profit. I will be MIA for a bit longer |
23:14 |
lobbes |
once re-established a home base of operations, I'll be able to sort some things out |