| Time |
Nick |
Message |
| 08:28 |
|
mmorgan joined #evergreen |
| 09:24 |
|
Dyrcona joined #evergreen |
| 09:37 |
Bmagic |
anyone have a bead on where we got these supybot plugins? This feels close https://github.com/gsf/supybot-plugins/tree/master/plugins |
| 09:37 |
Bmagic |
It's startring to look like we're not going to get Python3 versions of these plugins |
| 09:37 |
jeff |
I'm happy to help with the IRC stuff. What are you trying to do? |
| 09:38 |
jeff |
And no, that's not what import config is trying to do/use. |
| 09:38 |
Bmagic |
Trying to get it to run on this new VM |
| 09:38 |
Bmagic |
I got pinesol_dev logged in, but the plugins are "not compatible" example log message: Failed to load Blame: This plugin may be incompatible with your current Python version. |
| 09:39 |
jeff |
I can take a look this evening/weekend. Am I remembering correctly, that we lost the bots VM for some reason and we need to make it work on another VM, like the webserver VM? |
| 09:40 |
jeff |
Is there a particular rush that you're jumping in on this, or are you just feeling like you're on a roll and trying to Migrate All The Things? |
| 09:41 |
Bmagic |
As far as I know, it's working fine on the old server (lupin) which is currently running Debian Stretch, so, we're migrating it's stuff to a new VM running a modern OS (24.04) |
| 09:41 |
Bmagic |
Stretech hit EOL in 2020 |
| 09:42 |
Bmagic |
and another EOL date in 2022 |
| 09:42 |
jeff |
correct, though LTS brought it through 2022, it's past its time. |
| 09:42 |
* jeff |
nods |
| 09:42 |
Bmagic |
that's the reason for what I'm doing |
| 09:42 |
jeff |
This all started because you're trying to build a new thing for presentations? |
| 09:42 |
Bmagic |
Pretty close too, I got the fastCGI irc logger to work |
| 09:42 |
Bmagic |
well, yeah |
| 09:43 |
Bmagic |
but now I'm focused on getting all the things off this ancient machine and working on something that we can carry into the future |
| 09:44 |
Bmagic |
website is working, irc logger is working (ilbot). And supybot is working (without plugins of course) |
| 09:44 |
Dyrcona |
I'd say meetbot is the most important plugin. The rest are games. |
| 09:45 |
Bmagic |
"Failed to load MeetBot: This plugin may be incompatible with your current Python version." |
| 09:45 |
Bmagic |
maybe we just install python2 and wash our hands |
| 09:47 |
Bmagic |
lol, looks like the repo is called "deadsnakes" ppa:deadsnakes/ppa |
| 09:47 |
Dyrcona |
Bmagic: Maybe I can fork it and bring it to Python 3. It's usually not that hard. |
| 09:47 |
jeff |
yeah, let's not do that without a better plan. |
| 09:47 |
Dyrcona |
https://github.com/rkdarst/MeetBot/ |
| 09:47 |
Bmagic |
I'm in favor of bringing the plugins up to python3 |
| 09:48 |
Dyrcona |
That's the "official" repo. |
| 09:48 |
Bmagic |
I was referring to Python2 RE deadsnakes |
| 09:48 |
Dyrcona |
Hasn't been touched in 16 years. |
| 09:48 |
Bmagic |
dang, last commit 16 years ago |
| 09:48 |
Dyrcona |
Yeah, gotcha. |
| 09:49 |
Dyrcona |
I've ported a few programs to Python 3 before, mostly my own scripts. |
| 09:49 |
jeff |
oh, I was wrong. we do still have the eg-bots VM. that will be handy. |
| 09:49 |
Bmagic |
it looks like if we want these to work on python3 we're going to have to do it. Browsing the code, it seems that a plugin consists of two py files and really only one that has any substance |
| 09:49 |
jeff |
it's running ubuntu, unfortunately. ;-) |
| 09:50 |
Bmagic |
the target OS for what I'm doing is Ubuntu |
| 09:50 |
Dyrcona |
Well, we could use eg-bots, but csharp_ and I briefly discussed shutting some of them down. |
| 09:50 |
Dyrcona |
jeff: I believe all of the new vms are set up with Ubuntu. |
| 09:52 |
jeff |
Dyrcona: that might be what I remember. do you recall the reason why? |
| 09:52 |
Bmagic |
jeff: FYI, you have a shell account on this new machine (eg-web is the name) |
| 09:53 |
Dyrcona |
jeff: csharp__ would know the reason. I think it had something to do with ITS, but these have been sitting there for years untouched. |
| 09:54 |
* jeff |
nods |
| 09:54 |
Dyrcona |
I just forked meetbot. I'll see if I can get it working with Python 3. |
| 09:54 |
Bmagic |
Dycrona++ |
| 09:54 |
Dyrcona |
Maybe not today. |
| 09:54 |
Bmagic |
Dyrcona++ # even |
| 09:59 |
jeff |
oh, on your earlier SIP over TLS/SSL question, I'd use openssl. |
| 09:59 |
Dyrcona |
Bmagic: how did you install supybot? pypi? |
| 09:59 |
Bmagic |
apt package limnoria-master |
| 09:59 |
Dyrcona |
OK. |
| 10:00 |
Dyrcona |
We use stunnel for SIP over SSL. |
| 10:00 |
Bmagic |
I'm aware |
| 10:01 |
Dyrcona |
heh. |
| 10:01 |
Dyrcona |
Thought you might be aware. :) |
| 10:01 |
jeff |
openssl s_client -connect SERVER:PORT -servername something.example.com |
| 10:01 |
Dyrcona |
Limnoria is still being worked on. |
| 10:01 |
jeff |
-connect is for your hostname or IP and port. -servername is for the value for SNI in the Client Hello. |
| 10:02 |
Dyrcona |
jeff++ # I've used openssl for testing things in the past, but usually use stunnel for production. |
| 10:02 |
Bmagic |
jeff: is that a cheatcode for connecting to SIP over SSL? |
| 10:02 |
jeff |
by default, it'll proceed even if certs don't validate, and it'll emit a lot of useful (or annoying) info about the certs and the negotiated protocol. |
| 10:03 |
jeff |
Bmagic: yes, sorry, that was what I meant by "on your earlier SIP over TLS/SSL question, I'd use openssl" |
| 10:03 |
Bmagic |
ok great, thanks! jeff++ |
| 10:03 |
Dyrcona |
Bmagic: s_client makes a ssl connection to the -connect endpoint. It's useful for connecting to anything. |
| 10:04 |
jeff |
useful for interactive testing/debugging. |
| 10:07 |
Bmagic |
trying it, it appears I have a place to transmit a message over the pipe? Tried my 93 login packet and it's not responding. What am I missing? |
| 10:08 |
jeff |
openssl's s_client command has an abundance of options, including -starttls, which is useful for if you're connecting to something that's plaintext by default but requires some kind of STARTTLS negotiation to begin the TLS conversation. -starttls accepts options for protocols it knows about, like smtp, imap, ftp, irc, xmpp, etc. |
| 10:08 |
jeff |
yes, it should work similar to a raw netcat or telnet connection in that you have a chance to send lines to the remote socket endpoint. |
| 10:09 |
jeff |
you could also send a single line via usual shell pipe/redirect, I believe. |
| 10:13 |
jeff |
Bmagic: sorry, you probably also need -crlf for SIP |
| 10:13 |
Bmagic |
ah, let me try that |
| 10:14 |
jeff |
and Control-C to terminate the connection from your end. |
| 10:14 |
Bmagic |
ok that was what I needed, I got the 94 response |
| 10:22 |
* Dyrcona |
forgot he had a 10am meeting. |
| 10:33 |
csharp__ |
jeff: Dyrcona: when we met about new VMs back in 2019 we settled on Ubuntu because 1) predictable releases 2) PINES is an Ubuntu shop ... |
| 10:34 |
csharp__ |
and probably because at the time I feared ITS eyebrow-raising since they are a RHEL/Windows shop and already saw Ubuntu as an anomaly |
| 10:34 |
csharp__ |
history has borne out that they seem not to care |
| 10:35 |
csharp__ |
why do I have an extra tail, hmm? |
| 10:36 |
|
csharp_ joined #evergreen |
| 10:39 |
csharp_ |
Bmagic: some of the entertaining plugins were probably from zoia/code4lib's bot |
| 10:45 |
jeff |
indeed, which is deader than pinesol, unfortunately. you are unlikely to find python3 compatability there. :-) |
| 10:46 |
csharp_ |
yeah, they would need to be updated |
| 10:48 |
|
Christineb joined #evergreen |
| 11:27 |
Dyrcona |
Bmagic++ Investing SIP2 tunnel connections. |
| 11:30 |
Dyrcona |
Investigating, even. :) |
| 11:38 |
csharp_ |
"an excellent investment opportunity for you and your users!" |
| 11:43 |
Dyrcona |
:) |
| 12:00 |
|
jihpringle joined #evergreen |
| 14:33 |
|
sandbergja joined #evergreen |
| 17:03 |
jeff |
csharp_: vague "...in the offworld colonies" bladerunner vibes there? :-) |
| 17:27 |
|
mmorgan left #evergreen |
| 18:47 |
csharp_ |
jeff: :-) |