2008-12-22, 09:45 PM
Serpendiem Wrote:haha01haha01 Wrote:#1 rule in programming (and in life): everything can be hacked. it doesnt matter how hard you try, it isnt possible for something to be completely hacker proof.No not everything. Programs that are made without a lot of care can.
DJB has written a mail daemon for which he guarantees that it is secure. (There are some problems with it that you could argue about how bad they are but there are no (known) real security problems within the program itself...)
I know this is a common excuse for programmers writing buggy code ("bugfree programs are impossible") but that's just wrong...
If it is runnable, then it is crackable. Apply some common sense to the case: If the computer understands what to do, when why can't a human? We were the ones who made the computer and its machine-code, so being able to understand a code and eventually change parts of it is always possible.
A mail daemon is a net-based server-program and will reply to packages sent in by sending packages back. But since this program runs on another computer, the daemon can't be hacked by others unless it sends itself in a packet by receiving a special type of packet. And we all know it'll be completely idiotic to program that into the mail daemon.
I'm not completely sure about the definition of a bug, but it's probably in the lines of "undocumented feature" or "feature not intended by the creator". That, however, is possible to create.

