BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Port Scanning
- Subject: [Discuss] Port Scanning
- From: bogstad at pobox.com (Bill Bogstad)
- Date: Sat, 3 Aug 2024 22:05:49 -0400
- In-reply-to: <20c3240d-184f-4c84-b4ed-7680ac5301bd@borg.org>
- References: <5c43eee0-caaf-45d6-8fdb-273cb3d8ea6d@borg.org> <20240801172933.yqcdeki3ntkrrl2t@randomstring.org> <51804f85-9275-4d89-9dc2-86234cdb299b@borg.org> <20240801210627.bzw47tfmyxofcep3@randomstring.org> <82b0d41d-075d-496e-9e1f-ef1529623c38@borg.org> <20240801182824.4bf21319.Richard.Pieri@gmail.com> <f6d905fd-7886-4cf2-9b02-f6d89f60adf0@borg.org> <20240801214606.5bebc46a.Richard.Pieri@gmail.com> <20c3240d-184f-4c84-b4ed-7680ac5301bd@borg.org>
On Fri, Aug 2, 2024 at 2:31?PM Kent Borg <kentborg at borg.org> wrote: > On 8/1/24 18:46, Rich Pieri wrote: > > Because we didn't have firewalls in the 1980s. > .... > > Both of of these were happening because we *were* aware there were > problems and we *knew* needed to do something about them. > > In the mid '90s there were two ways we could have gone. We could have > actually held ourselves to the obligation of building secure stuff--and > fixing things when we got it wrong--or we could have let ourselves off > the hook, hid behind firewalls, and let 30-years of garbage build up. > (Not a whole 30-years worth, the early garbage has been retired.) What you are basically saying is that we need to write software that has essentially 0 bugs. As has become clear over at least the last three decades, virtually any bug can be converted into a security problem. Not just reduce the number of bugs, you have to get rid of virtually all of them. A bug in a code path that a real use case will never follow is just as important as one that is used every time the program is run. Attackers will try them all and force every possible code path, etc. Even the best programmers seem unable to produce programs with a high enough level of correctness on a long term basis. Nor will anyone give them time to even try. While there are technologies that can catch whole classes of errors automatically either at compile or run time, no one seems to use them for anything other than academic/toy projects. The complaint is always that it will reduce the performance of programs by 5% or even 10%. Despite the fact that modern systems are multiple orders of magnitude faster than those from the 90s, giving up any of that performance for a guarantee that certain classes of errors can't result in unexpected behavior has never been acceptable. In many cases, we could do this by simply using compilers which add automatic bounds/type checking rather than rewriting programs in safer languages. So fairly minimal programmer time, just minor slow downs. Nope, not interested. I'm pretty sure that I've seen the "linux kernel development community" multiple times shoot down the idea of doing special-cased security checking for classes of problems. The slowdowns are never acceptable and we should all write perfect code instead. I think it is basically because the industry has convinced itself that bugs are inevitable and there is no way to mitigate those bugs becoming security problems. Back in the 90s, I found security fascinating; but when I realized that nobody had any interest in actually doing anything more than dealing with this week's problem, I decided that wasn't a career path I wanted to follow. Bill Bogstad
- Follow-Ups:
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- References:
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: dsr at randomstring.org (Dan Ritter)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] Port Scanning
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Port Scanning
- Prev by Date: [Discuss] Port Scanning
- Next by Date: [Discuss] Port Scanning
- Previous by thread: [Discuss] Port Scanning
- Next by thread: [Discuss] Port Scanning
- Index(es):