Listen on unix socket files for cleaner setups adding encryption

Ouverte
#583 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
35/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
À l'abandon
Stack technique
c
Domaine
networking

Piste de recherche

The issue proposes listening on Unix domain sockets so an encrypted third-party proxy can connect directly. Start by checking the existing listener configuration and socket setup in the repository; the issue does not name specific files or tests. Done means tinyproxy can listen on a filesystem socket for this setup, with the behavior and configuration documented and verified.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

Tinyproxy version

Doesn't matter, asking about functionality/new feature

Question

Hey there, I've had a socks5 setup using dante and recently decided to lock it down under user:password.
However socks has zero encryption in the protocol, so that kind of makes authentication meaningless.
Http proxies on the otherhand can utilise SSL by being a https-hosted proxy, and having used tinyproxy before moving to socks for udp/generic-tcp support, I'm back!

After looking at #388 it looks like we don't plan on forcing clients to encrypt their BasicAuth data, but the recommended practice is to hide tinyproxy behind stunnel or credir.
In keeping with this project's mantra; if not SSL, are we open to having tiny support unix sockets?

Instead of

  • hosting the proxy on a network interface (even just loopback)
  • having to make sure that's protected from any traffic
  • hooking that port up to ssl via 3rd party executable to final access point

We could

  • have the proxy listen to a socket file on the filesystem
  • let the 3rd party encrypted traffic directly access the unix domain socket
Langage dominant
C
Étoiles
6.1k
Forks
768
Merge moyen
15 j 3 h
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de tinyproxy/tinyproxy

Toutes les issues de tinyproxy/tinyproxy

Issues similaires

Plus d'issues C

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.