LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-19-2009, 08:15 AM   #1
Suppen
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Linux Mint
Posts: 35

Rep: Reputation: 17
Privoxy refuses to upload


I run Privoxy on the same machine as my browser. Until recently, everything worked just fine, but now it refuses to upload. When I tried to enter a site, it took extremely long to load. I tried other sites too, but same problem. I checked my network speed at www.speedtest.net. The ping check seemed to never finish, but when it did, it showed more than 10 sec ping. I found out that my download speed is just fine. My upload is another story. I have 1000 kbit upload, but the test showed just 30. I tried again without going through privoxy, and everything went back to normal.

I have tried to purge privoxy, and then reinstall it. No difference. I have tried both Opera and Firefox. Same problem. OS is Ubuntu.
 
Old 12-20-2009, 11:00 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,990
Blog Entries: 54

Rep: Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743
Quote:
Originally Posted by Suppen View Post
I checked my network speed (..) The ping check seemed to never finish, but when it did, it showed more than 10 sec ping.
Your ping trouble makes me think of ISP-side network problems, not trouble with Privoxy. When the problem occurs again what would be interesting are network test results using something else that uses TCP like 'tcptraceroute' or 'lft' (not 'traceroute' as it uses UDP and not 'ping' as it uses ICMP). Sure you could post (attach?) your Privoxy configuration (please remove comments with 'grep -v "^#"' and remove empty lines), your network (and firewall) settings, and then some but I'd rather see network test results first.
 
Old 12-20-2009, 11:21 AM   #3
Suppen
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Linux Mint
Posts: 35

Original Poster
Rep: Reputation: 17
Forgot to mention that with privoxy disabled, everything, including the ping, was normal. Here are the results:

www.speedtest.net WITH privoxy enabled:
ping: 10834 ms
download: 5.45 Mb/s
upload: 0.03 Mb/s

www.speedtest.net WITHOUT privoxy enabled:
ping: 42 ms
download: 5.45 Mb/s
upload: 0.99 Mb/s


So i'm quite sure its privoxy and not my ISP.

Here is my config:

Quote:
user-manual /usr/share/doc/privoxy/user-manual
confdir /etc/privoxy
logdir /var/log/privoxy
actionsfile match-all.action # Actions that are applied to all sites and maybe overruled later on.
actionsfile default.action # Main actions file
actionsfile user.action # User customizations
filterfile default.filter
logfile logfile
listen-address 127.0.0.1:8118
toggle 1
enable-remote-toggle 0
enable-remote-http-toggle 0
enable-edit-actions 0
enforce-blocks 0
buffer-limit 4096
forwarded-connect-retries 0
accept-intercepted-requests 0
allow-cgi-request-crunching 0
split-large-forms 0
keep-alive-timeout 300
socket-timeout 300

Last edited by Suppen; 12-20-2009 at 11:25 AM.
 
Old 12-20-2009, 05:48 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,990
Blog Entries: 54

Rep: Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743
Ping doesn't go through Privoxy. Hence the request for tcptraceroute/lft network test results.
 
Old 12-21-2009, 08:32 AM   #5
Suppen
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Linux Mint
Posts: 35

Original Poster
Rep: Reputation: 17
Did a basic tcptraceroute. Didnt understand much of lft.
Here is the output of tcptraceroute:

