Discussion:
konqueror doesn't use proxy by default
Ralf Gesel|ensetter
2004-09-20 16:33:07 UTC
Permalink
Hi there,

before making it a bug report, I like to double-check:

Today we engaged some blacklist for squid. We wondered why pages weren't
locked that should. Then we closed our DSL router for all machines but
tjener. And suddenly no traffic went out at all. We found out, that only
Opera used webcache:3128 as proxy by default, whereas mozilla and konqueror
don't. http_proxy is set to http://webcache:3128.

Manually entering the proxy settings into konqueror created this file:

~/.kde/share/config/kioslaverc:
========================
[Proxy Settings]
NoProxyFor=localhost
Proxy Config Script=
ProxyType=1
ftpProxy=http://webcache:3128
httpProxy=http://webcache:3128
httpsProxy=http://webcache:3128

I found this file in a central positions, two, this is:
/usr/share/debian-edu/common/share/config/kioslaverc

But aparently, it is not used by konqueror automatically.

Any similar experiences? I will write a distributing script that either
spreads the file to all users or creates linls to the central copy for all
users.

Regards
Ralf
Stefan Padberg
2004-09-20 18:01:16 UTC
Permalink
Hi,

I observed the same thing: Neither Konqueror nor Mozilla have the proxy-server
activated.

Installation: woody-test

I was wondering whether there is another mechanism for activating the use of
squid. I thought that it cannot be that the pupils themselves can
activate/deactivate(!) the use of the proxy server!

Greetings
Stefan Padberg, Wuppertal
Post by Ralf Gesel|ensetter
Hi there,
Today we engaged some blacklist for squid. We wondered why pages weren't
locked that should. Then we closed our DSL router for all machines but
tjener. And suddenly no traffic went out at all. We found out, that only
Opera used webcache:3128 as proxy by default, whereas mozilla and konqueror
don't. http_proxy is set to http://webcache:3128.
========================
[Proxy Settings]
NoProxyFor=localhost
Proxy Config Script=
ProxyType=1
ftpProxy=http://webcache:3128
httpProxy=http://webcache:3128
httpsProxy=http://webcache:3128
/usr/share/debian-edu/common/share/config/kioslaverc
But aparently, it is not used by konqueror automatically.
Any similar experiences? I will write a distributing script that either
spreads the file to all users or creates linls to the central copy for all
users.
Regards
Ralf
Ralf Gesel|ensetter
2004-09-20 19:03:30 UTC
Permalink
Post by Stefan Padberg
I was wondering whether there is another mechanism for activating the use
of   squid. I thought that it cannot be that the pupils themselves can
activate/deactivate(!) the use of the proxy server!
Well, the pupils should be able to surf without having to enter the proxy (or
using opera). To prevent pupils from accessing the web directly by
deactivating the proxy, you must restrict access to 10.0.2.2 which is tjener
on you dsl router / firewall.

