On Dec 9, 2014 11:33 AM, "Chuck Anderson" <cra(a)wpi.edu> wrote:
On Tue, Dec 09, 2014 at 11:16:54AM -0700, Pete Travis wrote:
> But seriously, there's an implication in this thread that there will be
> work happening to give stuff a path to ask for an open port. Where can
we
> follow along with that effort? Starting with, say, how I might
change
> `nikola runserver` or `django-admin runserver` to ask for the port, and
> ending with the resulting UI that asks me for approval?
The functionality for a program to ask for an open port already
exists. It is called bind(2).
--
I should have said "ask firewalld for a port to be opened" - sorry, I
thought that would come from the context.
Are you saying bind() should be talking to firewalld, via some approval
agent? how do we make that happen?
--Pete