In-reply-to » i'm pretty sure i'm running this all off sqlite so if i get too many users on here i might be cooked but oh well i can always try to migrate (<-- has heard migrations from sqlite to mysql/postgres are hell)

@bender@twtxt.net oh yeah i remember that part of the docs lol! honestly yeah i think sqlite is fine for the number of users i have which is like, 5 including me, and active users is just… me, but if i were to have more active users i could always spin up a separate instance as jank as that is

⤋ Read More
In-reply-to » (#ejn6pca) @eapl.me And here I always lived by:

@prologic@twtxt.net @eapl.me@eapl.me @bender@twtxt.net I just found:

Equilibrium problems are solved by method of relaxation numerically.

– Manoj Kumar and Garima Mishra, https://www.scirp.org/html/8798.html

Reminds me of deliberately misattributed quotes from a funny German book series “Die Känguru-Chroniken”, like:

How much is the fish?

– Karl Marx

I’m positively surprised there is even an English wikipedia page about The Kangaroo Chronicles. Somebody gathered a list with all of them.

⤋ Read More
In-reply-to » my apologies for anyone tailing this feed... turns out some data was corrupted from an unscheduled interruption and in the process of getting everything back online.

@bmallred@staystrong.run Oh no! Best of luck to restore everything. Unfortunately, I cannot provide you a copy of your twtxt feed. It turns out when the messages were gone from your feed and I refetched the now empty feed, all messages were also dropped from my local cache. :-/ But it looks like you’re on something already. The message timestamps are all way off, though.

⤋ Read More
In-reply-to » i'm pretty sure i'm running this all off sqlite so if i get too many users on here i might be cooked but oh well i can always try to migrate (<-- has heard migrations from sqlite to mysql/postgres are hell)

@movq@www.uninformativ.de ooooh interesting!!! i am a mysql liker because postgres syntax confuses me (i know its faster but whatever) but i will look into this…

⤋ Read More

i’m pretty sure i’m running this all off sqlite so if i get too many users on here i might be cooked but oh well i can always try to migrate (<– has heard migrations from sqlite to mysql/postgres are hell)

⤋ Read More

i thought about making a chill little vlog putting together my new pi4 for KVM purposes but unless i make it go fast somehow i’d probably quickly exceed the 30 mins on the last mini DVD i have for recording lol

⤋ Read More
In-reply-to » hmmm i really should set up crowdsec and maybe a WAF like coraza or something. i don't look at my logs as much as i should because they scare me and ignorance is bliss but i should probably cut out as much false traffic as possible especially to my biggest site (superlove)

@kat@yarn.girlonthemoon.xyz i’m reading this and i already have a gts server that i could secure with this but i’m thinking it’d be best for most of my public sites https://ovelny.sh/blog/a-complete-guide-for-your-gotosocial-server/

⤋ Read More

hmmm i really should set up crowdsec and maybe a WAF like coraza or something. i don’t look at my logs as much as i should because they scare me and ignorance is bliss but i should probably cut out as much false traffic as possible especially to my biggest site (superlove)

⤋ Read More
In-reply-to » Cool! 😎 So I can now block ASN(s) 🤣 (And I bet no-one noticed anything)

Note for reference I was trying to write and fix this rule (fixed version below):

# Ignore Content-Type restrictions for Git
SecRule REQUEST_HEADERS:Host "@streq git.mills.io" "id:101,phase:1,t:none,nolog,ctl:ruleRemoveById=920420"

⤋ Read More
In-reply-to » Cool! 😎 So I can now block ASN(s) 🤣 (And I bet no-one noticed anything)

I’ll try to add a README for caddy-waf soon™ (going back to bed now) at least document the customizations I’ve made to this WAF (which I forked from caddy-coraza)

⤋ Read More
In-reply-to » Cool! 😎 So I can now block ASN(s) 🤣 (And I bet no-one noticed anything)

This is how I build my caddy:

proxy-1:~# cat build.caddy.sh
#!/bin/sh

xcaddy build \
	--with github.com/caddy-dns/cloudflare \
	--with github.com/caddyserver/cache-handler \
	--with git.mills.io/prologic/caddy-ratelimit \
	--with git.mills.io/prologic/caddy-waf
proxy-1:~#

⤋ Read More
In-reply-to » Cool! 😎 So I can now block ASN(s) 🤣 (And I bet no-one noticed anything)

Ahh fuck! Sorry I was fixing a rule 🤣 This is much better!

proxy-1:~# grep -c 'Bad ASN' /var/log/caddy/caddy.log
2441

⤋ Read More
In-reply-to » Cool! 😎 So I can now block ASN(s) 🤣 (And I bet no-one noticed anything)

@bender@twtxt.net Yes they are rather large 🤣 Here you go:

proxy-1:~# cat /etc/caddy/waf/bad_asns.txt
# CHINANET-BACKBONE No.31,Jin-rong Street, CN
# Why: DDoS
4134

# CHINA169-BACKBONE CHINA UNICOM China169 Backbone, CN
# Why: DDoS
4837

# CHINAMOBILE-CN China Mobile Communications Group Co., Ltd., CN
# Why: DDoS
9808

# FACEBOOK, US
# Why: Bad Bots
32934
proxy-1:~#

⤋ Read More
In-reply-to » Cool! 😎 So I can now block ASN(s) 🤣 (And I bet no-one noticed anything)

@bender@twtxt.net AS Number:

An autonomous system (AS) is a collection of connected Internet Protocol (IP) routing prefixes under the control of one or more network operators on behalf of a single administrative entity or domain, that presents a common and clearly defined routing policy to the Internet.

⤋ Read More

CPico RP2040 a Cost-Effective MCU Board with Debugging Enhancements
The CPico RP2040 is a microcontroller board based on the RP2040 microcontroller. Designed to closely match the Raspberry Pi Pico, it maintains full pin compatibility, allowing developers to integrate it into existing setups without modification. Powered by a dual-core ARM Cortex-M0+ processor, the CPico RP2040 provides efficient, high-performance computing suitable for a variety of applications.

⤋ Read More
In-reply-to » Any idea What's this "twtxtfeevalidator/0.0.1" UA about? I thought I could ask before throwing a 1000GB file at it 🪤 could it be the same 'xt' thing @lyse was talking about the other day?

@aelaraji@aelaraji.com Thank you very much, glad you like it. :-) I always try to make web pages use as much semantic tags as possible and keep the HTML very simple, so that they also have a chance to look decent in terminal browsers. The logo took me a few hours to draw in all its three sizes.

⤋ Read More

Spitz Plus GL-X2000 is an Upcoming Wi-Fi 6 and 4G LTE CAT 12 Router
The Spitz Plus GL-X2000 is a 4G LTE Wi-Fi 6 router designed to deliver reliable connectivity for remote work, travel, and rural internet access. It supports advanced network features like Multi-WAN, Failover, and Load Balancing, enhancing connection stability and ensuring dependable performance. The router is powered by a Qualcomm dual-core processor running at 1 GHz,

⤋ Read More
In-reply-to » just spent like half an hour finding a terminal based color picker that would just. turn the cursor into a cross hair and let me pick from the screen. in linux fashion this was somehow difficult

@kat@yarn.girlonthemoon.xyz i wound up with xcolor AND pastel at the same time, because xcolor does exactly what i want while pastel and its picker subcommand does the same thing, relying on xcolor, but brings up a nice graphic of the picked color and related colors, plus more than just the hex code. neat.

⤋ Read More

just spent like half an hour finding a terminal based color picker that would just. turn the cursor into a cross hair and let me pick from the screen. in linux fashion this was somehow difficult

⤋ Read More