hroute

Tela Software:
hroute
Detalhes de Software:
Versão: 0.2.0
Data de upload: 11 May 15
Revelador: Benoit Chesneau
Licença: Livre
Popularidade: 35

Rating: nan/5 (Total Votes: 0)

hroute é um proxy HTTP simples baseado em TPROXY.
Instalação:
& Nbsp; & nbsp; & nbsp; pip instalar -r https://github.com/downloads/benoitc/hroute/requirements.txt
& Nbsp; & nbsp; & nbsp; pip instalar hroute
Uso:
Criar um arquivo de configuração em / var / spool / hroute (caminho padrão) ou qualquer
pasta desejada ::
& Nbsp; & nbsp; & nbsp; {
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "Todos": {
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "rotas": {
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "/ Local": {
                    "Remoto": "127.0.0.1:8000"
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; },
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "/ Google": {
                    "Remoto": "google.com:80"
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; },
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; "/ Gunicorn": {
                    "Remoto": "gunicorn.org:80",
                    "Rewrite_response": true
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; },
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; }
& Nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; }
& Nbsp; & nbsp; & nbsp; }
em seguida, lançar hroute ::
& Nbsp; hroute -s / var / spool / hroute w 3
e ir em `http://127.0.0.1:5000/gunicorn http://127.0.0.1:5000/gunicorn. Você deve ver o site da gunicorn.org

Recursos :.

  • localização reescrever
  • ligações de reescrita para lidar com proxy / caminhos
  • configuração simples
  • vhosts apoio
  • log (vindo)
  • autenticação (que vem)

Requisitos :

  • Python
  • GEvent
  • setproctitle
  • TPROXY
  • lxml
  • http-parser

Outro software de desenvolvedor Benoit Chesneau

http-parser
http-parser

20 Feb 15

fserve
fserve

11 May 15

Restkit
Restkit

5 Jun 15

tproxy
tproxy

12 May 15

Comentário para hroute

Comentários não encontrado
Adicionar comentário
Ligue imagens!