openSUSE Forums > Network/Internet » Stop a software from accessing Internet

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 28-Aug-2009, 09:50
ipoloton's Avatar
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 15
ipoloton hasn't been rated much yet
Question Stop a software from accessing Internet

Hi,

I'm trying to stop a software from accessing internt, but I don't know how to do it. Would you please let me know how it is possible?

Thanks
Reply With Quote
  #2 (permalink)  
Old 28-Aug-2009, 10:04
Explorer Penguin
 
Join Date: Apr 2009
Posts: 678
ab@novell.com hasn't been rated much yet
Default Re: Stop a software from accessing Internet

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That's a big vague... what are you trying to do? You could not load the
software, or you could make your system unable to connect to the internet.
You could perhaps set the software into "Offline Mode" or something.

Good luck.





ipoloton wrote:
> Hi,
>
> I'm trying to stop a software from accessing internt, but I don't know
> how to do it. Would you please let me know how it is possible?
>
> Thanks
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJKl/HjAAoJEF+XTK08PnB5VP8P/REP1AqgGBtObg8i3udUFAdG
mD6hUGBHy8/HdinceKAoq1D7SGNl8syaKIub9E9ksaI9VEM9wFAm/Z+FWX0opPs8
28w1wjejcLTzZQoBGgR26/9LnhoC4hLHXHyZ8TrheA4jfUNXZu9YlOALYq4WQzRY
KyJE+3lr0St2Zd8N5lB8yat2Pdw1zpB8NVuK/x+OPblwGcMIQS69wqC+lkYbTd8z
0g3LTiSOOiHxwpXgBjnb0m+iIKvebkibOEUzcXdDwE18v4FNFr 4Ovt843zKD3404
nyj/mPRges4B9exR9xxQD8U7WnE+WNbUeCEXWcjAgEKDEMsOMZP5eH 5IuqJp3+uo
G8ho21Guk2cEycZxHkb2RpXN32jkNylSGwVoqViwaaaTx20EKd uxgmnrbHI1Mto0
2b85X178qpkhibxGb4yjG9oCc8d73g7kd7oEVOZUJpfewo168g jS8uKO3pHVZthF
4qnLGaIgth3npUKRXPJRbK8O3i7P9ZMjXpDcZemINws/ADn6v0cnRlEscOuG5SXA
vstXWj011+3UZjZogg1MqWqgagnRR+MomXr3vGaNcaDmu6elJ1 6DhjZkxLwOhUDc
HBtQjlv+KEezPT8XrMnRqKaI5PWIPY3HQPSgE62a48Stt86PDr QCWq+36aBKMylI
XMkR2Pv0+nyfJJ57X/x5
=Dbo/
-----END PGP SIGNATURE-----
Reply With Quote
  #3 (permalink)  
Old 28-Aug-2009, 11:21
ipoloton's Avatar
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 15
ipoloton hasn't been rated much yet
Default Re: Stop a software from accessing Internet

I didn't quite understand. You mean that the only way is that either to unable the systems to access to internet, or not to run the software?
The software does not have an offline mode. that's the problem.
Reply With Quote
  #4 (permalink)  
Old 28-Aug-2009, 11:38
malcolmlewis's Avatar
Global Moderator
 
Join Date: Jun 2008
Location: Podunk
Posts: 4,673
malcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputationmalcolmlewis has great reputation
Default Re: Stop a software from accessing Internet

Quote:
Originally Posted by ipoloton
I didn't quite understand. You mean that the only way is that either to
unable the systems to access to internet, or not to run the software?
The software does not have an offline mode. that's the problem.
Hi
So you want the software (it might help if we have a name for it) to
access a local lan? Or no access? If so does it access a particular
site, or place on the internet? If for example it was firefox and I
didn't want anyone accessing say www.ubuntu.com from the local machine
I could add an entry in /etc/hosts
Code:
127.0.0.0 www.ubuntu.com 91.189.94.9
--
Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.2 Milestone 6 (i586) Kernel 2.6.31-rc6-3-desktop
up 0:53, 2 users, load average: 0.05, 0.09, 0.10
ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME

Reply With Quote
  #5 (permalink)  
Old 28-Aug-2009, 12:07
google01103
Guest
 
Posts: n/a
Default Re: Stop a software from accessing Internet

ipoloton wrote:

>
> Hi,
>
> I'm trying to stop a software from accessing

internt, but I don't know
> how to do it. Would you please let me know how it

is possible?
>
> Thanks
>
>

is what you're looking for something like a Windows
firewall (zonealarm) where an application must be
given permission before it can access the Internet?

something like http://tuxguardian.sourceforge.net/,
which appears to no longer be in development?
--
openSuse 11.1 x64bit, KDE4.x Factory, Opera weekly
Reply With Quote
  #6 (permalink)  
Old 30-Aug-2009, 06:05
Student Penguin
 
Join Date: Jun 2008
Location: Norwich, UK
Posts: 77
fudokai hasn't been rated much yet
Default Re: Stop a software from accessing Internet

ipoloton wrote:

>
> Hi,
>
> I'm trying to stop a software from accessing internt, but I don't know
> how to do it. Would you please let me know how it is possible?
>
> Thanks
>
>


If you're just looking to stop one application from accessing the internet
you probably want to mess with iptables.

Adobe Acrobat 7 decided to 'call home' to log which documents you opened and
I've seen in iptables entry of ...
iptables -A OUTPUT -m owner --cmd-owner acroread -j DROP
suggested as a way to block it.


You'll have to teach yourself iptables but that's definitely one way of
doing it.
Me, I just stopped using acrobat reader :-)

Alan
Reply With Quote
  #7 (permalink)  
Old 30-Aug-2009, 22:45
Student Penguin
 
Join Date: Apr 2009
Posts: 65
PVince81 hasn't been rated much yet
Default Re: Stop a software from accessing Internet

I guess it might also be possible to achieve this with AppArmor, but might be more complex to set up than iptables.
Reply With Quote
  #8 (permalink)  
Old 31-Aug-2009, 11:07
ipoloton's Avatar
Puzzled Penguin
 
Join Date: Aug 2009
Posts: 15
ipoloton hasn't been rated much yet
Default Re: Stop a software from accessing Internet

I'm absolutely looking for something like zonealarm.

Code:
iptables -A OUTPUT -m owner --cmd-owner acroread -j DROP
I'm trying to stop MATLAB to access the internet. So I supposed that i should put MATLAB instead of acroread. Yes?
I decided to take a look th iptables tutorial, but it was very long and confusing.
Quote:
I guess it might also be possible to achieve this with AppArmor
I looked for AppArmor in software management, but there are dozens of them, and I don't know which one to install.



This might help. When I start MATLAB, it says this in the terminal:
Quote:
libxcb: WARNING! Program tries to unlock a connection without having acquired
a lock first, which indicates a programming error.
There will be no further warnings about this issue.

what does this mean?

I don't wanna give up and stop using MATLAB.
Reply With Quote
Reply

Bookmarks

Tags
access, internet, stop


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2