|  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: 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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
39 + 33 = ?
Subscribe to this entry?

 [2008-04-04 09:31 UTC]
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-13 06:09 UTC] michael at bretterklieber dot com
yes you're right.
Patches welcome ;-)
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Oct 17 18:03:40 2021 UTC