News for hackers. Stuff that matters.
Re:Introducing OpenBSD's httpd [pdf] by talles on Monday March 23, 2015 @01:10PM (#9252002)
> The situation of nginx in OpenBSD frustrated me

What situation?

Re:Introducing OpenBSD's httpd [pdf] by nickysielicki on Monday March 23, 2015 @01:39PM (#9252191)
...did you just skip to slide 8? Explaining that was the first 7 slides.

- They need a web-server in base.

- They demand security.

- He submitted a patch for nginx to embrace new secure methods.

- It was rejected.

- Because a base server is required in base, and they don't want to maintain a fork of nginx for base: "Introducing HTTPD".

Re:Introducing OpenBSD's httpd [pdf] by stsp on Monday March 23, 2015 @01:33PM (#9252144)
Re:Introducing OpenBSD's httpd [pdf] by notacoward on Monday March 23, 2015 @01:22PM (#9252086)
"It wasn't invented here."
Re:Introducing OpenBSD's httpd [pdf] by kgadek on Monday March 23, 2015 @01:31PM (#9252134)
Possibly (dunno). But they refer to that on slide 7:

    -  We also introduced new safer APIs like reallocarray()
    -  I wrote a big diff for nginx to adopt reallocarray() other such techniques
    -  And it got rejected.
Re:Introducing OpenBSD's httpd [pdf] by yarrel on Monday March 23, 2015 @02:53PM (#9252678)
Is reallocarray() BSD-specific? That might explain it.
Re:Introducing OpenBSD's httpd [pdf] by wongarsu on Monday March 23, 2015 @03:06PM (#9252762)
It's OpenBSD specific. But it's also just 10 lines of portable C that are permissively licensed and can be added to any project without problems. It's even in a separate source file for this very purpose [1]

[1] https://github.com/robertbachmann/openbsd-libc/blob/master/s...

Re:Introducing OpenBSD's httpd [pdf] by angersock on Monday March 23, 2015 @03:59PM (#9253023)
I like that. I might even swipe it for my own projects.
Re:Introducing OpenBSD's httpd [pdf] by DominikD on Tuesday March 24, 2015 @03:58PM (#9259043)
That'd be true if it weren't for a bunch of external projects that OpenBSD uses or which are hosted as part of OBSD but weren't invented by the OpenBSD folks (tmux is one such example). It all boils down to priorities: if your priority is security, chances are there's very little code out there you can drop in and use.
Re:Introducing OpenBSD's httpd [pdf] by easytiger on Monday March 23, 2015 @03:39PM (#9252921)
Don't know why you are being downvoted, that is a huge amount of the motivation behind openbsds innovations.
Re:Introducing OpenBSD's httpd [pdf] by pyvpx on Monday March 23, 2015 @04:18PM (#9253129)
you're both being downvoted because you're both completely wrong. it turns out permissively licensed, security-focused, and easy to maintain code bases aren't easy to find outside of OpenBSD. so sometimes they have to write their own.

say, a packet filter, for example...

Re:Introducing OpenBSD's httpd [pdf] by nickysielicki on Monday March 23, 2015 @04:36PM (#9253212)
did you even RTFA? They wanted to continue using nginx.
Re:Introducing OpenBSD's httpd [pdf] by easytiger on Tuesday March 24, 2015 @02:40AM (#9255165)
Exactly, they want to appropriate it and improve it in line with their philospohy. That isn't incompatible with my comment.
Re:Introducing OpenBSD's httpd [pdf] by nickysielicki on Tuesday March 24, 2015 @11:28PM (#9261116)
That would be forking, no?

They're not appropriating it. They're just creating another reverse proxy.