Commit Graph
100 Commits
Author SHA1 Message Date
z3APA3A 83441eebc7 Move log buffer to stack
Move log bufer to stack and remove mutex
2018-04-21 01:37:31 +03:00
z3APA3A e469e9e369 Increase default stacksize 2018-04-21 01:29:15 +03:00
z3APA3A d1b527b523 Minor logging changes 2018-04-21 01:24:18 +03:00
z3APA3A 098b6194df Update copyright 2018-04-21 00:30:16 +03:00
z3APA3A 50277692f4 Replace fclose+fopen with freopen where possible 2018-04-21 00:30:02 +03:00
z3APA3A 819d61f5b6 3proxy.rc - add builddate to version 2018-04-20 22:44:29 +03:00
z3APA3A 63fdeb4bff MSVC ARM Makefile added 2018-04-20 21:56:04 +03:00
z3APA3A 6c3a5db52f Get rid of pstdint.h 2018-04-20 19:32:49 +03:00
z3APA3A 5149996b20 Added support for username/groupname
Added support for username/groupname to seuid, setgid, chroot.
2018-04-17 18:46:01 +03:00
z3APA3A 68e05d54d7 -fno-strict-aliasing added to gcc options 2018-04-16 19:35:11 +03:00
z3APA3A be5aa53106 Allow transparent client proxy with 'parent 1000 extip 0.0.0.0' 2018-04-15 00:28:59 +03:00
z3APA3A 95f79e6f02 Transparent plugin documentation updated 2018-04-15 00:05:59 +03:00
z3APA3A 25028ed1b8 support IP_ socket options 2018-04-14 23:52:38 +03:00
z3APA3A 93357d8157 Add openwrt makefile example 2018-04-14 23:52:23 +03:00
z3APA3A a0ae9ee6fa Removing unneeded checks 2018-04-06 17:45:42 +03:00
z3APA3A 7423cd0112 Clearing LdapPlugin compilation issues 2018-04-06 17:45:18 +03:00
z3APA3A dc55d2b724 UDP portmap doesn't resolve hostname in UDP packet 2018-03-06 20:01:03 +03:00
z3APA3A 22ac04576f Change SSLv23_*_method to TLS_*_method for OpenSSL 1.1 2018-02-17 18:14:59 +03:00
z3APA3A 8b548dccc7 Remove "Proxy-Connection" headers as depricated 2018-02-17 18:14:13 +03:00
z3APA3A 19d047dcbe Proxy-Connection is long time depricated, use only Connection 2018-01-26 15:42:12 +03:00
z3APA3A 6e240defdb typo in conf.c leads to infinite loop on some commands 2018-01-25 17:20:36 +03:00
z3APA3A ff91a6fe72 connlim / noconnlim commands added to support connection / connectio rate limits 2018-01-12 19:09:42 +03:00
z3APA3A e076fff33c Example corrected 2018-01-09 15:59:14 +03:00
z3APA3A 2d1720c15f Move RADIUS related code to #ifndef NORADIUS 2017-12-22 18:53:50 +03:00
z3APA3A 9ac7503c4e README update 2017-12-22 18:53:04 +03:00
z3APA3A a816ed2343 force/noforce description usage 2017-12-19 01:22:25 +03:00
z3APA3A 4a553de100 RADIUS accounting added (not optimized yet) 2017-12-19 01:22:07 +03:00
z3APA3A 8702a4c7ab force / noforce commands description added 2017-12-14 14:20:44 +03:00
z3APA3A 0bda7f332e Move sys/timeb.h to Win32 section. 2017-11-24 12:41:01 +03:00
z3APA3A d60d00b7b6 Switch to preprocessor macro for version 2017-11-07 21:56:03 +03:00
z3APA3A 6e715df9e1 Fix IPv4/IPv6 addresses in webadmin 2017-11-07 21:53:04 +03:00
z3APA3A 2a781c4a9d Fix: TransparentPlugin for *BSD ipfw 2017-11-06 18:41:36 +03:00
z3APA3A acb248c035 Remove external CFLAGS from Makefile.FreeBSD 2017-11-06 18:34:24 +03:00
z3APA3A 18e41cfbe9 add hostname logging to tcppm 2017-11-06 17:18:32 +03:00
z3APA3A 930a959779 Do not use SAISNULL in plugin 2017-10-30 18:20:14 +03:00
z3APA3A ff1a560547 Add NULLADDR to prevent dynamic linkage error under Linux 2017-10-30 18:10:25 +03:00
z3APA3A 7ba3e25813 correct makefile for FreeBSD 2017-10-30 17:29:03 +03:00
z3APA3A 4bb706d140 Use parsehostname in TransparentPlugin 2017-10-30 13:43:53 +03:00
z3APA3A 2c8bf28065 Remove static to prevent race conditions 2017-10-18 17:07:12 +03:00
z3APA3A 8c372572fc Add check for nul address 2017-10-17 18:25:35 +03:00
z3APA3A 18c1ce0a22 Support for transparent / notransparent commands added 2017-10-17 18:00:09 +03:00
z3APA3A b99fa7aaa4 Simplify transparent + add support for BSD PF/IPF 2017-10-17 17:07:35 +03:00
z3APA3A 105522b24e Fix: recursion detection was not working 2017-10-17 15:19:47 +03:00
z3APA3A 41b7b03db2 updated to highload doc 2017-10-10 18:21:50 +03:00
z3APA3A 8e2a87421c Fix: %n terminated log string on IPv6 address 2017-10-10 18:21:34 +03:00
z3APA3A b3b76fe682 RADIUS example added 2017-10-08 23:35:39 +03:00
z3APA3A 695bfc89ac High load documentation update 2017-10-08 23:20:52 +03:00
z3APA3A 2fd9f945c8 SO_PORTSCALABILITY documented 2017-10-06 21:50:52 +03:00
z3APA3A 6bbe4181fc update to high load documentation 2017-10-06 21:39:28 +03:00
z3APA3A 29b834cf56 update for highload documentation 2017-10-06 21:17:15 +03:00
z3APA3A e588dce959 update highload documentation 2017-10-06 20:40:07 +03:00
z3APA3A 2f5265bee6 highload documentation updated 2017-10-06 18:38:27 +03:00
z3APA3A 4d3062c62a highload documentation added 2017-10-06 18:13:26 +03:00
z3APA3A 984efe193b Prevent deadlock on thread creation error 2017-09-25 17:14:13 +03:00
z3APA3A 2554f06759 pthread_attr_destroy added to prevent memory leak on config reload 2017-09-13 22:05:38 +03:00
z3APA3A ff9c94f616 Fix: invalid reverse check for dnsresolve 2017-09-08 15:53:42 +03:00
z3APA3A 8c0dc7d8c9 Change -Do option to -De (external) 2017-09-06 19:19:36 +03:00
z3APA3A b033b150b1 change strdup to mystrdup 2017-08-16 12:08:48 +03:00
z3APA3A 9b4ab2e126 readme updated 2017-08-15 16:26:47 +03:00
z3APA3A 8d5bc73643 readme updated 2017-08-15 12:30:09 +03:00
z3APA3A ea44750268 readme updated 2017-08-15 12:28:46 +03:00
z3APA3A 55c294ac24 README updated 2017-08-15 12:27:06 +03:00
z3APA3A 41ae455ee2 man updated for socket options 2017-08-14 19:46:26 +03:00
z3APA3A b17b36cbce Add support to bind to interface (-Di / -Do) via SO_BINDTODEVICE 2017-08-14 18:22:15 +03:00
z3APA3A 6010190940 fix: do not fail external with "0.0.0.0" with NOIPV6 (lite version) 2017-07-19 19:23:55 +03:00
z3APA3A d9e118e754 Change EPSV reply code to 229 2017-06-28 12:33:08 +03:00
z3APA3A 481b9e389f EPSV support for ftppr 2017-06-27 23:28:17 +03:00
z3APA3A 177fbb1117 Change log location in demo scripts 2017-06-27 13:56:36 +03:00
z3APA3A 7a23f84001 Readding files to change line endings - adding 2017-06-27 11:59:01 +03:00
z3APA3A b118fa6c8f Readding files to change line endings - removing 2017-06-27 11:58:42 +03:00
z3APA3A 305f01acb5 closecoket() is used instead of so._closesocket 2017-06-26 16:46:26 +03:00
z3APA3A 372e5625c3 remove dighosts from Makefiles 2017-06-25 19:54:29 +03:00
z3APA3A b4043e944c Unify RADIUS code for logging 2017-06-25 18:40:26 +03:00
z3APA3A 2983575952 banlimits for old connection may stop functioning on configuration reload 2017-06-25 18:37:19 +03:00
z3APA3A 1996b11451 Fix - sometime request may go to parent proxy where it shouldn't 2017-06-25 18:33:28 +03:00
z3APA3A 883784dcc3 add .gitignore to bin to make it syncing 2017-03-08 00:43:24 +03:00
z3APA3A 21ce72dcf0 add /bin 2017-03-08 00:34:57 +03:00
z3APA3A b51465a8d4 remove bin from .gitignore 2017-03-08 00:27:01 +03:00
z3APA3A 513fc1aa20 leave /bin directory 2017-03-08 00:12:24 +03:00
z3APA3A e75b329e62 Fix ACL copy for last patch 2017-03-07 15:06:22 +03:00
z3APA3A 4251322aad Support hostnames for chained socks5+/socks4+/connect+ requests 2017-03-07 01:19:04 +03:00
z3APA3A 4e4c090373 Add Makefile.FreeBSD 2017-02-04 16:54:07 +03:00
z3APA3A d40e5d458c FIX: tcppm may not work with parent proxy 2017-02-02 00:36:59 +03:00
z3APA3A 2049886dcf 3proxy-linux-install.sh corrected for location in scripts/ 2016-12-29 16:24:39 +03:00
z3APA3A 1b12f365ba Debian / Ubuntu install script by Evgeniy Solovyev 2016-12-29 14:27:20 +03:00
z3APA3A cfc10e9efd Support for few more socket options 2016-12-25 03:22:52 +03:00
z3APA3A c1beee44ef Add support for -os, -oc, -ol
-ocOPTIONS, -osOPTIONS, -olOPTIONS - options for client (oc), server
(os) or listening (ol) socket
e.g.
proxy -ocTCP_NODELAY,SO_KEEPALIVE,SO_DONTROUTE
2016-12-25 02:46:30 +03:00
z3APA3A 2ed83b0d6e set TCP_NODELAY for DNS resolution over TCP 2016-12-25 01:28:16 +03:00
z3APA3A 68deec5bcd Update PCRE version 2016-12-24 01:48:52 +03:00
z3APA3A e2884b182a Add timeout for connect in all modules 2016-12-23 00:56:16 +03:00
z3APA3A 3c9ff54ae8 SSL_Plugin: switch to SHA-256 signature 2016-12-22 19:16:50 +03:00
z3APA3A 16f094168a Correct EINPROGRESS for Windows 2016-12-22 17:46:06 +03:00
z3APA3A d1d86ed9b3 implement timeout on connect()
STRING_S timeout is used (15 sec by default)
2016-12-22 17:11:44 +03:00
z3APA3A c5f8a8e139 Add support for Reply-Message (may be used to send code with Auth-Reject). 2016-12-21 01:33:34 +03:00
z3APA3A 7b4a34f6fc Support for Framed-IP-Address / Framed-IPv6-Address in RADIUS server's reply 2016-12-21 00:30:05 +03:00
z3APA3A bfe7e89bd0 RADIUS authentication corrected and tested 2016-12-20 23:38:06 +03:00
z3APA3A e7433d633c 'radius' and 'auth radius' support added (not tested yet)
Example:
radius secret 192.168.0.1 192.168.0.2
authcache ip,user
auth cache radius
2016-12-20 19:50:50 +03:00
z3APA3A f709255d62 Copyrights cleaned, authradius.c added 2016-12-20 15:47:02 +03:00
z3APA3A 34876b7616 put usesplice within #ifdef WITHSPLICE 2016-12-19 13:01:34 +03:00
z3APA3A 945c30c5ee Use pragma aux to export valid names from DLL in Watcom 2016-12-12 19:49:58 +03:00