[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4326: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4328: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4329: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4330: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3501)
forum.wdlxtv.com • Squid Proxy Server 2.7 v 0.2 for WDLXTV
Page 1 of 5

Squid Proxy Server 2.7 v 0.2 for WDLXTV

PostPosted: Mon Sep 20, 2010 11:10 pm
by chameleon_skin
*** UPDATED ***

Squid Proxy server will allow you to use your WDTV as a web proxy - among other things, this may allow you to circumvent blocking of certain websites by having your WDTV retrieve them for you.

Version 0.2:
* Fixed a bug that prevented the Squid icon from appearing in webend.

Download Link for version 0.2:
http://www.mediafire.com/file/xu84k8zxyx1uvyx/squid_2.7_for_WDLXTV-v0.2.zip

version 0.1 is here:
http://www.mediafire.com/file/ahs8r3ssfsd1x35/squid_2.7_for_WDLXTV-v0.1.zip

From the README:
------------------------------

This is the Squid Proxy Server ported to the WDTV. While Squid is many things,
for normal users of the WDTV it is most useful as a web proxy. This means that
if you are in a location that blocks access to certain websites, you can tell
your web browser to use the WDTV to retrieve those pages for you. As long as
your home network has access to them, you will be able to have access from them
wherever you are.

Squid can do many more things for advanced users; if you fall into that category
then you probably don't need any more explanation as to what it does.


INSTALLATION
==================

The following steps are the minimum required for using Squid:
* Install ddclient
* Mount your hard drive
* Configure Squid
* Configure your router

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Tue Sep 21, 2010 5:33 am
by cabe2001
Hi chameleon_skin!

is ddclient necessary for libraries dependencies? or squid need this for other reasons?

Thank you.

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Tue Sep 21, 2010 8:16 am
by chameleon_skin
The reason you need ddclient is that if you are trying to access your WDTV outside your home network, you need to know what domain name or IP address to tell your web browser to use as a Proxy. Unless your ISP gives you a static IP address at home, your router's IP address is constantly changing.

Thus, ddclient allows you to assign a domain name to your router/WDTV that never changes so you can always access it outside your home network. There are a variety of other things you can do once you have ddclient installed, such as use Web Frontend remotely as well; it's the first thing I recommend people install on their WDTV with the hacked firmware. It essentially starts the process of turning your WDTV from a nice little media player into a decent, compact server.

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Tue Sep 21, 2010 10:59 am
by cabe2001
The use of ddclient is clear, but squid generally is used in a LAN for filter the content access or for content cache, in my point of view, ddclient isn't necessary, for use as local proxy (most generally use) you only need local IP, never used squid for other uses than these, I don't find the utility of remote access to a proxy ....

(Sorry my english :D)

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Tue Sep 21, 2010 8:09 pm
by chameleon_skin
If you want to use it as a content cache, reverse proxy DNS server, or anything else where you only need to access it from inside your home network, then you don't need ddclient (i.e. there are no library dependencies). However, you're probably in the minority of users; most people who would use this on their WDTV would probably be doing so specifically to circumvent IP blocking. Anybody falling into that category would definitely need ddclient.

Also, you'll want to edit squid.conf by hand, as the web interface only exposes a very minimal set of configuration directives.

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Wed Sep 22, 2010 1:15 pm
by bloodflower
I have a problem with the installation...
when I put the squid.app.bin in the root and then reboot I can't see the icon in webend..
in the root i have only 3 app bin: downloaddaemon (OK webend), ddclient (OK webend) and squid..

:?

thanks

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Wed Sep 22, 2010 2:51 pm
by chameleon_skin
I need to see the copy of your syslog to see what is going on at boot time. Do this:

1) reboot your WDTV.
2) Log in via telnet or ssh.
3) copy the contents of /tmp/messages.txt.
4) Paste the output here.

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Thu Sep 23, 2010 12:21 pm
by bloodflower

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Thu Sep 23, 2010 4:03 pm
by chameleon_skin
Hmm...I don't see anything in there about a problem loading Squid - but I also don't see that web frontend is loading the squid plugin . We need to dig a little deeper. Let's make sure that it is set up properly for Web frontend.

Do the following:

1) Log on to your WDTV using telnet or ssh
2) type cat /apps/squid/var/www/squid/webend.conf
3) send me the output

also:
1) type cat /apps/squid/etc/init.d/S72squid
2) send me the output

finally, let's try to manually start squid from the command line. It won't work because you haven't set up the configuration values yet, but at the very least this should force it to add the web plugin.

1) type cat /dev/null > /tmp/messages.txt
1) type /apps/squid/etc/init.d/S72squid start
2) Send me the output
3) type cat /tmp/messages.txt
4) send me the output of that as well
5) finally, after doing all of this load web frontend and see if the icon is there.

Re: Squid Proxy Server 2.7 for WDLXTV

PostPosted: Thu Sep 23, 2010 4:11 pm
by b-rad.cc