425
submitted 2 months ago* (last edited 2 months ago) by ExtremeDullard@lemmy.sdf.org to c/linux@lemmy.ml

Apparently I installed that thing in 2006 and I last updated it in 2016, then I quit updating it for some reason that I totally forgot. Probably laziness...

It's been running for quite some time and we kind of forgot about it in the closet, until the SSH tunnel we use to get our mail outside our home stopped working because modern openssh clients refuse to use the antiquated key cipher I setup client machines with way back when any longer.

I just generated new keys with a more modern cipher that it understands (ecdsa-sha2-nistp256) and left it running. Because why not 🙂

top 50 comments
sorted by: hot top controversial new old
[-] n2burns@lemmy.ca 137 points 2 months ago

Because why not 🙂

Because security.

[-] ExtremeDullard@lemmy.sdf.org 49 points 2 months ago* (last edited 2 months ago)

It's behind a firewall. The only thing exposed to the outside is port 22 - and only pubkey login too.

And gee dude... It's been running for 18 years without being pwned 🙂

[-] imPastaSyndrome@lemm.ee 98 points 2 months ago

It hasnt been pwned so far

[-] possiblylinux127@lemmy.zip 12 points 2 months ago

For that matter, it hasn't been ransomwared. There are so many ways to hide a compromise.

[-] ivn@jlai.lu 77 points 2 months ago

without being pwned

How do you know?

[-] Hupf@feddit.org 32 points 2 months ago

There's a file called /pwnedornot and it contains "no, you're safe bro"

[-] InternetCitizen2@lemmy.world 3 points 2 months ago
[-] n2burns@lemmy.ca 64 points 2 months ago

And it's not like it contains any sensitive information. I'm sure all your emails are just friendly correspondence with your pen pal.

[-] schizo@forum.uncomfortable.business 31 points 2 months ago

I'd still maybe build a modern OpenSSH package.

There's been an awful lot of RCEs in the past two decades and uh, if that's rawdogging the internet, I'm honestly shocked you haven't been hit with any by now.

[-] Sbauer@lemmy.world 3 points 2 months ago

Eh, building anything modern on a system that old would be painful I bet.

Maybe you could use https://github.com/openssh/openssh-portable since that’s meant to be portable. I’d certainly would give it a try if I didn’t want to bother trying to upgrade that system. Then again, trying to upgrade it through the releases to a modern Debian might be fun too.

[-] 30p87@feddit.org 23 points 2 months ago

How do you know? Do you constantly monitor running processes, performance and network connections?

[-] ReversalHatchery@beehaw.org 18 points 2 months ago

sorry, but what kind of email server listens only on SSH?

[-] possiblylinux127@lemmy.zip 2 points 2 months ago

The most secure ones

[-] rhacer@lemmy.world 8 points 2 months ago

Did you really only use it when you were home? If you used it outside the firewall then port 25 must have been open also.

I used to run my own server and this was in the early 90s. Then one day, perusing the logs I realized I was not smart enough on the security front to even attempt such a thing. It was quickly shut down and the MX record moved to an outsourced mail provider.

[-] possiblylinux127@lemmy.zip 8 points 2 months ago

How do you know? OpenSSH is pretty good but it isn't impenetrable. Especially for almost 10 years.

[-] RegalPotoo@lemmy.world 101 points 2 months ago

Good thing there hasn't been any remotely exploitable security bugs in any of the mail system components in the 6 years since Debian 7 went EoL

[-] possiblylinux127@lemmy.zip 17 points 2 months ago

https://security-tracker.debian.org/tracker/

Depending on how it was configured it may or not be have been compromised. Probably better to go the nuclear option.

load more comments (1 replies)
[-] Nibodhika@lemmy.world 44 points 2 months ago

I'm fairly certain that SSH and whatever else you're exposing has had vulnerabilities fixed since then, especially if modern distros refuse to use the ssh key you were using, this screams of "we found something so critical here we don't want to touch it". If your server exposes anything in a standard port, e.g. SSH on 22, you probably should do a fresh install (although I would definitely not know how to rebuild a system I built almost 20 years ago).

That being said, it's amazing that an almost 20 year old system can work for almost 10 years without touching anything.

[-] Sbauer@lemmy.world 12 points 2 months ago

The amount of dos systems I have seen powering critical infrastructure in banks and hospitals is quite frankly nightmare fuel.

[-] lepinkainen@lemmy.world 12 points 2 months ago

A basic DOS system has zero networking or open ports

[-] possiblylinux127@lemmy.zip 6 points 2 months ago

They normally are isolated systems with controlled access. Same with shipping and any other critical industry.

Not to say that there aren't exceptions but these days there is a required level of compliance

[-] InternetCitizen2@lemmy.world 4 points 2 months ago

Remember its what the market determined is the best course of action.

