virtualbox, gdrive, optware, squid, bind9

Got a feature request? Great! Post your ideas here!

Moderator: Lillian.W@AST

igracgq
Posts: 34
youtube meble na wymiar Warszawa
Joined: Sun Nov 17, 2013 4:57 am

Re: virtualbox, gdrive, optware, squid, bind9

Post by igracgq »

I'm on 192.168.1.1 so I definitively have to put that into squid.conf

I left the proxy settings to default, which would be port 3128 and forwarded the ports accordingly on my router
AS-602 with 3GB ram, 4TB WD Red

Qnap TS-119, DD-WRT Linksys 310n, WDlxTV player, RasperryPi OpenELEC
MrK
Posts: 127
Joined: Tue Nov 19, 2013 7:19 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by MrK »

igracgq wrote:I'm on 192.168.1.1 so I definitively have to put that into squid.conf

I left the proxy settings to default, which would be port 3128 and forwarded the ports accordingly on my router
No no, 192.168.1.1. is already part of 192.168.0.0/16. Mmmh, so I'm clueless at the moment since the internet says that it should have to do with a subnet.

Oh, and why would you have to forward the ports (plutral?) on your router?

And could you have a look at the log of Squid in /usr/local/AppCentral/squid/var/log/ (I think). I post a few lines of it?
Storage: AS-202T | AS-604T (borrowed)
PC/Laptop: iMac 27" & rMBP 15"
Media Server/Player: Plex on ASUSTOR NAS & Samsung TV
MrK
Posts: 127
Joined: Tue Nov 19, 2013 7:19 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by MrK »

@igracgq:
Oh, and why would you have to forward the ports (plutral?) on your router?

And could you have a look at the log of Squid in /usr/local/AppCentral/squid/var/log/access.log. And post a few lines of it of the denied site?
What OS und browser do you use btw?
Storage: AS-202T | AS-604T (borrowed)
PC/Laptop: iMac 27" & rMBP 15"
Media Server/Player: Plex on ASUSTOR NAS & Samsung TV
codinandhaulin
Posts: 4
Joined: Wed Mar 26, 2014 8:21 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by codinandhaulin »

MrK wrote:Hey,

I created a package for Squid 3.4.4 for ASUSTOR. Maybe someone could give it a go? Works fine for me but I don't use Squid daily.

Squid 3.4.4 for ASUSTOR AS-20xT/AS-20xTE & AS-30xT
Squid 3.4.4 for ASUSTOR AS-60xT

The cache manager interface (<NAS IP>/squid) has got no password set.
After some feedback or 2 weeks I'll submit to the app store.

cu
Thomas
I set up my brand new AS-604T last night and installed your Squid package this morning. My LAN is 192.168.0.xxx, and the package worked out of the box. This is one of the reasons I bought the Asustor! Thank you so very much for your efforts!

I'm going to turn on the disk cache, and do some extensive testing tonight.

I encourage you to submit to the app store. Great work!

Edit: I got ahead of myself... I can't figure out how to run 'squid -z' from the terminal to have squid build the disk cache folder structure. Can anybody help a newbie?
MrK
Posts: 127
Joined: Tue Nov 19, 2013 7:19 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by MrK »

codinandhaulin wrote:[...]Edit: I got ahead of myself... I can't figure out how to run 'squid -z' from the terminal to have squid build the disk cache folder structure. Can anybody help a newbie?
squid -z is run by the start script itself (/usr/local/AppCentral/squid/CONTROL/start-stop.sh, line 50 to 53). So it shouldn't be necessary to run it yourself.

Having said that I just realized that I did not enable the "cache_dir" directive in squid.conf, which is of course wrong. I'll creating another package and upload it.

You can manually run squid -z as following:
1) stop squid :

Code: Select all

/usr/local/AppCentral/squid/CONTROL/start-stop.sh stop
... that will take a minute or two.

2) run squid -z :

Code: Select all

su -c "/usr/local/AppCentral/squid/sbin/squid -z" - admin
That will only actually do something if you uncomment the line 64, "cache_dir ufs /usr/local/AppCentral/squid/var/cache/squid 100 16 256". The cache will be created in /usr/local/AppCentral/squid/var/cache/squid unless you change the location in squid.conf.
If you let the start-stop.sh script create the cache a file named ".initialized" is created. If that file exists then "squid -z" won't run at start-up. So you could delete /usr/local/AppCentral/squid/var/cache/squid/.initialized and the start-stop.sh script will run 'squid -z' again.

3) start squid again :

Code: Select all

/usr/local/AppCentral/squid/CONTROL/start-stop.sh start
Hope that helps,
Thomas
Storage: AS-202T | AS-604T (borrowed)
PC/Laptop: iMac 27" & rMBP 15"
Media Server/Player: Plex on ASUSTOR NAS & Samsung TV
codinandhaulin
Posts: 4
Joined: Wed Mar 26, 2014 8:21 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by codinandhaulin »

Having said that I just realized that I did not enable the "cache_dir" directive in squid.conf, which is of course wrong. I'll creating another package and upload it.
Thanks for the update. How can I get your updated .APK (AS-604T)? Thanks again for the help!
MrK
Posts: 127
Joined: Tue Nov 19, 2013 7:19 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by MrK »

codinandhaulin wrote:
Having said that I just realized that I did not enable the "cache_dir" directive in squid.conf, which is of course wrong. I'll creating another package and upload it.
Thanks for the update. How can I get your updated .APK (AS-604T)? Thanks again for the help!
It's on it's way to AppCentral - waiting to be approved by ASUSTOR.
Storage: AS-202T | AS-604T (borrowed)
PC/Laptop: iMac 27" & rMBP 15"
Media Server/Player: Plex on ASUSTOR NAS & Samsung TV
codinandhaulin
Posts: 4
Joined: Wed Mar 26, 2014 8:21 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by codinandhaulin »

Thanks again - I keep checking AppCentral!
Achileus
Posts: 1
Joined: Thu Mar 26, 2020 4:08 pm

Re: virtualbox, gdrive, optware, squid, bind9

Post by Achileus »

Please could anyone update squid package and do squidguard pkg ? Thank you
Post Reply

Return to “Feature Requests”