PurpleI2P / i2pd

🛡 I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website
BSD 3-Clause "New" or "Revised" License
3.23k stars 421 forks source link

Add support for SAM over UNIX domain sockets #1751

Open vinipsmaker opened 2 years ago

vinipsmaker commented 2 years ago

One might not want to every user under a system to have access to the i2pd daemon. UNIX domain sockets work great in this scenario as you can use traditional user administration (users and groups) to limit access to sockets. For instance, I could create an "i2p-users" group and only allow users under this group to have access to the SAMv3 socket.

agowa commented 7 months ago

This relates to and also is a partial duplicate of: #1053

Also note that UDS are in general better for local socket connections than loopback tcp: https://github.com/PurpleI2P/i2pd/issues/1053#issuecomment-1954571047