Show newer

meh day but hey, a 100 lines of code is a 100 lines of code

These are the basics for pages supporting custom domains, that's the DNS related stuff mostly finished so it's just plugging this into the existing code now

it's some fun code I think, looking up the domain we were accessed from and checking various records as needed

git.pixie.town/f0x/pixie-pages

Show thread

anyways it correctly checks all these wrongly configured domains, maybe tomorrow I'll add a properly configured one (for real or on a testing DNS server) pages

Show thread

Steam is fun because you can see old friends you haven't spoken to in a decade play video games at 2am

i'm going to end up including a DNS server for testing purposes aren't I

Show thread

hmmm "Lookup matching error: A record does not match: 159.69.36.55 instead of 159.69.36.55"

i think i made a logic error somewhere lol

Show thread

#FediBlock time

nicecrew.digital for harbouring multiple racist, anti-LGBTQ, antisemitic, transphobic trolls.

someone *could* round-robin multiple A records so I have to check if all of them match our ip, not just the first one

Show thread

someone *could* try to spam mismatched requests to try hit the letsencrypt ratelimit, so I check various things to make sure a domain resolves (and will resolve) properly. would someone actually do this? probably not

Show thread

i very actively think about ways people could exploit whatever i'm writing but it's easy to get too bogged down too I feel

and you'll probably look over the real exploits yourself anyways lol

Show thread

im always programming so defensively when in reality nobody will probably even be bothered enough to exploit anything..

covid- 

someone on this train has the nastiest cough, so glad im the only person still wearing a mask..

I think it will be quite doable for pages to not just provide custom domains, but custom automatic domains

so it knows f0xexample.com is mine, and I can automatically access myproject. f0xexample.com too

can't believe i get to say this but I think the dns code involved is actually pretty simple

Show older
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.