Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by Corrado on Friday September 26, 2014 @07:33AM
(#8372262)
Which brings to mind the latest push for systemd as an init replacement. :/
[ Parent
| on HN ]
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by lambda on Friday September 26, 2014 @07:57AM
(#8372306)
One thing to recall is that much of the complexity in systemd comes from replacing a whole bunch of dodgy, special purpose code written in shell scripts (init scripts) and in the daemons it manages (daemonization code, various kinds of racy startup dependencies, etc).
Just saying "systemd is complex" is fairly sloppy thinking; the question is, is it more or less complex than re-implementing that functionality poorly and incompatibly several dozen other times in various other daemons and startup scripts?
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by vertex-four on Friday September 26, 2014 @09:20AM
(#8372525)
There's significantly less complex ways to do this sort of thing, though. One that I've been looking at implementing into a distro lately is nosh[0] (and execline[1]). Every bit of code is implemented as a separate, independent utility that can be chained together through the nosh/execlineb "shell", which does no parsing and only a tiny bit of lexing.
This way, it's easy to pick and choose what features and complexity each script needs, and the features that you don't use can't affect you. Nothing is running on your system that you don't know about, and there's no complex "magic" anywhere unless you explicitly ran a command which does magic things.
[0] http://homepage.ntlworld.com/jonathan.deboynepollard/Softwar... [1] http://skarnet.org/software/execline/
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by pmahoney on Friday September 26, 2014 @11:14AM
(#8373032)
Execline is a little mindbending at first, but a really nice way to write scripts for launching other programs.
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by shaurz on Friday September 26, 2014 @07:54AM
(#8372303)
Of course systemd theoretically allow systems to boot without any shell installed.
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by zorked on Friday September 26, 2014 @08:34AM
(#8372396)
You will be shocked to learn that the Linux kernel is actually much bigger :/
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by jude- on Friday September 26, 2014 @02:11PM
(#8373955)
You seem to be committing Systemd Logical Fallacy #12: "The Linux kernel is complex, and you use the Linux kernel, therefore you are okay with systemd being complex too"
Full list of fallacies: http://judecnelson.blogspot.com/2014/09/systemd-biggest-fall...
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by SixSigma on Friday September 26, 2014 @12:12PM
(#8373329)
Which, in itself, is another disaster.
Re:Shellshock DHCP Remote Code Execution – Proof of Concept
by vhost- on Friday September 26, 2014 @01:53PM
(#8373846)
Erm what? Can you elaborate a bit on this?