~cnx

Ulsan, South Korea

https://cnx.gdn

Vietnamese free software enthusiast

Join the FSF

Trackers

~cnx/blackshades

Last active 8 days ago

~cnx/loang

Last active 24 days ago

~cnx/phylactery

Last active 11 months ago

~cnx/tzigame

Last active 1 year, 1 month ago

~cnx/ipwhl

Last active 1 year, 4 months ago

~cnx/pao

Last active 1 year, 8 months ago

~cnx/offre

Last active 1 year, 10 months ago

~cnx/meta

Last active 2 years ago

~cnx/brutalmaze

Last active 2 years ago

~cnx/axuy

Last active 2 years ago
View more

#27 Characters float on the street 8 days ago

FIXME added by ~cnx on ~cnx/blackshades

#27 Characters float on the street 8 days ago

Ticket created by ~cnx on ~cnx/blackshades

Sidewalk height is assumed even on the street.

#24 Sudden jerk while snipping 10 days ago

Comment by ~cnx on ~cnx/blackshades

Nguyễn Gia Phong referenced this ticket in commit 91197fe.

REPORTED RESOLVED FIXED

#26 Data dir should be created if not exists 10 days ago

Comment by ~cnx on ~cnx/blackshades

Nguyễn Gia Phong referenced this ticket in commit 2100f99.

REPORTED RESOLVED FIXED

#25 Off-by-one music switch 17 days ago

Comment by ~cnx on ~cnx/blackshades

Nguyễn Gia Phong referenced this ticket in commit e68d3ee.

REPORTED RESOLVED FIXED

#15 nginx falling back to adol.pw 24 days ago

Ticket created by ~cnx on ~cnx/loang

Unconfigured hosts get served the content of adol.pw instead of an error.

#175 Enable encrypted access to webmail via https a month ago

on ~migadu/alps

I've been running the email for my personal domain for decades. For at least the last 10 years it's been a combination of Exim, Dovecot, Roundcube (and all the baggage that comes with it), and some custom "certbot" scripts,  all on a Raspberry PI.  it's ugly and getting harder to maintain and justify.

I've (tentatively) replaced it all with "maddy" and "alps"; it's all the machine runs.  I've made two changes to alps:

  • it fetches and maintains the Letsencrypt certs
  • I can specify SMTP upstream credentials

With these changes, I can easily run alps anywhere standalone; I just point a "mail.mydomain.com" DNS record to it.  I run my web services somewhere else.

I'm fine if you don't want to add this to alps as out of scope. The almost trivial patch in main.go optionally replaces

go e.Start(addr)

with

e.AutoTLSManager.Cache = autocert.DirCache(certCache) go e.StartAutoTLS(addr)

Thanks for the quick response (and making this software available)

S

On 10/21/23 1:10 AM, ~cnx wrote:

FYI todo.sr.ht drops attachments so your patch can't be accessed.

I wonder about your setup motivating this though. It's common for TLS to be handled by a reverse proxy, which is redundant if alps is the only web service, but that's rarely the case.

#26 Data dir should be created if not exists a month ago

FIXME added by ~cnx on ~cnx/blackshades

#26 Data dir should be created if not exists a month ago

Ticket created by ~cnx on ~cnx/blackshades

The game tries to write to scores.ini in $DATA_DIR/blackshades and would crash if the directory didn't exist.

#175 Enable encrypted access to webmail via https a month ago

Comment by ~cnx on ~migadu/alps

FYI todo.sr.ht drops attachments so your patch can't be accessed.

I wonder about your setup motivating this though. It's common for TLS to be handled by a reverse proxy, which is redundant if alps is the only web service, but that's rarely the case.