I just copied two files into some config folder and now spread it to all
users:
__
# script (users.lst contains a list of all existing users):
for a in `cat /root/ralf/users.lst`
 do
   cp -pfv /root/ralf/config/* /skole/tjener/home0/$a/.kde/share/config/
   chown -R  $a.$a /skole/tjener/home0/$a/.kde/share/config
done
__
# file config/kio_httprc (disabled cache manually to save disc space on ltsp)
MaxCacheSize=0
SendUserAgent=true
UseCache=false
UserAgentKeys=o
cache=Verify
__
# file config/kioslaverc
[Proxy Settings]
NoProxyFor=localhost
Proxy Config Script=
ProxyType=1
ftpProxy=http://webcache:3128
httpProxy=http://webcache:3128
httpsProxy=http://webcache:3128

Maybe this helps for you, too. Have to try the result tomorrow, I did this
script remotely.

Regards
Ralf
Ralf Gesel|ensetter
2004-09-20 19:15:41 UTC
Permalink
Post by Stefan Padberg
was wondering whether there is another mechanism for activating the use of
  squid.
Hi, we found the bug:

Log in as root on your LTSP and type:

# ls -l /etc/kde2/kioslaverc

if you get (like me):

-rw------- 1 root root 122 10. Mär 2004 /etc/kde2/kioslaverc

then you have to run:

# chmod a+r /etc/kde2/kioslaverc

Try again and please tell us, if this works!

Regards
Ralf
Finn-Arne Johansen
2004-09-20 17:31:50 UTC
Permalink
Post by Ralf Gesel|ensetter
Hi there,
Today we engaged some blacklist for squid. We wondered why pages weren't
locked that should. Then we closed our DSL router for all machines but
tjener. And suddenly no traffic went out at all. We found out, that only
Opera used webcache:3128 as proxy by default, whereas mozilla and konqueror
don't. http_proxy is set to http://webcache:3128.
Which version is this of the CD ?
dont remember when, but mozilla has had settings for proxy since before
1.0 . This is done in the file /etc/mozilla/prefs.js
Post by Ralf Gesel|ensetter
========================
[Proxy Settings]
NoProxyFor=localhost
Proxy Config Script=
ProxyType=1
ftpProxy=http://webcache:3128
httpProxy=http://webcache:3128
httpsProxy=http://webcache:3128
/usr/share/debian-edu/common/share/config/kioslaverc
You could also copy this indo /etc/skel/.kde/....
Post by Ralf Gesel|ensetter
But aparently, it is not used by konqueror automatically.
Yes, it should. But do you really want to use konqueror 2.2 for
webbrowsing ?
--
Finn-Arne Johansen
***@bzz.no
http://bzz.no/
Ralf Gesel|ensetter
2004-09-20 19:02:23 UTC
Permalink
Post by Finn-Arne Johansen
Yes, it should. But do you really want to use konqueror 2.2 for
webbrowsing ?
Mh, it opens the fastest and is thought to be the default browser.
Mozilla, well, I could try the prefs.js that I use for netscape 4.7 in windows
(personalized). When I run Mozilla, it creates a randomly named sub directory
to store prefs! This makes it kind of tricky to preconfigure.

Tjener is a venus 1.0.
Finn-Arne Johansen
2004-09-20 19:54:34 UTC
Permalink
Post by Ralf Gesel|ensetter
Post by Finn-Arne Johansen
Yes, it should. But do you really want to use konqueror 2.2 for
webbrowsing ?
Mh, it opens the fastest and is thought to be the default browser.
Mozilla, well, I could try the prefs.js that I use for netscape 4.7 in windows
(personalized). When I run Mozilla, it creates a randomly named sub directory
to store prefs! This makes it kind of tricky to preconfigure.
Tjener is a venus 1.0.
global mozilla config is in
/etc/mozilla/prefs.js

Only this file, no messingn within the users homedir.

Oh, yes, a clever student can set his own, but if it's a problem, then
lock him out
--
Finn-Arne Johansen
***@bzz.no
http://bzz.no/
--
To UNSUBSCRIBE, email to debian-edu-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Ralf Gesel|ensetter
2004-09-20 20:23:28 UTC
Permalink
Post by Finn-Arne Johansen
global mozilla config is in
/etc/mozilla/prefs.js
This is what I put to the end of this file:

// Blocking:
user_pref("dom.disable_window_open_feature.minimizable", true);
user_pref("dom.disable_window_open_feature.resizable", true);
user_pref("browser.block.target_new_window", true);

// Proxy settings:
user_pref("network.proxy.ftp", "webcache");
user_pref("network.proxy.ftp_port", 3128);
user_pref("network.proxy.gopher", "webcache");
user_pref("network.proxy.gopher_port", 3128);
user_pref("network.proxy.http", "webcache");
user_pref("network.proxy.http_port", 3128);
user_pref("network.proxy.socks", "webcache");
user_pref("network.proxy.socks_port", 3128);
user_pref("network.proxy.ssl", "webcache");
user_pref("network.proxy.ssl_port", 3128);
user_pref("network.proxy.type", 1);

Continue reading on narkive:
Search results for 'konqueror doesn't use proxy by default' (Questions and Answers)
6
replies
What is the best browser to use?
started 2013-04-14 11:37:01 UTC
programming & design
Loading...