GithubHelp home page GithubHelp logo

cloudxtreme / proxyscript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pgastinger/proxyscript

0.0 2.0 0.0 10.11 MB

Proxyscript generator

License: GNU Lesser General Public License v3.0

Python 40.90% HTML 8.12% CSS 11.36% JavaScript 39.62%

proxyscript's Introduction

proxyscript

Why

We are running a shared proxy cluster with approx. 30000 users and 20 different customers. Each customer has it's own requirements (customer related exceptions) and therefore it's own proxy script (PAC-file). These files used to be static files served by an Apache web server cluster. For new entries or changes, vi was used to edit these files directly on the webserver. This method was rather error-prone, hard to manage and tracking changes was difficult. As an alternative, this interface was built. It is not necessary to have SSH-access to the productive web server, multiple changes can be made easily and no more vi typos.

Description

This web2py-interface is a rather simple gui for creating customer specific proxy pac files. The interface runs on any recent Linux-distribution (Python 2.7 preferred) and is basically just a generator, which runs on my raspberry pi. After generating the proxy script, it can be copied to a redundant LAMP-webserver where it will be fetched by the actual proxy clients. Following components are used for that:

By default, a sqlite-database is used (which can easily changed to either MySQL, ...). Authentication is local only, but this can also easily changed to a LDAP authentication against a Microsoft Active Directory.

Demo

A demo with sample data is running at:

Quick Start

  • define destination
  • define customer
  • add entries (mapping destination - customer)
  • check with PAC-File tester / take a look at the generated file
  • copy PAC-File to server

Screenshots

  • Overview of active customers image
  • PAC-File Tester image

Support

I may not have time for support, but if you are interested or if you have questions, just send me an email. ([email protected])

proxyscript's People

Contributors

pgastinger avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.