head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.28 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.26 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.24 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.22 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.20 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.18 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.16 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.14 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.12 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.10 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.8 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.6 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.4 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.2 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.2.0.38 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.36 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.34 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.32 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.30 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.28 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.26 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.24 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.22 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.20 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.16 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.18 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.14 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.12 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.10 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.8 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.6 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.4 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2; locks; strict; comment @# @; 1.3 date 2022.11.27.13.14.00; author triaxx; state Exp; branches; next 1.2; commitid WvKdfHszePOAhl3E; 1.2 date 2018.02.21.15.20.04; author triaxx; state Exp; branches; next 1.1; commitid jAVdcgi5jjKjUJrA; 1.1 date 2018.02.19.21.25.46; author triaxx; state Exp; branches; next ; commitid 6VdPj5ITzvkVZvrA; desc @@ 1.3 log @3proxy: Update to 0.9.4 pkgsrc changes: --------------- * Update the license to 3proxy-0.9-license. * Remove outdated comments about the old licenses. upstream changes: ----------------- 3proxy-0.9.4 Latest ! Fix: invalid handling of '-' character in ACL hostname ! Fix: minor bugfixes and improvements + parentretry command added (defaults to 2) to retry connections to parent proxies - icqpr related code (OSCAR proxy) removed, due to drop of OSCAR support by messengers 3proxy-0.9.3 Bugfixes: Fixed: systemd description file (proxy may fail to start after reboot or via systemctl) Fixed: group/account creation in installation scripts Fixed: countall/nocounall do not work in some configurations Fixed: counters do not work if counter file is not specified Fixed: counters without rotation (type N) are incorrectly shown in web admin interface Fixed: %n may be incomplete or missed in long log records Fixed: connect back functionality does not work Improvements: + Docker builds 3proxy-0.9.2 Bugfixes: Fixed: bandwidth limiters (once again) Fixed: data filtering plugins (PCREPlugin, SSLPlugin). SSLPlugin use on Linux requires to disable splice (-s0) FIxed: standalone proxies do not react on HUP (Ctrl+C) in Linux/Unix Fixed: few minor bugs Improvements: + deb for arm platforms (experimental) + Openssl 1.1 support for SSLPlugin 3proxy-0.9.1 Bugfixes: Fixed: socket may be closed before all data received/sent Fixed: bandlimin non-working Fixed: countall/nocountall Fixed: few race conditions Improvements: deb/rpm build, systemd support (experimental) 3proxy-0.9.0 o Socket options, interface binding o Connection limiting / connection rate limiting o RADIUS support (beta) o Zero copy (splice) support for Linux o Possibility to limit user to single IP (via authentication cache) bugfixes, improvements 3proxy-0.8.13 Bugfixes: !! Fixed out-of-bound write and few minor bugs on configuration saving in admin ! fixed: $ is not correctly handled in the beginning of quoted line on configuration parsing 3proxy-0.8.12 Bugfixes: ! Fixed hostname support in SOCKSv5 UDP portmapping ! -fno-strict-aliasing added to gcc options (compiling without this option can lead to unpredictable issues under Debian with gcc 6 and potentially others) ! Fixed LDAP plugin compilation issues (LDAP plugin is still listed as unsupported though) and some minor fixes and improvements. @ text @$NetBSD: patch-cfg_3proxy.cfg.sample,v 1.2 2018/02/21 15:20:04 triaxx Exp $ Adjust PATH according to pkgsrc defined directories. --- cfg/3proxy.cfg.sample.orig 2021-07-01 16:59:57.000000000 +0000 +++ cfg/3proxy.cfg.sample @@@@ -1,7 +1,7 @@@@ -#!/usr/local/bin/3proxy +#!@@PREFIX@@/bin/3proxy # Yes, 3proxy.cfg can be executable, in this case you should place # something like -#config /usr/local/3proxy/3proxy.cfg +#config @@PKG_SYSCONFDIR@@/3proxy/3proxy.cfg # to show which configuration 3proxy should re-read on realod. #system "echo Hello world!" @@@@ -26,19 +26,19 @@@@ timeouts 1 5 30 60 180 1800 15 60 users 3APA3A:CL:3apa3a "test:CR:$1$qwer$CHFTUFGqkjue9HyhcMHEe1" # note that "" required, overvise $... is treated as include file name. # $1$qwer$CHFTUFGqkjue9HyhcMHEe1 is 'test' in MD5 crypt format. -#users $/usr/local/etc/3proxy/passwd +#users $@@PKG_SYSCONFDIR@@/etc/3proxy/passwd # this example shows you how to include passwd file. For included files # and are treated as field separators. -#daemon +daemon # now we will not depend on any console (daemonize). daemon must be given # before any significant command on *nix. -service +#service # service is required under NT if you want 3proxy to start as service -#log /var/log/3proxy/log D -log c:\3proxy\logs\3proxy.log D +log @@VARBASE@@/log/3proxy/log D +#log c:\3proxy\logs\3proxy.log D # log allows to specify log file location and rotation, D means logfile # is created daily @@@@ -193,7 +193,7 @@@@ admin #tcppm 443 websrv 443 -#chroot /usr/local/jail +#chroot @@VARBASE@@/chroot/3proxy #setgid 65535 #setuid 65535 # now we needn't any root rights. We can chroot and setgid/setuid. @ 1.2 log @pkglint compliance @ text @d1 1 a1 1 $NetBSD: patch-cfg_3proxy.cfg.sample,v 1.1 2018/02/19 21:25:46 triaxx Exp $ d5 1 a5 1 --- cfg/3proxy.cfg.sample.orig 2017-10-19 14:53:32.000000000 +0000 d8 9 a16 9 -#!/usr/local/bin/3proxy +#!@@PREFIX@@/bin/3proxy # Yes, 3proxy.cfg can be executable, in this case you should place # something like -#config /usr/local/3proxy/3proxy.cfg +#config @@PKG_SYSCONFDIR@@/3proxy/3proxy.cfg # to show which configuration 3proxy should re-read on realod. #system "echo Hello world!" d18 24 a41 24 users 3APA3A:CL:3apa3a "test:CR:$1$qwer$CHFTUFGqkjue9HyhcMHEe1" # note that "" required, overvise $... is treated as include file name. # $1$qwer$CHFTUFGqkjue9HyhcMHEe1 is 'test' in MD5 crypt format. -#users $/usr/local/etc/3proxy/passwd +#users $@@PKG_SYSCONFDIR@@/etc/3proxy/passwd # this example shows you how to include passwd file. For included files # and are treated as field separators. -#daemon +daemon # now we will not depend on any console (daemonize). daemon must be given # before any significant command on *nix. -service +#service # service is required under NT if you want 3proxy to start as service -#log /var/log/3proxy/log D -log c:\3proxy\logs\3proxy.log D +log @@VARBASE@@/log/3proxy/log D +#log c:\3proxy\logs\3proxy.log D # log allows to specify log file location and rotation, D means logfile # is created daily d43 8 a50 8 #tcppm 443 websrv 443 -#chroot /usr/local/jail +#chroot @@VARBASE@@/chroot/3proxy #setgid 65535 #setuid 65535 # now we needn't any root rights. We can chroot and setgid/setuid. @ 1.1 log @Update to 0.8.11 Remove patches/patch-aa: code no longer used Fix Makefile.unix: from FreeBSD ports Add documentation to package Add rcd script Changes: -------- 19.10.2017 Releasing as 0.8.11 Minor bugfixes / improvements: ! Fixed: deadlock on insufficient resources ! Fixed: race condition in ssl_plugin ! Fixed: minor memory leak on configuration reload ! Fixed: recursion detection was not working ! Fixed: %n for IPv6 in logging terminates log record ! Fixed: reverse PTR validation (required for dnsauth) ! Fixed: error on external 0.0.0.0 for NOIPV6 (light version) + Better support for IPv6 in ftppr 25.06.2017 Releasing as 0.8.10 !Fix: parent proxy can be used in some cases where it shouldn't !Fix: bandlimiters may not work for older connections on configuration reload 01.02.2017 Releasing as 0.8.9 !Fix: tcppm may fail if used with parent proxy 16.12.2016 Releasing as 0.8.8 !! Fix resolver for non-compressed reply parsing (on mixed-case sensitive resolvers) ! Fix plugins export on OpenWatcom compiler (light version) ! Fix SOCKSv5 parent over IPv6 network 04.09.2016 Releasing as 0.8.7 ! Fix 'daemon' command for Linux ! Fix 'extip' redirections 00009 errors ! Fix counters for older Win platforms ! Resolve logging race conditions ! attempt to fix pam_auth race conditions ! FTP proxy workaround for broken gethostname() on some libc limplementations ! authcache IP matching corrected ! fix SOCKSv5 BIND/UDP ASSOC ! use setreuid/setregid instead of setuid / setgid - OpenWatcom makefiles for Windows - -u2 support for proxy - support %i in logformat - force/noforce configuration commands to disconnect / do not disconnect clients if nolonger match ACL after configuration change - support longer external passwords Lite version of Windows binaries is switched to OpenWatcom. It will hopefully remove int64-related msvcrt.dll issues on old Windows versions. 07.03.2016 Releasing as 0.8.6 ! Fix: random 00012 errors in some configurations 02.03.2016 Releasing as 0.8.5 !Fix: mutex was used prior to initialization on 'log' command processing 28.02.2016 Releasing as 0.8.4 + Build PamPlugin on *nix - stacksize and -S options, stacksize defaults changed for FreeBSD - extip redirection type added ! SSL plugin fix to correct handling of certificates path ! fixed random errors on IPv6 connect 26.01.2016 Releasing as 0.8.3 ! fixed: use SASIZE() instead of sizeof() in connect() for FreeBSD compatibility 3proxy-0.8.3-lite.zip - Windows binaries, Lite version compatible with old Windows versions 3proxy-0.8.3.zip / 3proxy-0.8.3-x64.zip - 32/64 Windows binraries, compatible with Windows Vista / 2008 server and above 23.01.2016 Releasing as 0.8.2 !! Fix transparent flag not reset after keep-alive connection, can lead to DoS by authenticated user. ! Do not use SO_REUSEADDR by default (leads to random 00013 errors under some glibc versions) ! Use SASIZE() instead of sizeof() in bind() for FreeBSD compatibility 23.01.2016 Releasing as 0.7.1.4 !! Fix transparent flag not reset after keep-alive connection, can lead to DoS from authenticated user. 21.01.2016 Releasing as 0.8.1 !!Fix: destination IP may be not checked against ACL 19.01.2016 Releasing as 0.8.0 + IPv6 support - back connect support - name resolution over TCP, parent proxy support for dnspr ! multiple race conditions fixed ! reduced memory usage ! Generate Forwarded: header instead of X-Forwarded-For: ! Default name resolution is non-blocking in *nix Read HowTo for new functionality description Update from 0.7 is recommended if you use 3proxy under high load 12.01.2016 Releasing as 0.8-pre + IPv6 support - Connect back (reverse connect) proxy - DNS requests redirection via parent proxy over TCP (including UDP->TCP mapping) - SSLPlugin for TLS/SSL traffic decryption - multiple race conditions fixed on configuration reload 15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication15.09.2015 Releasing as 0.7.1.3 ! traffic displayed incorrectly ! archiver doesn't add suffix if logname contains macro ! fix potential race condition on configuration reload ! fix FTP over HTTP authentication @ text @d1 1 a1 1 $NetBSD$ d17 1 a17 1 @@@@ -26,19 +26,19 @@@@ timeouts 1 5 30 60 180 1800 15 60 d42 1 a42 1 @@@@ -193,7 +193,7 @@@@ admin @