Support unix sockets for internal and -i

Example configuration:

log
auto -iunix:/path/to/3proxy.sock

test with

curl --unix-socket /path/to/3proxy.sock https://3proxy.ru
This commit is contained in:
Vladimir Dubrovin committed 2026-04-12 00:30:35 +03:00
1 parent 77b0dc3397
commit c206349ee2
14 files changed
+153 -135

No files matched your search

+1 -5
View File
@@ -306,11 +306,7 @@ int radsend(struct clientparam * param, int auth, int stop){
int total_length;
int len;
int op;
#ifdef NOIPV6
struct sockaddr_in saremote;
#else
struct sockaddr_in6 saremote;
#endif
PROXYSOCKADDRTYPE saremote;
struct pollfd fds[1];
char vector[AUTH_VECTOR_LEN];
radius_packet_t packet, rpacket;