Feature #1984

Content filter: add time table support

Added by Giacomo Sanchietti about 8 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-squidguard
Target version:v6.5
Resolution: NEEDINFO:No

Description

Enable or disable proxy using time table acl.

Eg: traffic through proxy during work hours, direct access to sites for the rest of the day

Associated revisions

Revision ae90963a
Added by Giacomo Sanchietti over 6 years ago

Web UI: time table stub implementation. Refs #1984

Revision bc8c63c2
Added by Giacomo Sanchietti over 6 years ago

Web UI: add timepicker. Refs #1984

Revision 623c8aaf
Added by Giacomo Sanchietti over 6 years ago

Web UI: correctly handle comma-separated fields. Refs #1984 #2958

Revision 631d4b7c
Added by Giacomo Sanchietti over 6 years ago

Web UI: cosmetic changes. Refs #1984

Revision a37c5eba
Added by Giacomo Sanchietti over 6 years ago

squidGuard.conf: add support for times and multi profile. Refs #1984 #2958

Revision af425d58
Added by Giacomo Sanchietti over 6 years ago

Web UI: add stronger validator. Refs #2958 #1984

Revision 5b38d5a3
Added by Giacomo Sanchietti over 6 years ago

Web UI: clean up code. Refs #2958 #1984

Revision 91e17f00
Added by Giacomo Sanchietti over 6 years ago

custom categories: script optimization. Refs #1984

Revision 13c5da5b
Added by Giacomo Sanchietti over 6 years ago

Web UI: execute events only when saving profiles. Refs #1984 #2958

Revision 8fceeac4
Added by Giacomo Sanchietti over 6 years ago

Web UI: fire event on delete. Refs #2958 #1984

History

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to TRIAGED
  • Target version changed from ~FUTURE to v6.5
  • % Done changed from 0 to 20

#3 Updated by Giacomo Sanchietti over 6 years ago

  • Category changed from nethserver-squid to nethserver-squidguard
  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 30 to 60

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Subject changed from Proxy: add time table support to Content filter: add time table support
  • Status changed from MODIFIED to ON_QA
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-squidguard-1.0.5-36.0gitef146c2d.ns6.noarch.rpm
  • nethserver-squidguard-1.0.5-52.0git8fceeac4.ns6.noarch.rpm
Test case 1
  • Add a domain to the global black list
  • Create a filter with global blacklist enabled
  • Create host associated to a local IP address
  • Create a profile with the new host and filter and select "Always" as time
  • The PC must not be able to access the blocked site
Test case 2
  • Add a domain to the global black list
  • Create a filter with global blacklist enabled
  • Create host associated to a local IP address
  • Create a time
  • Create a profile with the new host, filter and time
  • The PC must not be able to access the blocked site within the specified time

You can change the current local time from the web interface.

#6 Updated by Filippo Carletti over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • % Done changed from 70 to 90

Instead of system time, I modified the time rule. I was blocked/allowed as expected.

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100
Released in nethserver-updates:
  • nethserver-squidguard-1.1.0-1.ns6.noarch.rpm

Also available in: Atom PDF