head 1.3; access; symbols pkgsrc-2017Q4:1.2.0.24 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.22 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.18 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.16 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.14 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.12 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.10 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.8 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.6 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.4 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.2 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.1.0.62 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.60 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.58 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.56 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.54 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.52 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.50 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.48 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.46 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.44 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.42 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.40 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.38 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.36 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.34 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.32 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.30 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.28 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.26 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.24 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.22 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.20 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.18 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.16 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.14 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.12 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.10 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.8 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.6 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.4 pkgsrc-2008Q1:1.1.0.2 pkgsrc-2008Q1-base:1.1; locks; strict; comment @# @; 1.3 date 2018.02.20.15.20.16; author triaxx; state dead; branches; next 1.2; commitid Y4gqLTY4HYodWBrA; 1.2 date 2015.04.06.02.26.53; author rodent; state Exp; branches; next 1.1; commitid kHwitmdaxgPvrtgy; 1.1 date 2008.02.27.16.14.25; author apb; state Exp; branches; next ; desc @@ 1.3 log @Remove outdated patch @ text @$NetBSD: patch-aa,v 1.2 2015/04/06 02:26:53 rodent Exp $ --- src/3proxy.c.orig 2015-02-17 13:07:20.000000000 +0000 +++ src/3proxy.c @@@@ -1550,7 +1550,7 @@@@ static int h_ace(int argc, unsigned char unsigned long lim; tl->comment = ( char *)argv[1]; - while(isdigit(*tl->comment))tl->comment++; + while(isdigit((unsigned char)*tl->comment))tl->comment++; if(*tl->comment== '/')tl->comment++; tl->comment = mystrdup(tl->comment); @ 1.2 log @Update to latest release, 0.7.1.2. Fix build on OpenBSD and Bitrig, as identified by sevan@@'s early build report. Update patches. Changes: 02.07.2014 Releasing 0.7.1.1 ! Linux compilation issues corrected 28.06.2014 Releasing 0.7.1 + Windows icons added + Warnings added for most common misconfigurations + ftppr NLSD command supported ! Ignore NTLM handshake if NTLM is not enabled ! memcpy replaced with memmove for overlapped region ! better EINTR handling on *nix ! FTP proxy debugging output removed, binding for data connection corrected ! memory leak fixed in ldapauth plugin 08.04.2014 Releasing as 0.7 Significant changes since 0.6.1: !! auth iponly by default ! maxconn is 500 by default ! Improved HTTP/1.1 compatibility ! Functionality bugfixes + Few new plugins 11.07.2012 ! fixed: counters over 4GB in webadmin 26.06.2012 ! OpenSSL thread support functions added to SSL plugin 10.05.2012 ! SSL plugin works. Commands to enable/disable SSL spoofing will be added later. 25.04.2012 ! pcre_rewrite slash sequence logic corrected 16.04.2012 + Added: SSLPlugin for SSL decryption with certificates spoofing 12.04.2012 + Added: new filter callback function type (pre data filter) for things like SSL/TLS, gzip, etc. WARNING: all plugins with filter functions need to be reviewed for compatibility 06.02.2012 + Added: transparent redirection plugin for linux. Automatically detects redirection address if traffic is redirected via iptables 15.08.2011 ! Fixed: 100% CPU because of usleep with large value on NetBSD 11.06.2011 + Support for extusername/extpassword added to smtpp 04.06.2011 ! Fixed: web admin access ! Fixed: wrong error code in logfile in some rare cases ! Migrated to VC 9.0 compiler 14.04.2011 ! Authentication: do not request username/password in mixed authentication if all modules deny access. 12.04.2011 ! Minor code cleanup 17.12.2010 - Debugging output to stdout removed 09.12.2010 ! Code cleanup for sockets mapping and chunked encoding, ! Content-Length up to 4GB 25.11.2010 + System locale handling added for mixed case username in WindowAuthentication 13.11.2010 + Plugin utf8tocp1251 added to automatically detect UTF-8 (used by Chrome and Opera in username/password. usage plugin "utf8tocp1251" utf8tocp1251 auth utf8tocp1251 strong or auth utf8tocp1251 cache windows 11.11.2010 ! encoding paramter added to WWW-Authenticate and Proxy-Authenticate headers in .3ps files according to http://tools.ietf.org/id/draft-reschke-basicauth-enc-01.txt 12.08.2010 ! Removed getservbyport() from webadmin to avoid potential race condition 09.08.2010 ! Default .3ps files corrected 26.06.2010 ! Fixed: keep-alive connections detection for HTTP/1.1 10.12.2009 ! Fixed: external address may be incorrectly set if few requests are received in single connection. 02.12.2009 ! zero sockaddr before bind for some FreeBSD versions compatibity 26.10.2009 ! Some changes for MD4/MD5 libraries 64-bit compatibility 01.10.2009 ! Fixed: Content-Length is sent twice to server if there are content-handling plugins. 17.09.2009 ! Makefile.Linux: add3proxyuser.sh moved to INSTALL_CFG_OBJS (thanks to Martin Wanicki) + Functionality added to intercept all socket-related calls for plugins 03.09.2009 ! Fixed: client connection was not closed on removed Content-Length (may cause connection hang for timeout at the end of large file transfer if filtering plugins are used). 24.08.2009 + Added transparent redirection to ICQ and MSN proxy + Added (untested) Last.fm ripper plugin - initial version, code needs to be cleaned to work under *nix. Thanks to Denis Stanishevskiy. 14.08.2009 + WinCE (Windows Mobile) support added 27.07.2009 ! Fixed: use authnserver for name match check if configured 22.07.2009 + authnserver command added (nserver to use only with auth dnsname) 13.07.2009 + man pages for smtpp and icqpr added ! traffic correction plugin logics fixed 10.07.2009 + 3proxy configuration parser: support added for empty strings (""). 09.07.2009 + dnsname authentication added (auth dnsname) - puts validated reverse DNS record (PTR) instead of username + PCREPlugin: Added: \r, \n support from pcre_rewrite rewrite string. Use \0 for empty string + PCREPlugin: Added: * may be used instead of regex (no regex is created and checked in this case) 24.06.2009 ! random redirections are really fixed (incomplete fix on 08.04.2009) ! icqpr "Need recync" problem fixed ! disable NTLM by default (because of Windows Vista) until NTLMv2 implemented ! set auth iponly to be default 08.04.2009 ! Fixed: distribution between parent proxies was not even because of non-linear probability 18.03.2009 ! Marking as 0.7-devel 06.03.2009 ! Fixed: filters were applied in reverse order 25.02.2009 ! Fixed: beginning of HTTP data may be not passed to filter 22.02.2009 ! handle Content-Length as unsigned long to allow files > 2GB. 10.02.2009 ! Ldapauth plugin corrected according to changes on 02.02.2009 02.02.2009 + countout / nocountout commands added ! Added workaround for Mac OS X / iPhone OS poll() (mis)behaviour. 30.01.2009 ! Flush buffer in case of POLLxxx - probably required for Mac OS X / iPhone OS 24.01.2009 ! Changed WindowsAuthentication to convert username to lowercase 10.12.2008 ! Fixed: login may hang in ftppr in case of large server banner 30.10.2008 ! WindowsAuthentication plugin may sometimes fail with 100122 error on startup because of uninitialized variable. 30.09.2008 ! -lXXX moved to $LIBS in Makefiles for linkers compatibility + 3proxy for Dummies v.1.2 by Kurmaeff Halit added (in Russian) 26.08.2008 ! Fixed: end of chunked-encoded page may be incorrectly detected 24.07.2008 ! Fixed: buffering problem on multiple chunks 21.07.2008 ! Previous fix was incomplete 13.07.2008 Thanks to Hostile Fork: ! Fixed directory listing building for some rare FTP servers (e.g. HP) ! Fixed (probably) chunked encoding should now work. REQUIRES TESTING. please report, if you have problems with chunked. 11.05.2008 + minor plugin interface additions 03.05.2008 + pcre_options implemented 24.04.2008 ! Fixed: bandlimsout may not work if both bandlimsin and bandlimsout are configured. 01.04.2008 ! Fixed: chunked was actually converted to non-chunked 25.03.2008 + HTTP chunked support (hopefully) added, not tested yet 13.02.2008 ! Do not shutdown listening socket ! FTPPR was broken on 10.02 fix ! ':' may be encoded in ftp:// URI's in proxy @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2008/02/27 16:14:25 apb Exp $ @ 1.1 log @Add net/3proxy version 0.5.3k. This is a multi-protocol proxy that can be configured to chain to other proxies. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/3proxy.c.orig 2007-04-20 13:05:10.000000000 +0200 d5 9 a13 9 @@@@ -1276,7 +1276,7 @@@@ int readconfig(FILE * fp){ tl->comment = mystrdup((char *)ch->argv[1]); - while(isdigit(*tl->comment))tl->comment++; + while(isdigit((unsigned char)*tl->comment))tl->comment++; if(*tl->comment== '/')tl->comment++; sscanf((char *)ch->argv[1], "%u", &tl->number); @