Re: IP Chains
| From: | Shawn J. Wallace | Date: | Mon, 23 Apr 2001 19:27:10 +0000 |
| Subject: | Re: IP Chains | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49915@lists.php.net to get a copy of this message | ||
At 12:18 AM 4/24/2001 -0700, you wrote:
I wanted o ask u about a problem regarding my project. The project is related to "Cyber Cafe Authentication". Here we have to chk whether a set of user name & password is valid and if valid allow this user access to internet. All the scripitng has been done in PHP and the operating system is linux. Now we just have to link "IP CHAINS" to our php script. That is when the user is allowed to access internet, ip chains should start running through the script. However we are stuck at this problem & cannot find a sound solution. Can u plz help us? That would be very nice :)Something to think about - apache doesn't run as root, ipchains requires that you be root. I suppose you could suid it, but that's an evil solution. Other than that, I'd recommend reading up on ipchains... there's a decent HOWTO at www.linux.org Shawn