~cnx

Ulsan, South Korea

https://cnx.gdn

Vietnamese free software enthusiast

Trackers

~cnx/blackshades

Last active 6 months ago

~cnx/loang

Last active 7 months ago

~cnx/phylactery

Last active 1 year, 6 months ago

~cnx/tzigame

Last active 1 year, 7 months ago

~cnx/ipwhl

Last active 1 year, 10 months ago

~cnx/pao

Last active 2 years ago

~cnx/offre

Last active 2 years ago

~cnx/meta

Last active 2 years ago

~cnx/brutalmaze

Last active 2 years ago

~cnx/axuy

Last active 3 years ago
View more

#74 Build fails on OpenSuse Tumbleweed with latest available zig (version 0.10.1) 3 months ago

Comment by ~cnx on ~mil/mepo-tickets

/home/abuild/rpmbuild/BUILD/mepo-1.0/build.zig:16:23: error: [...]

To build with Zig 0.11, Mepo version should be 1.2 innit?

#27 Characters float on the street 6 months ago

FIXME added by ~cnx on ~cnx/blackshades

#27 Characters float on the street 6 months ago

Ticket created by ~cnx on ~cnx/blackshades

Sidewalk height is assumed even on the street.

#24 Sudden jerk while snipping 6 months 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 6 months 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 6 months 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 7 months 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 7 months 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 7 months ago

FIXME added by ~cnx on ~cnx/blackshades

#26 Data dir should be created if not exists 7 months 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.