Re: [PHP] Re: How to limit source IP in PHP

2012-09-18 Thread Tonix (Antonio Nati)
Il 18/09/2012 16:24, Daniel Brown ha scritto: On Tue, Sep 18, 2012 at 9:15 AM, Ian wrote: Hi Curtis, I am suffering from sleep deprivation due to a new family addition and I fail to see how your code will prevent a malicious user from binding to an IP that I do not want him to. It appears to

Re: [PHP] Re: How to limit source IP in PHP

2012-09-18 Thread Daniel Brown
On Tue, Sep 18, 2012 at 9:15 AM, Ian wrote: > > Hi Curtis, > > I am suffering from sleep deprivation due to a new family addition and I > fail to see how your code will prevent a malicious user from binding to > an IP that I do not want him to. It appears to be an example of how to > bind to an I

[PHP] Re: How to limit source IP in PHP

2012-09-18 Thread Ian
On 14/09/2012 20:08, Curtis Maurand wrote: > On 9/14/2012 7:20 AM, Ian wrote: >> On 12/09/2012 14:53, Tonix (Antonio Nati) wrote: >>> Is there a way to force a PHP script to bind to a prefixed IP? >>> >>> Actually, while you can assign more IPs to Apache for listening, >>> assigning domains to spec

Re: [PHP] Re: How to limit source IP in PHP

2012-09-14 Thread Curtis Maurand
On 9/14/2012 7:20 AM, Ian wrote: On 12/09/2012 14:53, Tonix (Antonio Nati) wrote: Is there a way to force a PHP script to bind to a prefixed IP? Actually, while you can assign more IPs to Apache for listening, assigning domains to specific IPs, it looks like any PHP script can freely choose whi

[PHP] Re: How to limit source IP in PHP

2012-09-14 Thread Ian
On 12/09/2012 14:53, Tonix (Antonio Nati) wrote: > > Is there a way to force a PHP script to bind to a prefixed IP? > > Actually, while you can assign more IPs to Apache for listening, > assigning domains to specific IPs, it looks like any PHP script can > freely choose which IP to bind. Instead