It is currently Wed Dec 02, 2020 2:51 am
All times are UTC + 8 hours

virtualbox, gdrive, optware, squid, bind9

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

Re: virtualbox, gdrive, optware, squid, bind9

Postby igracgq » Sat Mar 22, 2014 1:40 am

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
igracgq
 
Posts: 31
Joined: Sun Nov 17, 2013 4:57 am

Re: virtualbox, gdrive, optware, squid, bind9

Postby MrK » Sat Mar 22, 2014 2:07 am

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

Postby MrK » Sun Mar 23, 2014 4:56 pm

@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
MrK
 
Posts: 127
Joined: Tue Nov 19, 2013 7:19 pm

Re: virtualbox, gdrive, optware, squid, bind9

Postby codinandhaulin » Tue Apr 01, 2014 10:39 pm

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?
codinandhaulin
 
Posts: 4
Joined: Wed Mar 26, 2014 8:21 pm

Re: virtualbox, gdrive, optware, squid, bind9

Postby MrK » Thu Apr 03, 2014 2:29 am

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
MrK
 
Posts: 127
Joined: Tue Nov 19, 2013 7:19 pm

Re: virtualbox, gdrive, optware, squid, bind9

Postby codinandhaulin » Tue May 20, 2014 1:04 am

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!
codinandhaulin
 
Posts: 4
Joined: Wed Mar 26, 2014 8:21 pm

Re: virtualbox, gdrive, optware, squid, bind9

Postby MrK » Tue May 20, 2014 6:10 am

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
MrK
 
Posts: 127
Joined: Tue Nov 19, 2013 7:19 pm

Re: virtualbox, gdrive, optware, squid, bind9

Postby codinandhaulin » Tue May 20, 2014 8:57 am

Thanks again - I keep checking AppCentral!
codinandhaulin
 
Posts: 4
Joined: Wed Mar 26, 2014 8:21 pm

Re: virtualbox, gdrive, optware, squid, bind9

Postby Achileus » Fri Mar 27, 2020 2:54 pm

Please could anyone update squid package and do squidguard pkg ? Thank you
Achileus
 
Posts: 1
Joined: Thu Mar 26, 2020 4:08 pm

Previous

Return to Feature Requests

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron