70
submitted 2 months ago by wgs to c/unixporn@lemmy.ml
[-] wgs 26 points 3 months ago

endlessh was pretty cool and a more modern version is even better ! I'll give it a shot !

On a side note, I found a way to trap HTTP connections too while working on my cyb.farm project. The go implementation is ridiculously simple: tarpit.go. It works by providing an endless stream of custom headers to the client, which it is supposed to ingest before getting to the content itself.

16
Presoldered split keyboard (self.mechanicalkeyboards)
submitted 3 months ago* (last edited 3 months ago) by wgs to c/mechanicalkeyboards@lemmy.ml

Hi everyone! I'm planning on getting a split keyboard to replace my planck, but I don't have a soldering iron.

What are my options ? Ideally I want:

  • DIY, no soldering involved
  • QMK firmware
  • 40% format

The keyboard I'm leaning toward is the let's split as it's a planck split in two halves, but it seems that you need to at least solder the keycaps yourself, which I can't.

[-] wgs 31 points 4 months ago

I tried but got an error:

:& : Command not found

Is it expected ? Did I type something wrong ? I'm confused...

2
submitted 8 months ago by wgs to c/cybfarm

Hey everyone !

With so many people stuck at 200 points on the board, I'm wondering if the chapter 2 isn't too "abstract" ?

The Cyb3r Hunt is meant to be challenging, but it shouldn't discourage players because they can't figure out what to do.

For those that went past it, did you find the solution sketchy ? Did it all make sense, or you went past it without really understanding what all these files were for ?

For those stuck, where are you stuck at (please use a spoiler tag) ?

I'm considering removing some files I consider "optional", and changing the hint to make it less like a guessing game as to what to do.

Any opinions on this ?

23
submitted 8 months ago by wgs to c/france@jlai.lu
122
submitted 8 months ago by wgs to c/linux@lemmy.ml

I've been working on this project for over a year now, and I'm sure many people here will like it !

This is a game where the player must complete technical challenges about various technologies (programming, cryptography, networking, etc...) to progress through the story. It puts the Unix family under the light, and features many opensource technologies all running on a single server!

Check out the about page for details, and happy hunting !

8
submitted 8 months ago by wgs to c/technologie@jlai.lu

Bonjour amis technophiles !

J'avais déjà teasé ce projet il y a 15 jours, et ça y est, le jeu démarre aujourd'hui ! Il reste encore de la place sur le tableau des scores donc c'est le moment de plonger dans cette aventure dystopique et de mettre vos compétences techniques à rude épreuve !

25
submitted 8 months ago by wgs to c/programming@programming.dev

Over the past year, I've created technical adventure for people eager to challenge their skill and knowledge about many technical fields, while also having fun !

Programming, version control, command line, network protocols, cryptography, steganography, games, … Thorough the game you'll switch from decades old to state of the art technologies, and use it all to progress through a dystopian story happening around the 2^nd^ Epochalypse.

Get your systems ready, and hope that you'll be done with it before the Advent of Code starts, because you will probably not handle both at the same time ;)

33
Cyb3r Hunt (lemmy.sdf.org)
submitted 8 months ago by wgs to c/unix_surrealism

https://cyb.farm

artwork by the mighty @pmjv

4
Cyb3r Hunt (lemmy.sdf.org)
submitted 8 months ago by wgs to c/cybfarm
16
sysupgrade ❤️ (self.openbsd)
submitted 8 months ago by wgs to c/openbsd

Just spreading love for sysupgrade(8). I had a private server running 7.2 dutyfully serving a PHP software for a local organisation for the past 4 years.

Our provider suffered an outage which brought the server down for a few hours. When it got back up, I decided to use this outage to upgrade it to 7.4.

Two sysupgrade and one pkg_add -u later, the server is up and running again, without further intervention needed.

I did it all from my phone, in a train with a a laggy connection.

Thanks OpenBSD for caring this much about your users ! 🐡♥️

3
submitted 8 months ago* (last edited 8 months ago) by wgs to c/cybfarm

Until the hunt opens, check out the Guest book !

84
Feeling floppy today ? (lemmy.sdf.org)
submitted 8 months ago by wgs to c/unixporn@lemmy.ml

CYB3R HUNT is an epochalyptic online adventure of which you are the hero! Check out the about page, the rules, and prepare for the opening on the 31^st^ of october !

Artworks are made by prahou, creator of the unix_surrealism universe (check out his mastodon account for the image on the background, and more quality content!).

