-
Notifications
You must be signed in to change notification settings - Fork 1
markuz/python_squid_redirector
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Markuz Simple Python Redirector (For squid). I use this in my local network to filter stuff. I know there is also squidguard but I wanted to do mine ;-) ********* This redirector requires MySQL **************** ====== table schema========= CREATE TABLE `sites` ( `name` varchar(255) NOT NULL, `method` varchar(255) NOT NULL COMMENT "available methods: redirect", `match` text NOT NULL COMMENT "URL to match, could be a regular expression", `url` text COMMENT "The url to redirect", `enabled` tinyint(1) COMMENT "1: This redirect is enabled, 0: this is not" ) // Whitelist user. CREATE TABLE `users` ( `ipaddr` varchar(255) COMMENT "IP Address to match" )
About
A simple Python redirector for squid
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published