Re: restrict implicit binding to addresses
- From: Wolfgang Draxinger <wdraxinger@xxxxxxxxxxxxxxxx>
- Date: Thu, 30 Oct 2008 09:40:20 +0100
David Schwartz wrote:
Normally this would be done by a firewall. Why is iptables not
the answer?
Well, iptables will do the job, it just _must_ be configured
correctly.
The human factor is the problem: The system will be run mostly by
students, which don't care about such things. Important thing
is, that their simulation programs (running on the cluster in
one of the private networks) do their job. And on the data hub
they can install their own deamons for data selection and
proxying. A security nightmare, those programs won't be checked
for exploits and similiar stuff. The problem is, that the data
hub also needs reasonably fast connection to the local backbone
(Münchner Wissenschaftsnetz), either to transfer the data to the
supercomputer in the LRZ, the group sometimes get computing time
on it, or to feed a grid.
You need to configure allowed and un-allowed services,
obviously, so why not do it in the iptables? You can do it by
user, by port, or by any other method iptables allows.
Tonight I figured, I could filter for programs pid, gid and
command line for outgoing packets. Then put a small helper
program around the daemon, that opens the firewall for the
programs that are started by it. Hmm, thinking about it, I could
also ptrace for bind and open the ports in the iptable on demand
(think about protocols, that are as brain dead like FTP...).
Wolfgang Draxinger
--
E-Mail address works, Jabber: hexarith@xxxxxxxxxx, ICQ: 134682867
.
- Follow-Ups:
- Re: restrict implicit binding to addresses
- From: David Schwartz
- Re: restrict implicit binding to addresses
- References:
- restrict implicit binding to interfaces
- From: Wolfgang Draxinger
- Re: restrict implicit binding to interfaces
- From: David Schwartz
- Re: restrict implicit binding to addresses
- From: Wolfgang Draxinger
- Re: restrict implicit binding to addresses
- From: David Schwartz
- restrict implicit binding to interfaces
- Prev by Date: Re: One web server, multiple domains; a slight twist
- Next by Date: Re: One web server, multiple domains; a slight twist
- Previous by thread: Re: restrict implicit binding to addresses
- Next by thread: Re: restrict implicit binding to addresses
- Index(es):
Relevant Pages
|