From: "Allan Kissack" <lists@kissack.freeserve.co.uk>
To: George Vieira <georgev@citadelcomputer.com.au>,
netfilter@lists.netfilter.org
Subject: Re: iptables from cgi script
Date: Tue, 3 Jun 2003 07:28:15 -0000 [thread overview]
Message-ID: <001a01c329a1$b28d8b40$2c00a8c0@local.net> (raw)
In-Reply-To: 09B04A55822EFF4DA48D2E0BB2941D4A0D6D8B@wardrive.citadelcomputer.com.au
>----- Original Message -----
>From: "George Vieira" <georgev@citadelcomputer.com.au>
>To: "Allan Kissack" <lists@kissack.freeserve.co.uk>;
<netfilter@lists.netfilter.org>
>Sent: Monday, June 02, 2003 10:33 PM
>Subject: RE: iptables from cgi script
>
> No your not missing anything.. But I like this idea for the fact that
someone who wants to maliciously attack your site and also open your
firewall if the commands can be run by other than root..
>
> Your only (more secure) option is to authenticate the users and allow them
to write the rules required to a file or a database and get root to read
these and apply them in a seperate process..
>
>
> or just use webmin ;) www.webmin.com
>
> Thanks,
> ____________________________________________
> George Vieira
Thanks George,
I already use webmin for admin, and write the rules via a command line.
What I am looking for is a cgi script that displays the results of
/sbin/iptables -L -n -v and allows no other iptables commands. This web
server is protected from the outside by the iptables and is for convenient
monitoring internally (ie dont need to go to a command line). Do you knwo
of a way I can allow this? The script works except for the "can't
initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded." security issue
--
Allan
next prev parent reply other threads:[~2003-06-03 7:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-02 22:33 iptables from cgi script George Vieira
2003-06-03 7:28 ` Allan Kissack [this message]
2003-06-03 13:30 ` Arnt Karlsen
2003-06-03 7:28 ` Allan Kissack
-- strict thread matches above, loose matches on Subject: below --
2003-06-03 6:32 George Vieira
2003-06-02 5:41 queries Vijay Saha, Noida
2003-06-02 7:34 ` iptables from cgi script Allan Kissack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001a01c329a1$b28d8b40$2c00a8c0@local.net' \
--to=lists@kissack.freeserve.co.uk \
--cc=georgev@citadelcomputer.com.au \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox