Coder Social home page Coder Social logo

dimstar77 / libproxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from libproxy/libproxy

0.0 2.0 0.0 1.21 MB

Home Page: http://libproxy.github.io/libproxy

License: GNU Lesser General Public License v2.1

Shell 2.12% Python 3.93% C 84.71% Meson 8.14% Roff 0.50% JavaScript 0.59%

libproxy's Introduction

build codecov Coverity

Libproxy

libproxy is a library that provides automatic proxy configuration management.

The Problem

Problem statement: Applications suck at correctly and consistently supporting proxy configuration.

Proxy configuration is problematic for a number of reasons:

  • There are a variety of places to get configuration information
  • There are a variety of proxy types
  • Proxy auto-configuration (PAC) requires Javascript (which most applications don't have)
  • Automatically determining PAC location requires an implementation of the WPAD protocol

These issues make programming with support for proxies hard. Application developers only want to answer the question: Given a network resource, how do I reach it? Because this is their concern, most applications just give up and try to read the proxy from an environment variable. This is problematic because:

  • Given the increased use of mobile computing, network switching frequently occurs during the lifetime of an application
  • Each application is required to implement the (non-trivial) WPAD and PAC protocols, including a Javascript engine
  • It prevents a network administrator from locking down settings on a particular host or user
  • In most cases, the environmental variable is almost never correct by default

The Solution

libproxy exists to answer the question: Given a network resource, how do I reach it? It handles all the details, enabling you to get back to programming.

GNOME? KDE? Command line? WPAD? PAC? Network changed? It doesn't matter! Just ask libproxy what proxy to use: you get simple code and your users get correct, consistant behavior and broad infrastructure compatibility. Why use libproxy?

libproxy offers the following features:

  • support for all major platforms: Windows, Mac and Linux/UNIX
  • extremely small core footprint
  • minimal dependencies within libproxy core
  • only 4 functions in the stable-ish external API
  • dynamic adjustment to changing network topology
  • a standard way of dealing with proxy settings across all scenarios
  • a sublime sense of joy and accomplishment

Repology

Arch package Debian 12 package Fedora 37 package Fedora Rawhide package FreeBSD port Gentoo package Homebrew package Manjaro Stable package MSYS2 mingw package openSUSE Leap 15.5 package openSUSE Tumbleweed package Ubuntu 23.04 package

libproxy's People

Contributors

0-wiz-0 avatar amigadave avatar andyetitmoves avatar bigon avatar davids-work avatar dimstar77 avatar floppym avatar horar avatar illera88 avatar janbrummer avatar jlinton avatar jlintonarm avatar kraj avatar lwindolf avatar mattst88 avatar mcatanzaro avatar mss avatar multisnow avatar mwilck avatar paulvt avatar rakuco avatar rjmporter avatar rpurdie avatar rzvncj avatar smcv avatar suibianp avatar superheron avatar vogtinator avatar wegank avatar zhaofengli 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.