Show Idle (>14 d.) Chans


← 2021-11-12 | 2021-11-14 →
shinohai: wb billymg
asciilifeform: billymg: loox like we aint peered yet; send me a pgpgram
asciilifeform: lessee how well deduper worx
asciilifeform: billymg: ty, added...
asciilifeform: billymg 205.134.172.29:61474 None atm
asciilifeform: i suspect it's waiting for an incoming
billymg: asciilifeform: my /at command doesn't show you
asciilifeform: nor wot ?
billymg: the wot does, and shows the key
asciilifeform: didja add asciilifeform ?
billymg: because i manually added
billymg: i haven't manually added to the at, no
asciilifeform: strange that it dunwork then
asciilifeform: my station is defo sending to yours
asciilifeform: billymg: are you behind a nat ?
billymg: if you send me your ip i can manually add you
billymg: asciilifeform: i don't think so
asciilifeform: you are aintcha
billymg: i'm running it off my rk
asciilifeform: billymg: i.e. the port you gave is the permanent one the thing is listening on?
billymg: yep
asciilifeform notices that it's the rk, lol, nao
asciilifeform: odd, loox like bug, then
billymg: the one i set with the '--irc-ports' flag
asciilifeform: AT oughta update as soon as it receives a valid packet from $peer
billymg: hrm
billymg: for all my other peers i manually added
billymg: !. uptime
bitbot: billymg: time since my last reconnect : 0d 0h 12m
billymg: no AT entry for bitbot either
asciilifeform: billymg: per spec, AT only gotta be manually fiddled on ~one~ end
asciilifeform: billymg: are you peered with it ?
billymg: asciilifeform: i ran /peer bitbot, yes
asciilifeform: and /key i assume
asciilifeform: defo bug , then
billymg: no, not key
asciilifeform: ah if no key then it aint peered
billymg: ah, ok
billymg: would that mean my bot code needs some pest commands too then?
asciilifeform: a peering, per spec, needs /peer, /key (on both ends) and /at (on one end, and if 1 end is behind nat, then that one)
billymg: not sure i understand how the keying would work in the context of bots
asciilifeform: billymg: to peer a bot, quickest thing would be do 'drive it manually' for a session (i.e. insert ordinary irc client in its place)
asciilifeform: billymg: try adding /AT asciilifeform 71.191.220.241 50725
asciilifeform: ( thing is, this'll only work until asciilifeform has to cycle the station , cuz, nat. the auto-updater gotta work )
billymg: asciilifeform: now you show up with /at
asciilifeform: not seeing billymg in mine tho
asciilifeform: billymg 205.134.172.29:61474 None
asciilifeform: billymg: are you seeing sumrhting other than 'None' for asciilifeform's at entry?
asciilifeform: (timestamp)
billymg: nope
billymg: only user i see a timestamp for is awt
billymg: and he's also the only user i've been able to privmsg
billymg: i just tried sending one to you, assuming you didn't see it
asciilifeform: billymg: who do you have keys for ?
billymg: all of them
asciilifeform: so sumthing defo wrong there
billymg: very possible it's my end
asciilifeform: rright but what.
asciilifeform: evidently billymg's peering w/ awt worx
asciilifeform: but not with anyone else
asciilifeform: billymg: leave your station running, maybe we can help awt debug when he returns
asciilifeform: i'ma leave mine going, tho gotta bbl soon
asciilifeform: billymg: your port is 'high'
asciilifeform: in theory it aint externally-reachable at all
billymg: ahh
asciilifeform: billymg: pick sumthing below 32768
asciilifeform: but before resetting, say what it is
billymg: ok, will try a little later, and notify here
asciilifeform: awt must be reaching billymg through an ephemeral on the latter's end
asciilifeform: so not bug.
asciilifeform: billymg: ty
asciilifeform: btw once we have http://logs.nosuchlabs.com/log/asciilifeform/2021-11-11#1065121 , this'll be a much lesser concern
asciilifeform: ( tho erryone in e.g. asciilifeform's dc can easily have a perma-port, just need to remember to set one below 32768 , under linux higher ones aint externally routed into )
shinohai: Speaking of yer dc asciilifeform, wat do with this rk jurov gave me access to ?
asciilifeform: shinohai: it's running http://btc.yt/lxr/satoshi/source/ , let it alone for nao
asciilifeform: shinohai: eventually i'ma consolidate whole thing ( still hoping to get tarball of original www from jurov )
shinohai: $vwap
shinohai: $vwap
busybot: The 24-Hour VWAP for BTC is $ 64672.71 USD
shinohai: So I can crash blatta by doing this: `echo "Here is some garbage" | socat - udp:<myip>:7778`
shinohai: wait - seems to be anomaly now correctly rejects as malformed packet
asciilifeform: shinohai: hm so did it crash (paste eggog) ?
shinohai: Only happened once, now just rejects the packets as it should.
asciilifeform: shinohai: right, but do you still have the barf from that crash ?
asciilifeform: i expect awt will find it interesting
shinohai was just curious what would happen if I fed garbage to socket ....
asciilifeform: ( recall, this is intended specifically a device for eating unlimited liquishit w/out choking )
asciilifeform: shinohai: from your description i suspect the current proggy doesn't handle malformed packets properly
shinohai: Nah it keeps running now when I send it garbage, outputs this:
shinohai: 2021-11-13 19:17:47.014037 [67.166.203.177:37831] -> 6875656875656272
shinohai: Discarding malformed black packet from 1IRaEkAxKn7ltD1R3zfA9CQIyincq0ppgRme/sNoMuYihksPsFOY3pSpK<.......>
asciilifeform: shinohai: see if you can set up sumthing to feed it liquishit, replicate crash
asciilifeform: given as you saw 1
shinohai: I'll bang out a bash script to it automajically and see what happens (now that station is remote on znc server).
asciilifeform: shinohai: loox like your last msg seen by log bot but not asciilifeform's station
asciilifeform: this one shows
asciilifeform: maybe 1st confirmed case of udp packet loss since we started, lol
asciilifeform: ( 'getdata' is the eventual pill, there )
shinohai: OOOOH I know what's up, I restarted with fresh db so asciilifeform isn't in my peers .... AGAIN.
shinohai: Now lessee
asciilifeform: aa lolk
asciilifeform suggests to awt that blatta oughta emit sumthing like 'hey wot is empty... add some peers?' to irc session
asciilifeform: wb billymg
asciilifeform: and hmm awt, where does the ip in e.g. '(billymg@179.50.191.76) has joined #pest' come from ? (given as he hasn't showed up in asciilifeform's AT..)
billymg: asciilifeform: that's the ip i'm connecting from at home
asciilifeform: rright but q was re how it ended up in the console
asciilifeform: given that billymg's home station has not ended up in my AT
billymg: not sure, but for clarity, i'm not running a station at home, i'm connecting to my remote pest station via a standard IRC client
asciilifeform: (i.e. evidently i'm seeing billymg via hearsay atm)
asciilifeform: billymg: even more odd, then
asciilifeform: awt: if stations are in fact broadcasting 'hellos' of some kind, containing local ip -- this aint in-spec.
asciilifeform: nobody but a direct peer has any biz knowing your ip (either station's or irc console's)
asciilifeform must bbl
awt: asciilifeform: yeah I think the irc server includes your client host info as part of your id in the irc messages. Should be able to mitigate that server side.
asciilifeform: awt: makes sense
asciilifeform evidently had a rather narrow view of irc protocol on acct of only ever having written bots, which simply ignore 95% of it, rather than server
asciilifeform oughta actually read the whole rfc, lol
asciilifeform: awt: simplest 'mitigate' is to simply (as per spec) only pass along from irc to pest 1) nick 2) msg payloads
← 2021-11-12 | 2021-11-14 →