Author Topic: Transparent Proxy with authorize & filter  (Read 4279 times)

alemartini

  • Zen Apprentice
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Transparent Proxy with authorize & filter
« Reply #15 on: June 18, 2010, 04:28:48 pm »
I guess I must be doing something wrong, or maybe I'm missing some step.

What I'd like to do is to restrict web access for a given IP, so that the users browsing from that IP can only access a set of websites specified by policy.

In order to do that, I create an Object called "Test". After that I edit the object members, and define "Test workstation" with IP 192.168.1.9. After saving changes, I go to HTTP Proxy / Objects' Policy and create a new one. From there I can set the policy "filter" for the object "test", which basically allows me to define an allowed time period.

So, where exactly do I tell ebox: "Users browsing from the IPs belonging to this Object will only be allowed to browse this set of websites" ?

I don't find a way to associate a Filter Profile with an Object.

Thanks again,
Alex

alemartini

  • Zen Apprentice
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Transparent Proxy with authorize & filter
« Reply #16 on: June 18, 2010, 05:40:58 pm »
I think that I get it now. My ebox-squid version is 1.4.1-0ubuntu1~ppa1~hardy1, which was installed using the official repository (deb http://ppa.launchpad.net/ebox/1.4/ubuntu hardy main).

In your previous post you mentioned that this was fixed in 1.4.4 of ebox-squid, and after comparing
ObjectPolicy.pm from trac vs the one I have installed, I guess I can see why this isn't working for me.

So now my question is: where do I install ebox-squid 1.4.4 from? Is it stable yet? My apt-cache still shows 1.4.1 as candidate:

Code: [Select]
apt-cache policy ebox-squid
ebox-squid:
  Installed: 1.4.1-0ubuntu1~ppa1~hardy1
  Candidate: 1.4.1-0ubuntu1~ppa1~hardy1
  Version table:
 *** 1.4.1-0ubuntu1~ppa1~hardy1 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     0.11.99-0ubuntu3 0
        500 http://us.archive.ubuntu.com hardy/universe Packages

I couldn't find it browsing to http://ppa.launchpad.net/ebox/1.4/ubuntu/pool/main/e/ebox-squid/ either.

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: Transparent Proxy with authorize & filter
« Reply #17 on: June 21, 2010, 03:37:57 pm »
1.4.4 has not made it to the stable distribution yet.If you want to use this feature use the package from the 'proposed 1.4':

http://trac.ebox-platform.com/wiki/Document/Documentation/Updates#Proposedupdatesfor1.4

alemartini

  • Zen Apprentice
  • *
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Transparent Proxy with authorize & filter
« Reply #18 on: June 21, 2010, 08:24:06 pm »
Javier,

Excellent! I did as you told me, and it seems to be working fine now.

Thanks a lot for your help with this.

Best regard,
Alex