Quote:
suppen@Ubuntu:~$ tcptraceroute www.ubuntu.com
Selected device eth0, address 192.168.0.152, port 38322 for outgoing packets
Tracing the path to www.ubuntu.com (91.189.90.40) on TCP port 80 (www), 30 hops max
1 10.0.0.1 74.228 ms 98.897 ms 100.626 ms
2 1.80-202-103.nextgentel.com (80.202.103.1) 27.586 ms 25.325 ms 24.765 ms
3 217-13-1-194.dd.nextgentel.com (217.13.1.194) 29.999 ms 29.935 ms 31.391 ms
4 80-202-2-74.dd.nextgentel.com (80.202.2.74) 30.827 ms 30.174 ms 30.898 ms
5 37.84-48-3.nextgentel.com (84.48.3.37) 31.727 ms 36.174 ms 30.691 ms
6 * 178.84-48-4.nextgentel.com (84.48.4.178) 30.090 ms 36.285 ms
7 oso-b3-link.telia.net (80.239.193.93) 30.563 ms 31.561 ms 30.192 ms
8 kbn-bb2-link.telia.net (80.91.251.49) 39.763 ms 39.831 ms 37.992 ms
9 hbg-bb2-link.telia.net (80.91.252.114) 47.533 ms 43.643 ms 42.440 ms
10 ldn-bb2-link.telia.net (80.91.247.45) 60.168 ms 59.194 ms
ldn-bb2-link.telia.net (80.91.249.14) 58.004 ms
11 ldn-b5-link.telia.net (80.91.250.168) 62.223 ms
ldn-b5-link.telia.net (80.91.249.180) 58.009 ms 57.759 ms
12 ldn-tch-i1-link.telia.net (80.91.250.210) 57.613 ms 59.628 ms 60.092 ms
13 113069-ldn-tch-i1.c.telia.net (213.248.74.42) 129.572 ms 85.532 ms 57.800 ms
14 canonical-gw.gwr.datahop.net (213.133.130.106) 60.984 ms 61.165 ms 58.622 ms
15 eth0.peumo.canonical.com (91.189.88.10) 59.476 ms 57.977 ms 60.040 ms
16 avocado.canonical.com (91.189.90.40) [open] 60.134 ms * *
 
Old 12-21-2009, 11:17 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,990
Blog Entries: 54

Rep: Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743
Did the problem occur again, or was this a tcptraceroute "just because you can"? When the problem occurs again it would be good to trace a few more common sites like Sourceforge, Slashdot, Google, whatever else you fancy. That might help paint a better picture of network conditions. (Sure it would be more thorough to also use some Looking Glasses in geographically different locations using different backbones too, but OK...)
 
Old 12-21-2009, 11:53 AM   #7
Suppen
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Linux Mint
Posts: 35

Original Poster
Rep: Reputation: 17
The problem is always there. When i go through privoxy, everything goes extremely slow. When i dont, everything is normal. There is no network problem if i dont go through privoxy.

Tested http://just-traceroute.com/. They had about 40 less ping than me (they had about 5-10) but i suppose thats normal, as they probably have much better connection.

I have attached some more local tcptraceroute outputs.
Attached Files
File Type: txt sourceforge traceroute.txt (1.2 KB, 1 views)
File Type: txt slashdot traceroute.txt (1.2 KB, 1 views)
File Type: txt google traceroute.txt (1.3 KB, 1 views)
 
Old 12-21-2009, 12:44 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,990
Blog Entries: 54

Rep: Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743
OK. Please post your Privoxy configuration (please remove comments with 'grep -v "^#"' and remove empty lines).
 
Old 12-21-2009, 12:52 PM   #9
Suppen
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Linux Mint
Posts: 35

Original Poster
Rep: Reputation: 17
I did post the config further up in the thread. Anyway, i think i might have found the problem. It was not privoxy, but my router. I started to suspect that after i connected to another accesspoint on my network, and everything was just fine. I found a ticked checkbox marked "DNS relay", and unticked it. Now it seems like everything works again. Dont understand why that would confuse privoxy and not other network dependent programs though. Thanks for your help anyway
 
Old 12-22-2009, 02:56 AM   #10
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,990
Blog Entries: 54

Rep: Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743Reputation: 2743
Quote:
Originally Posted by Suppen View Post
I did post the config further up in the thread.
Ah, sorry, prolly read over it.


Quote:
Originally Posted by Suppen View Post
Anyway, i think i might have found the problem. It was not privoxy, but my router.
Good to see you've fixed it. Please mark the thread "Solved".
 
  


Reply

Tags
privoxy


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
Privoxy - "Privoxy is not being used" from http://www.privoxy.org/config/ slimjim Linux - Networking 1 03-12-2007 11:07 AM
Proftpd upload to a folder other than 'upload' fooboo Linux - Software 4 04-27-2006 07:51 PM
Privoxy???????? jason.rohde Linux - Networking 0 08-26-2005 09:11 AM
IglooFTP-PRO refuses to upload files in folder when I upload folder eBopBob Linux - Software 0 08-27-2004 05:52 AM
Privoxy BajaNick Linux - Software 5 07-04-2003 03:56 PM


All times are GMT -5. The time now is 02:29 AM.

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