php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #58141 no way to specify IP address for requests
Submitted: 2008-04-04 09:31 UTC Modified: 2011-09-08 05:04 UTC
From: shallot@php.net Assigned: mbretter (profile)
Status: Wont fix Package: radius (PECL)
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: shallot@php.net
New email:
PHP Version: OS:

 

 [2008-04-04 09:31 UTC] shallot@php.net
Description:
------------
The radlib.c:rad_init_send_request() function does
sin.sin_addr.s_addr = INADDR_ANY;
It would make sense to implement an option through which one could specify the outgoing IP address for the RADIUS request.

This is particularly relevant in this setting because RADIUS servers customarily restrict address per client IP address. 

If there was a way to pass a custom address with the request, one could add several IP address aliases to the same web server in order for different PHP scripts to do AAA on the same server, distinguished by the address of each request.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-13 06:09 UTC] michael at bretterklieber dot com
yes you're right.
Patches welcome ;-)
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Feb 22 00:01:26 2019 UTC