Socks Security
Access
Web Development -Web Programming
Description
I have installed 3proxy on my server.
I basically use that to create socks.
I had a problem with security here.
I only wanted some users to use those socks.
For which i put the IPs in their allow ip rule.
It worked fine.
But now, for ppl having dynamic ips, it was a problem.
I want to build a script which will have a user console and an admin console.
The user will be able to login, and activate himself to use the socks.
Once the user is activated, he can use the socks, and further if anyone else logs in using some other ip address on the same login information, he should get a msg saying "Reset your New IP" which will basically remove the old ip from the allow list of socks (ie. killing the previous session) and put his new ip in the allow list.
In the same manner, the admin should be able to see all the users and their current IP stored in the allow list. He can remove/add/delete any ip or user.
I think this script has to be coded on some secondary server which will let access on a fully blocked primary server having socks installed in it.
Fully blocked primary server meaning it will giv access to only some predefined IPs of the secondary server and the Admin..
For the users logging in the secondary server, after login and activation, they should be able to get access to the primary socks server.


