All of lore.kernel.org
 help / color / mirror / Atom feed
* block network access for certain users/groups
@ 2010-07-29 19:09 Elmar Stellnberger
  2010-07-29 19:33 ` Lars Nooden
  0 siblings, 1 reply; 14+ messages in thread
From: Elmar Stellnberger @ 2010-07-29 19:09 UTC (permalink / raw)
  To: netfilter



I need to block network access for certain users/groups, fully:

iptables -A mychain -m owner --gid-owner blockedusergroup -j DROP

...drops ping packages in the output chain but lets my user happily  
connect to localhost:631 or any other http address. In deed the rule above  
is therefore pretty useless.

I need to block ALL incoming and outgoing packages for a certain  
user/group.
At the moment there is only insufficient blocking for outgoing packages  
available.

What will I have to do to implement network access restrictions on a per  
user/group basis?
Logging such packages is already possible. Why is blocking them not?
Can anyone help me?

Elmar Stellnberger

^ permalink raw reply	[flat|nested] 14+ messages in thread
[parent not found: <AANLkTin8w74SAe67ZPqPE0Q=0fPpZOHnTCnjAT+AduCY@mail.gmail.com>]
* block network access for certain users/groups
@ 2010-07-29 19:09 Elmar Stellnberger
  2010-07-29 19:33 ` Richard Horton
  0 siblings, 1 reply; 14+ messages in thread
From: Elmar Stellnberger @ 2010-07-29 19:09 UTC (permalink / raw)
  To: netfilter



I need to block network access for certain users/groups, fully:

iptables -A mychain -m owner --gid-owner blockedusergroup -j DROP

...drops ping packages in the output chain but lets my user happily  
connect to localhost:631 or any other http address. In deed the rule above  
is therefore pretty useless.

I need to block ALL incoming and outgoing packages for a certain  
user/group.
At the moment there is only insufficient blocking for outgoing packages  
available.

What will I have to do to implement network access restrictions on a per  
user/group basis?
Logging such packages is already possible. Why is blocking them not?
Can anyone help me?

Elmar Stellnberger

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-08-30 11:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-29 19:09 block network access for certain users/groups Elmar Stellnberger
2010-07-29 19:33 ` Lars Nooden
2010-07-30  9:00   ` Jan Engelhardt
2010-07-30 11:34     ` Lars Nooden
2010-07-30 20:10       ` Elmar Stellnberger
2010-07-31  5:04         ` Richard Horton
     [not found] <AANLkTin8w74SAe67ZPqPE0Q=0fPpZOHnTCnjAT+AduCY@mail.gmail.com>
2010-08-25 11:09 ` Elmar Stellnberger
2010-08-25 11:58   ` Tetsuo Handa
2010-08-26 12:28     ` Tetsuo Handa
2010-08-30 11:36       ` Elmar Stellnberger
2010-08-30 11:55         ` Tetsuo Handa
2010-08-25 16:02   ` Hagen Paul Pfeifer
  -- strict thread matches above, loose matches on Subject: below --
2010-07-29 19:09 Elmar Stellnberger
2010-07-29 19:33 ` Richard Horton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.