this post was submitted on 28 Mar 2024
167 points (97.2% liked)

Selfhosted

37778 readers
292 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 25 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.

[–] [email protected] 11 points 3 months ago

Woah! Exactly what ive been looking for, thanks for sharing

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

Perfect timing since endlesssh isn't actively developed anymore.

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

I'm not sure what this is other than what seems to be a black hole for bots... But can you use it defensively?

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

A colleague of mine had a (non externally reachable) raspberry pi with default credentials being hijacked for a botnet by a infected windows computer in the home network. I guess you'll always have people come over with their devices you do not know the security condition of. So I've started to consider the home network insecure too, and one of the things I want to set up is an internal ssh honeypot with notifications, so that I get informed about devices trying to hijack others. So for this purpose that tool seems a possibilty, hopefully it is possible to set up some monitoring and notification via uptime kuma.

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

Yeah I have a Linux server that is constantly being hit by SSH requests and bad password requests... So if I could redirect them to this black hole thing I'd love that. But I really Don't understand how I could do that without destroying being able to connect to the website? Honestly I should make it so I can only SSH in via my local network since I never do it from the outside network anyway... I maybe just make a SSH key pair...

Promise I don't really know much about security and the real problem is securities only ever something that people care about when it's too late. Ugh

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

Well you must have either set up a port redirect (ipv4) or opened the port for external traffic (ipv6) yourself. It is not reachable by default as home routers put a NAT between the internet and your devices, or in the case of ipv6 they block any requests. So (unless you have a very exotic and unsafe router) just uhhh don't 😅 To serve websites it is enough to open 443 for https, and possibly 80 for http if you want to serve an automatic redirect to https.

[–] [email protected] 5 points 3 months ago

It's useful for security researchers to collect and analyze what the newest attack bots are trying to do, in order to learn how to defend against it and study the malware they drop. There are some cool videos on YouTube about decompiling malware dropped by the bots.

[–] [email protected] 3 points 3 months ago

You can see all is interested in attacking your servers and what the payload looks like

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

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
HTTP Hypertext Transfer Protocol, the Web
NAT Network Address Translation
SSH Secure Shell for remote terminal access

[Thread #641 for this sub, first seen 30th Mar 2024, 17:25] [FAQ] [Full list] [Contact] [Source code]