As for the programs running :

  • window manager: glazier & wmutils
  • terminal: st
  • web browser: firefox (with borders removed for better visual effect)
  • irc client: irssi
  • image viewer: lel
  • widgets: lemonbar
[-] wgs 32 points 10 months ago

Tabs for indent, spaces for alignment. This is the way, I can't believe people are still fighting that ?

[-] wgs 42 points 10 months ago

Because other people might have restricted environment which might not suit their preference is not a good reason to level it down IMO.

Also, I think 9 is the best size for indent (matter of preference), do you think I should switch to space so everyone can enjoy this wonderful view I have ?

[-] wgs 56 points 10 months ago

Weight your words my friend! GNU's a behemoth !

GCC alone is almost as big as Linux. Add core/binutils, the Hurd, ... And you easily outclass the kernel itself !

~ $ du -sh linux-6.4.12/ gcc-13.2.0/                    1.5G    linux-6.4.12/                                   1.1G    gcc-13.2.0/

Oh, and Emacs.

[-] wgs 27 points 10 months ago* (last edited 10 months ago)

IPv4 and IPv6 are two different network stacks. Your IPv4 stack is hidden behind wireguard, but not the IPv6 one.

The correct way to fix your issue is to setup a second witeguard tunnel for IPv6, and route IPv6 traffic through it.

Edit: many comments advise to block outbound IPv6 traffic. Don't do that! It will add latency to all your requests as you will have to wait for them to timeout.

[-] wgs 23 points 10 months ago* (last edited 10 months ago)

I'm reading all the comments and I'm shocked... In France, with uncapped access and 1Gbps down/600Mbps up (theorical) I pay 40€/mo (30€ every six month when I call to complain that it's too expensive). And it's definitely not the cheapest provider.

That's insane !

[-] wgs 23 points 11 months ago

I get what you say, and you're definitely not wrong to do it. But as I see it, you only saved ~80Kib of ingress and a few lines of logs in the end. From my monitoring I get ~5000 failed auth per day, which account for less than 1Mbps average bandwidth for the day.

It's not like it's consuming my 1Gbps bandwidth or threatening me as I enforce ssh key login. I like to keep things simple, and ssh on port 22 over internet makes it easy to access my boxes from anywhere.

[-] wgs 24 points 11 months ago* (last edited 11 months ago)

Congratulations! A mail server is quite demanding in terms of initial setup, but it's also very rewarding !

Here are a few pointers I can give you:

  • Using a good domain is important, some provider block entire TLDs for cheap domains (eg. .tk or .pw). I learnt it the hard way...
  • Set your MX records to A records, not CNAME
  • Ensure your PTR records match your A records for the mail server
  • Learn about SPF and DKIM
  • Set them up, and verify with mxtoolbox
  • Use the ip4:<ipv4> and/or ip6:<ipv6> selectors for SPF
  • Setup a spamfilter (I like spamassassin)
  • Leave it all running for a few weeks/months
  • Publish a DMARC policy on your DNS, and verify with mxtoolbox

This should limit a lot your likeliness to end up in spam folders (which is usually the hardest part about running your mail server)

[-] wgs 28 points 11 months ago

You don't need to access a .onion instance to use Tor. You can simply perform your day-to-day web usage through Tor directly.

On your phone, you can even use Tor natively with most of your apps.

[-] wgs 59 points 1 year ago

ELI5

So it's saturday afternoon, a very hot one, so you ask your daddy for an ice cream (hosted service). The shop you go in is very bizarre though, as there is one vendor (TCP port) for each flavor (docker service/virtualhost). But it's tricky because they're all roaming in the shop, and you don't know who's responsible for each flavor. Your dad is also not very comfortable paying these vendors directly because they only accept cash and do not provide any receipt (self-signed certificate/no TLS).

Hopefully, there is the manager (reverseproxy) ! This girl is right where you expect her: behind the counter (port 80/443), accept credit cards and has a receipt machine (Domain name + associated certificate). She also knows everyone on her team, and who's responsible for each flavor !

So you and your dad come to see the nice lady, ask for a strawberry + chocolate ice cream, and pay her directly. Once done, she forwards your request directly to the vendors responsible for each flavor, and give you back your ice cream + receipt. Life is good, and tasty !

[-] wgs 22 points 1 year ago

Don't even bother with a SWAP partition. Create an empty file on your / partition so you can grow/shrink it as needed.

did if=/dev/zero of=/SWAP bs=1024m count=4
mkswap /SWAP
swapon /SWAP
view more: next ›

wgs

joined 1 year ago
MODERATOR OF