You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2015/12/12 21:08:49 UTC
[Bug 58725] New: add IP_FREEBIND functionality to allow apache httpd
to bind to addresses not owned by any interface
https://bz.apache.org/bugzilla/show_bug.cgi?id=58725
Bug ID: 58725
Summary: add IP_FREEBIND functionality to allow apache httpd to
bind to addresses not owned by any interface
Product: APR
Version: 1.5.2
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: APR
Assignee: bugs@apr.apache.org
Reporter: asfbugzilla5714@ashleygc.co.uk
Created attachment 33342
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33342&action=edit
unified diff patch to add APR_FREEBIND
I'd like apache httpd to be able to bind to addresses not owned by any
interface, and this requires a call to setsockopt with the IP_FREEBIND option.
Attached is a patch (unified diff) for APR which adds a new APR_FREEBIND option
and an extra case in apr_socket_opt_set.
For extra explanation, there is this:
https://serverfault.com/questions/742206/how-can-apache-be-configured-to-listen-on-a-single-ipv6-address-which-does-not-b
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 58725] [patch] add IP_FREEBIND functionality to allow apache
httpd to bind to addresses not owned by any interface
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58725
Ashley GC <as...@ashleygc.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|add IP_FREEBIND |[patch] add IP_FREEBIND
|functionality to allow |functionality to allow
|apache httpd to bind to |apache httpd to bind to
|addresses not owned by any |addresses not owned by any
|interface |interface
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 58725] [patch] add IP_FREEBIND functionality to allow apache
httpd to bind to addresses not owned by any interface
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58725
jkaluza@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jkaluza@redhat.com
--- Comment #1 from jkaluza@redhat.com ---
Created attachment 33592
--> https://bz.apache.org/bugzilla/attachment.cgi?id=33592&action=edit
Improved patch returning APR_ENOTIMPL if IP_FREEBIND not available
I'm not sure if we need to touch network_io for win32 or os2 too...
So far os2 would return APR_SUCCESS and do nothing - but it has the same
behaviour for APR_INCOMPLETE_READ for example.
Win32 would return APR_EINVAL, but it also does that for APR_INCOMPLETE_READ or
others flags which it doesn't handle.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 58725] [patch] add IP_FREEBIND functionality to allow apache
httpd to bind to addresses not owned by any interface
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58725
Joe Orton <jo...@redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Joe Orton <jo...@redhat.com> ---
Committed as APR_SO_FREEBIND in r1733451 and later - thanks!
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org
[Bug 58725] [patch] add IP_FREEBIND functionality to allow apache
httpd to bind to addresses not owned by any interface
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58725
--- Comment #3 from Ashley GC <as...@ashleygc.co.uk> ---
Thanks, all. I'll test it as soon as I can.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org