wgs

joined 1 year ago
MODERATOR OF
[–] [email protected] 1 points 4 months ago* (last edited 4 months ago) (2 children)

By mounting the binary over, I mean something like a bind mount. But in your case of a wrapper script, it doesn't apply indeed. Though in this case I would simply name the script steam-launcher and call it a day 🙂

Having multiple executables with the same name and relying on $PATH and absolute paths feels hackish to me, but that's only a matter of preference at this point.

[–] [email protected] 1 points 4 months ago

I'm not saying we should get rid of $PATH right now. My point is that it was created to solve a problem we don't have anymore (not enough disk capacity), but we still keep it out of habit.

As a reminder, the discussion is about what should be rewritten from scratch in linux. And IMO, we should get rid of $PATH as there are better options.

[–] [email protected] 1 points 4 months ago

Today's software would probably break, but my point is that $PATH is a relic from ancient times that solved a problem we don't have anymore.

[–] [email protected] 1 points 4 months ago (5 children)

You missed my point. The reason $PATH exists in the first place is because binaries were too large to fit on a single disk, so they were scattered around multiple partitions (/bin, /sbin, /usr/bin, etc...). Now, all your binaries can easily fit on a single partition (weirdly enough, /usr/bin was chosen as the "best candidate" for it), but we still have all the other locations, symlinked there. It just makes no sense.

As for the override mechanism you mention, there are much better tools nowadays to do that (overlayfs for example).

This is what plan9 does for example. There is no need for $PATH because all binaries are in /bin anyways. And to override a binary, you simply "mount" it over the existing one in place.

[–] [email protected] 2 points 4 months ago (9 children)

$PATH shouldn't even be a thing, as today disk space is cheap so there is no need to scatter binaries all over the place.

Historically, /usr was created so that you could mount a new disk here and have more binaries installed on your system when the disk with /bin was full.

And there are just so many other stuff like that which doesn't make sense anymore (/var/tmp comes to mind, /opt, /home which was supposed to be /usr but name was already taken, etc ...).

[–] [email protected] 10 points 4 months ago

I KNEW IT !! Last of the puffer clan, that couldn't be real !

[–] [email protected] 2 points 4 months ago

Can't wait for next year to keep on investigating this... Girl does have the same "run bad" tatoo as her though so that's why I'm asking ;)

[–] [email protected] 1 points 4 months ago

+1 on the Gazzew U4. I just swapped from browns to it and I'm never going back ! They're more tactile and much more silent.

[–] [email protected] 2 points 4 months ago (2 children)

Is girl turning into the foss girl ? 😮 IT IS ALL CONNECTED !

[–] [email protected] 10 points 4 months ago (1 children)

To be honest, Ed.

When I'm forced to edit text on my phone (eg. to fix a broken server while on the go), I ssh in and fire up ed. This is what takes the less screen space on my already to small screen, and because it's line oriented the screen doesn't bounce/resize/screw up when the keyboard appears/disappear.

[–] [email protected] 25 points 4 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.

[–] [email protected] 5 points 5 months ago (1 children)

Isn't it « puffie » ?

2
Signed epochalypse (lemmy.sdf.org)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

cross-posted from: https://lemmy.sdf.org/post/5947610

On the 19th of January [...] The admin team was helpless. In the split of a second, the whole CYBFARM network went down. Every subsystem on the planet stopped, and there was nothing they could do against it. The CYBFARM has always been autonomous, and nobody had enough knowledges of its internals to debug or fix anything.

Hopefully, a few minutes later, the first system came back up: the security module. Then other subsystems rebooted one after the others, and the production of goods restarted as expected.

We later found that an overflow occurred in the system clock. This caused a disruption of the internal message bus of the CYBFARM, which entered a locked state, and shut itself down to prevent harming the subsystems. The CYBFARM eventually found and patched the bug automatically, without any external intervention from our part. This was the first time in History that [an autonomous system] healed itself without human action!

This is such a major milestone in History!

Agatha Zieg-Movnieski
Epochalypse incident report

artwork: @pmjv


The CYB3R HUNT will be starting soon… Spread the word, and get ready!

1
Signed epochalypse (lemmy.sdf.org)
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

On the 19th of January [...] The admin team was helpless. In the split of a second, the whole CYBFARM network went down. Every subsystem on the planet stopped, and there was nothing they could do against it. The CYBFARM has always been autonomous, and nobody had enough knowledges of its internals to debug or fix anything.

Hopefully, a few minutes later, the first system came back up: the security module. Then other subsystems rebooted one after the others, and the production of goods restarted as expected.

We later found that an overflow occurred in the system clock. This caused a disruption of the internal message bus of the CYBFARM, which entered a locked state, and shut itself down to prevent harming the subsystems. The CYBFARM eventually found and patched the bug automatically, without any external intervention from our part. This was the first time in History that [an autonomous system] healed itself without human action!

This is such a major milestone in History!

Agatha Zieg-Movnieski
Epochalypse incident report

artwork: @pmjv

1
Security Mod (lemmy.sdf.org)
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]
 

Case stared at the old laptop.

Is it broken ?

Molly closed the lid, and put it next the others, all destroyed by the CYBFARM security module.

There must be a way to bypass it...

artwork: @pmjv

 

I used to rock a bare metal 1Tib HDD server for 17€/month, that I used as an NFS server for all my other servers which needed storage space.

First of all, NFS kinda sucks and I'm looking for alternative solution that I can use on OpenBSD to mount remote volumes.

Secondly, I'm planning to move this server to hetzner (my current provider), but they lack affordable storage (it's 50€/month for 1Tib). Do you know an hosting provider which would provide high volumes for not so expensive prices ?

0
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Salut les Français !

Je bosse sur un projet dans le cadre duquel j'ai besoin de construire une table de correspondance entre des mots de passe et leurs hash cryptographiques.

Seulement voilà, l'algorithme de calcul de ces hash (argon2id) est spécifiquement construit pour être long et coûteux a calculer. Or moi j'ai besoin d'un gros volume de données aléatoires (+2Gib), et memes avec toute ma puissance dont je dispose a la maison, ça me prendrait des mois.

J'ai donc mis au point hashcrush, un "brûleur de CPU", qui calcule ces précieux hash en utilisant toute la puissance disponible sur la machine qui l'exécute. Je l'ai testé sous Linux et OpenBSD.

Parce que je crois en l''esprit communautaire et l'entraide dans la vie de tous les jours, je préfères demander de l'aide au sein des communautés auxquelles j'appartiens plutôt que d'engraisser les fournisseur de service (qui me louerait du CPU à foison pour le même résultat avec grand plaisir).

Donc si vous voulez bien me filer un coup de main, clonez le dépôt et mangez du hash ! Toutes les infos sont sur la page du projet.

Si vous avez des questions, n'hésitez pas à les poser ici.

Merci les copains :)

Edit: pour ceux que ça intéresse, on a atteint l'objectif. Ça nous aura prit 3 jours, contre 8 mois si j'avais fais ça tout seul !

25
RDP Traps ? (lemmy.sdf.org)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I've recently dug into my firewall logs and the most traffic I seem to receive from internet is targeting port 3389.

While I could just blacklist the source IPs and call it a day, I would like to actually listen on this port and "trap" them in a fake RDP connection.

There are tools like endlessh, and I've found that you can do the same for http by sending an endless stream of headers. I would like to do the same for RDP, and before I start digging into the whole spec, I was wondering if there is already something similar for RDP.

Is anyone aware of that ? Is that even a thing ?

 

cross-posted from: https://lemmy.sdf.org/post/1341812

The one true white rabbit.

 

Hey everyone ! I finally decided to monitor my applications more closely with Grafana. However I'm having issues building dashboards their logs.

Their logs are currently sent over syslog (in RFC3164 format) into telegraf. But it simply puts the whole message into the message field, so I can't use specific fields (eg. URL for httpd, source IP for DNS requests, username for SSH, …) to build graphs.

I've read about grok patterns, but I have no idea how to use them.

Would someone have any pointer on how I could make sense out of these logs for later use ?

125
Chimera Linux (chimera-linux.org)
 

I just found about this distro, which is relatively new (2021). Its specificity is that it doesn't features any GNU software by default, which I find interesting.

 

Old computer challenge V3

I stumbled upon this challenge just in time, and decided to blow the dust out of my trusty Acer Aspire one from 2008. This beast features an Intel Atom clocking at 1.67Ghz, 230Gib HDD and a whooping 1024Mib of RAM ! I slapped OpenBSD 7.3 on it just to find that my wireless card is still not supported (probably never will...). I had to scrap one from an (even older!) Asus EEE PC to get it going. It's now up and running, ready to choke at the 512Mib limit while trying to browse the web !

I'm using st for the terminal. Programs running are sacc (gopher client), vis (text editor) and irssi (IRC client). It runs my own window manager: glazier with wmutils.

Will happily answer any questions !

 

Does anyone do this ? I've been using irssi for years but it does not support using a SOCKS proxy which makes it unsuitable for this purpose.

14
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

TL;DR: I use a vim like editor which tackles Vim's greatest weakness: vis.

view more: ‹ prev next ›