[-] merthyr1831@lemmy.ml 35 points 2 months ago

Genuinely surprised when I see people running mail servers without issue. I suppose getting in relatively early means you're not immediately sent to junk mail lists by the big players.

[-] Shdwdrgn@mander.xyz 33 points 2 months ago

Unfortunately that's not true. I've been running mail servers under my domain since around 2000, almost as long as Microsoft has been running Hotmail, and I was certainly following good standards like SPF and DKIM well before they considered such a thing... and yet Microsoft is the bane of my mail server's existence. Despite no compromises resulting in spam blasts, MS still regularly shuts me out with no reason given and no hits showing on their monitors. If I can find their email address to ask what the problem is, I get a generic "your domain has been cleared" sort of reply but never any reason why they blocked me in the first place.

[-] possiblylinux127@lemmy.zip 3 points 2 months ago

To be far you didn't update for almost a decade. The large email provides fear you

[-] ikidd@lemmy.world 7 points 2 months ago

I've started up new domains and never had an issue getting mail accepted.

There's a right way to do it, and most people that complain that hosting email is impossible don't know how to configure it correctly.

[-] Avatar_of_Self@lemmy.world 4 points 2 months ago

You need SPF, DKIM, DMARC with a RUA set up to an email that doesn't bounce. That's pretty much it. I've been running email servers a long time and actually set up email from a new domain/IP a couple of years ago as well.

[-] Findmysec@infosec.pub 33 points 2 months ago

Family email server? Your family have an email server to themselves? You managed to deal with block lists over 2 decades and more?

My utmost respect to your dedication

[-] pastermil@sh.itjust.works 8 points 2 months ago

It takes a special kind to run and maintain a mail server. More so for doing it for such a long time.

load more comments (1 replies)
[-] some_guy@lemmy.sdf.org 18 points 2 months ago

It's had a good run. Let the little guy have a rest. Whatever you replace it with will consume less electricity.

[-] limelight79@lemm.ee 17 points 2 months ago

I gave up running an email server long ago - I thought it was basically impossible because too many spammers were doing it for nefarious purposes.

[-] Kabutor@lemmy.dbzer0.com 16 points 2 months ago

you name your servers with nuclear subs names?

[-] ExtremeDullard@lemmy.sdf.org 15 points 2 months ago

I'm a kid of the cold war.

[-] mlg@lemmy.world 14 points 2 months ago

Not to be that guy but why not use Curve25519?

I still remember all the conspiracies surrounding NIST and now 25519 is the default standard.

In 2013, interest began to increase considerably when it was discovered that the NSA had potentially implemented a backdoor into the P-256 curve based Dual_EC_DRBG algorithm.[11] While not directly related,[12] suspicious aspects of the NIST's P curve constants[13] led to concerns[14] that the NSA had chosen values that gave them an advantage in breaking the encryption.[15][16]

[-] Sbauer@lemmy.world 6 points 2 months ago

If you are worried that the NSA might be reading your email maybe it’ll be better for society if you don’t update … just saying.

[-] possiblylinux127@lemmy.zip 4 points 2 months ago

It took me a while to get this

[-] Charadon@lemmy.sdf.org 14 points 2 months ago

Please tell you to at least have Freexian patches installed...

[-] possiblylinux127@lemmy.zip 14 points 2 months ago

This is how massive botnets form

[-] hamid@vegantheoryclub.org 14 points 2 months ago

Believe it or not I've come into contact with Microsoft Exchange 2010 running on Server 2008 for 2000 days once. The company had ransomware.

[-] possiblylinux127@lemmy.zip 10 points 2 months ago

I hope you get your data off and then burn it and everything around it. It could be easily compromised you knowing. It could easily be used for spamming

[-] GolfNovemberUniform@lemmy.ml 10 points 2 months ago

That's the power of Linux. It can work for decades without issues.

[-] Sbauer@lemmy.world 4 points 2 months ago

Eh, plenty of dos machines still used in banks and industry. It’s both scary and impressive. I have worked on cnc machines only a few years back that were from the 80s I think. The data transfer between the computer and the machine used a band of paper that had holes punched into it by a printer like device physically attached to the computer.

load more comments (1 replies)
[-] UnbalancedFox@lemmy.ca 3 points 2 months ago

Or 5 minutes and you pull your hairs out 😂 then reinstall because you screw up something without any idea how to fix it.

[-] Nibodhika@lemmy.world 6 points 2 months ago

Any OS can break and need reinstalling if you screw stuff up, but the majority of them would have a hard time running constantly for almost a decade without so much as a side glance.

[-] GolfNovemberUniform@lemmy.ml 3 points 2 months ago

You can screw up Windows Server too. My comment wasn't about that.

load more comments (1 replies)
load more comments
view more: next ›
this post was submitted on 02 Sep 2024
425 points (100.0% liked)

Linux

47976 readers
924 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS