summaryrefslogtreecommitdiffstats
path: root/support (follow)
Commit message (Collapse)AuthorAgeFilesLines
* htdbm, htpasswd: print error message if out of memoryStefan Fritsch2012-12-254-0/+28
| | | | | | | PR: 54345 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425775 13f79535-47bb-0310-9956-ffa450edef68
* Exit with error message if out of memStefan Fritsch2012-12-251-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1425772 13f79535-47bb-0310-9956-ffa450edef68
* ab: add the possibility to define a socket timeout (-s timeout)Christophe Jaillet2012-12-171-4/+11
| | | | | | | | | | | | | | | [Guido Serra <zeph fsfe org>] Also some changes In usage(): - reword -t option to be more clear with the new -s - add missing -q - add the new -s option - reword some options to better match online documentation ab.xml claimed that -s was already there, but nothing in the code looks like that. So, I guess it only landed on the online doc... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422937 13f79535-47bb-0310-9956-ffa450edef68
* httxt2dbm: Correct length computation for the 'value' stored in the DBM file ↵Christophe Jaillet2012-12-141-1/+1
| | | | | | PR 47650 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1422135 13f79535-47bb-0310-9956-ffa450edef68
* htdbm:Rainer Jung2012-12-122-22/+21
| | | | | | | | | | | | - Add vxl to getopt - Remove "-C" from usage for -x and -l - Add space between -C and "cost" - Usage reorder and sync with htpasswd htpasswd: - Usage reorder and sync with htdbm git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1420644 13f79535-47bb-0310-9956-ffa450edef68
* fix unresolved external symbol __imp__UuidCreate errorGregg Lewis Smith2012-12-091-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1419084 13f79535-47bb-0310-9956-ffa450edef68
* error[120] is already defined in this function. Just use it instead of ↵Christophe Jaillet2012-12-021-1/+0
| | | | | | shadowing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1416121 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c: Cleanups, no functional change. Drop revisionJoe Orton2012-11-151-31/+2
| | | | | | | history, "svn log" works; use APR_PATH_MAX; constify more. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1409800 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c (post_rotate): Really omit the second arg whenJoe Orton2012-11-151-1/+1
| | | | | | | | invoking a post-rotate program, rather than passing an empty arg. (Fixes to code match desired&documented behaviour.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1409726 13f79535-47bb-0310-9956-ffa450edef68
* cppCheck: unreadVariable - 'serviceFlag' is not used in the function, so ↵Christophe Jaillet2012-10-151-1/+0
| | | | | | remove it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1398481 13f79535-47bb-0310-9956-ffa450edef68
* Removed __func__ usage which is c99.Guenter Knauf2012-10-091-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395792 13f79535-47bb-0310-9956-ffa450edef68
* Optionally read passwords from stdinStefan Fritsch2012-10-074-16/+45
| | | | | | | | PR: 40243 Submitted by: Adomas Paltanavicius <adomas paltanavicius gmail com>, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395256 13f79535-47bb-0310-9956-ffa450edef68
* add support for bcryptStefan Fritsch2012-10-074-14/+84
| | | | | | | PR: 49288 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395255 13f79535-47bb-0310-9956-ffa450edef68
* Add passwd_common.c build support for Windows and NetwareStefan Fritsch2012-10-074-0/+10
| | | | | | | Completely untested - please test git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395254 13f79535-47bb-0310-9956-ffa450edef68
* Start refactoring of htpasswd and htdbmStefan Fritsch2012-10-075-559/+551
| | | | | | | | | | | | - Move many common code parts into separate source file. This adds some of htpasswd's recent improvements to htdbm. - Rework salt generation to use the full 48bit of entropy for MD5 Previously, it would only generate 2^32 different salts on a given platform. - Use apr_getopt(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395253 13f79535-47bb-0310-9956-ffa450edef68
* Allow forced setting of TLS1.1 and TLS1.2 protocols withKaspar Brand2012-10-071-4/+25
| | | | | | | | | | | | | the -f command-line switch, and adapt the output to more accurately report what SSL/TLS protocol was negotiated (use SSL_get_version() instead of SSL_CIPHER_get_version()). PR: 53916 Submitted by: Nicolás Pernas Maradei <nico emutex com> Reviewed/amended by: Kaspar Brand git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1395225 13f79535-47bb-0310-9956-ffa450edef68
* Spin off module-specific build options into separate build vars.Kaspar Brand2012-09-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | [second try, supersedes r1385214] Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands, which are available to modules for customization on a per-subdir basis (by adding definitions to modules.mk). Reduces the risk of side-effects when a module needs to add CFLAGS, LDFLAGS etc. and these would be added to the global settings (ALL_CFLAGS etc.). Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate, mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx build variables. Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where they appear at the proper position in the build commands. Consistently use "--with-xxx=PATH" in configure help strings which are used to specify a path to the installation directory of an auxiliary package. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385216 13f79535-47bb-0310-9956-ffa450edef68
* revert r1385214, as I inadvertently left out acinclude.m4.Kaspar Brand2012-09-161-6/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385215 13f79535-47bb-0310-9956-ffa450edef68
* Spin off module-specific build options into separate build vars.Kaspar Brand2012-09-161-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Add MOD_CFLAGS, MOD_LDFLAGS variables etc. to the build commands, which are available to modules for customization on a per-subdir basis (by adding definitions to modules.mk). Reduces the risk of side-effects when a module needs to add CFLAGS, LDFLAGS etc. and these would be added to the global settings (ALL_CFLAGS etc.). Adapt build settings for mod_ssl, mod_socache_dc, mod_deflate, mod_xml2enc, mod_proxy_html, and mod_lua to use the new MOD_xxx build variables. Change PICFLAGS, SHLTCFLAGS and LTCFLAGS into config vars, instead of AC_SUBSTing them in build/rules.mk.in. For support/ab, introduce ab_CFLAGS and ab_LDFLAGS, and define explicit make targets where they appear at the proper position in the build commands. Consistently use "--with-xxx=PATH" in configure help strings which are used to specify a path to the installation directory of an auxiliary package. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1385214 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c (truncate_and_write_error): Factor out fromJoe Orton2012-08-171-16/+21
| | | | | | | | | | | doRotate, main; make error handling consistant and print the actual error to stderr. (doRotate, main): Use it. PR: 45084 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1374247 13f79535-47bb-0310-9956-ffa450edef68
* ab: Fix read failure when targeting SSL server.Jeff Trawick2012-08-101-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371791 13f79535-47bb-0310-9956-ffa450edef68
* NetWare build tweaks.Guenter Knauf2012-08-094-4/+4
| | | | | | | | | Make more use of internal makefile macros; axed now obsolete include paths. Submitted by: normw gknw net. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1371177 13f79535-47bb-0310-9956-ffa450edef68
* htpasswd: Use correct file mode for checking if file is writable.Stefan Fritsch2012-08-051-2/+2
| | | | | | | | | Also switch to the non-deprecated APR_FOPEN_* flags PR: 45923 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1369618 13f79535-47bb-0310-9956-ffa450edef68
* When -B is specified, search for a host address in theJeff Trawick2012-07-211-1/+3
| | | | | | | | same family as the specified outbound interface. If impossible, fail at name resolution instead of bind(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1364133 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile break when SIGPIPE is not definedJeff Trawick2012-07-181-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1363029 13f79535-47bb-0310-9956-ffa450edef68
* note more prominently that SHA and crypt are insecureStefan Fritsch2012-06-221-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1352910 13f79535-47bb-0310-9956-ffa450edef68
* * support/ab.c (test, start_connect): Only bind the local end of theJoe Orton2012-06-191-9/+13
| | | | | | | socket (and look up an address for it) if -B is specified. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1351737 13f79535-47bb-0310-9956-ffa450edef68
* * support/htpasswd.c (mkrecord): Handle crypt() failure.Joe Orton2012-06-062-2/+25
| | | | | | | | | * support/htdbm.c (htdbm_make): Handle crypt() failure. Submitted by: Paul Wouters <pwouters redhat.com>, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1346905 13f79535-47bb-0310-9956-ffa450edef68
* * support/suexec.c: Define AP_LOG_FACILITY.Joe Orton2012-05-311-1/+9
| | | | | | | | | (err_output): Use AP_LOG_FACILITY for syslog facility. Suggested by: kbrand git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1344712 13f79535-47bb-0310-9956-ffa450edef68
* Make apxs use LDFLAGS from config_vars.mk in addition to CFLAGS and CPPFLAGSStefan Fritsch2012-05-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1343094 13f79535-47bb-0310-9956-ffa450edef68
* suexec: Add support for logging to syslog as an alternative to aJoe Orton2012-05-231-2/+27
| | | | | | | | | | | | | | logfile. * support/suexec.c (err_output) [AP_LOG_SYSLOG]: Log to syslog. (main): Close syslog fd if open, before execv. Add -V output for AP_LOG_SYSLOG. * configure.in: Add --with-suexec-syslog argument; allow --without-suexec-logfile to omit definition of AP_LOG_EXEC. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1341905 13f79535-47bb-0310-9956-ffa450edef68
* * support/suexec.c: Add gcc format-string attributes to loggingJoe Orton2012-05-111-10/+16
| | | | | | | | | | functions. (main): Always print uid/gid as unsigned long, and cast to avoid warnings (which somewhat defeats the point of the format string attrs, but is necessary since the size of gid/uid varies). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1337344 13f79535-47bb-0310-9956-ffa450edef68
* Replace use of apr_file_write() with apr_file_write_full() to preventStefan Fritsch2012-04-261-14/+3
| | | | | | | | | | | | incomplete writes. Add comments in some places where error handling/logging is missing. PR: 53131. Submitted by: Nicolas Viennot <apache viennot biz>, Stefan Fritsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1331110 13f79535-47bb-0310-9956-ffa450edef68
* use strict; use warnings;Rich Bowen2012-04-131-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325724 13f79535-47bb-0310-9956-ffa450edef68
* Missing slashRich Bowen2012-04-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325275 13f79535-47bb-0310-9956-ffa450edef68
* Replace hard-coded example paths with config_vars templates. (with assitance ↵Rich Bowen2012-04-121-2/+2
| | | | | | from Igor) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325265 13f79535-47bb-0310-9956-ffa450edef68
* With further assistance from Daniel Gruno - style changes, removes useRich Bowen2012-04-121-46/+34
| | | | | | | | of `hostname`, uses IO::Socket instead of a custom tcp_connect function, and uses HTTP/1.1. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325250 13f79535-47bb-0310-9956-ffa450edef68
* Removes calls to `date`.Rich Bowen2012-04-121-6/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325227 13f79535-47bb-0310-9956-ffa450edef68
* Updates patch provided by Dave Brondsema (brondsem AT apache org) fourRich Bowen2012-04-121-39/+43
| | | | | | | | | | years ago, makes the script strict/warnings compliant, and updates to current output format of server-status. Partially fixes https://issues.apache.org/bugzilla/show_bug.cgi?id=45424 The script now actually produces output. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1325218 13f79535-47bb-0310-9956-ffa450edef68
* Fix insecure handling of LD_LIBRARY_PATH that could lead to theStefan Fritsch2012-03-021-1/+5
| | | | | | | | | current working directory to be searched for DSOs CVE-2012-0883 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1296428 13f79535-47bb-0310-9956-ffa450edef68
* Minor fixes for firehose and mod_policy:Rainer Jung2012-02-011-14/+12
| | | | | | | | | | | | | - err.h does not exist in Solaris. Judging from the expected content of err.h we don't use it at all, so remove inclusion of it. - The name DEFAULT_TYPE is to generic. Use POLICY_DEFAULT_TYPE instead. - Include apr header files from configured path instead of system path. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1239027 13f79535-47bb-0310-9956-ffa450edef68
* Sorry about that. Wasnt looking in the right place.Rich Bowen2012-02-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1238930 13f79535-47bb-0310-9956-ffa450edef68
* Make apachectl -h aware of status, fullstatus, and configtest.Rich Bowen2012-02-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1238924 13f79535-47bb-0310-9956-ffa450edef68
* Move ab, logresolve, httxt2dbm and apxs to bin from sbin, along withGraham Leggett2011-12-201-4/+4
| | | | | | | corresponding man pages. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221292 13f79535-47bb-0310-9956-ffa450edef68
* Added mod_firehose and firehose to NetWare build.Guenter Knauf2011-12-202-0/+257
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1221216 13f79535-47bb-0310-9956-ffa450edef68
* Distinguish properly between the bindir and sbindir directories whenGraham Leggett2011-12-191-3/+10
| | | | | | | | installing binaries. Previously all binaries were silently installed to sbindir, whether they were system administration commands or not. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220846 13f79535-47bb-0310-9956-ffa450edef68
* mod_firehose: Add a new debugging module able to record trafficGraham Leggett2011-12-173-1/+804
| | | | | | | | passing through the server in such a way that connections and/or requests be reconstructed and replayed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1215525 13f79535-47bb-0310-9956-ffa450edef68
* * support/rotatelogs.c (usage, main): Add support for -c option.Joe Orton2011-10-261-0/+68
| | | | | | | Submitted by: Jan Kaluža <jkaluza redhat.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1189220 13f79535-47bb-0310-9956-ffa450edef68
* Increase the max line length from 2k to 128k and allocate the buffer on theStefan Fritsch2011-10-171-7/+8
| | | | | | | | | heap. Every log line has an URL and one or more HTTP headers. Each can be 8k long. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1185119 13f79535-47bb-0310-9956-ffa450edef68
* If MaxMemFree is set, set SSL_MODE_RELEASE_BUFFERS in mod_ssl.Stefan Fritsch2011-10-011-0/+4
| | | | | | | | | | Always set SSL_MODE_RELEASE_BUFFERS in ab. PR: 51618 Submitted by: Cristian Rodríguez <crrodriguez opensuse org>, Stefan Fritsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1178079 13f79535-47bb-0310-9956-ffa450edef68