DaemonForums  

Go Back   DaemonForums > DaemonForums.org > Feedback and Suggestions

Feedback and Suggestions We want to hear your thoughts and ideas!

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd February 2016
hanzer's Avatar
hanzer hanzer is offline
Real Name: Adam Jensen
just passing through
 
Join Date: Oct 2013
Location: EST USA
Posts: 314
Default How to access daemonforums with Dillo browser

Hi,

I use OpenBSD and Firefox is a very slow blundering mess on my machine so I use Dillo for most web access. It starts quickly and doesn't load the machine. There is no javascript, but most of the time I consider that to be positive. Accessing daemonforums.org with Dillo would be fine except I can't stay logged in long enough to do anything. Here's my setup:

Dillo -> Privoxy -> Tor

Dillo is configured to enable cookies for daemonforums:
/home/hanzer/.dillo/cookiesrc
Code:
DEFAULT DENY
daemonforums.org ACCEPT
Privoxy is configured to bypass Tor for daemonforums.org connections:
/etc/privoxy/config
Code:
forward           .daemonforums.org     .
So, I think cookies and IP tracking are enabled. What else does daemonforums need to maintain a session?
Reply With Quote
  #2   (View Single Post)  
Old 22nd February 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

If I were you I would experiment with forwarding. Maybe a few new lines will do the job.

Code:
forward           .daemonforums.org     .
forward           *.daemonforums.org     . # I do not know if this is semantically correct
forward           daemonforums.org     .
Keep in mind that privoxy usually do the last matching job, so forwarding to Tor client should be first and then cancelling forwarding to daemonforums by dot ".".
Reply With Quote
  #3   (View Single Post)  
Old 22nd February 2016
hanzer's Avatar
hanzer hanzer is offline
Real Name: Adam Jensen
just passing through
 
Join Date: Oct 2013
Location: EST USA
Posts: 314
Default

I tested the forwarding syntax by adding a rule:
Code:
forward           .whatismyipaddress.com     .
After the appropriate restarts, accessing that website with Dillo gets a report with my actual IP address. This forwarding syntax seems to be correct. Thanks for the hint but no joy so far.

The problem does seem to be Privoxy related. If Privoxy is bypassed and Dillo connects directly to daemonforums.org then everything is okay.

Privoxy seems to be blocking something. So I guess the original question stands: What else does daemonforums need to maintain a session?
Reply With Quote
  #4   (View Single Post)  
Old 22nd February 2016
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

Sorry, I have no idea

You could try to run tcpdump to capture traffic with firefox, and compare that with the tcpdump data when you connect with Dillo.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 22nd February 2016
e1-531g e1-531g is offline
ISO Quartermaster
 
Join Date: Mar 2014
Posts: 628
Default

You can also obtain some information on applied rules on page:
http://config.privoxy.org/show-url-i...emonforums.org

Added: my output for daemonforums.org
match-all.action
Code:
{+change-x-forwarded-for{block} 
+client-header-tagger{image-requests} 
+client-header-tagger{css-requests} 
+filter{refresh-tags} 
+filter{img-reorder} 
+filter{banners-by-size} 
+filter{webbugs} 
+filter{jumping-windows} 
+hide-from-header{block} 
+hide-referrer{conditional-block} 
+session-cookies-only 
+set-image-blocker{pattern} }
user.action
Code:
{+hide-user-agent{Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2598.0 Safari/537.36} }
/
{+limit-cookie-lifetime{30} }
/
{+overwrite-last-modified{block} }
/
{+hide-if-modified-since{block} }
/
{+hide-referrer{forge} }
Final results:
Code:
+change-x-forwarded-for{block} 
+client-header-tagger{image-requests} 
+client-header-tagger{css-requests} 
+filter{refresh-tags} 
+filter{img-reorder} 
+filter{banners-by-size} 
+filter{webbugs} 
+filter{jumping-windows} 
+hide-from-header{block} 
+hide-if-modified-since{block} 
+hide-referrer{forge} 
+hide-user-agent{Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2598.0 Safari/537.36} 
+limit-cookie-lifetime{30} 
+overwrite-last-modified{block} 
+session-cookies-only 
+set-image-blocker{pattern}
I know, I should do better config for privoxy. I am going to do so in future

Last edited by e1-531g; 22nd February 2016 at 10:28 PM. Reason: added my rules
Reply With Quote
  #6   (View Single Post)  
Old 23rd February 2016
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Are you sure privoxy isn't stripping out either the Cookie header that your browser sends to the server, or the Set-Cookie header that the server sends to your browser?

Because that's all that should be needed...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Elinks vs Daemonforums Beastie Feedback and Suggestions 3 23rd January 2011 05:51 AM
daemonforums in Midori Mr-Biscuit Off-Topic 3 8th January 2011 10:35 PM
DaemonForums on BSDTalk ai-danno Feedback and Suggestions 12 28th July 2008 07:16 AM


All times are GMT. The time now is 05:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick