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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC