LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-16-2005, 06:18 PM   #1
furryspider
Member
 
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Slackware 14.1
Posts: 56

Rep: Reputation: 15
Question amaroK: How to prevent it from accessing the net?


I searched the compilation options, the runtime options, the amarok site, google and LQ, and couldn't find anything. So I hope this question isn't stupid. Here goes.

Background
========
I was pointed to amaroK recently and tried it out. Compiled nicely, and the first impression is really good. I'd like to continue using it.

Problem
======
I do not trust applications that don't give me control about if and when they access the network. I already disabled the "Amazon-Feature" per compile-time-option, but still, when I click on the "Lyrics" or "Artist" tabs (freely translated from the German interface, hopefully not missing the English names by much), the program accesses the net.

Question
======
How do I prevent this from happening? I mean, apart from not clicking on those tabs.
Let me rephrase: How do I tell amaroK to stay local, period?
Is there some secret option, something I can disable for compilation? Any way at all?

Thanks for your help!
furrySpider
 
Old 09-17-2005, 10:03 AM   #2
Markieman234
LQ Newbie
 
Registered: Jun 2005
Location: Germany
Posts: 6

Rep: Reputation: 0
Hmm. Interesting question.

Unfortunately, you can't stop the program from accessing the net without modifying its source code and voiding parts which refer to tcpip requests.
What I would suggest is simply setting up your firewall to block access to all the IP addresses amaroK attempts to connect to.
Find out what these are by using any network activity monitoring tool and then adding clauses to your HOSTS file ( search for hosts.config as super user ) preventing any connection to the given location.

If you don't like manual editing of .conf files, a program called 'guarddog' will do it for you.
http://rpm.pbone.net and do a search for your distro.

Now, the clear drawback here is that you won't be able to access any HOSTS blocked site from any web browser by doing this, for example amazon will be blocked (Where do the covers from amaroK's cover manager come from? Correct!), so I hope you're not an Amazon customer.

To be honest though, I can't really understand why you'd want to stop amaroK from accessing the net. It's not as if it's Windows Media Player and its sending all your private data to Micro$oft; its a good, honest GPL'd app that has absolutely no interest in what you do or don't listen to.
After all, why go penguin if we can't trust opensource?

Good Luck


Mark
 
Old 09-17-2005, 03:42 PM   #3
furryspider
Member
 
Registered: Feb 2004
Location: by the Bavarian Sea
Distribution: Slackware 14.1
Posts: 56

Original Poster
Rep: Reputation: 15
Hey Mark,

thanks for the reply.

Your answer confirms what I have feared. I know close to nothing about programming, but even if I did - going through the amarok sources searching for networking parts and removing them without breaking the whole is not something I'd consider an acceptable price to pay for this app.

Having to block ip addresses to keep an app from doing unwanted stuff is one of the things that drove me away from 'that other OS'. Of course, I put a lot more trust in open source software than I do in those ominous win apps, but still I get uncomfortable when my software doesn't let me decide, seemingly only to be 'nicer' or 'more beautiful' or 'easier'. I've heard these things before, on 'that other OS'. Call me paranoid, call me cautious.

That, and also, I'm on an analog modem, so I don't have much bandwidth to spare.

Guess I'll stay with XMMS.

Thanks again for replying!
furrySpider
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
prevent irc script accessing web site dtra Linux - Networking 3 06-09-2005 06:10 AM
Prevent program from accessing the internet penguinco Fedora 3 03-28-2005 07:21 AM
Prevent user from accessing the Internet koy-b Linux - Security 2 07-17-2004 12:17 PM
Accessing SSH thru the net. TRi-x2 Linux - Security 5 03-28-2004 07:48 AM
prevent users from accessing KDE or GNOME cyberswami Linux - Security 6 01-24-2003 01:46 PM


All times are GMT -5. The time now is 05:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration