Linux Security
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Linux Security

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old November 9th, 2007, 06:09 AM
Andreas Bolsch
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
AppArmor and blocking network connections

The problem I'm considering is the following (openSuSE 10.3):

Some proprietary software is based on the client-server model, the communication
takes place via a TCP socket. Since I don't want to trust this software too
much, I've restricted file access of both the client and server via AppArmor
profiles.

Unfortunately, both components need "network inet(6) stream" facility due to the
TCP socket usage. But this means there is no possibility to prevent remote TCP
communication any more?! So although file accesses are restricted, there is no
way to stop that software from sending e.g. usage statistics or other
confidential information to somewhere.

The only possibility I can see right now is to block outbound TCP traffic via
iptables using e.g. "" matching rules. But the man page says this
is broken on SMP machines, hence not useable.

Is there any way to restrict network access to either a specific interface (lo)
or to "local" destination via AppArmor?

If not, this might be a useful extension as the usage case described above is
certainly quite common.

Regards,
Andreas Bolsch

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Linux Security > AppArmor and blocking network connections


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT