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 01-21-2010, 12:21 AM   #1
kinetic
Member
 
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Rep: Reputation: 17
Looking to block all non-Tor traffic


I'm trying to set up my laptop to be as anonymous as possible with Tor. I want to block all non-Tor traffic from leaving the computer. I was looking to find an firewall that filters by PID, so only Tor can send traffic out. Does something like this exist?

I also considered setting up some kind of TUN/TAP interface that tunneled through Tor's SOCKS proxy, but couldn't find anything that does this. Thanks in advance for any suggestions.
 
Old 01-21-2010, 05:13 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,830
Blog Entries: 54

Rep: Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993Reputation: 2993
If you set proxy envvars, socksify all apps that don't accept proxy envvars including DNS, TOR by default runs with its own UID, so general DROP policies for all combined with an iptables UID match and logging rules to catch rogue traffic could help?
 
1 members found this post helpful.
Old 01-22-2010, 05:15 PM   #3
kinetic
Member
 
Registered: Aug 2007
Location: Fort Collins, Colorado
Distribution: Gentoo
Posts: 64

Original Poster
Rep: Reputation: 17
Thanks, I didn't know about UID based matching. That will definately help me.
 
  


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
TOR: traffic between my workstation TOR entry point really not encrypted..? john99 Incognito 3 11-11-2009 02:06 AM
block internet traffic sunlinux Linux - Networking 6 06-26-2007 11:08 PM
Block Out Traffic on IPCop depam Linux - Software 2 08-23-2006 02:38 AM
how block this traffic echox Linux - Security 5 06-21-2006 11:21 PM
Block Kazaa2 traffic jekyl Linux - Security 4 03-13-2003 04:53 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
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