Author Topic: Squid Bulk Input  (Read 2954 times)

linuxmaniac

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
  • Death is just beginning..
    • View Profile
Squid Bulk Input
« on: February 03, 2011, 10:42:41 am »
Hello,

I have many groups to be filtered, and each filter is different for each group.
So I need to add many url/domains/ip and even mimes to be opened or restricted, depending on the group.
I know this is easily done from the GUI, but the problem is that I have to add them one by one, which will take ages to do.
I also tried to add a custom whitelist and blacklist to a tar and upload it, but this will take some time to upload, but as this works for url/domains/ip, it dosen't work for mimes and extensions.

I was wondering if there was a way to do a bulk input from the shell?

thx in advance

Terence Loo

  • Zen Apprentice
  • *
  • Posts: 42
  • Karma: +1/-0
    • View Profile
Re: Squid Bulk Input
« Reply #1 on: June 24, 2012, 05:27:06 pm »
Hi There,

Same goes here. Tried duplicating some files from /etc/dansguardian/lists and it will automatically reverted to original after squid module is restarted.

Still trying hard here.

linuxmaniac

  • Zen Apprentice
  • *
  • Posts: 24
  • Karma: +0/-0
  • Death is just beginning..
    • View Profile
Re: Squid Bulk Input
« Reply #2 on: June 24, 2012, 05:36:30 pm »
I don't think anyone is willing to help, so don't put your hopes up that high.

I was able to get something working with dansguardian, but I had to fall back
to the shell and do everything manually which ignore the concept of zentyal in the first place.

If you need those let me know.

Cheers.