wgs

joined 2 years ago
MODERATOR OF
[–] wgs 2 points 11 months ago

Crux. Simplest package building system out there, and the core is just out of the way completely, giving you the keys to setup your system just the way you want it.

[–] wgs 2 points 11 months ago* (last edited 11 months ago) (2 children)

I didn't come up with this idea myself, this is straight from OpenBSD disk setup guide (which I personally trust as a good source of info) :

Encrypting External Disks

This section explains how to set up a cryptographic softraid volume for an external USB drive. An outline of the steps is as follows:

  • Overwrite the drive's contents with random data

[...]

# dd if=/dev/urandom of=/dev/rsd3c bs=1m
[–] wgs 7 points 11 months ago
/usr/share/language/pack/français: Permission refusée
[–] wgs 1 points 11 months ago (4 children)

Well as I see it, it will just do a lot of write operations to your disk, which might eventually damage it if you do it a lot (just like any write operation done on a disk). However, this specific command isn't bad per se, and is even technically a good thing to do for preparing to full disk encryption.

[–] wgs 1 points 11 months ago (1 children)

sudo cat is pointless here, better do

</dev/urandom sudo tee /dev/sd*

As a bonus it'll scramble your terminal 💪

[–] wgs 2 points 11 months ago

Not with busybox's rm 🤘

[–] wgs 19 points 11 months ago (14 children)

Nevermind I figured it out, you gotta use sudo for it to work properly !

[–] wgs 18 points 11 months ago* (last edited 11 months ago)

Nevermind I figured what went wrong, I mistyped it initially ! It would have been much easier to copy paste it if it wasn't a picture...

Fun fact, the command displays a nice cat picture in ASCII :)

Edit: screenshot

[–] wgs 5 points 11 months ago (16 children)

I just tried your command and it yields a lot of Permission denied. Is it expected or your command is incomplete ?

[–] wgs 31 points 11 months ago (29 children)

I tried but got an error:

:& : Command not found

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

[–] wgs 4 points 1 year ago* (last edited 1 year ago) (1 children)

This is exactly what a cultist would say... Where do I sign up ?

[–] wgs 6 points 1 year ago* (last edited 1 year ago)

Just like stabbing yourself if the eye is better with a fork than with a rusty fork.

pf gang rise up !

10
Yggdrasil as a VPN alternative (yggdrasil-network.github.io)
submitted 2 years ago* (last edited 2 years ago) by wgs to c/selfhosted@lemmy.world
 

I've been accessing my servers over Yggdrasil for the last few years and I never see it mentioned in self hosting communities, so here you go !

Yggdrasil works over IPv6 and brings encryption at the network interface level (similarly to a VPN). The cool thing is that your IP address is derived from your private key, so when you try to connect to a specific IP, your packets are encrypted so that ONLY the destination server can decrypt it (thus preventing MITM attacks). And as everything is encrypted at the NIC level, you can safely use plain text protocols ;)

How cool is that ?

8
Bongusta! (phroxy.z3bra.org)
submitted 2 years ago by wgs to c/planetsmolnet
 

Gopher link: Bongusta!

I appreciate the effort of this community to share random posts on the gopher space. I'm the same vein, here's Bongusta!, an effort to aggregate many phlogs in the same place, scrap them, and present new posts in descending order for all of them.

I've been using that for a few years now and it's pretty neat to discover cool phlogs !

Edit: sorry for the http link, Jerboa wouldn't let me post a gopher:// scheme.

 

Hi everyone,

For a very special use case of mine, I need to allow users to connect over SSH to my server to setup a SOCKS proxy:

ssh -D localhost:1080 -N my.server.domain.tld

However, I only want them to be able to reach 127.0.0.1 through this proxy (so, my server itself).

Is that even possible ?

8
submitted 2 years ago* (last edited 2 years ago) by wgs to c/sdfpubnix
 

I'm subscribed to different communities on other instances, and the posts there did not appear on this instance for the past 3 days.

Is it a known issue ?

Edit: The instance has switch to 0.18.0, and I don't have the issue anymore. Thanks mods !

26
Good Vibes (lemmy.sdf.org)
submitted 2 years ago by wgs to c/unixporn@lemmy.ml
 

I want to see this community skyrocket, so here's my participation to the work !

Not much to see here, mostly terminals (st). As for the programs running:

safe is my homemade password manager, painting is the Sainte-Victoire by Cézanne, and the scoreboard is related to a game I'm working on (that I hope releasing this year ;)).

Hope you like it !

 

HTTP mirror

I made a simple tool some time ago to extract the content of an email, and publish it to a gopher hole.

To put it simply, the subject is used as the title, and the body is put into the log entry (optionnaly passed through a command, like fmt(1) for example. The original email sender is verified, to prevent spams from cluttering your phlog. It might not be the most secure method, but that works for me ^tm^.

You can see it in action here:

  • gopher://phlog.z3bra.org
  • gopher://g.nixers.net/7/~anon/twtxt.dcgi
view more: ‹ prev next ›