temporary IP addition to firewall rules
Felipe Alfaro Solana
felipe.alfaro at gmail.com
Sun Feb 4 02:03:17 UTC 2007
On 2/4/07, Noah <admin2 at enabled.com> wrote:
> Hi,
>
> Does anybody have a recommendation for a program out there that would
> allow somebody to enter an account and password on my website, their IP
> address is cached, and the cached IP address is added temporarily to the
> firewall ruleset to be allowed.
I don't know of any, but if you feel adventurous (and you will since
this is probably not very secure), you can write/use a CGI script
that, when properly invoked, does this. You could configure Apache to
protect the CGI script via authentication. From the CGI script is not
very difficult to extract the client IP address and modify the
firewall via iptables.
More information about the ubuntu-users
mailing list