Reply
Thread Tools
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#31
Is there a way to log/monitor which HTTP requests are directed to 127.0.0.1 because of the the hosts file, (short of installing apache)? Since I added this here to my hosts file I can't open youtube movies, either from Microb or the MyTube app. So I experimented a bit with tcpdump, but I haven't been able to see the complete http request. Probably probably because HTTP is one level up on the network stack.
 
Posts: 481 | Thanked: 190 times | Joined on Feb 2006 @ Salem, OR
#32
I use privoxy and I'm more than happy with it.
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#33
Originally Posted by ioan View Post
I use privoxy and I'm more than happy with it.
I used privoxy as well but it seems to eat up half the bandwidth, while the hosts/userContent.css method does not.
 
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#34
You really have to be careful which adblock host file you use. I use the one from floppymoose because some I've used in the past blocked a lot more than just ads. If the one you are using isn't suitable, try a different host file.
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#35
Originally Posted by coffeedrinker View Post
You really have to be careful which adblock host file you use. I use the one from floppymoose because some I've used in the past blocked a lot more than just ads. If the one you are using isn't suitable, try a different host file.
Floppymoose only has an example userContent.css file, not a hosts file. Still I would prefer to test and tweak the hosts file myself, so my question remains how to log what has been blocked by it.

Last edited by iamthewalrus; 2008-03-29 at 01:15.
 
Posts: 168 | Thanked: 51 times | Joined on Jun 2007
#36
Heh, yep, I got that wrong. I'm way over tired.

I use the same file you listed above:

http://everythingisnt.com/hosts.html

but I don't have seem to have trouble with it.
 
Posts: 63 | Thanked: 4 times | Joined on Feb 2008
#37
I feel really stupid for asking this question, but I tried saving the userContent.css file to a few places and then found it via xterm. However, it won't let me do the command "mv userContent.css /home/user/.microb/chrome". It gives me the error:
"mv: cannot rename 'userContent.css': No such file or directory." What's going on?
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#38
Originally Posted by Redshift View Post
I feel really stupid for asking this question, but I tried saving the userContent.css file to a few places and then found it via xterm. However, it won't let me do the command "mv userContent.css /home/user/.microb/chrome". It gives me the error:
"mv: cannot rename 'userContent.css': No such file or directory." What's going on?
Like the error message said there is no directory '/home/user/.microb/chrome'. You need to create the 'chrome' directory first. B.t.w. another gotcha is to make sure that userContent.css contains unix-style line endings , and it is readable by user 'user'.
 
Posts: 63 | Thanked: 4 times | Joined on Feb 2008
#39
Well, I had made the chrome directory before trying to move it. I also tried moving it to /, /home, those didn't work either, so I knew it wasn't something wrong with the target directory being invalid...
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#40
Originally Posted by Redshift View Post
Well, I had made the chrome directory before trying to move it. I also tried moving it to /, /home, those didn't work either, so I knew it wasn't something wrong with the target directory being invalid...
You forgot to put the filename at the end of the command:

mv userContent.css /home/user/.microb/chrome/userContent.css
 
Reply

Tags
adblock


 
Forum Jump


All times are GMT. The time now is 18:06.