mod_qos-11.74/0000775000000000000020000000000014431415521011456 5ustar rootbinmod_qos-11.74/tools/0000775000000000000020000000000014431415521012616 5ustar rootbinmod_qos-11.74/tools/configure.ac0000664000000000000020000000724614431415521015115 0ustar rootbin# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.50]) AC_INIT(mod_qos, 9.0, pbuchbinder@users.sourceforge.net) AC_CONFIG_SRCDIR([src/qscheck.c]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER([config.h]) # Checks for programs. AC_PROG_CC # Checks for libraries. # Checks for header files. AC_CHECK_HEADERS([fcntl.h netdb.h stdlib.h string.h strings.h sys/socket.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_TYPE_PID_T AC_TYPE_UID_T # Checks for library functions. AC_FUNC_FORK AC_FUNC_MALLOC AC_CHECK_FUNCS([ftruncate gethostbyname memset regcomp select socket strchr strerror strrchr strstr]) # START customize settings AC_ARG_ENABLE([use-static], AS_HELP_STRING(--enable-use-static,Try to use archives instead of shared libraries)) AC_ARG_ENABLE([full-static], AS_HELP_STRING(--enable-full-static,Try to compile a statical linked executable)) AC_ARG_ENABLE([ssl], AS_HELP_STRING(--disable-ssl,Disable ssl support (not supported yet))) AC_ARG_WITH(apr,AS_HELP_STRING(--with-apr=PATH,path to apr-1-config script), [if test ! -x $withval/apr-1-config; then AC_MSG_ERROR($withval/apr-1-config do not exist or is not executable); else APR_CONFIG="$withval/apr-1-config"; fi], [APR_CONFIG="apr-1-config"]) AC_ARG_WITH(apr-util,AS_HELP_STRING(--with-apr-util=PATH,path to apu-1-config script), [if test ! -x $withval/apu-1-config; then AC_MSG_ERROR($withval/apu-1-config do not exist or is not executable); else APU_CONFIG="$withval/apu-1-config"; fi], [APU_CONFIG="apu-1-config"]) AC_ARG_WITH(pcre2,AS_HELP_STRING(--with-pcre2=PATH,path to pcre2-config script), [if test ! -x $withval/pcre2-config; then AC_MSG_ERROR($withval/pcre2-config do not exist or is not executable); else PCRE2_CONFIG="$withval/pcre2-config"; fi], [PCRE2_CONFIG="pcre2-config"]) AC_ARG_WITH(png,AS_HELP_STRING(--with-png=PATH,path to libpng-config script), [if test ! -x $withval/libpng-config; then AC_MSG_ERROR($withval/libpng-config do not exist or is not executable); else PNG_CONFIG="$withval/libpng-config"; fi], [PNG_CONFIG="libpng-config"]) AC_ARG_WITH(ssl,AS_HELP_STRING(--with-ssl=PATH,path to openssl source), [if test ! -d $withval; then AC_MSG_ERROR($withval is not a directory); else OPENSSL_LIB_PATH="-L${withval}"; OPENSSL_INCLUDES="-I${withval}/include"; fi], [OPENSSL_LIB_PATH=""; OPENSSL_INCLUDES=""]) APR_VERSION=`$APR_CONFIG --version` if test ! "$?" = "0"; then echo "libapr is missing, use --with-apr=PATH" exit -1 fi APU_VERSION=`$APU_CONFIG --version` if test ! "$?" = "0"; then echo "libaprutil is missing, use --with-apr-util=PATH" exit -1 fi PCRE2_VERSION=`$PCRE2_CONFIG --version` if test ! "$?" = "0"; then echo "libpcre2 is missing, use --with-pcre2=PATH to specify the location of your pcre2 library" exit -1 fi PNG_VERSION=`$PNG_CONFIG --version` if test ! "$?" = "0"; then echo "libpng is missing, use --with-png=PATH to specify the location of your png library" #exit -1 fi # Store settings for includes, libs and flags INCLUDES="`$APR_CONFIG --includes` `$APU_CONFIG --includes` $OPENSSL_INCLUDES" CFLAGS="`$APR_CONFIG --cflags` `$PCRE2_CONFIG --cflags` `$PNG_CONFIG --cflags` $CFLAGS $INCLUDES" CPPFLAGS="`$APR_CONFIG --cppflags` $CPPFLAGS" LIBS="$OPENSSL_LIB_PATH -lssl -lcrypto `$APR_CONFIG --link-ld` `$APU_CONFIG --link-ld` `$APR_CONFIG --libs` `$APU_CONFIG --libs` `$PCRE2_CONFIG --libs8` `$PNG_CONFIG --libs` -lz" # if link static if test "$enable_full_static" = "yes"; then LDFLAGS="-all-static" fi # if link static if test "$enable_use_static" = "yes"; then LDFLAGS="-static" fi # END customize settings AC_CONFIG_FILES([Makefile src/Makefile]) AC_OUTPUT mod_qos-11.74/tools/src/0000775000000000000020000000000014431415521013405 5ustar rootbinmod_qos-11.74/tools/src/qsrespeed.c0000664000000000000020000002771414431415521015557 0ustar rootbin/** * Utility for the quality of service module mod_qos. * * qsrespeed.c: tool to measure the processing time * of regular expressions * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Revision: 2654 $"; /* system */ #include #include #include #include #include /* apr */ #include #include #include #include #include #include #include #define PCRE2_CODE_UNIT_WIDTH 8 #include #include "qs_util.h" #define LOOPS 100 typedef struct { qs_regex_t *preg; } rule_t; static void usage(const char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "Tool to compare / estimate the processing time for (Perl-compatible)\n"); qs_man_print(man, "regular expressions (PCRE).\n"); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s \n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s loads regular expressions from the provided file and matches\n", cmd); qs_man_print(man, "them against a built-in set of strings measuring the time needed to\n"); qs_man_print(man, "process them. It's a benchmark too to judge the expressions you have\n"); qs_man_print(man, "defined regarding the potential CPU consumption.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " \n"); if(man) printf("\n"); qs_man_print(man, " Defines the input file to process. The file consists a list of\n"); qs_man_print(man, " (separated by a newline character) regular expressions to test\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } typedef struct { const char* string; int len; } qs_r_t; int main(int argc, const char *const argv[]) { int datalen=0; qs_r_t data[] = { { "Emma", 0 }, { "Buchschacher", 0 }, { "Schafhauserstrasse 60, 8000 Zürich", 0 }, { "128128127136178267893209807237276365235", 0 }, { "/get/application/data/index/list/all/data", 0 }, { "05.03.1978", 0 }, { "888 888-888-777", 0 }, { "name=value&id=kAfBFLJaBQB-AAABBQAAAAZgAAAA9--DwnTUWct-AAA2&host=me.main.org&key=121213122aaaaaaaaaaMMMM123&tex=emb+ed", 0 }, { "text shows_this!", 0 }, { "", 0 }, { "lajksdfhjklasdhfaskdjfhklasjdlfaksdhfasjkdflsajkdflkdflhdjklfadhfksdjfhklasjdhfskljdfhsklajdhflskjdfhlskjhdflksjdhlfksjdhfjklsdhfklsdhfklsjdhklshlksfhdklfhslkdfhlskhdklsjhdflskfhlsh", 0 }, { "ajksdfhjklasdhfaskdjfhklasjdlfaksdhfasjkdflsajkdflkdflhdjklfadhfksdjfhklasjdhfskljdfhsklajdhflskjdfhlskjhdflksjdhlfksjdhfjklsdhfklsdhfklsjdhklshlksfljsdahsdznvztbasmuiwmereizfrbizvnsdmovosduvnuztbvzucxzvmpmvdzubtfrmeirmrnbewrJHJSBNUAIMSODMAINBSUDTAZSUDIOASMDNBAGZDTSZBUANIMOINSAUBZDGTZUIOIMSKNABJDHT9807765243567283992039209376526368799230827836526789 ç%&/\"(><<<-.,:;)*=)()(&%\"ç", 0 }, { "text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8", 0 }, { "Accept-Language: fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5", 0}, { "Hm_lvt_ef1299edab2ff5d2f13e859…d=GA1.2.1594867574.1516566392", 0 }, { "If-Modified-Since", 0 }, { "Fri, 05 Jan 2018 02:34:41 GMT", 0 }, { "[Wed Feb 28 22:08:09 2018] [notice] Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/1.0.2g mod_qos/11.52 configured -- resuming normal operations", 0 }, { "127.0.0.1 - - [28/Feb/2018:21:03:37 +0100] \"GET /console?action=inclimit&address=194.31.217.21&event=QS_Limit HTTP/1.1\" 200 52 \"-\" 0 - - - id=wWkYPUtmBQARFAABEAAAAAAX-yQgC5d2 - - #5230", 0 }, { "2013/11/07 17:44:07 [error] 4640#0: *55 auth_token_module(014): request not authorized: invalid signature, client: 127.0.0.1, server: localhost, request: \"GET /app/index.html?req=1 HTTP/1.1\", host: \"127.0.0.1:8204\" 000000000002#IPhzBRn7cuuGdqBI7T4OSIjXx7JGliUokCk8dFIU9n0=", 0 }, { "2010 12 04 20:46:45.118 dispatch IWWWauthCo 07148.4046314384 3-ERROR : AuthsessClient_1_0::execute: no valid 000000000002#5jYHrFBotkZwAs5EyfVQVgNZb3M=", 0 }, { "2011-09-01 07:37:17,275 main org.apache.catalina.startup.Catalina INFO Server startup in 5770 ms 000000000002#LQ/h2UbJ2HzdZyf8BqnB7TB8LZM=", 0 }, { "2010-04-14 20:18:37,464 | INFO | org.hibernate.cfg ::getInputStream:1081 resource: /hibernate.cfg.xml 000000000002#9lpZof9jvdMRrIebCM7rbKzJ7aY=", 0 }, { "http://mod-qos.sourceforge.net/", 0 }, { "Mozilla/5.0 (X11; Ubuntu; Linu…) Gecko/20100101 Firefox/57.0", 0 }, { " Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles, And by opposing end them? To die: to sleep; No more; and by a sleep to say we end The heart-ache and the thousand natural shocks That flesh is heir to, 'tis a consummation Devoutly to be wish'd.", 0 }, { "To be, or not to be: that is the question: Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles, And by opposing end them? To die: to sleep; No more; and by a sleep to say we end The heart-ache and the thousand natural shocks That flesh is heir to, 'tis a consummation Devoutly to be wish'd. To die, to sleep; To sleep: perchance to dream: ay, there's the rub; For in that sleep of death what dreams may come When we have shuffled off this mortal coil, Must give us pause: there's the respect That makes calamity of so long life; For who would bear the whips and scorns of time, The oppressor's wrong, the proud man's contumely, The pangs of despised love, the law's delay, The insolence of office and the spurns That patient merit of the unworthy takes, When he himself might his quietus make With a bare bodkin? who would fardels bear, To grunt and sweat under a weary life, But that the dread of something after death, The undiscover'd country from whose bourn No traveller returns, puzzles the will And makes us rather bear those ills we have Than fly to others that we know not of? Thus conscience does make cowards of us all; And thus the native hue of resolution Is sicklied o'er with the pale cast of thought, And enterprises of great pith and moment With this regard their currents turn awry, And lose the name of action.--Soft you now! The fair Ophelia! Nymph, in thy orisonsBe all my sins remember'd.", 0 }, { "{\n" \ " \"_to\": \"1.2.3.4:5678\",\n" \ " \"_line\": 63546230,\n" \ " \"profile_image_url\": \"http://a3.twimg.com/profile_images/852841481/Untitled_3_normal.jpg\",\n" \ " \"created_at\": \"Sat, 08 May 2010 21:46:23 +0000\",\n" \ " \"from_user\": \"pelchiie\",\n" \ " \"metadata\": {\n" \ " \"result_type\": \"recent\"\n" \ " },\n" \ " \"to_user_id\": null,\n" \ " \"text\": \"twitter is dead today.\",\n" \ " \"id\": 13630378882,\n" \ " \"from_user_id\": 12621761,\n" \ " \"geo\": null,\n" \ " \"iso_language_code\": \"en\",\n" \ " \"source\": \"web\"\n" \ "}", 0 }, { NULL, 0 } }; int i; FILE *file; char readline[MAX_LINE]; const char *cmd = strrchr(argv[0], '/'); apr_pool_t *pool; apr_table_t *rules; long long start; long long end; struct timeval tv; static char ver[80]; const char *filename = NULL; if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); rules = apr_table_make(pool, 100); argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } else { filename = *argv; } argc--; argv++; } { // init qs_r_t *d = data; while(d->string) { d->len = strlen(d->string); datalen += d->len; d++; } } if(filename == NULL) { usage(cmd, 0); } file = fopen(filename, "r"); if(!file) { fprintf(stderr, "ERROR, failed to open the log file '%s'\n", filename); exit(1); } while(fgets(readline, MAX_LINE-1, file) != NULL) { char *p; int len = strlen(readline); rule_t *rule = apr_pcalloc(pool, sizeof(rule_t)); while(len > 0 && readline[len] < 32) { readline[len] = '\0'; len--; } if((strlen(readline) > 0) && (readline[0] != CR) && (readline[0] != LF)) { p = readline; rule->preg = apr_palloc(pool, sizeof(qs_regex_t)); if(qs_regcomp(rule->preg, p, PCRE2_DOTALL|PCRE2_CASELESS) != 0) { printf("failed to compile pattern [%s]\n", p); exit(1); } apr_pool_pre_cleanup_register(pool, rule->preg, qs_pregfree); apr_table_addn(rules, apr_pstrdup(pool, p), (char *)rule); } } { // per rule int k; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; for(k = 0; k < apr_table_elts(rules)->nelts; k++) { rule_t* rule = (rule_t *)entry[k].val; gettimeofday(&tv, NULL); start = tv.tv_sec * 1000000 + tv.tv_usec; for(i = 0; i < LOOPS; i++) { qs_r_t *d = data; while(d->string) { qs_regexec_len(rule->preg, d->string, d->len, 0, NULL, 0); d++; } } gettimeofday(&tv, NULL); end = tv.tv_sec * 1000000 + tv.tv_usec; printf("%lld usec for %s\n", (end - start)/LOOPS, entry[k].key); } } // all rules gettimeofday(&tv, NULL); start = tv.tv_sec * 1000000 + tv.tv_usec; for(i = 0; i < LOOPS; i++) { const qs_r_t *d = data; while(d->string) { int k; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; for(k = 0; k < apr_table_elts(rules)->nelts; k++) { rule_t* rule = (rule_t *)entry[k].val; qs_regexec_len(rule->preg, d->string, d->len, 0, NULL, 0); } d++; } } gettimeofday(&tv, NULL); end = tv.tv_sec * 1000000 + tv.tv_usec; pcre2_config(PCRE2_CONFIG_VERSION, ver); printf("match all rules (%d) against the test variables (%lu strings, %d characters) took: %lld usec (%s/PCRE %s)\n", apr_table_elts(rules)->nelts, sizeof(data)/sizeof(qs_r_t)-1, datalen, (end - start) / LOOPS, revision, ver); return 0; } mod_qos-11.74/tools/src/qs_apo.c0000664000000000000020000001026614431415521015040 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qs_apo.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include #include #include #include #include #include /* apr/apr-util */ #include #include #include #include #include #include #include #include "qs_util.h" #include "qs_apo.h" static apr_table_t *qs_args(apr_pool_t *pool, const char *line) { char *last = apr_pstrdup(pool, line); apr_table_t* table = apr_table_make(pool, 10); char *val; while((val = apr_strtok(NULL, " ", &last))) { apr_table_addn(table, val, ""); } return table; } static void qs_failedexec(const char *msg, const char *cmd, apr_status_t status) { char buf[MAX_LINE]; apr_strerror(status, buf, sizeof(buf)); fprintf(stderr, "ERROR %s '%s': '%s'\n", msg, cmd, buf); exit(1); } /** * Reads a passphrase using the defined passphrase getter (executes * the program and reads the passphras from stdout). * * @param pool To allocate memory * @param prg Path of the program to exectue * @return The passphrase */ char *qs_readpwd(apr_pool_t *pool, const char *prg) { apr_status_t status; apr_proc_t proc; const char **args; apr_table_entry_t *entry; char *last; char *copy = apr_pstrdup(pool, prg); char *cmd = apr_strtok(copy, " ", &last); apr_table_t *a = qs_args(pool, prg); int i; apr_procattr_t *attr; apr_size_t len = MAX_LINE; char *buf = apr_pcalloc(pool, len); args = apr_pcalloc(pool, (apr_table_elts(a)->nelts + 1) * sizeof(const char *)); entry = (apr_table_entry_t *) apr_table_elts(a)->elts; for(i = 0; i < apr_table_elts(a)->nelts; i++) { args[i] = entry[i].key; } args[i] = NULL; if(cmd == NULL) { qs_failedexec("can't read password, invalid executable", prg, APR_EGENERAL); } if((status = apr_procattr_create(&attr, pool)) != APR_SUCCESS) { qs_failedexec("while reading password from executable", prg, status); } if((status = apr_procattr_cmdtype_set(attr, APR_PROGRAM_PATH)) != APR_SUCCESS) { qs_failedexec("while reading password from executable", prg, status); } if((status = apr_procattr_detach_set(attr, 0)) != APR_SUCCESS) { qs_failedexec("while reading password from executable", prg, status); } if((status = apr_procattr_io_set(attr, APR_FULL_BLOCK, APR_FULL_BLOCK, APR_NO_PIPE)) != APR_SUCCESS) { qs_failedexec("while reading password from executable", prg, status); } if((status = apr_proc_create(&proc, cmd, args, NULL, attr, pool)) != APR_SUCCESS) { qs_failedexec("could not execute program", prg, status); } else { char *e; status = apr_proc_wait(&proc, NULL, NULL, APR_WAIT); if(status != APR_CHILD_DONE && status != APR_SUCCESS) { qs_failedexec("while reading password from executable", prg, status); } status = apr_file_read(proc.out, buf, &len); if(status != APR_SUCCESS) { qs_failedexec("failed to read password from program", prg, status); } e = buf; while(e && e[0]) { if((e[0] == LF) || (e[0] == CR)) { e[0] = '\0'; } else { e++; } } } return buf; } mod_qos-11.74/tools/src/qslogger.c0000664000000000000020000003076214431415521015404 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * Utilities for the quality of service module mod_qos. * * qslogger.c: Piped logging forwarding log data to syslog * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qslogger.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include #include #include #include #include #include #include "qs_util.h" // [Wed Mar 28 22:40:41 2012] [warn] #define QS_DEFAULTPATTERN "^\\[[0-9a-zA-Z :]+\\] \\[([a-z]+)\\] " #define QS_MAX_PATTERN_MA 2 static int m_default_severity = LOG_NOTICE; /** * Similar to standard strstr() but case insensitive and length limitation * (string which is not 0 terminated). * * @param s1 String to search in * @param s2 Pattern to ind * @param len Length of s1 * @return pointer to the beginning of the substring s2 within s1, or NULL * if the substring is not found */ static const char *qs_strncasestr(const char *s1, const char *s2, int len) { const char *e1 = &s1[len-1]; char *p1, *p2; if (*s2 == '\0') { /* an empty s2 */ return((char *)s1); } while(1) { for ( ; (*s1 != '\0') && (s1 <= e1) && (apr_tolower(*s1) != apr_tolower(*s2)); s1++); if (*s1 == '\0' || s1 > e1) { return(NULL); } /* found first character of s2, see if the rest matches */ p1 = (char *)s1; p2 = (char *)s2; for (++p1, ++p2; (apr_tolower(*p1) == apr_tolower(*p2)) && (p1 <= e1); ++p1, ++p2) { if((p1 > e1) && (*p2 != '\0')) { // reached the end without match return NULL; } if (*p2 == '\0') { /* both strings ended together */ return((char *)s1); } } if (*p2 == '\0') { /* second string ended, a match */ break; } /* didn't find a match here, try starting at next character in s1 */ s1++; } return((char *)s1); } /** * Rerurns the priority value * * @param priorityname Part of the log message to search the priority in * @param len Length of the priority string * @return Priority, LOG_NOTICE (see m_default_severity) if provided name is not recognized. */ static int qsgetprio(const char *priorityname, int len) { int p = m_default_severity; if(!priorityname) { return p; } if(qs_strncasestr(priorityname, "alert", len)) { p = LOG_ALERT; } else if(qs_strncasestr(priorityname, "crit", len)) { p = LOG_CRIT; } else if(qs_strncasestr(priorityname, "debug", len)) { p = LOG_DEBUG; } else if(qs_strncasestr(priorityname, "emerg", len)) { p = LOG_EMERG; } else if(qs_strncasestr(priorityname, "err", len)) { p = LOG_ERR; } else if(qs_strncasestr(priorityname, "info", len)) { p = LOG_INFO; } else if(qs_strncasestr(priorityname, "notice", len)) { p = LOG_NOTICE; } else if(qs_strncasestr(priorityname, "panic", len)) { p = LOG_EMERG; } else if(qs_strncasestr(priorityname, "warn", len)) { p = LOG_WARNING; } return p; } /** * Extracts the severity of the message using the provided * regular expression and determinest the priofity using * qsgetprio(). * * @param preg Regular expression to extract the severity * @param line Log fline to extract the severity from * @return Level or LOG_NOTICE (see m_default_severity) if level could not be determined. */ static int qsgetlevel(regex_t preg, const char *line) { int level = m_default_severity; regmatch_t ma[QS_MAX_PATTERN_MA]; if(regexec(&preg, line, QS_MAX_PATTERN_MA, ma, 0) == 0) { int len = ma[1].rm_eo - ma[1].rm_so; level = qsgetprio(&line[ma[1].rm_so], len); } return level; } /* entry within the facility table */ typedef struct { const char* name; int f; } qs_f_t; /** * Table of known facilities, see sys/syslog.h. */ static const qs_f_t qs_facilities[] = { #ifdef LOG_AUTHPRIV { "authpriv", LOG_AUTHPRIV }, #endif { "auth", LOG_AUTH }, { "cron", LOG_CRON }, { "daemon", LOG_DAEMON }, #ifdef LOG_FTP { "ftp", LOG_FTP }, #endif { "kern", LOG_KERN }, { "lpr", LOG_LPR }, { "mail", LOG_MAIL }, { "news", LOG_NEWS }, { "security", LOG_AUTH }, { "syslog", LOG_SYSLOG }, { "user", LOG_USER }, { "uucp", LOG_UUCP }, { "local0", LOG_LOCAL0 }, { "local1", LOG_LOCAL1 }, { "local2", LOG_LOCAL2 }, { "local3", LOG_LOCAL3 }, { "local4", LOG_LOCAL4 }, { "local5", LOG_LOCAL5 }, { "local6", LOG_LOCAL6 }, { "local7", LOG_LOCAL7 }, { NULL, -1 } }; /** * Determines the facility (user input). * * @param facilityname * @return The facility id or LOG_DAEMON if the provided * string is unknown. */ static int qsgetfacility(const char *facilityname) { int f = LOG_DAEMON; const qs_f_t *facilities = qs_facilities; if(!facilityname) { return f; } while(facilities->name) { if(strcasecmp(facilityname, facilities->name) == 0) { f = facilities->f; break; } facilities++; } return f; } /** * Usage message (or man page) * * @param cmd * @param man */ static void usage(const char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - another shell command interface to the system log module (syslog).\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s [-t ] [-f ] [-l ] [-x ] [-r ] [-d ] [-u ] [-p]\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "Use this utility to forward log messages to the systems syslog\n"); qs_man_print(man, "facility, e.g., to forward the messages to a remote host.\n"); qs_man_print(man, "It reads data from stdin.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf("\n.TP\n"); qs_man_print(man, " -t \n"); if(man) printf("\n"); qs_man_print(man, " Defines the tag name which shall be used to define the origin\n"); qs_man_print(man, " of the messages, e.g. 'httpd'.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -f \n"); if(man) printf("\n"); qs_man_print(man, " Defines the syslog facility. Default is 'daemon'.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -u \n"); if(man) printf("\n"); qs_man_print(man, " Becomes another user, e.g. www-data.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -l \n"); if(man) printf("\n"); qs_man_print(man, " Defines the minimal severity a message must have in order to\n"); qs_man_print(man, " be forwarded. Default is 'DEBUG' (forwarding everything).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -x \n"); if(man) printf("\n"); qs_man_print(man, " Allows you to add a prefix (literal string) to every message.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -r \n"); if(man) printf("\n"); qs_man_print(man, " Specifies a regular expression which shall be used to\n"); qs_man_print(man, " determine the severity (syslog level) for each log line.\n"); qs_man_print(man, " The default pattern '"QS_DEFAULTPATTERN"' can\n"); qs_man_print(man, " be used for Apache error log messages but you may configure\n"); qs_man_print(man, " your own pattern matching other log formats. Use brackets\n"); qs_man_print(man, " to define the pattern enclosing the severity string.\n"); qs_man_print(man, " Default level (if severity can't be determined) is defined by the\n"); qs_man_print(man, " option '-d' (see below).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -d \n"); if(man) printf("\n"); qs_man_print(man, " The default severity if the specified pattern (-r) does not\n"); qs_man_print(man, " match and the message's severity can't be determined. Default\n"); qs_man_print(man, " is 'NOTICE'.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -p\n"); if(man) printf("\n"); qs_man_print(man, " Writes data also to stdout (for piped logging).\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); } else { printf("Example:\n"); } qs_man_println(man, " ErrorLog \"|/usr/bin/%s -t apache -f local7\"\n", cmd); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } int main(int argc, const char * const argv[]) { int line_len; char *line = calloc(1, MAX_LINE_BUFFER+1); const char *cmd = strrchr(argv[0], '/'); int pass = 0; const char *tag = NULL; int facility = LOG_DAEMON; int severity = LOG_DEBUG; int level = LOG_INFO; const char *regexpattern = QS_DEFAULTPATTERN; const char *username = NULL; const char *prefix = NULL; regex_t preg; if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv, "-p") == 0) { pass = 1; } else if(strcmp(*argv, "-f") == 0) { if (--argc >= 1) { const char *facilityname = *(++argv); facility = qsgetfacility(facilityname); } } else if(strcmp(*argv, "-l") == 0) { if (--argc >= 1) { const char *severityname = *(++argv); severity = qsgetprio(severityname, strlen(severityname)); } } else if(strcmp(*argv, "-x") == 0) { if (--argc >= 1) { prefix = *(++argv); } } else if(strcmp(*argv,"-u") == 0) { /* switch user id */ if (--argc >= 1) { username = *(++argv); } } else if(strcmp(*argv, "-d") == 0) { if (--argc >= 1) { const char *severityname = *(++argv); m_default_severity = qsgetprio(severityname, strlen(severityname)); } } else if(strcmp(*argv, "-t") == 0) { if (--argc >= 1) { tag = *(++argv); } } else if(strcmp(*argv, "-r") == 0) { if (--argc >= 1) { regexpattern = *(++argv); } } else if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } else { usage(cmd, 0); } argc--; argv++; } if(regcomp(&preg, regexpattern, REG_EXTENDED)) { fprintf(stderr, "[%s] failed to compile pattern %s", cmd, regexpattern); exit(1); } qs_setuid(username, cmd); openlog(tag ? tag : getlogin(), 0, facility); // start reading from stdin while(fgets(line, MAX_LINE_BUFFER, stdin) != NULL) { line_len = strlen(line) - 1; while(line_len > 0) { // cut tailing CR/LF if(line[line_len] >= ' ') { break; } line[line_len] = '\0'; line_len--; } // severity is determined using the regular expression provided by the user level = qsgetlevel(preg, line); if(level <= severity) { // send message if(prefix) { syslog(level, "%s%s", prefix, line); } else { syslog(level, "%s", line); } } if(pass) { printf("%s\n", line); fflush(stdout); } } free(line); closelog(); return 0; } mod_qos-11.74/tools/src/qsgeo.c0000664000000000000020000004121114431415521014666 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * Utilities for the quality of service module mod_qos. * * qsgeo.c: resolves the country codes of IP addresses * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qsgeo.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include #include #include /* apr */ #include #include #include #include #include #include #include #include #include "qs_util.h" #define MAX_REG_MATCH 10 // "3758096128","3758096383","AU" #define QS_GEO_PATTERN "\"([0-9]+)\",\"([0-9]+)\",\"([A-Z0-9]{2}|-)\"" // "3758096128","3758096383","AU","Australia" #define QS_GEO_PATTERN_D "\"([0-9]+)\",\"([0-9]+)\",\"([A-Z0-9]{2})\",\"(.*)\"" // "192.83.198.0","192.83.198.255","3226715648","3226715903","AU","Australia" #define QS_GEO_PATTERN_EXT "\"[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\",\"[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\",\"([0-9]+)\",\"([0-9]+)\",\"([A-Z0-9]{2})\"" // 182.12.34.23 #define IPPATTERN "([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})[\"'\x0d\x0a, ]+" #define IPPATTERN2 "([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})[\"'\x0d\x0a,; ]+" static int m_inject = 0; static int m_verbose = 0; typedef struct { unsigned long start; char *c; } qos_inj_t; static const qos_inj_t m_inj[] = { { 167772160, "\"10.0.0.0\",\"10.255.255.255\",\"167772160\",\"184549375\",\"PV\",\"private network\"" }, { 2130706432, "\"127.0.0.0\",\"127.255.255.255\",\"2130706432\",\"2147483647\",\"LO\",\"local loopback\"" }, { 2886729728, "\"172.16.0.0\",\"172.31.255.255\",\"2886729728\",\"2887778303\",\"PV\",\"private network\"" }, { 3232235520, "\"192.168.0.0\",\"192.168.255.255\",\"3232235520\",\"3232301055\",\"PV\",\"private network\"" }, { 0, NULL } }; typedef struct { unsigned long start; unsigned long end; char country[3]; char c[500]; } qos_geo_t; typedef struct { int num; char *c; } qos_geo_stat_t; static int qos_is_num(const char *num) { int i = 0; while(num[i]) { if(!isdigit(num[i])) { return 0; } i++; } return 1; } /** * Converts an IPv4 address string to it's numeric value. * w.x.y.z results in 16777216*w + 65536*x + 256*y + z * * @param pool To make a copy of the address to parse * @param ip * @return The address or 0 on error */ static unsigned long qos_geo_str2long(apr_pool_t *pool, const char *ip) { char *p; char *i = apr_pstrdup(pool, ip); unsigned long addr = 0; p = strchr(i, '.'); if(!p) return 0; p[0] = '\0'; if(!qos_is_num(i)) return 0; addr += (atol(i) * 16777216); i = p; i++; p = strchr(i, '.'); if(!p) return 0; p[0] = '\0'; if(!qos_is_num(i)) return 0; addr += (atol(i) * 65536); i = p; i++; p = strchr(i, '.'); if(!p) return 0; p[0] = '\0'; if(!qos_is_num(i)) return 0; addr += (atol(i) * 256); i = p; i++; if(!qos_is_num(i)) return 0; addr += (atol(i)); return addr; } static void qos_geo_long2str(char *buf, unsigned long ip) { int a,b,c,d; a = ip % 256; ip = ip / 256; b = ip % 256; ip = ip / 256; c = ip % 256; ip = ip / 256; d = ip % 256; sprintf(buf, "%d.%d.%d.%d", d, c, b, a); } /** * Usage message (text or manpage format). */ static void usage(const char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - an utility to lookup a client's country code.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -d [-l] [-s] [-ip ]\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "Use this utility to resolve the country codes of IP addresses\n"); qs_man_print(man, "within existing log files. The utility reads the log file data\n"); qs_man_print(man, "from stdin and writes them, with the injected country code, to\n"); qs_man_print(man, "stdout.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf("\n.TP\n"); qs_man_print(man, " -d \n"); if(man) printf("\n"); qs_man_print(man, " Specifies the path to the geographical database files (CSV\n"); qs_man_print(man, " file containing IP address ranges and country codes).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -s\n"); if(man) printf("\n"); qs_man_print(man, " Writes a summary of the requests per country only.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -l\n"); if(man) printf("\n"); qs_man_print(man, " Writes the database to stdout (ignoring stdin) inserting\n"); qs_man_print(man, " local (127.*) and private (10.*, 172.16*, 192.168.*)\n"); qs_man_print(man, " network addresses.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -ip \n"); if(man) printf("\n"); qs_man_print(man, " Resolves a single IP address instead of processing a log file.\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); printf("Reading the file access.log and adding the country code to the IP address field:\n"); printf("\n"); } else { printf("Example reading the file access.log and adding the country code to\n"); printf("the IP address field:\n"); } qs_man_println(man, " cat access.log | %s -d GeoIPCountryWhois.csv\n", cmd); printf("\n"); if(man) { printf("Reading the file access.log and showing a summary only:\n"); printf("\n"); } else { printf("Example reading the file access.log and showing a summary only:\n"); } qs_man_println(man, " cat access.log | %s -d GeoIPCountryWhois.csv -s\n", cmd); printf("\n"); if(man) { printf("Resolving a single IP address:\n"); printf("\n"); } else { printf("Example resolving a single IP address:\n"); } qs_man_println(man, " %s -d GeoIPCountryWhois.csv -ip 192.84.12.23\n", cmd); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } /** * Comperator to search entries using bsearch. */ static int qos_geo_comp(const void *_pA, const void *_pB) { unsigned long *pA = (unsigned long *)_pA; qos_geo_t *pB = (qos_geo_t *)_pB; unsigned long search = *pA; if((search >= pB->start) && (search <= pB->end)) return 0; if(search > pB->start) return 1; if(search < pB->start) return -1; return -1; // error } /** * Loads the (sorted) CSV file into the memory. * * @param pool * @param db Path to the db file * @param size Returns the size f the db (elements in the array) * @param msg Error message if something got wrong * @return Array with all entries from the CSV file (or NULL on error) */ static qos_geo_t *qos_loadgeo(apr_pool_t *pool, const char *db, int *size, char **msg, int *errors) { regmatch_t ma[MAX_REG_MATCH]; regex_t preg; regex_t pregd; regex_t pregext; qos_geo_t *geo = NULL; qos_geo_t *g = NULL; qos_geo_t *last = NULL; int lines = 0; char line[HUGE_STRING_LEN]; char buf[HUGE_STRING_LEN]; FILE *file; const qos_inj_t *inj = m_inj; *size = 0; if(regcomp(&preg, QS_GEO_PATTERN, REG_EXTENDED)) { // internal error *msg = apr_pstrdup(pool, "failed to compile regular expression "QS_GEO_PATTERN); (*errors)++; return NULL; } if(regcomp(&pregd, QS_GEO_PATTERN_D, REG_EXTENDED)) { // internal error *msg = apr_pstrdup(pool, "failed to compile regular expression "QS_GEO_PATTERN_D); (*errors)++; return NULL; } if(regcomp(&pregext, QS_GEO_PATTERN_EXT, REG_EXTENDED)) { // internal error *msg = apr_pstrdup(pool, "failed to compile regular expression "QS_GEO_PATTERN_EXT); (*errors)++; return NULL; } file = fopen(db, "r"); if(!file) { (*errors)++; return NULL; } while(fgets(line, sizeof(line), file) != NULL) { if(strlen(line) > 0) { if(regexec(&preg, line, 0, NULL, 0) == 0) { lines++; } else { *msg = apr_psprintf(pool, "invalid entry in database: '%s'", line); (*errors)++; if(m_verbose) { char *p = *msg; while(p[0]) { if(p[0] < 32) { p[0] = '.'; } p++; } fprintf(stderr, "line %d: %s\n", lines, *msg); } } } } *size = lines; geo = apr_pcalloc(pool, sizeof(qos_geo_t) * lines); g = geo; fseek(file, 0, SEEK_SET); lines = 0; while(fgets(line, sizeof(line), file) != NULL) { lines++; if(strlen(line) > 0) { int plus = 0; if(m_inject) { strcpy(buf, line); } if(regexec(&pregd, line, MAX_REG_MATCH, ma, 0) == 0) { plus = 1; } if(plus || regexec(&preg, line, MAX_REG_MATCH, ma, 0) == 0) { int missingAddr = 0; if(regexec(&pregext, line, 0, NULL, 0) != 0) { missingAddr = 1; } line[ma[1].rm_eo] = '\0'; line[ma[2].rm_eo] = '\0'; line[ma[3].rm_eo] = '\0'; g->start = atoll(&line[ma[1].rm_so]); g->end = atoll(&line[ma[2].rm_so]); g->c[0] = '\0'; if(m_inject) { if(inj->start && (g->start > inj->start)) { while(inj->start && (g->start > inj->start)) { printf("%s\n", inj->c); inj++; } } else if(g->start != inj->start) { if(missingAddr) { /* some databases do not include IP address representation (but number only) */ char bs[128]; char be[128]; qos_geo_long2str(bs, g->start); qos_geo_long2str(be, g->end); printf("\"%s\",\"%s\",%s", bs, be, buf); } } if(!missingAddr) { printf("%s", buf); } } strncpy(g->country, &line[ma[3].rm_so], 2); if(last) { if(g->start < last->start) { *msg = apr_psprintf(pool, "wrong order/lines not sorted (line %d)", lines); (*errors)++; if(m_verbose) { fprintf(stderr, "line %d: wrong order/lines not sorted\n", lines); } } } if(plus) { line[ma[4].rm_eo] = '\0'; strncpy(g->c, &line[ma[4].rm_so], 500); } last = g; g++; } } } fclose(file); return geo; } int main(int argc, const char * const argv[]) { int errors = 0; int rc; int stat = 0; const char *ip = NULL; char *msg = NULL; qos_geo_t *geo; int size; const char *db = NULL; apr_table_t *entries; apr_pool_t *pool; const char *cmd = strrchr(argv[0], '/'); apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); entries = apr_table_make(pool, 100); if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv, "-d") == 0) { if (--argc >= 1) { db = *(++argv); } } else if(strcmp(*argv, "-ip") == 0) { if (--argc >= 1) { ip = *(++argv); } } else if(strcmp(*argv, "-s") == 0) { stat = 1; } else if(strcmp(*argv, "-l") == 0) { m_inject = 1; } else if(strcmp(*argv, "-v") == 0) { m_verbose = 1; } else if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } else { usage(cmd, 0); } argc--; argv++; } if(db == NULL) { usage(cmd, 0); } rc = nice(10); if(rc == -1) { fprintf(stderr, "ERROR, failed to change nice value: %s\n", strerror(errno)); } geo = qos_loadgeo(pool, db, &size, &msg, &errors); if(geo == NULL || msg != NULL) { if(msg) { char *p = msg; while(p[0]) { if(p[0] < 32) { p[0] = '.'; } p++; } } fprintf(stderr, "failed to load database: %s (total %d errors)\n", msg ? msg : "-", errors); exit(1); } if(m_inject) { exit(0); } if(ip) { qos_geo_t *pB; unsigned long search = qos_geo_str2long(pool, ip); printf("search %lu: ", search); pB = bsearch(&search, geo, size, sizeof(qos_geo_t), qos_geo_comp); if(pB) { printf("%s\n", pB->country); } else { printf("n/a\n"); } return 0; } // start reading from stdin { char prev; qos_geo_t *pB; apr_pool_t *tmp; char *line = calloc(1, MAX_LINE_BUFFER+1); regex_t preg; regex_t preg2; regmatch_t ma[MAX_REG_MATCH]; apr_pool_create(&tmp, NULL); if(regcomp(&preg, IPPATTERN, REG_EXTENDED)) { exit(1); } regcomp(&preg2, IPPATTERN2, REG_EXTENDED); while(fgets(line, MAX_LINE_BUFFER, stdin) != NULL) { int match = regexec(&preg, line, MAX_REG_MATCH, ma, 0); if(match != 0) { char *dx = strchr(line, ';'); if(dx && ((dx - line) <= 15)) { // file starts probably with ; => a qslog -pc file? match = regexec(&preg2, line, MAX_REG_MATCH, ma, 0); } } if(match == 0) { unsigned long search; prev = line[ma[1].rm_eo]; line[ma[1].rm_eo] = '\0'; search = qos_geo_str2long(tmp, &line[ma[1].rm_so]); apr_pool_clear(tmp); pB = bsearch(&search, geo, size, sizeof(qos_geo_t), qos_geo_comp); if(stat) { /* creates a single statistic entry for each country (used to collect requests per source country) */ if(pB) { qos_geo_stat_t *s = (qos_geo_stat_t *)apr_table_get(entries, pB->country); if(s == NULL) { s = apr_pcalloc(pool, sizeof(qos_geo_stat_t)); s->num = 0; s->c = pB->c; apr_table_addn(entries, apr_pstrdup(pool, pB->country), (char *)s); } s->num++; } } else { /* modifies each log line inserting the country code */ char cr = prev; char delw[2]; char delx[2]; delw[1] = '\0'; delw[0] = ' '; delx[1] = '\0'; delx[0] = ' '; if(line[ma[1].rm_eo+1] == ' ') { delx[0] = '\0'; } if(line[ma[1].rm_eo+1] == ';') { delx[0] = ';'; } if(prev <= CR) { prev = ' '; } if(prev == ' ') { delw[0] = '\0'; } if(prev == ';') { delw[0] = '\0'; delx[0] = ';'; } if(pB) { printf("%s%c%s%s%s%s", line, prev, delw, pB->country, delx, &line[ma[1].rm_eo+1]); } else { printf("%s%c%s--%s%s", line, prev, delw, delx, &line[ma[1].rm_eo+1]); } if(cr <= CR) { printf("\n"); } } } else { printf("%s", line); } fflush(stdout); } if(stat) { int i; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(entries)->elts; for(i = 0; i < apr_table_elts(entries)->nelts; i++) { qos_geo_stat_t *s = (qos_geo_stat_t *)entry[i].val; printf("%7.d %s %s\n", s->num, entry[i].key, s->c ? s->c : ""); } } } return 0; } mod_qos-11.74/tools/src/qsexec.c0000664000000000000020000002557714431415521015061 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * Command line execution utility for the quality of service module mod_qos. * * See http://mod-qos.sourceforge.net/ for further details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qsexec.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; /* system */ #include #include #include #include #include /* apr */ #include #include #include #include #include #include #include #include #include #define PCRE2_CODE_UNIT_WIDTH 8 #include #include "qs_util.h" #ifndef POSIX_MALLOC_THRESHOLD #define POSIX_MALLOC_THRESHOLD (10) #endif /* same as APR_SIZE_MAX which doesn't appear until APR 1.3 */ #define QSUTIL_SIZE_MAX (~((apr_size_t)0)) typedef struct { int rm_so; int rm_eo; } regmatch_t; static void usage(char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } printf("%s %s- parses the data received via stdin and executes the defined command on a pattern match.\n", cmd, man ? "\\" : ""); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -e [-t :] [-c []]\n", man ? "" : "Usage: ", cmd); qs_man_print(man, " [-p] [-u ] \n"); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s reads log lines from stdin and searches for the defined pattern.\n", cmd); qs_man_print(man, "It executes the defined command string on pattern match.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -e \n"); if(man) printf("\n"); qs_man_print(man, " Specifies the search pattern causing an event which shall trigger the\n"); qs_man_print(man, " command.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -t :\n"); if(man) printf("\n"); qs_man_print(man, " Defines the number of pattern match within the the defined number of\n"); qs_man_print(man, " seconds in order to trigger the command execution. By default, every\n"); qs_man_print(man, " pattern match causes a command execution.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -c []\n"); if(man) printf("\n"); qs_man_print(man, " Pattern which clears the event counter. Executes optionally a command\n"); qs_man_print(man, " if an event command has been executed before.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -p\n"); if(man) printf("\n"); qs_man_print(man, " Writes data also to stdout (for piped logging).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -u \n"); if(man) printf("\n"); qs_man_print(man, " Become another user, e.g. www-data.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " \n"); if(man) printf("\n"); qs_man_print(man, " Defines the event command string where $0-$9 are substituted by the\n"); qs_man_print(man, " submatches of the regular expression.\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); } else { printf("Example:\n"); } qs_man_print(man, "Executes the deny.sh script providing the IP address of the\n"); qs_man_print(man, "client causing a mod_qos(031) messages whenever the log message\n"); qs_man_print(man, "appears 10 times within at most one minute:\n"); if(man) printf("\n"); qs_man_println(man, " ErrorLog \"|/usr/bin/%s -e \\'mod_qos\\(031\\).*, c=([0-9a-zA-Z:.]*)\\' -t 10:60 \\'/usr/local/bin/deny.sh $1\\'\"\n", cmd); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } /* * Substitutes for $0-$9 within the matching string. * See ap_pregsub(). */ char *qs_pregsub(apr_pool_t *pool, const char *input, const char *source, size_t nmatch, qs_regmatch_t pmatch[]) { const char *src = input; char *dest, *dst; char c; size_t no; int len; if(!source) { return NULL; } if(!nmatch) { return apr_pstrdup(pool, src); } /* First pass, find the size */ len = 0; while((c = *src++) != '\0') { if(c == '&') no = 0; else if (c == '$' && apr_isdigit(*src)) no = *src++ - '0'; else no = 10; if (no > 9) { /* Ordinary character. */ if (c == '\\' && (*src == '$' || *src == '&')) src++; len++; } else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) { if(QSUTIL_SIZE_MAX - len <= pmatch[no].rm_eo - pmatch[no].rm_so) { fprintf(stderr, "ERROR, integer overflow or out of memory condition"); return NULL; } len += pmatch[no].rm_eo - pmatch[no].rm_so; } } dest = dst = apr_pcalloc(pool, len + 1); /* Now actually fill in the string */ src = input; while ((c = *src++) != '\0') { if (c == '&') no = 0; else if (c == '$' && apr_isdigit(*src)) no = *src++ - '0'; else no = 10; if (no > 9) { /* Ordinary character. */ if (c == '\\' && (*src == '$' || *src == '&')) c = *src++; *dst++ = c; } else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) { len = pmatch[no].rm_eo - pmatch[no].rm_so; memcpy(dst, source + pmatch[no].rm_so, len); dst += len; } } *dst = '\0'; return dest; } int main(int argc, const char * const argv[]) { const char *username = NULL; int nr = 0; char *line = calloc(1, MAX_LINE_BUFFER+1); apr_pool_t *pool; char *cmd = strrchr(argv[0], '/'); const char *command = NULL; const char *pattern = NULL; const char *clearcommand = NULL; const char *clearpattern = NULL; int executed = 0; qs_regex_t *preg; qs_regex_t *clearpreg; qs_regmatch_t regm[QS_MAX_REG_MATCH]; time_t sec = 0; int threshold = 0; int counter = 0; time_t countertime; static int pass = 0; apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-e") == 0) { if (--argc >= 1) { pattern = *(++argv); } } else if(strcmp(*argv,"-u") == 0) { if (--argc >= 1) { username = *(++argv); } } else if(strcmp(*argv,"-c") == 0) { if (--argc >= 1) { clearpattern = *(++argv); if (argc >=1 && *argv[0] != '-') { clearcommand = *(++argv); argc--; } } } else if(argc >= 1 && strcmp(*argv,"-t") == 0) { if (--argc >= 1) { char *str = apr_pstrdup(pool, *(++argv)); char *tme = strchr(str, ':'); if(tme == NULL) { fprintf(stderr,"[%s]: ERROR, invalid number:sec format\n", cmd); exit(1); } tme[0] = '\0'; tme++; threshold = atoi(str); sec = atol(tme); if(threshold == 0 || sec == 0) { fprintf(stderr,"[%s]: ERROR, invalid number:sec format\n", cmd); exit(1); } } } else if(argc >= 1 && strcmp(*argv,"-p") == 0) { pass = 1; } else if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } else { command = *argv; } argc--; argv++; } if(pattern == NULL || command == NULL) { usage(cmd, 0); } qs_setuid(username, cmd); preg = apr_palloc(pool, sizeof(qs_regex_t)); if(qs_regcomp(preg, pattern, PCRE2_DOTALL) != 0) { fprintf(stderr, "ERROR, could not compile '%s'\n", pattern); exit(1); } apr_pool_pre_cleanup_register(pool, preg, qs_pregfree); if(clearpattern) { clearpreg = apr_palloc(pool, sizeof(qs_regex_t)); if(qs_regcomp(clearpreg, clearpattern, PCRE2_DOTALL) != 0) { fprintf(stderr, "ERROR, could not compile '%s'\n", clearpattern); exit(1); } apr_pool_pre_cleanup_register(pool, clearpattern, qs_pregfree); } while(fgets(line, MAX_LINE_BUFFER, stdin) != NULL) { size_t len; nr++; if(pass) { printf("%s", line); fflush(stdout); } len = strlen(line); if(clearpattern && (qs_regexec_len(clearpreg, line, len, QS_MAX_REG_MATCH, regm, 0) >= 0)) { apr_pool_t *subpool; apr_pool_create(&subpool, pool); counter = 0; countertime = 0; if(clearcommand && executed) { char *replaced = qs_pregsub(subpool, clearcommand, line, QS_MAX_REG_MATCH, regm); if(!replaced) { fprintf(stderr, "[%s]: ERROR, failed to substitute" " submatches '%s' in (%s)\n", cmd, clearcommand, line); } else { int rc = system(replaced); } executed = 0; } apr_pool_destroy(subpool); } else if(qs_regexec_len(preg, line, len, QS_MAX_REG_MATCH, regm, 0) >= 0) { apr_pool_t *subpool; char *replaced; apr_pool_create(&subpool, pool); replaced = qs_pregsub(subpool, command, line, QS_MAX_REG_MATCH, regm); if(!replaced) { fprintf(stderr, "[%s]: ERROR, failed to substitute" " submatches '%s' in (%s)\n", cmd, command, line); } else { counter++; if(counter == 1) { countertime = time(NULL); } if(counter >= threshold) { if(countertime + sec >= time(NULL)) { int rc = system(replaced); executed = 1; } countertime = 0; counter = 0; } } apr_pool_destroy(subpool); } } apr_pool_destroy(pool); return 0; } mod_qos-11.74/tools/src/qsgrep.c0000664000000000000020000002012314431415521015050 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * Filter utility for the quality of service module mod_qos. * * qsgrep.c: simple tool to search patterns within files * * See http://mod-qos.sourceforge.net/ for further details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qsgrep.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; /* system */ #include #include #include #include #include #include /* apr */ #include #include #include #include #include #include #include #include #include #define PCRE2_CODE_UNIT_WIDTH 8 #include #include "qs_util.h" #ifndef POSIX_MALLOC_THRESHOLD #define POSIX_MALLOC_THRESHOLD (10) #endif /* same as APR_SIZE_MAX which doesn't appear until APR 1.3 */ #define QSUTIL_SIZE_MAX (~((apr_size_t)0)) typedef struct { int rm_so; int rm_eo; } regmatch_t; static void usage(char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - prints matching patterns within a file.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -e -o []\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s is a simple tool to search patterns within files.\n", cmd); qs_man_print(man, "It uses regular expressions to find patterns and prints the\n"); qs_man_print(man, "submatches within a pre-defined format string.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -e \n"); if(man) printf("\n"); qs_man_print(man, " Specifies the search pattern.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -o \n"); if(man) printf("\n"); qs_man_print(man, " Defines the output string where $0-$9 are substituted by the\n"); qs_man_print(man, " submatches of the regular expression.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " \n"); if(man) printf("\n"); qs_man_print(man, " Defines the input file to process. %s reads from\n", cmd); qs_man_print(man, " from standard input if this parameter is omitted.\n"); printf("\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); qs_man_println(man, "Shows the IP addresses of clients causing mod_qos(031) messages):\n"); printf("\n"); } else { printf("Example (shows the IP addresses of clients causing mod_qos(031) messages):\n"); } qs_man_println(man, " %s -e 'mod_qos\\(031\\).*, c=([a-zA-Z0-9:.]*)' -o 'ip=$1' error_log\n", cmd); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } /* * Substitutes for $0-$9 within the matching string. * See ap_pregsub(). */ char *qs_pregsub(apr_pool_t *pool, const char *input, const char *source, size_t nmatch, qs_regmatch_t pmatch[]) { const char *src = input; char *dest, *dst; char c; size_t no; int len; if(!source) { return NULL; } if(!nmatch) { return apr_pstrdup(pool, src); } /* First pass, find the size */ len = 0; while((c = *src++) != '\0') { if(c == '&') no = 0; else if (c == '$' && apr_isdigit(*src)) no = *src++ - '0'; else no = 10; if (no > 9) { /* Ordinary character. */ if (c == '\\' && (*src == '$' || *src == '&')) src++; len++; } else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) { if(QSUTIL_SIZE_MAX - len <= pmatch[no].rm_eo - pmatch[no].rm_so) { fprintf(stderr, "ERROR, integer overflow or out of memory condition"); return NULL; } len += pmatch[no].rm_eo - pmatch[no].rm_so; } } dest = dst = apr_pcalloc(pool, len + 1); /* Now actually fill in the string */ src = input; while ((c = *src++) != '\0') { if (c == '&') no = 0; else if (c == '$' && apr_isdigit(*src)) no = *src++ - '0'; else no = 10; if (no > 9) { /* Ordinary character. */ if (c == '\\' && (*src == '$' || *src == '&')) c = *src++; *dst++ = c; } else if (no < nmatch && pmatch[no].rm_so < pmatch[no].rm_eo) { len = pmatch[no].rm_eo - pmatch[no].rm_so; memcpy(dst, source + pmatch[no].rm_so, len); dst += len; } } *dst = '\0'; return dest; } int main(int argc, const char * const argv[]) { unsigned long nr = 0; char line[32768]; FILE *file = 0; apr_pool_t *pool; char *cmd = strrchr(argv[0], '/'); const char *out = NULL; const char *pattern = NULL; const char *filename = NULL; qs_regex_t *preg; qs_regmatch_t regm[QS_MAX_REG_MATCH]; apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-e") == 0) { if (--argc >= 1) { pattern = *(++argv); } } else if(strcmp(*argv,"-o") == 0) { if (--argc >= 1) { out = *(++argv); } } else if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } else { filename = *argv; } argc--; argv++; } if(pattern == NULL || out == NULL) { usage(cmd, 0); } if(nice(10) == -1) { fprintf(stderr, "ERROR, failed to change nice value: %s\n", strerror(errno)); } preg = apr_palloc(pool, sizeof(qs_regex_t)); if(qs_regcomp(preg, pattern, PCRE2_DOTALL) != 0) { fprintf(stderr, "ERROR, could not compile '%s\n", pattern); exit(1); } apr_pool_pre_cleanup_register(pool, preg, qs_pregfree); if(filename) { file = fopen(filename, "r"); if(!file) { fprintf(stderr, "ERROR, could not open file\n"); exit(1); } } else { file = stdin; } while(fgets(line, sizeof(line), file) != NULL) { size_t len = strlen(line); nr++; if(qs_regexec_len(preg, line, len, QS_MAX_REG_MATCH, regm, 0) >= 0) { apr_pool_t *subpool; char *replaced; apr_pool_create(&subpool, pool); replaced = qs_pregsub(subpool, out, line, QS_MAX_REG_MATCH, regm); if(!replaced) { fprintf(stderr, "ERROR, failed to substitute submatches (line=%lu)\n", nr); } else { printf("%s\n", replaced); fflush(stdout); } apr_pool_destroy(subpool); } } if(filename) { fclose(file); } apr_pool_destroy(pool); return 0; } mod_qos-11.74/tools/src/qstail.c0000664000000000000020000001475014431415521015055 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * Utilities for the quality of service module mod_qos. * * qstail.c: Shows the end of a log file beginning at the * provided pattern. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ static const char revision[] = "$Id: qstail.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include "qs_util.h" #define BUFFER 2048 static void usage(char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - an utility printing the end of a log file" " starting at the specified pattern.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -i -p \n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, " %s shows the end of a log file beginning with the line containing the\n", cmd); qs_man_print(man, " specified pattern. This may be used to show all lines which has been written\n"); qs_man_print(man, " after a certain event (e.g., server restart) or time stamp.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -i \n"); if(man) printf("\n"); qs_man_print(man, " Input file to read the data from.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -p \n"); if(man) printf("\n"); qs_man_print(man, " Search pattern (literal string).\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } /* search the beginning of the line starting at the provided position */ static void qs_readline(long pos, FILE *f) { size_t len; long startpos = pos - BUFFER + 1; long readlen = BUFFER; char line[readlen + 1]; if(startpos < 0) { // we are at the beginning of the file startpos = 0; readlen = pos + 1; } fseek(f, startpos, SEEK_SET); len = fread(&line, 1, readlen, f); if(len > 0) { char *s = &line[len-1]; line[len] = '\0'; while((s >= line) && (s[0] != CR) && (s[0] != LF)) { s--; } if((s[0] == CR) || (s[0] == LF)) { s++; } printf("%s", s); } } static int qs_tail(const char *cmd, FILE *f, const char *pattern) { char *cont = NULL; long search_win_len = (strlen(pattern) * 2) + 32; char line[search_win_len + 10]; long pos = 0; size_t len; char *startpattern = NULL; fseek(f, 0L, SEEK_END); pos = ftell(f); while(pos > search_win_len) { int offset = 0; pos = pos - (search_win_len/2); fseek(f, pos, SEEK_SET); len = fread(&line, 1, search_win_len, f); if(len <= 0) { /* pattern not found / reached end */ return 1; } line[len] = '\0'; if((startpattern = strstr(line, pattern)) != NULL) { int containsend = 0; char *s = startpattern; char *end; offset = startpattern - line; /* search the beginning of the line */ while((s > line) && (s[0] != CR) && (s[0] != LF)) { s--; } if((s[0] != CR) && (s[0] != LF)) { // beginning of the line not in the buffer qs_readline(pos, f); } s++; end = startpattern; /* search the end of the line */ while((offset < search_win_len) && end[0] && end[0] != CR && end[0] != LF) { end++; offset++; } /* print the line containing the pattern */ if((end[0] == CR) || (end[0] == LF)) { end[0] = '\0'; printf("%s\n", s); containsend = 1; } else { printf("%s", s); } fseek(f, pos + offset, SEEK_SET); if(containsend) { // skip the line at the current position cont = fgets(line, sizeof(line), f); } else { cont = line; } if(cont) { while(fgets(line, sizeof(line), f) != NULL) { printf("%s", line); } } return 0; } } return 1; } int main(int argc, const char * const argv[]) { FILE *f; const char *filename = NULL; const char *pattern = NULL; char *cmd = strrchr(argv[0], '/'); int status = 0; if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-i") == 0) { if (--argc >= 1) { filename = *(++argv); } } else if(strcmp(*argv,"-p") == 0) { if (--argc >= 1) { pattern = *(++argv); } } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } argc--; argv++; } if(filename == NULL || pattern == NULL) { usage(cmd, 0); } if((f = fopen(filename, "r")) == NULL) { fprintf(stderr, "[%s]: ERROR, could not open file '%s'\n", cmd, filename); exit(1); } status = qs_tail(cmd, f, pattern); fclose(f); return status; } mod_qos-11.74/tools/src/qspng.c0000664000000000000020000005366614431415521014721 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * qspng.c: Tool to draw graph from qslog output. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qspng.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include //#include #include "qs_util.h" #include "char.h" #define HUGE_STRING_LEN 1024 #define X_SAMPLE_RATE 3 /* width */ #define X_COUNTS 60 * 24 / X_SAMPLE_RATE // 24 hours, every 3th sample /* height */ #define Y_COUNTS 100 /* border */ #define XY_BORDER 20 typedef struct { const char* param; const char* name; int r; int g; int b; } qs_png_elt_t; /* known graph types */ static const qs_png_elt_t qs_png_elts[] = { { "r/s", "requests per second", 20, 30, 130, }, { "req", "requests per minute", 20, 30, 130, }, { "b/s", "bytes per second (out)", 30, 45, 130 }, { "ib/s", "bytes per second (in)", 30, 45, 125 }, { "esco", "established connections per minute", 40, 95, 140 }, { "av", "average response time", 40, 95, 140 }, { "avms", "average response time in milliseconds", 45, 95, 135 }, { "0-49ms", "requests duration 0-49ms", 45, 100, 180 }, { "50-99ms", "requests duration 50-99ms", 45, 100, 180 }, { "100-499ms", "requests duration 100-499ms", 45, 100, 180 }, { "500-999ms", "requests duration 500-999ms", 45, 100, 180 }, { "<1s", "requests faster than 1 second", 35, 95, 180 }, { "1s", "requests faster or equal than 1 second", 35, 90, 180 }, { "2s", "requests with 2 seconds response time", 30, 85, 180 }, { "3s", "requests with 3 seconds response time", 25, 90, 180 }, { "4s", "requests with 4 seconds response time", 25, 95, 180 }, { "5s", "requests with 5 seconds response time", 15, 90, 180 }, { ">5s","requests slower than 5 seconds", 35, 90, 185 }, { "1xx","requests with HTTP status 1xx", 50, 70, 150 }, { "2xx","requests with HTTP status 2xx", 50, 70, 150 }, { "3xx","requests with HTTP status 3xx", 50, 70, 150 }, { "4xx","requests with HTTP status 4xx", 50, 70, 150 }, { "5xx","requests with HTTP status 5xx", 50, 70, 150 }, { "ip", "IP addresses", 55, 60, 150 }, { "usr","active users", 55, 66, 150 }, { "qV", "created VIP sessions", 55, 50, 155 }, { "qS", "session pass", 55, 75, 160 }, { "qD", "access denied", 55, 70, 170 }, { "qK", "connection closed", 55, 60, 145 }, { "qT", "dynamic keep-alive", 55, 55, 153 }, { "qL", "slow down", 55, 65, 140 }, { "qA", "connection aborts", 55, 50, 175 }, { "qs", "serialization", 55, 40, 175 }, { "qu", "start user tracking", 55, 45, 175 }, { "sl", "system load", 25, 60, 175 }, { "m", "free memory", 35, 90, 185 }, { NULL, NULL, 0, 0, 0 } }; typedef struct qs_png_conf_st { char *path; char *param; } qs_png_conf; /************************************************************************ * Functions ***********************************************************************/ /** * Read the stat_log data line by line * * @param s IN buffer to store line to * @param n IN buffer size * @param f IN file descriptor * * @return 1 on EOF, else 0 */ static int qs_png_getline(char *s, int n, FILE *f) { register int i = 0; while (1) { s[i] = (char) fgetc(f); if (s[i] == CR) { s[i] = fgetc(f); } if ((s[i] == 0x4) || (s[i] == LF) || (i == (n - 1))) { s[i] = '\0'; return (feof(f) ? 1 : 0); } ++i; } } /* png io callback (should write to buff/bio/bucket when using in apache) */ void lp_write_data(png_structp png_ptr, png_bytep data, png_size_t length) { FILE *f = png_get_io_ptr(png_ptr); fwrite(data, length, 1, f); } /* png io callback (not used) */ void lp_flush_data(png_structp png_ptr) { png_get_io_ptr(png_ptr); fprintf(stderr, "flush\n"); } /** * Writes a single char to the graph * * @param x IN x position * @param y IN y position * @param row_pointers IN start pointer (0/0) * @param n IN char to write */ static void qs_png_write_char(int x, int y, png_bytep *row_pointers, char n) { int ix, iy; int *f = &s_X[0][0]; switch(n) { case 'a': f = &s_a[0][0]; break; case 'b': f = &s_b[0][0]; break; case 'c': f = &s_c[0][0]; break; case 'd': f = &s_d[0][0]; break; case 'e': f = &s_e[0][0]; break; case 'f': f = &s_f[0][0]; break; case 'g': f = &s_g[0][0]; break; case 'h': f = &s_h[0][0]; break; case 'i': f = &s_i[0][0]; break; case 'j': f = &s_j[0][0]; break; case 'k': f = &s_k[0][0]; break; case 'l': f = &s_l[0][0]; break; case 'm': f = &s_m[0][0]; break; case 'n': f = &s_n[0][0]; break; case 'o': f = &s_o[0][0]; break; case 'p': f = &s_p[0][0]; break; case 'q': f = &s_q[0][0]; break; case 'r': f = &s_r[0][0]; break; case 's': f = &s_s[0][0]; break; case 't': f = &s_t[0][0]; break; case 'u': f = &s_u[0][0]; break; case 'v': f = &s_v[0][0]; break; case 'w': f = &s_w[0][0]; break; case 'x': f = &s_x[0][0]; break; case 'y': f = &s_y[0][0]; break; case 'z': f = &s_z[0][0]; break; case ' ': f = &s_SP[0][0]; break; case '_': f = &s_US[0][0]; break; case '(': f = &s_BRO[0][0]; break; case ')': f = &s_BRC[0][0]; break; case '<': f = &s_LT[0][0]; break; case '>': f = &s_GT[0][0]; break; case '-': f = &s_MI[0][0]; break; case '/': f = &s_SL[0][0]; break; case ';': f = &s_SC[0][0]; break; case ',': f = &s_CM[0][0]; break; case ':': f = &s_CO[0][0]; break; case '.': f = &s_DT[0][0]; break; case '\'': f = &s_SQ[0][0]; break; case 'A': f = &s_a[0][0]; break; case 'B': f = &s_b[0][0]; break; case 'C': f = &s_c[0][0]; break; case 'D': f = &s_d[0][0]; break; case 'E': f = &s_e[0][0]; break; case 'F': f = &s_f[0][0]; break; case 'G': f = &s_g[0][0]; break; case 'H': f = &s_h[0][0]; break; case 'I': f = &s_i[0][0]; break; case 'J': f = &s_j[0][0]; break; case 'K': f = &s_k[0][0]; break; case 'L': f = &s_l[0][0]; break; case 'M': f = &s_M[0][0]; break; case 'N': f = &s_n[0][0]; break; case 'O': f = &s_o[0][0]; break; case 'P': f = &s_p[0][0]; break; case 'Q': f = &s_q[0][0]; break; case 'R': f = &s_r[0][0]; break; case 'S': f = &s_s[0][0]; break; case 'T': f = &s_t[0][0]; break; case 'U': f = &s_u[0][0]; break; case 'V': f = &s_v[0][0]; break; case 'W': f = &s_w[0][0]; break; case 'X': f = &s_x[0][0]; break; case 'Y': f = &s_y[0][0]; break; case 'Z': f = &s_z[0][0]; break; case '0': f = &s_0[0][0]; break; case '1': f = &s_1[0][0]; break; case '2': f = &s_2[0][0]; break; case '3': f = &s_3[0][0]; break; case '4': f = &s_4[0][0]; break; case '5': f = &s_5[0][0]; break; case '6': f = &s_6[0][0]; break; case '7': f = &s_7[0][0]; break; case '8': f = &s_8[0][0]; break; case '9': f = &s_9[0][0]; break; } /* print the char matrix */ for(iy = 0; iy < S_H_MAX; iy++) { png_byte* row = row_pointers[y+iy]; for(ix = 0; ix < S_W_MAX; ix++) { png_byte* ptr = &(row[(x+ix)*4]); if(f[iy*S_W_MAX + ix] == 1) { /* foreground */ ptr[0] = 0; ptr[1] = 0; ptr[2] = 0; } else { /* background */ ptr[0] = 250; ptr[1] = 250; ptr[2] = 255; } } } } /** * Writes a single digit 0..9. * You should normally use either qs_png_write_int() or qs_png_write_int(). * * @param x IN x position * @param y IN y position * @param row_pointers IN start pointer (0/0) * @param n IN number to write */ static void qs_png_write_digit(int x, int y, png_bytep *row_pointers, int n) { char f = 'X'; if(n == 0) f = '0'; if(n == 1) f = '1'; if(n == 2) f = '2'; if(n == 3) f = '3'; if(n == 4) f = '4'; if(n == 5) f = '5'; if(n == 6) f = '6'; if(n == 7) f = '7'; if(n == 8) f = '8'; if(n == 9) f = '9'; qs_png_write_char(x, y, row_pointers, f); } /** * Writes a string to the graph. * * @param x IN x position * @param y IN y position * @param row_pointers IN start pointer (0/0) * @param n IN string to write */ static void qs_png_write_string(int x, int y, png_bytep *row_pointers, const char *n) { int i = 0; int offset = 0; while(n[i] != '\0') { qs_png_write_char(x+offset, y, row_pointers, n[i]); i++; offset = offset + S_W_MAX; } } /** * Writes a number (int) to the graph (1:1). * * @param x IN x position * @param y IN y position * @param row_pointers IN start pointer (0/0) * @param n IN number to write */ static void qs_png_write_int(int x, int y, png_bytep *row_pointers, int n) { char num_str[HUGE_STRING_LEN]; snprintf(num_str, sizeof(num_str), "%d", n); qs_png_write_string(x, y, row_pointers, num_str); } /** * Writes a number (long) to the graph using k,M for big numbers. * * @param x IN x position * @param y IN y position * @param row_pointers IN start pointer (0/0) * @param n IN string to write */ static void qs_png_write_long(int x, int y, png_bytep *row_pointers, long n) { char num_str[HUGE_STRING_LEN]; snprintf(num_str, sizeof(num_str), "%ld", n); if(n >= 1000) { snprintf(num_str, sizeof(num_str), "%ldk", n/1000); } if(n >= 1000000) { snprintf(num_str, sizeof(num_str), "%ldM", n/1000000); } qs_png_write_string(x, y, row_pointers, num_str); } /** * Labels the graph (min,max,title). * * @param width IN size (x axis) of the graph * @param height IN size (y axis) of the graph * @param border IN border size around the graph * @param row_pointers IN start pointer (0/0) * @param max IN max y value * @param name IN title */ static void qs_png_label(int width, int height, int border, png_bytep *row_pointers, long max, const char *name) { /* MAX */ int i; int step = height/5; int c = 5; for(i = 0; i < height; i = i + step) { qs_png_write_long(1, border - (S_W_MAX/2) + i, row_pointers, max/5*c); c--; } /* MIN */ qs_png_write_int(1, height + border - (S_W_MAX/2), row_pointers, 0); /* title */ { char buf[HUGE_STRING_LEN]; snprintf(buf, sizeof(buf), "%s", name); qs_png_write_string(XY_BORDER, XY_BORDER/2-S_H_MAX/2, row_pointers, buf); } } static void lp_init(int width, int height, int border, png_bytep **start) { png_bytep *row_pointers; int b_width = width + (2 * border); int b_height = height + (2 * border); int x, y; /* alloc memory */ row_pointers = (png_bytep*) malloc(sizeof(png_bytep) * b_height); for(y=0; y 8)) { char *e; p=p+strlen(name); e = strchr(p,';'); if(e) e[0] = '\0'; e = strchr(p, '.'); /** sl uses fp value */ if(e) e[0] = '\0'; tmp[sample-1] = atol(p); } else { tmp[sample-1] = 0; } /* hour (stat_log time format: %d.%m.%Y %H:%M:%S (19 char)) */ p = strchr(line, ';'); if(p && (p-line == 19 )) { p = p - 6; p[0] = '\0'; p = p - 2; hours[i] = atoi(p); } /* use the defined sample rate */ if(sample == X_SAMPLE_RATE) { int j; int max_value = 0; for(j = 0; j < X_SAMPLE_RATE; j++) { req[i] = req[i] + tmp[j]; if(max_value < tmp[j]) { max_value = tmp[j]; } } max_req[i] = max_value; if(max_req[i] > peak) peak = max_req[i]; /* build average */ req[i] = req[i] / X_SAMPLE_RATE; sample = 1; i++; /* and store the current date (%d.%m.%Y (10 char)) if the first value is at 00h */ if(hours[i] == 0 && i == 1) { p = strchr(line, ' '); if(p && (p-line == 10)) { p[0] = '\0'; strcpy(date_str, line); } } } else { sample++; } } /* calculate y axis scaling (1:1 are height pixels) */ if(peak < 10) { scale = 0.1; } else { while((peak / scale) > height) { if(scale < 8) { scale = scale * 2; } else { if(scale == 8) { scale = 10; } else { scale = scale * 10; } } } } /* draw the curve */ for(x=0; x -p -o [-10]\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s is a tool to generate png (portable network graphics)\n", cmd); qs_man_print(man, "raster images files from semicolon separated data generated by the\n"); qs_man_print(man, "qslog utility. It reads up to the first 1440 entries (24 hours)\n"); qs_man_print(man, "and prints a graph using the values defined by the 'parameter' \n"); qs_man_print(man, "name.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -i \n"); if(man) printf("\n"); qs_man_print(man, " Input file to read data from.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -p \n"); if(man) printf("\n"); qs_man_print(man, " Parameter name, e.g. r/s or usr.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -o \n"); if(man) printf("\n"); qs_man_print(man, " Output file name, e.g. stat.png.\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslogger(1), qslog(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("\n"); printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } int main(int argc, char **argv) { int y; int width, height, b_width, b_height; png_byte color_type; png_byte bit_depth; int scale; png_structp png_ptr; png_infop info_ptr; png_bytep *row_pointers; char *infile = NULL; FILE *f; FILE *stat_log; char *cmd = strrchr(argv[0], '/'); const char *param = NULL; const char *name = ""; char *out = NULL; int c_r = 20; int c_g = 50; int c_b = 175; const qs_png_elt_t* elt; if(cmd == NULL) { cmd = argv[0]; } else { cmd++; } while(argc >= 1) { if(strcmp(*argv,"-i") == 0) { if (--argc >= 1) { infile = *(++argv); } } else if(strcmp(*argv,"-p") == 0) { if (--argc >= 1) { param = *(++argv); name = param; } } else if(strcmp(*argv,"-o") == 0) { if (--argc >= 1) { out = *(++argv); } } else if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } argc--; argv++; } if(infile == NULL || param == NULL || out == NULL) usage(cmd, 0); for(elt = qs_png_elts; elt->param != NULL ; ++elt) { if(strcmp(elt->param, param) == 0) { name = elt->name; c_r = elt->r; c_g = elt->g; c_b = elt->b; } } stat_log = fopen(infile, "r"); if(stat_log == NULL) { fprintf(stderr,"[%s]: ERROR, could not open input file <%s>\n", cmd, infile); exit(1); } f = fopen(out, "wb"); if(f == NULL) { fprintf(stderr,"[%s]: ERROR, could not open output file <%s>\n", cmd, out); exit(1); } png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); if(png_ptr == NULL) { fprintf(stderr,"[%s]: ERROR, could not create png struct\n", cmd); exit(1); } info_ptr = png_create_info_struct(png_ptr); if(info_ptr == NULL) { fprintf(stderr,"[%s]: ERROR, could not create png information struct\n", cmd); exit(1); } if(setjmp(png_jmpbuf(png_ptr))) { fprintf(stderr,"[%s]: ERROR, could not init png struct\n", cmd); exit(1); } png_set_write_fn(png_ptr, f, lp_write_data, NULL); /* write header */ if(setjmp(png_jmpbuf(png_ptr))) { fprintf(stderr,"[%s]: ERROR, could not write png header\n", cmd); exit(1); } color_type = PNG_COLOR_TYPE_RGB_ALPHA; bit_depth = 8; width = X_COUNTS; height = Y_COUNTS; b_width = width + (2 * XY_BORDER); b_height = height + (2 * XY_BORDER); png_set_IHDR(png_ptr, info_ptr, b_width, b_height, bit_depth, color_type, PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); png_write_info(png_ptr, info_ptr); /* write bytes */ if(setjmp(png_jmpbuf(png_ptr))) { fprintf(stderr,"[%s]: ERROR, could not write png data\n", cmd); exit(1); } /* alloc and background */ lp_init(width, height, XY_BORDER, &row_pointers); /* paint */ { char buf[HUGE_STRING_LEN]; snprintf(buf, sizeof(buf), ";%s;", param); scale = qs_png_draw(width, height, XY_BORDER, row_pointers, stat_log, buf, c_r, c_g, c_b); } /* min/max/title label */ qs_png_label(width, height, XY_BORDER, row_pointers, scale, name); /* done, write image */ png_write_image(png_ptr, row_pointers); /* end write */ if(setjmp(png_jmpbuf(png_ptr))) { fprintf(stderr,"[%s]: ERROR, could not write png data\n", cmd); exit(1); } png_write_end(png_ptr, NULL); /* cleanup heap allocation */ for(y=0; y #include #include #include #include #include /* apr */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //#include /* OpenSSL */ #include #define PCRE2_CODE_UNIT_WIDTH 8 #include #include "qs_util.h" #define MAX_LINE 32768 /* 2mb */ #define MAX_BODY_BUFFER 2097152 #define CR 13 #define LF 10 typedef enum { QS_UT_PATH, QS_UT_QUERY } qs_url_type_e; #define QS_PCRE_RESERVED "{}[]()^$.|*+?\\-" //#define QS_PCRE_RESERVED "{}[]()^$.|*+?\"'\\-" /* reserved (to be escaped): {}[]()^$.|*+?\- */ #define QS_UNRESERVED "a-zA-Z0-9-\\._~% " #define QS_GEN ":/\\?#\\[\\]@" #define QS_SUB "!$&'\\(\\)\\*\\+,;=" #define QS_SUB_S "!$&\\(\\)\\*\\+,;=" #define QS_SIMPLE_PATH_PCRE "(/[a-zA-Z0-9\\-_]+)+[/]?\\.?[a-zA-Z]{0,4}" #define QS_B64 "([a-z]+[a-z0-9]*[A-Z]+[A-Z0-9]*)" #define QS_HX "([A-F0-9]*[A-F]+[0-9]+[A-F0-9]*)" #define QS_OVECCOUNT 3 /* request line detection */ #define QOSC_REQ "(OPTIONS|GET|HEAD|POST|PUT|DELETE|TRACE|CONNECT|PROPFIND|PROPPATCH|MKCOL|COPY|MOVE|LOCK|UNLOCK|VERSION-CONTROL|REPORT|CHECKOUT|CHECKIN|UNCHECKOUT|MKWORKSPACE|UPDATE|LABEL|MERGE|BASELINE-CONTROL|MKACTIVITY|ORDERPATCH|ACL|PATCH|SEARCH|BCOPY|BDELETE|BMOVE|BPROPFIND|BPROPPATCH|NOTIFY|POLL|SUBSCRIBE|UNSUBSCRIBE|X-MS-ENUMATTS|RPC_IN_DATA|RPC_OUT_DATA) (/[\x20-\x21\x23-\xFF]*) HTTP/" qs_regex_t *pcre_b64; qs_regex_t *pcre_hx; qs_regex_t *pcre_simple_path; #define QOS_DEC_MODE_FLAGS_URL 0x00 #define QOS_DEC_MODE_FLAGS_HTML 0x01 #define QOS_DEC_MODE_FLAGS_UNI 0x02 #define QOS_DEC_MODE_FLAGS_ANSI 0x04 /* global variables to store settings */ static int m_mode = QOS_DEC_MODE_FLAGS_URL; static int m_base64 = 5; static int m_verbose = 1; static int m_path_depth = 1; static int m_redundant = 1; static int m_query_pcre = 0; static int m_query_multi_pcre = 0; static int m_query_o_pcre = 0; static int m_query_single_pcre = 0; static int m_query_len_pcre = 10; static int m_exit_on_error = 0; static int m_handler = 0; static qs_regex_t *m_req_regex = NULL; static int m_log_req_regex = 0; static const char *m_pfx = NULL; static const char *m_filter = NULL; typedef struct { qs_regex_t *pcre; char *rule; char *path; char *query_m_string; char *query_m_pcre; int fragment; } qs_rule_t; /* openssl stack compare function used to sort the rules */ int STACK_qs_cmp(const char * const *_pA, const char * const *_pB) { qs_rule_t *pA=*(( qs_rule_t **)_pA); qs_rule_t *pB=*(( qs_rule_t **)_pB); return strcmp(pA->rule,pB->rule); } /* compiles a pcre (exit on error) */ static qs_regex_t *qos_pcre_compile(apr_pool_t *pool, char *pattern, int option) { qs_regex_t *preg = apr_palloc(pool, sizeof(qs_regex_t)); if(qs_regcomp(preg, pattern, PCRE2_DOTALL|option) != 0) { fprintf(stderr, "ERROR, rule <%s> could not compile pcre\n", pattern); exit(1); } apr_pool_pre_cleanup_register(pool, preg, qs_pregfree); return preg; } /* tries to detect base64/hex patterns (mix of upper and lower case characters) */ static char *qos_detect_b64(char *line, int silent) { qs_regmatch_t regm[QS_MAX_REG_MATCH]; int rc_c = qs_regexec_len(pcre_b64, line, strlen(line), QS_MAX_REG_MATCH, regm, 0); if(rc_c >= 0) { if((m_verbose > 1) && !silent) printf(" B64: %.*s\n", regm[0].rm_eo - regm[0].rm_so, &line[regm[0].rm_so]); return &line[regm[0].rm_so]; } rc_c = qs_regexec_len(pcre_hx, line, strlen(line), QS_MAX_REG_MATCH, regm, 0); if(rc_c >= 0) { if((m_verbose > 1) && !silent) printf(" HX: %.*s\n", regm[0].rm_eo - regm[0].rm_so, &line[regm[0].rm_so]); return &line[regm[0].rm_so]; } return NULL; } /* escape double quotes and backslash (to be used for Apache directive) */ static char *qs_apache_escape(apr_pool_t *pool, const char *line) { char *ret = apr_pcalloc(pool, strlen(line) * 4); int i = 0; const char *in = line; while(in && in[0]) { if(in[0] == '"') { ret[i] = '\\'; i++; ret[i] = 'x'; i++; ret[i] = '2'; i++; ret[i] = '2'; i++; } else if(in[0] == '\\' && in[1] == '\\') { ret[i] = '\\'; i++; ret[i] = 'x'; i++; ret[i] = '5'; i++; ret[i] = 'c'; i++; in++; } else { ret[i] = (char)in[0]; i++; } in++; } return ret; } /* escape a string in order to be used withn a pcre */ static char *qos_escape_pcre(apr_pool_t *pool, char *line) { int i = 0; unsigned char prev = 0; unsigned char *in = (unsigned char *)line; char *ret = apr_pcalloc(pool, strlen(line) * 4); int reti = 0; if(strlen(line) == 0) return ""; while(in[i]) { if(strchr(QS_PCRE_RESERVED, in[i]) != NULL) { if(prev && (prev == '\\')) { /* already escaped */ ret[reti] = in[i]; reti++; } else if(prev && (in[i] == '\\') && (strchr(QS_PCRE_RESERVED, in[i+1]) != NULL)) { /* escape char */ ret[reti] = in[i]; reti++; } else { ret[reti] = '\\'; reti++; ret[reti] = in[i]; reti++; } } else if((in[i] < ' ') || (in[i] > '~')) { sprintf(&ret[reti], "\\x%02x", in[i]); reti = reti + 4; } else { ret[reti] = in[i]; reti++; } prev = in[i]; i++; } return ret; } /* helper for url decoding */ static int qos_hex2c(const char *x) { int i, ch; ch = x[0]; if (isdigit(ch)) { i = ch - '0'; }else if (isupper(ch)) { i = ch - ('A' - 10); } else { i = ch - ('a' - 10); } i <<= 4; ch = x[1]; if (isdigit(ch)) { i += ch - '0'; } else if (isupper(ch)) { i += ch - ('A' - 10); } else { i += ch - ('a' - 10); } return i; } static int qos_ishex(char x) { if((x >= '0') && (x <= '9')) return 1; if((x >= 'a') && (x <= 'f')) return 1; if((x >= 'A') && (x <= 'F')) return 1; return 0; } /* url decoding */ static int qos_unescaping(char *x) { int i, j, ch; if (x[0] == '\0') return 0; for (i = 0, j = 0; x[i] != '\0'; i++, j++) { ch = x[i]; if(ch == '%' && qos_ishex(x[i + 1]) && qos_ishex(x[i + 2])) { ch = qos_hex2c(&x[i + 1]); i += 2; } else if((m_mode & QOS_DEC_MODE_FLAGS_UNI) && ((ch == '%') || (ch == '\\')) && ((x[i + 1] == 'u') || (x[i + 1] == 'U')) && qos_ishex(x[i + 2]) && qos_ishex(x[i + 3]) && qos_ishex(x[i + 4]) && qos_ishex(x[i + 5])) { /* unicode %uXXXX */ ch = qos_hex2c(&x[i + 4]); if((ch > 0x00) && (ch < 0x5f) && ((x[i + 2] == 'f') || (x[i + 2] == 'F')) && ((x[i + 3] == 'f') || (x[i + 3] == 'F'))) { ch += 0x20; } i += 5; } else if (ch == '\\' && (x[i + 1] == 'x') && qos_ishex(x[i + 2]) && qos_ishex(x[i + 3])) { ch = qos_hex2c(&x[i + 2]); i += 3; } else if (ch == '+') { ch = ' '; } x[j] = ch; } x[j] = '\0'; if(strlen(x) != j) { fprintf(stderr, "WARNING, found escaped null char %s\n", x); } return j; } static int qos_fgetline(char *s, int n, FILE *f) { register int i = 0; while (1) { s[i] = (char) fgetc(f); if (s[i] == CR) { s[i] = fgetc(f); } if ((s[i] == 0x4) || (s[i] == LF) || (i == (n - 1))) { s[i] = '\0'; return (feof(f) ? 1 : 0); } ++i; } } /* init global pcre */ static void qos_init_pcre(apr_pool_t *pool) { char buf[1024]; sprintf(buf, "%s{%d,}", QS_B64, m_base64); pcre_b64 = qos_pcre_compile(pool, buf, 0); sprintf(buf, "%s{%d,}", QS_HX, m_base64); pcre_hx = qos_pcre_compile(pool, buf, 0); pcre_simple_path = qos_pcre_compile(pool, "^"QS_SIMPLE_PATH_PCRE"$", 0); m_req_regex = qos_pcre_compile(pool, QOSC_REQ, 0); } static void usage(char *cmd, int man) { char space[1024]; memset(space, ' ', 1024); space[strlen(cmd)] = '\0'; if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - an utility to generate mod_qos request line rules out from\n", cmd); qs_man_print(man, "existing access/audit log data.\n"); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -i [-c ] [-d ] [-h] [-b ]\n", man ? "" : "Usage: ", cmd); qs_man_print(man, " %s [-p|-s|-m|-o] [-l ] [-n] [-e] [-u 'uni']\n", space); qs_man_print(man, " %s [-k ] [-t] [-f ] [-v 0|1|2]\n", space); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, " mod_qos implements a request filter which validates each request\n"); qs_man_print(man, " line. The module supports both, negative and positive security\n"); qs_man_print(man, " model. The QS_Deny* directives are used to specify request line\n"); qs_man_print(man, " patterns which are not allowed to access the server (negative\n"); qs_man_print(man, " security model / deny list). These rules are used to restrict\n"); qs_man_print(man, " access to certain resources which should not be available to\n"); qs_man_print(man, " users or to protect the server from malicious patterns. The\n"); qs_man_print(man, " QS_Permit* rules implement a positive security model (allow list).\n"); qs_man_print(man, " These directives are used to define allowed request line patterns.\n"); qs_man_print(man, " Request which do not match any of these patterns are not allowed\n"); qs_man_print(man, " to access the server.\n"); if(man) printf("\n\n"); qs_man_print(man, " %s is an audit log analyzer used to generate filter\n", cmd); qs_man_print(man, " rules (perl compatible regular expressions) which may be used\n"); qs_man_print(man, " by mod_qos to deny access for suspect requests (QS_PermitUri rules).\n"); qs_man_print(man, " It parses existing audit log files in order to generate request\n"); qs_man_print(man, " patterns covering all allowed requests.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -i \n"); if(man) printf("\n"); qs_man_print(man, " Input file containing request URIs.\n"); qs_man_print(man, " The URIs for this file have to be extracted from the servers\n"); qs_man_print(man, " access logs. Each line of the input file contains a request\n"); qs_man_print(man, " URI consisting of a path and and query.\n"); printf("\n"); printf(" Example:\n"); qs_man_println(man, " /aaa/index.do\n"); qs_man_println(man, " /aaa/edit?image=1.jpg\n"); qs_man_println(man, " /aaa/image/1.jpg\n"); qs_man_println(man, " /aaa/view?page=1\n"); qs_man_println(man, " /aaa/edit?document=1\n"); printf("\n"); qs_man_print(man, " These access log data must include current request URIs but\n"); qs_man_print(man, " also request lines from previous rule generation steps. It\n"); qs_man_print(man, " must also include request lines which cover manually generated\n"); qs_man_print(man, " rules.\n"); qs_man_print(man, " You may use the 'qos-path' and 'qos-query' variables to create\n"); qs_man_print(man, " an audit log containing all request data (path and query/body data).\n"); qs_man_print(man, " Example: 'CustomLog audit_log %{qos-path}n%{qos-query}n'.\n"); qs_man_print(man, " See also http://mod-qos.sourceforge.net#qsfiltersample about\n"); qs_man_print(man, " the module settings.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -c \n"); if(man) printf("\n"); qs_man_print(man, " mod_qos configuration file defining QS_DenyRequestLine and\n"); qs_man_print(man, " QS_PermitUri directives.\n"); qs_man_print(man, " %s generates rules from access log data automatically.\n", cmd); qs_man_print(man, " Manually generated rules (QS_PermitUri) may be provided from\n"); qs_man_print(man, " this file. Note: each manual rule must be represented by a\n"); qs_man_print(man, " request URI in the input data (-i) in order to make sure not\n"); qs_man_print(man, " to be deleted by the rule optimisation algorithm.\n"); qs_man_print(man, " QS_Deny* rules from this file are used to filter request lines\n"); qs_man_print(man, " which should not be used for allow list rule generation.\n"); printf("\n"); printf(" Example:\n"); qs_man_println(man, " # manually defined allow list rule:\n"); qs_man_println(man, " QS_PermitUri +view deny \"^[/a-zA-Z0-9]+/view\\?(page=[0-9]+)?$\"\n"); qs_man_println(man, " # filter unwanted request line patterns:\n"); qs_man_println(man, " QS_DenyRequestLine +printable deny \".*[\\x00-\\x19].*\"\n"); printf("\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -d \n"); if(man) printf("\n"); qs_man_print(man, " Depth (sub locations) of the path string which is defined as a\n"); qs_man_print(man, " literal string. Default is 1.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -h\n"); if(man) printf("\n"); qs_man_print(man, " Always use a string representing the handler name in the path even\n"); qs_man_print(man, " the url does not have a query. See also -d option.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -b \n"); if(man) printf("\n"); qs_man_print(man, " Replaces url pattern by the regular expression when detecting\n"); qs_man_print(man, " a base64/hex encoded string. Detecting sensibility is defined by a\n"); qs_man_print(man, " numeric value. You should use values higher than 5 (default)\n"); qs_man_print(man, " or 0 to disable this function.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -p\n"); if(man) printf("\n"); qs_man_print(man, " Represents query by pcre only (no literal strings).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -s\n"); if(man) printf("\n"); qs_man_print(man, " Uses one single pcre for the whole query string.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -m\n"); if(man) printf("\n"); qs_man_print(man, " Uses one pcre for multiple query values (recommended mode).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -o\n"); if(man) printf("\n"); qs_man_print(man, " Does not care the order of query parameters.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -l \n"); if(man) printf("\n"); qs_man_print(man, " Outsizes the query length by the defined length ({0,size+len}),\n"); qs_man_print(man, " default is %d.\n", m_query_len_pcre); if(man) printf("\n.TP\n"); qs_man_print(man, " -n\n"); if(man) printf("\n"); qs_man_print(man, " Disables redundant rules elimination.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -e\n"); if(man) printf("\n"); qs_man_print(man, " Exit on error.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -u 'uni'\n"); if(man) printf("\n"); qs_man_print(man, " Enables additional decoding methods. Use the same settings as you have\n"); qs_man_print(man, " used for the QS_Decoding directive.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -k \n"); if(man) printf("\n"); qs_man_print(man, " Prefix used to generate rule identifiers (QSF by default).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -t\n"); if(man) printf("\n"); qs_man_print(man, " Calculates the maximal latency per request (worst case) using the\n"); qs_man_print(man, " generated rules.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -f \n"); if(man) printf("\n"); qs_man_print(man, " Filters the input by the provided path (prefix) only processing\n"); qs_man_print(man, " matching lines.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -v \n"); if(man) printf("\n"); qs_man_print(man, " Verbose mode. (0=silent, 1=rule source, 2=detailed). Default is 1.\n"); qs_man_print(man, " Don't use rules you haven't checked the request data used to\n"); qs_man_print(man, " generate it! Level 1 is highly recommended (as long as you don't\n"); qs_man_print(man, " have created the log data using your own web crawler).\n"); printf("\n"); if(man) { printf(".SH OUTPUT\n"); } else { printf("Output\n"); } qs_man_print(man, " The output of %s is written to stdout. The output\n", cmd); qs_man_print(man, " contains the generated QS_PermitUri directives but also\n"); qs_man_print(man, " information about the source which has been used to generate\n"); qs_man_print(man, " these rules. It is very important to check the validity of\n"); qs_man_print(man, " each request line which has been used to calculate the\n"); qs_man_print(man, " QS_PermitUri rules. Each request line which has been used to\n"); qs_man_print(man, " generate a new rule is shown in the output prefixed by\n"); qs_man_print(man, " \"ADD line :\". These request lines should be\n"); qs_man_print(man, " stored and reused at any later rule generation (add them to\n"); qs_man_print(man, " the URI input file). The subsequent line shows the generated\n"); qs_man_print(man, " rule.\n"); qs_man_print(man, " At the end of data processing a list of all generated\n"); qs_man_print(man, " QS_PermitUri rules is shown. These directives may be used\n"); qs_man_print(man, " withn the configuration file used by mod_qos.\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); } else { printf("Sample Usage and Output\n"); } qs_man_println(man, " %s -i loc.txt -c httpd.conf -m -e\n", cmd); qs_man_println(man, " ...\n"); qs_man_println(man, " # ADD line 1: /aaa/index.do\n"); qs_man_println(man, " # 003 ^(/[a-zA-Z0-9\\-_]+)+[/]?\\.?[a-zA-Z]{0,4}$\n"); qs_man_println(man, " # ADD line 3: /aaa/view?page=1\n"); qs_man_println(man, " # --- ^[/a-zA-Z0-9]+/view\\?(page=[0-9]+)?$\n"); qs_man_println(man, " # ADD line 4: /aaa/edit?document=1\n"); qs_man_println(man, " # 004 ^[/a-zA-Z]+/edit\\?((document)(=[0-9]*)*[&]?)*$\n"); qs_man_println(man, " # ADD line 5: /aaa/edit?image=1.jpg\n"); qs_man_println(man, " # 005 ^[/a-zA-Z]+/edit\\?((image)(=[0-9\\.a-zA-Z]*)*[&]?)*$\n"); qs_man_println(man, " ...\n"); qs_man_println(man, " QS_PermitUri +QSF001 deny \"^[/a-zA-Z]+/edit\\?((document|image)(=[0-9\\.a-zA-Z]*)*[&]?)*$\"\n"); qs_man_println(man, " QS_PermitUri +QSF002 deny \"^[/a-zA-Z0-9]+/view\\?(page=[0-9]+)?$\"\n"); qs_man_println(man, " QS_PermitUri +QSF003 deny \"^(/[a-zA-Z0-9\\-_]+)+[/]?\\.?[a-zA-Z]{0,4}$\"\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("mod_qos %s\n", man_version); printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } /* worker struct, used for parallel processing */ typedef struct { apr_pool_t *pool; apr_table_t *rules; apr_table_t *rules_url; int from; int to; } qs_worker_t; /* determines, if a rule is really required */ static apr_table_t *qos_get_used(apr_pool_t *pool, apr_table_t *rules, apr_table_t *rules_url, int from, int to) { apr_table_t *used = apr_table_make(pool, 1); int j; for(j = from; j < to; j++) { int l; apr_table_entry_t *linee = (apr_table_entry_t *)apr_table_elts(rules_url)->elts; if(m_verbose) { printf("[%d]", j); fflush(stdout); } for(l = 0; l < apr_table_elts(rules_url)->nelts; l++) { char *line = linee[l].key; int i; int match = 0; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; for(i = 0; i < apr_table_elts(rules)->nelts; i++) { if(i != j) { qs_rule_t *rs = (qs_rule_t *)entry[i].val; if(qs_regexec_len(rs->pcre, line, strlen(line), 0, NULL, 0) >= 0) { match = 1; break; } } } if(!match) { /* no match, rule j is required */ apr_table_add(used, entry[j].key, "+"); } } } return used; } static void *qos_worker(void *argv) { qs_worker_t *wt = argv; return qos_get_used(wt->pool, wt->rules, wt->rules_url, wt->from, wt->to); } /* get the characters used withn the string in order to define a pcre */ static char *qos_2pcre(apr_pool_t *pool, const char *line) { int hasA = 0; int hasD = 0; int hasE = 0; int hasB = 0; int i = 0; unsigned char *in = (unsigned char *)line; char *ret = apr_pcalloc(pool, strlen(line) * 6); int reti = 0; char *existing = ""; if(strlen(line) == 0) return ""; while(in[i]) { if(isdigit(in[i])) { if(!hasD) { hasD = 1; strcpy(&ret[reti], "0-9"); reti = reti + 3; } } else if(isalpha(in[i])) { if(!hasA) { hasA = 1; strcpy(&ret[reti], "a-zA-Z"); reti = reti + 6; } } else if(in[i] == '\\') { if(!hasE) { hasE = 1; strcpy(&ret[reti], "\\\\"); reti = reti + 2; } } else if(in[i] == '-') { if(!hasB) { hasB = 1; strcpy(&ret[reti], "\\-"); reti = reti + 2; } } else if(in[i] == '\0') { char *ck = apr_psprintf(pool, "#\\x%02x#", in[i]); if(strstr(existing, ck) == NULL) { sprintf(&ret[reti], "\\x%02x", in[i]); reti = reti + 4; existing = apr_pstrcat(pool, existing, ck, NULL); } } else if(strchr(ret, in[i]) == NULL) { if(strchr(QS_PCRE_RESERVED, in[i]) != NULL) { ret[reti] = '\\'; reti++; ret[reti] = in[i]; reti++; } else if((in[i] < ' ') || (in[i] > '~')) { char *ck = apr_psprintf(pool, "#\\x%02x#", in[i]); if(strstr(existing, ck) == NULL) { sprintf(&ret[reti], "\\x%02x", in[i]); reti = reti + 4; existing = apr_pstrcat(pool, existing, ck, NULL); } } else { ret[reti] = in[i]; reti++; } } i++; } if(strlen(ret) == 0) return NULL; ret[reti] = '\0'; return ret; } /* check for the pattern "p" in "r" using the delimter "d", returns 1 if it is in the string */ static int qos_checkstr(apr_pool_t *pool, char *r, char *d, char *p) { /* * r = ..|p|.. * r = p|... * r = ..|p * r = p */ char *check1 = apr_pstrcat(pool, d, p, d, NULL); char *check2 = apr_pstrcat(pool, p, d, NULL); char *check3 = apr_pstrcat(pool, d, p, NULL); if(strstr(r, check1) != NULL) { return 1; } if(strncmp(r, check2, strlen(check2)) == 0) { return 1; } if(strlen(r) > strlen(check3)) { if((strncmp(&r[strlen(r)-strlen(check3)], check3, strlen(check3)) == 0)) { return 1; } } if(strcmp(r, p) == 0) { return 1; } return 0; } /* add the string "n" to "o" using the delimiter "d" (only if not already available */ static char *qos_addstr(apr_pool_t *pool, char *o, char *d, char *n) { char *p = apr_pstrdup(pool, n); char *r = o; if(n == NULL) return o; while(p && p[0]) { char *this = p; char *next = strchr(p, d[0]); /* \| */ while(next) { if((next > this) && (next[-1] == '\\')) { next++; next = strchr(next, d[0]); } else { break; } } if(next == NULL) { p = NULL; } else { next[0] = '\0'; next++; p = next; } if(!qos_checkstr(pool, r, d, this)) { r = apr_pstrcat(pool, r, d, this, NULL); } } return r; } /* create a name=pcre string like this: ((s1|s2)(=[]*)*[&]?)*" */ static char *qos_qqs(apr_pool_t *pool, char *string, char *query_pcre, int singleEq, int hasEq, int startAmp) { char *se = NULL; char *s = ""; if(startAmp) s = "[&]?"; if(singleEq) { se = "(=[&]?)*"; } if(strlen(query_pcre) > 0) { return apr_pstrcat(pool, s, "((", string, ")(=[", qos_2pcre(pool, query_pcre), "]*)*[&]?)*", se, NULL); } else { if(hasEq && !singleEq) { se = "(=[&]?)*"; return apr_pstrcat(pool, s, "(((", string, ")[&]?)*", se, ")*", NULL); } return apr_pstrcat(pool, s, "((", string, ")[&]?)*", se, NULL); } } /* tries to optimize the rules by merging all query into one single pcre matching all values */ static void qos_query_optimization(apr_pool_t *pool, apr_table_t *rules) { apr_table_t *delete = apr_table_make(pool, 1); apr_table_t *checked_path = apr_table_make(pool, 1); apr_table_t *new = apr_table_make(pool, 1); int i, j; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; for(i = 0; i < apr_table_elts(rules)->nelts; i++) { char *rule_str = entry[i].key; qs_rule_t *r = (qs_rule_t *)entry[i].val; if(!r->fragment && r->path && (apr_table_get(checked_path, r->path) == NULL)) { int merged = 0; char *query_m_string = r->query_m_string == NULL ? "" : r->query_m_string; char *query_m_pcre = r->query_m_pcre == NULL ? "" : r->query_m_pcre; if(m_verbose > 1) printf(" search for path %s (%s)\n", r->path, rule_str); if(m_verbose > 1) printf(" . %s %s\n", query_m_string, query_m_pcre); apr_table_add(checked_path, r->path, ""); /* search for rules with the same path and delete them */ for(j = 0; j < apr_table_elts(rules)->nelts; j++) { if(i != j) { qs_rule_t *n = (qs_rule_t *)entry[j].val; if(!n->fragment && n->path && (strcmp(r->path, n->path) == 0)) { if(m_verbose > 1) printf(" + %s %s\n", n->query_m_string == NULL ? "-" : n->query_m_string, n->query_m_pcre == NULL ? "-" : n->query_m_pcre); if(strlen(query_m_string) == 0) { query_m_string = apr_pstrcat(pool, query_m_string, n->query_m_string, NULL); } else { query_m_string = qos_addstr(pool, query_m_string, "|", n->query_m_string); } if(m_verbose > 1) printf(" > %s\n", query_m_string); query_m_pcre = apr_pstrcat(pool, query_m_pcre, n->query_m_pcre, NULL); apr_table_add(delete, entry[j].key, ""); merged = 1; } } } /* update rule if merged to any */ if(merged) { apr_table_add(delete, entry[i].key, ""); if(m_verbose) { printf("# CHANGE: <%s>", rule_str); } { const char *errptr = NULL; char *rule = apr_pstrcat(pool, "^", r->path, NULL); qs_rule_t *rs = apr_pcalloc(pool, sizeof(qs_rule_t)); if(strlen(query_m_string) > 0) { rule = apr_pstrcat(pool, rule, "\\?", qos_qqs(pool, query_m_string, query_m_pcre, 0, 0, 0), NULL); } rule = apr_pstrcat(pool, rule, "$", NULL); rs->pcre = qos_pcre_compile(pool, rule, 0); rs->path = r->path; apr_table_setn(new, rule, (char *)rs); if(m_verbose) { printf(" to <%s>\n", rule); fflush(stdout); } } } } } entry = (apr_table_entry_t *)apr_table_elts(delete)->elts; for(i = 0; i < apr_table_elts(delete)->nelts; i++) { if(m_verbose) printf("# DEL rule: %s\n", entry[i].key); apr_table_unset(rules, entry[i].key); } entry = (apr_table_entry_t *)apr_table_elts(new)->elts; for(i = 0; i < apr_table_elts(new)->nelts; i++) { apr_table_setn(rules, entry[i].key, entry[i].val); } } /* deletes rules which are not required and merge query name/value pairs */ static void qos_delete_obsolete_rules(apr_pool_t *pool, apr_table_t *rules, apr_table_t *rules_url) { apr_table_t *not_used = apr_table_make(pool, 1); apr_table_t *used; apr_table_t *used1; pthread_attr_t *tha = NULL; pthread_t tid; qs_worker_t *wt = apr_pcalloc(pool, sizeof(qs_worker_t)); if(m_query_multi_pcre) { if(m_verbose) { printf("# search for redundant rules ...\n"); fflush(stdout); } qos_query_optimization(pool, rules); if(m_verbose) printf("# "); } else { if(m_verbose) { printf("# search for redundant rules "); fflush(stdout); } } wt->pool = pool; wt->rules = rules; wt->rules_url = rules_url; wt->from = apr_table_elts(rules)->nelts / 2; wt->to = apr_table_elts(rules)->nelts; pthread_create(&tid, tha, qos_worker, (void *)wt); used = qos_get_used(pool, rules, rules_url, 0, apr_table_elts(rules)->nelts / 2); pthread_join(tid, (void *)&used1); if(m_verbose) printf(" done\n"); { int i; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; for(i = 0; i < apr_table_elts(rules)->nelts; i++) { if((apr_table_get(used, entry[i].key) == NULL) && (apr_table_get(used1, entry[i].key) == NULL)) { if(m_verbose) printf("# DEL rule (not required): %s\n", entry[i].key); apr_table_add(not_used, entry[i].key, "-"); } } entry = (apr_table_entry_t *)apr_table_elts(not_used)->elts; for(i = 0; i < apr_table_elts(not_used)->nelts; i++) { apr_table_unset(rules, entry[i].key); } } } /* test if we need to create a new url (and save line if the rule is used the very first time (rule has been read from the configuration file)) */ static int qos_test_for_existing_rule(char *plain, char *line, apr_table_t *rules, apr_table_t *special_rules, int line_nr, apr_table_t *rules_url, apr_table_t *source_rules, int first) { int i; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; if((line == 0) || (strlen(line) == 0)) return 0; for(i = 0; i < apr_table_elts(rules)->nelts; i++) { qs_rule_t *rs = (qs_rule_t *)entry[i].val; if(qs_regexec_len(rs->pcre, line, strlen(line), 0, NULL, 0) >= 0) { if(first && (apr_table_get(source_rules, entry[i].key) == NULL)) { apr_table_add(source_rules, entry[i].key, ""); apr_table_add(rules_url, line, ""); apr_table_setn(special_rules, entry[i].key, (char *)rs); if(m_verbose) { printf("# ADD line %d: %s\n", line_nr, plain); printf("# --- %s\n", entry[i].key); } } if(m_verbose > 1){ printf("LINE %d, exiting rule: %s\n", line_nr, entry[i].key); } return 1; } } /* check for special rules */ entry = (apr_table_entry_t *)apr_table_elts(special_rules)->elts; for(i = 0; i < apr_table_elts(special_rules)->nelts; i++) { qs_rule_t *rs = (qs_rule_t *)entry[i].val; if(qs_regexec_len(rs->pcre, line, strlen(line), 0, NULL, 0) >= 0) { if(m_verbose) { printf("# ADD line %d: %s\n", line_nr, plain); printf("# -(S) %s\n", entry[i].key); } apr_table_setn(rules, entry[i].key, (char *)rs); return 1; } } return 0; } /* filter lines we don't want to add to the allow list */ static int qos_enforce_denylist(apr_table_t *rules, const char *line) { int i; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; if((line == 0) || (strlen(line) == 0)) return 0; for(i = 0; i < apr_table_elts(rules)->nelts; i++) { qs_rule_t *rs = (qs_rule_t *)entry[i].val; if(qs_regexec_len(rs->pcre, line, strlen(line), 0, NULL, 0) == 0) { if(m_verbose > 1) printf(" deny list match, rule %s\n", entry[i].key); return 1; } } return 0; } /* load existing rules */ static void qos_load_rules(apr_pool_t *pool, apr_table_t *ruletable, const char *httpdconf, const char *command, int option) { FILE *f = fopen(httpdconf, "r"); char line[MAX_LINE]; if(f == NULL) { fprintf(stderr, "ERROR, could not open %s\n", httpdconf); exit(1); } while(!qos_fgetline(line, sizeof(line), f)) { // QS_DenyRequestLine '+'|'-' 'log'|'deny' char *p = strstr(line, command); if(p) { p[0] = '\0'; p++; } if(p && (strchr(line, '#') == NULL)) { p = strchr(p, ' '); if(p) { while(p[0] == ' ') p++; p = strchr(p, ' '); if(p) { while(p[0] == ' ') p++; p = strchr(p, ' '); if(p) { while(p[0] == ' ') p++; if(m_verbose > 1) { printf("load %s\n", p); } { const char *errptr = NULL; char *pattern; qs_regex_t *pcre_test; qs_rule_t *rs; if(p[0] == '"') { int fl = strlen(p)-2; pattern = apr_psprintf(pool, "%.*s", fl, &p[1]); } else { int fl = strlen(p); pattern = apr_psprintf(pool, "%.*s", fl, p); } pcre_test = qos_pcre_compile(pool, pattern, option); rs = apr_pcalloc(pool, sizeof(qs_rule_t)); rs->pcre = pcre_test; apr_table_setn(ruletable, pattern, (char *)rs); } } } } } } fclose(f); } static void qos_load_denylist(apr_pool_t *pool, apr_table_t *denylist, const char *httpdconf) { qos_load_rules(pool, denylist, httpdconf, "QS_DenyRequestLine", PCRE2_CASELESS); } static void qos_load_allowlist(apr_pool_t *pool, apr_table_t *rules, const char *httpdconf) { qos_load_rules(pool, rules, httpdconf, "QS_PermitUri", 0); } /* tries to map a base64 string to a pcre */ static char *qos_b64_2pcre(apr_pool_t *pool, const char *line) { char *copy = apr_pstrdup(pool, line); char *b64 = qos_detect_b64(copy, 1); char *st = b64; char *ed = &b64[1]; if(m_verbose > 1) printf(" B642pcre: %s", copy); /* reserved: {}[]()^$.|*+?\ */ #define QS_BX "-_$+!" while(st[0] && (isdigit(st[0]) || isalpha(st[0]) || (strchr(QS_BX, st[0]) != NULL))) { st--; } st++; st[0] = '\0'; while(ed[0] && (isdigit(ed[0]) || isalpha(ed[0]) || (strchr(QS_BX, ed[0]) != NULL))) { ed++; } if(m_verbose > 1) printf(" %s <> %s\n", copy, ed); return apr_pstrcat(pool, qos_escape_pcre(pool, copy), "[a-zA-Z0-9\\-_\\$\\+!]+", ed[0] == '\0' ? NULL : qos_escape_pcre(pool, ed), NULL); } /* maps a query string to a pairs of = or = */ static char *qos_query_string_pcre(apr_pool_t *pool, const char *path) { char *copy = apr_pstrdup(pool, path); char *pos = copy; char *ret = ""; int isValue = 0; int open = 0; while(copy[0]) { if((copy[0] == '=') && (copy[1] != '=') && !open) { copy[0] = '\0'; qos_unescaping(pos); if(!open) { ret = apr_pstrcat(pool, ret, "(", NULL); open = 1; } if(m_query_pcre) { if(strlen(pos) > 0) { ret = apr_pstrcat(pool, ret, "[", qos_2pcre(pool, pos), "]+=", NULL); } else { ret = apr_pstrcat(pool, ret, "=", NULL); } } else { ret = apr_pstrcat(pool, ret, qos_escape_pcre(pool, pos), "=", NULL); } open = 1; pos = copy; pos++; isValue = 1; } if(copy[0] == '&') { copy[0] = '\0'; if(strlen(pos) == 0) { ret = apr_pstrcat(pool, ret, "[&]?", NULL); if(open) { ret = apr_pstrcat(pool, ret, ")?", NULL); open = 0; } } else { qos_unescaping(pos); ret = apr_psprintf(pool, "%s[%s]{0,%"APR_SIZE_T_FMT"}[&]?", ret, qos_2pcre(pool, pos), strlen(pos) + m_query_len_pcre); if(open) { ret = apr_pstrcat(pool, ret, ")?", NULL); open = 0; } } pos = copy; pos++; isValue = 0; } copy++; } if(pos != copy) { qos_unescaping(pos); if(isValue) { ret = apr_psprintf(pool, "%s[%s]{0,%"APR_SIZE_T_FMT"}[&]?", ret, qos_2pcre(pool, pos), strlen(pos) + m_query_len_pcre); } else { if(!open) { ret = apr_pstrcat(pool, "(", ret, NULL); open = 1; } if(m_query_pcre) { ret = apr_pstrcat(pool, ret, "[", qos_2pcre(pool, pos), "]+", NULL); } else { ret = apr_pstrcat(pool, ret, qos_escape_pcre(pool, pos), NULL); } } if(open) { ret = apr_pstrcat(pool, ret, ")?", NULL); open = 0; } } if(open) { ret = apr_pstrcat(pool, ret, ")?", NULL); open = 0; } if(m_query_pcre) { return ret; } else { return ret; /* it would be nice to use (see -o): * ((a=b)?(c=d)?)* * instead of: * (a=b)?(c=d)? and (c=d)?(a=b)? * but in this case, two rules are much faster than one * it's probably better to use the -m option */ } } /* maps a query string to a list of names and a single pcre for all values: |= */ static char *qos_multi_query_string_pcre(apr_pool_t *pool, const char *path, char **query_m_string, char **query_m_pcre) { char *copy = apr_pstrdup(pool, path); char *pos = copy; char *string = ""; char *query_pcre = ""; int isValue = 0; int singleEq = 0; int hasEq = 0; int startAmp = 0; if(copy[0] == '&') startAmp = 1; while(copy[0]) { if(copy[0] == '=') hasEq = 1; if((copy[0] == '=') && (copy[1] != '=') && !isValue) { copy[0] = '\0'; qos_unescaping(pos); if(strlen(pos) > 0) { if(strlen(string) > 0) string = apr_pstrcat(pool, string, "|", NULL); string = apr_pstrcat(pool, string, qos_escape_pcre(pool, pos), NULL); } else { if((copy[1] == '&') || (copy[1] == '\0')) { singleEq = 1; } } pos = copy; pos++; isValue = 1; } if(copy[0] == '&') { copy[0] = '\0'; if(!isValue) { qos_unescaping(pos); if(strlen(string) > 0) string = apr_pstrcat(pool, string, "|", NULL); string = apr_pstrcat(pool, string, qos_escape_pcre(pool, pos), NULL); } else { if(strlen(pos) != 0) { qos_unescaping(pos); query_pcre = apr_pstrcat(pool, query_pcre, pos, NULL); } } pos = copy; pos++; isValue = 0; } copy++; } if(pos != copy) { qos_unescaping(pos); if(isValue) { query_pcre = apr_pstrcat(pool, query_pcre, pos, NULL); } else { if(strlen(string) > 0) string = apr_pstrcat(pool, string, "|", NULL); string = apr_pstrcat(pool, string, qos_escape_pcre(pool, pos), NULL); } } *query_m_string = string; *query_m_pcre = query_pcre; return qos_qqs(pool, string, query_pcre, singleEq, hasEq, startAmp); } /* maps a path to a single pcre (don't mind its length) */ static char *qos_path_pcre(apr_pool_t *lpool, const char *path) { char *dec = apr_pstrdup(lpool, path); qos_unescaping(dec); return apr_pstrcat(lpool, "[", qos_2pcre(lpool, dec), "]+", NULL); } /* maps a path to / */ static char *qos_path_pcre_string(apr_pool_t *lpool, const char *path) { int nohandler = 0; char *lpath = apr_pstrdup(lpool, path); char *last; char *str = ""; int depth = m_path_depth; char *rx = ""; if(lpath[strlen(lpath)-1] == '/') { lpath[strlen(lpath)-1] = '\0'; nohandler = 1; } last = strrchr(lpath, '/'); while(last && depth) { qos_unescaping(last); if(m_base64 && qos_detect_b64(last, 0)) { str = apr_pstrcat(lpool, qos_b64_2pcre(lpool, last), str, NULL); } else { str = apr_pstrcat(lpool, qos_escape_pcre(lpool, last), str, NULL); } last[0] = '\0'; last = strrchr(lpath, '/'); depth--; } if(lpath[0]) { qos_unescaping(lpath); rx = apr_pstrcat(lpool, "[", qos_2pcre(lpool, lpath), "]+", NULL); } if(strlen(str) > 0) { if(nohandler) { rx = apr_pstrcat(lpool, rx, str, "[/]?", NULL); } else { rx = apr_pstrcat(lpool, rx, str, NULL); } } return rx; } static int qos_is_alnum(const char *string) { unsigned char *in = (unsigned char *)string; int i = 0; if(in == NULL) return 0; while(in[i]) { if(!apr_isalnum(in[i])) return 0; i++; } return 1; } static void qos_rule_optimization(apr_pool_t *pool, apr_pool_t *lpool, apr_table_t *rules, apr_table_t *special_rules) { int i; apr_table_t *new_rules = apr_table_make(pool, 5); apr_table_t *del_rules = apr_table_make(pool, 5); apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; for(i = 0; i < apr_table_elts(rules)->nelts; i++) { qs_rule_t *rs = (qs_rule_t *)entry[i].val; int hit = 0; int j; for(j = 0; j < apr_table_elts(rules)->nelts; j++) { if(i != j) { qs_rule_t *rsj = (qs_rule_t *)entry[j].val; if(rs->query_m_string && rsj->query_m_string) { if(strcmp(rs->query_m_string, rsj->query_m_string) == 0) { if(strlen(entry[i].key) == strlen(entry[j].key)) { hit++; } } if(hit == 5) { int s = 0; int e = 0; while(entry[i].key[s] && (entry[i].key[s] == entry[j].key[s])) s++; e = s; while(entry[i].key[e] && ((entry[i].key[e] != entry[j].key[e]) || (apr_isalnum(entry[i].key[e]) && apr_isalnum(entry[j].key[e])))) e++; if((e > s) && (s > 14) && (e < strlen(entry[i].key)) && (strstr(&entry[i].key[e], "\?") != NULL)) { const char *errptr = NULL; char *match = apr_psprintf(lpool, "%.*s%.*s", e-s, &entry[i].key[s], e-s, &entry[j].key[s]); if(qos_is_alnum(match)) { char *matchx = apr_psprintf(lpool, "[%s]{%d}", qos_2pcre(lpool, match), e-s); char *new = apr_psprintf(pool, "%.*s%s%s", s, entry[i].key, matchx, &entry[i].key[e]); qs_rule_t *rsn = apr_pcalloc(pool, sizeof(qs_rule_t)); rsn->pcre = qos_pcre_compile(pool, new, 0); rsn->path = rs->path; rsn->query_m_string = rs->query_m_string; rsn->query_m_pcre = rs->query_m_pcre; rsn->fragment = rs->fragment; if(m_verbose) { printf("# CHANGE: <%s> to <%s>\n", entry[i].key, new); fflush(stdout); } apr_table_setn(new_rules, new, (char *)rsn); apr_table_addn(del_rules, entry[i].key, entry[i].val); apr_table_addn(del_rules, entry[j].key, entry[j].val); if(m_verbose > 1) { if(m_verbose) printf(" [%s] [%s]\n", entry[i].key, entry[j].key); if(m_verbose) printf(" [%s] [%s]\n", match, matchx); } break; } } } } } } } entry = (apr_table_entry_t *)apr_table_elts(new_rules)->elts; for(i = 0; i < apr_table_elts(new_rules)->nelts; i++) { apr_table_setn(rules, entry[i].key, entry[i].val); } entry = (apr_table_entry_t *)apr_table_elts(del_rules)->elts; for(i = 0; i < apr_table_elts(del_rules)->nelts; i++) { apr_table_unset(rules, entry[i].key); } } /* rules do not care the order of parameter values (makes rule processing slow) * (id=[0-9]{0,13}[&]?)?(name=[a-zA-Z]{0,12}[&]?)? * ((id=[0-9]{0,13}[&]?)|(name=[a-zA-Z]{0,12}[&]?))* */ static char *qos_post_optimization(apr_pool_t *lpool, char *query) { int hit = 0; char *p = query; while(p && p[0]) { if(strncmp(p, "[&]?)?(", 7) == 0) { hit = 1; p[5] = '|'; } p++; } if(hit) { query[strlen(query)-1] = '\0'; return apr_psprintf(lpool, "(%s)*", query); } return query; } static void qos_auto_detect(char **raw) { char *line = *raw; int rc_c = -1; if(m_req_regex) { qs_regmatch_t regm[QS_MAX_REG_MATCH]; /* no request line, maybe raw Apache access log? */ rc_c = qs_regexec_len(m_req_regex, line, strlen(line), QS_MAX_REG_MATCH, regm, 0); if(rc_c >= 0) { char *sr = &line[regm[2].rm_so]; sr[regm[2].rm_eo - regm[2].rm_so] = '\0'; *raw = sr; } } if(rc_c < 0) { /* or an audit log like "%h %>s %{qos-loc}n %{qos-path}n%{qos-query}n" */ char *pe = line; int pi = 3; while(pe && (pi > 0)) { pi--; pe = strchr(pe, ' '); if(pe) { pe++; } } if(pe && pe[0] == '/' && (pi == 0)) { *raw = pe; } } return; } /* process the input file line by line */ static void qos_process_log(apr_pool_t *pool, apr_table_t *denylist, apr_table_t *rules, apr_table_t *rules_url, apr_table_t *special_rules, FILE *f, int *ln, int *dc, int first) { char *readline = apr_pcalloc(pool, MAX_BODY_BUFFER); int deny_count = *dc; int line_nr = *ln; apr_table_t *source_rules = apr_table_make(pool, 10); int rule_optimization = 300; while(!qos_fgetline(readline, MAX_BODY_BUFFER, f)) { int doubleSlash = 0; apr_uri_t parsed_uri; apr_pool_t *lpool; char *line = readline; apr_pool_create(&lpool, NULL); line_nr++; if((strlen(line) > 1) && line[1] == '/') { doubleSlash = 1; line++; } if(line[0] != '/') { if(!m_log_req_regex) { m_log_req_regex = 1; fprintf(stderr, "WARNING, line %d: " "unexpected data format, try to detect request lines automatically\n", line_nr); } qos_auto_detect(&line); } if(apr_uri_parse(lpool, line, &parsed_uri) != APR_SUCCESS) { fprintf(stderr, "ERROR, could not parse uri %s\n", line); if(m_exit_on_error) exit(1); } if(parsed_uri.path == NULL || (parsed_uri.path[0] != '/')) { fprintf(stderr, "WARNING, line %d: invalid request %s\n", line_nr, line); } else if(m_filter && parsed_uri.path && strncmp(parsed_uri.path, m_filter, strlen(m_filter)) != 0) { // skip filtered line } else { char *path = NULL; char *query = NULL; char *query_m_string = NULL; char *query_m_pcre = NULL; char *fragment = NULL; char *copy = apr_pstrdup(lpool, line); qos_unescaping(copy); if(qos_enforce_denylist(denylist, copy)) { fprintf(stderr, "WARNING: deny list filter match at line %d for %s\n", line_nr, line); deny_count++; } else { if(!qos_test_for_existing_rule(line, copy, rules, special_rules, line_nr, rules_url, source_rules, first)) { if(m_verbose > 1) printf("LINE %d, analyse: %s\n", line_nr, line); if(parsed_uri.query) { if(strcmp(parsed_uri.path, "/") == 0) { path = apr_pstrdup(lpool, "/"); } else { path = qos_path_pcre_string(lpool, parsed_uri.path); } if(m_query_single_pcre) { char *qc = apr_pstrdup(lpool, parsed_uri.query); qos_unescaping(qc); query = apr_pstrcat(lpool, "[", qos_2pcre(lpool, qc), "]+", NULL); } else { if(!m_query_multi_pcre) { query = qos_query_string_pcre(lpool, parsed_uri.query); if(m_query_o_pcre) { query = qos_post_optimization(lpool, query); } } else { query = qos_multi_query_string_pcre(lpool, parsed_uri.query, &query_m_string, &query_m_pcre); } } } else { if(strcmp(parsed_uri.path, "/") == 0) { path = apr_pstrdup(lpool, "/"); } else { if(m_handler) { path = qos_path_pcre_string(lpool, parsed_uri.path); } else { if(qs_regexec_len(pcre_simple_path, parsed_uri.path, strlen(parsed_uri.path), 0, NULL, 0) >= 0) { path = apr_pstrdup(lpool, QS_SIMPLE_PATH_PCRE); } else { path = qos_path_pcre(lpool, parsed_uri.path); } } } } if(parsed_uri.fragment) { char *f = apr_pstrdup(lpool, parsed_uri.fragment); if(strlen(f) > 0) { qos_unescaping(f); fragment = apr_pstrcat(lpool, "[", qos_2pcre(lpool, f), "]+", NULL); } else { fragment = apr_pstrcat(lpool, "", NULL); } } if(m_verbose > 1) { printf(" path: %s\n", parsed_uri.path); printf(" path rule: %s\n", path); if(query) { printf(" query: %s\n", parsed_uri.query); printf(" query rule: %s\n", query); } if(fragment) { printf(" fragment: %s\n", parsed_uri.fragment); printf(" fragment rule: %s\n", fragment); } } { const char *errptr = NULL; char *rule; qs_rule_t *rs = apr_pcalloc(pool, sizeof(qs_rule_t)); if(doubleSlash) { rule = apr_pstrcat(pool, "^[/]?", path, NULL); } else { rule = apr_pstrcat(pool, "^", path, NULL); } if(query) { rule = apr_pstrcat(pool, rule, "\\?", query, NULL); } if(fragment) { rule = apr_pstrcat(pool, rule, "#", fragment, NULL); rs->fragment = 1; } else { rs->fragment = 0; } rule = apr_pstrcat(pool, rule, "$", NULL); rs->pcre = qos_pcre_compile(pool, rule, 0); rs->path = apr_pstrdup(pool, path); if(m_query_multi_pcre && !fragment) { rs->query_m_string = apr_pstrdup(pool, query_m_string); rs->query_m_pcre = apr_pstrdup(pool, query_m_pcre); } else { rs->query_m_string = NULL; rs->query_m_pcre = NULL; } // don't mind if extra is null if(m_verbose) { printf("# ADD line %d: %s\n", line_nr, line); printf("# %.3d %s\n", apr_table_elts(rules)->nelts+1, rule); fflush(stdout); } if(qs_regexec_len(rs->pcre, copy, strlen(copy), 0, NULL, 0) < 0) { fprintf(stderr, "ERROR, rule check failed (did not match)!\n"); fprintf(stderr, " line %d: %s\n", line_nr, line); fprintf(stderr, " string: %s\n", copy); fprintf(stderr, " rule: %s\n", rule); if(m_exit_on_error) exit(1); } else { apr_table_add(rules_url, copy, "unescaped line"); apr_table_add(source_rules, rule, ""); apr_table_setn(rules, rule, (char *)rs); } if(apr_table_elts(rules)->nelts == 2000) { fprintf(stderr, "ERROR, too many rules (limited to max. 2000)\n"); if(m_exit_on_error) exit(1); } /* rule optimazion searching for redundant patterns (only in conjunction with -m, -b and !-n */ if((apr_table_elts(rules)->nelts == rule_optimization) && m_redundant && m_query_multi_pcre && m_base64) { /* got too many rules, try to find more general rules */ if(m_verbose) { printf("# too many rules: start rule optimization ...\n"); fflush(stdout); } qos_rule_optimization(pool, lpool, rules, special_rules); if(m_verbose) { printf("# continue with rule generation\n"); fflush(stdout); } rule_optimization = rule_optimization + 200; } } } } } apr_pool_destroy(lpool); } *dc = deny_count; *ln = line_nr; } static void qos_measurement(apr_pool_t *pool, apr_table_t *denylist, apr_table_t *rules, FILE *f, int *ln) { char *readline = apr_pcalloc(pool, MAX_BODY_BUFFER); int line_nr = 0; while(!qos_fgetline(readline, MAX_BODY_BUFFER, f)) { apr_uri_t parsed_uri; apr_pool_t *lpool; char *line = readline; apr_pool_create(&lpool, NULL); line_nr++; if((strlen(line) > 1) && line[1] == '/') { strcpy(line, &line[1]); } if(line[0] != '/') { qos_auto_detect(&line); } if(apr_uri_parse(lpool, line, &parsed_uri) != APR_SUCCESS) { fprintf(stderr, "ERROR, could parse uri %s\n", line); if(m_exit_on_error) exit(1); } if(parsed_uri.path == NULL || (parsed_uri.path[0] != '/')) { fprintf(stderr, "WARNING, line %d: invalid request %s\n", line_nr, line); } else { char *copy = apr_pstrdup(lpool, line); int i; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; qos_unescaping(copy); for(i = 0; i < apr_table_elts(rules)->nelts; i++) { qs_rule_t *rs = (qs_rule_t *)entry[i].val; qs_regexec_len(rs->pcre, copy, strlen(copy), 0, NULL, 0); } } apr_pool_destroy(lpool); } *ln = line_nr; } int main(int argc, const char * const argv[]) { apr_table_entry_t *entry; long performance = -1; time_t start = time(NULL); time_t end; int line_nr = 0; int deny_count = 0; char *time_string; int i, rc; const char *access_log = NULL; FILE *f; apr_pool_t *pool; apr_table_t *rules; apr_table_t *special_rules; apr_table_t *denylist; apr_table_t *rules_url; int denylist_size = 0; int allowlist_size = 0; char *cmd = strrchr(argv[0], '/'); const char *httpdconf = NULL; apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); rules = apr_table_make(pool, 10); special_rules = apr_table_make(pool, 10); denylist = apr_table_make(pool, 10); rules_url = apr_table_make(pool, 10); rc = nice(10); if(rc == -1) { fprintf(stderr, "ERROR, failed to change nice value: %s\n", strerror(errno)); } if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-v") == 0) { if (--argc >= 1) { m_verbose = atoi(*(++argv)); } } else if(strcmp(*argv,"-c") == 0) { if (--argc >= 1) { httpdconf = *(++argv); } } else if(strcmp(*argv,"-i") == 0) { if (--argc >= 1) { access_log = *(++argv); } } else if(strcmp(*argv,"-k") == 0) { if (--argc >= 1) { m_pfx = *(++argv); } } else if(strcmp(*argv,"-f") == 0) { if (--argc >= 1) { m_filter = *(++argv); } } else if(strcmp(*argv,"-d") == 0) { if (--argc >= 1) { m_path_depth = atoi(*(++argv)); } } else if(strcmp(*argv,"-u") == 0) { if (--argc >= 1) { const char *coders = *(++argv); if(strstr(coders, "uni")) { m_mode |= QOS_DEC_MODE_FLAGS_UNI; } if(strstr(coders, "ansi")) { m_mode |= QOS_DEC_MODE_FLAGS_ANSI; } if(strstr(coders, "html")) { m_mode |= QOS_DEC_MODE_FLAGS_HTML; } } } else if(strcmp(*argv,"-n") == 0) { m_redundant = 0; } else if(strcmp(*argv,"-b") == 0) { if (--argc >= 1) { m_base64 = atoi(*(++argv)); } } else if(strcmp(*argv,"-l") == 0) { if (--argc >= 1) { m_query_len_pcre = atoi(*(++argv)); } } else if(strcmp(*argv,"-p") == 0) { m_query_pcre = 1; } else if(strcmp(*argv,"-m") == 0) { m_query_multi_pcre = 1; } else if(strcmp(*argv,"-o") == 0) { m_query_o_pcre = 1; } else if(strcmp(*argv,"-s") == 0) { m_query_single_pcre = 1; } else if(strcmp(*argv,"-e") == 0) { m_exit_on_error = 1; } else if(strcmp(*argv,"-t") == 0) { performance = 0; } else if(strcmp(*argv,"-h") == 0) { m_handler = 1; } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } argc--; argv++; } qos_init_pcre(pool); if((m_query_pcre && m_query_multi_pcre) || (m_query_pcre && m_query_single_pcre) || (m_query_multi_pcre && m_query_single_pcre) || (m_query_pcre && m_query_o_pcre) || (m_query_multi_pcre && m_query_o_pcre) || (m_query_single_pcre && m_query_o_pcre)) { fprintf(stderr, "ERROR, option -s,-m,-o or -p can't be used together.\n"); exit(1); } if(httpdconf) { qos_load_denylist(pool, denylist, httpdconf); denylist_size = apr_table_elts(denylist)->nelts; qos_load_allowlist(pool, rules, httpdconf); allowlist_size = apr_table_elts(rules)->nelts; } if(access_log == NULL) usage(cmd, 0); f = fopen(access_log, "r"); if(f == NULL) { fprintf(stderr, "ERROR, could not open input file %s\n", access_log); exit(1); } qos_process_log(pool, denylist, rules, rules_url, special_rules, f, &line_nr, &deny_count, 1); fclose(f); if(m_redundant) { int xl = 0; int y = 0; // delete useless rules qos_delete_obsolete_rules(pool, rules, rules_url); // ensure, we have not deleted to many! if(m_verbose) { printf("# verify new rules ...\n"); fflush(stdout); } // if(httpdconf) { // qos_load_allowlist(pool, rules, httpdconf); // } f = fopen(access_log, "r"); qos_process_log(pool, denylist, rules, rules_url, special_rules, f, &xl, &y, 0); fclose(f); } if(performance == 0) { int lx = 0; apr_time_t tv; f = fopen(access_log, "r"); tv = apr_time_now(); qos_measurement(pool, denylist, rules, f, &lx); tv = apr_time_now() - tv; performance = apr_time_msec(tv) + (apr_time_sec(tv) * 1000); performance = performance / lx; fclose(f); } end = time(NULL); time_string = ctime(&end); time_string[strlen(time_string) - 1] = '\0'; printf("\n# --------------------------------------------------------\n"); printf("# %s\n", time_string); printf("# %d rules from %d access log lines\n", apr_table_elts(rules)->nelts, line_nr); printf("# mod_qos version: %s\n", man_version); if(performance >= 0) { printf("# performance index (ms/req): %ld\n", performance); } printf("# source (-i): %s\n", access_log); printf("# path depth (-d): %d\n", m_path_depth); printf("# disable path only regex (-h): %s\n", m_handler == 1 ? "yes" : "no"); printf("# base64 detection level (-b): %d\n", m_base64); printf("# redundancy check (-n): %s\n", m_redundant == 1 ? "yes" : "no"); printf("# pcre only for query (-p): %s\n", m_query_pcre == 1 ? "yes" : "no"); printf("# decoding (-u): url"); if(m_mode & QOS_DEC_MODE_FLAGS_UNI) { printf(" uni"); } if(m_mode & QOS_DEC_MODE_FLAGS_HTML) { printf(" html"); } if(m_mode & QOS_DEC_MODE_FLAGS_ANSI) { printf(" ansi"); } printf("\n"); printf("# one pcre for query value (-m): %s\n", m_query_multi_pcre == 1 ? "yes" : "no"); if(m_query_o_pcre) { printf("# ignore query order (-o): yes\n"); } printf("# single pcre for query (-s): %s\n", m_query_single_pcre == 1 ? "yes" : "no"); printf("# query outsize (-l): %d\n", m_query_len_pcre); printf("# exit on error (-e): %s\n", m_exit_on_error == 1 ? "yes" : "no"); printf("# rule file (-c): %s\n", httpdconf == NULL ? "-" : httpdconf); if(httpdconf) { printf("# allow list (loaded existing rules): %d\n", allowlist_size); printf("# deny list (loaded deny rules): %d\n", denylist_size); printf("# deny list matches: %d\n", deny_count); } printf("# duration: %ld minutes\n", (end - start) / 60); printf("# --------------------------------------------------------\n"); { STACK_OF(qs_rule_t) *st = sk_new(STACK_qs_cmp); qs_rule_t *r; int j = 1; entry = (apr_table_entry_t *)apr_table_elts(rules)->elts; for(i = 0; i < apr_table_elts(rules)->nelts; i++) { // printf("QS_PermitUri +QSF%0.3d deny \"%s\"\n", i+1, entry[i].key); r = apr_pcalloc(pool, sizeof(qs_rule_t)); r->rule = entry[i].key; sk_push(st, (char *)r); } sk_sort(st); i = sk_num(st); for(; i > 0; i--) { r = (qs_rule_t *)sk_value(st, i-1); printf("QS_PermitUri +%s%.3d deny \"%s\"\n", m_pfx ? m_pfx : "QSF", j, qs_apache_escape(pool, r->rule)); j++; } } apr_pool_destroy(pool); return 0; } mod_qos-11.74/tools/src/qssign.c0000664000000000000020000005525414431415521015070 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * qssign.c: Log data signing tool to ensure data integrity. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ static const char revision[] = "$Id: qssign.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include /* openssl */ #include #include /* apr/apr-util */ #define QS_USEAPR 1 #include #include #include #include #include #include #include #define PCRE2_CODE_UNIT_WIDTH 8 #include #include "qs_util.h" #include "qs_apo.h" #define SEQDIG "12" #define QS_END "qssign---end-of-data" #define QS_START "qssign---------start" static const char *m_start_fmt = ""; static const char *m_end_fmt = ""; static long m_nr = 1; static int m_logend = 0; static void (*m_end)(const char *, int) = NULL; static int m_end_pos = 0; static const char *m_sec = NULL; static const EVP_MD *m_evp; static qs_regex_t *m_filter = NULL; typedef struct { const char* start_fmt; const char* end_fmt; const char* pattern; const char* test; } qos_p_t; #define severity "[A-Z]+" static const qos_p_t pattern[] = { { "%s | INFO | "QS_START, "%s | INFO | "QS_END, "^[0-9]{4}[-][0-9]{2}[-][0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}[ ]+[|][ ]+"severity"[ ]+[|][ ]+[a-zA-Z0-9]+", "2010-04-14 20:18:37,464 | INFO | org.hibernate.cfg.Configuration" }, { "%s INFO "QS_START, "%s INFO "QS_END, "^[0-9]{4}[-][0-9]{2}[-][0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}[ ]+"severity"[ ]+", "2011-08-30 07:27:22,738 INFO loginId='test'" }, { "%s qssign start INFO "QS_START, "%s qssign end INFO "QS_END, "^[0-9]{4}[-][0-9]{2}[-][0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}[ ]+[a-zA-Z0-9\\.-]+[ ]+[a-zA-Z0-9\\.-]+[ ]+"severity"[ ]+", "2011-09-01 07:37:17,275 main org.apache.catalina.startup.Catalina INFO Server" }, { "%s INFO "QS_START, "%s INFO "QS_END, "^[0-9]{4}[-][0-9]{2}[-][0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2},[0-9]{3}[ ]+", "2011-08-30 07:27:22,738 " }, { NULL, NULL, NULL } }; /** * Writes the signed log line to stdout. * * @param line Data to sign * @param line_size Length of the data * @param sec Secret * @param sec_len Length of the secret */ static void qs_write(char *line, int line_size, const char *sec, int sec_len) { #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX hmac; HMAC_CTX *hmac_p = &hmac; #else HMAC_CTX *hmac_p; #endif unsigned char data[HMAC_MAX_MD_CBLOCK]; unsigned int len; char *m; int data_len; sprintf(&line[strlen(line)], " %."SEQDIG"ld", m_nr); #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_init(hmac_p); #else hmac_p = HMAC_CTX_new(); #endif HMAC_Init_ex(hmac_p, sec, sec_len, m_evp, NULL); HMAC_Update(hmac_p, (const unsigned char *)line, strlen(line)); HMAC_Final(hmac_p, data, &len); #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_cleanup(hmac_p); #else HMAC_CTX_free(hmac_p); #endif m = calloc(1, apr_base64_encode_len(len) + 1); data_len = apr_base64_encode(m, (char *)data, len); m[data_len] = '\0'; printf("%s#%s\n", line, m); fflush(stdout); free(m); m_nr++; return; } /* * [Fri Dec 03 07:37:40 2010] [notice] ......... */ static void qs_end_apache_err(const char *sec, int start) { int sec_len = strlen(sec); char line[MAX_LINE]; int dig = atoi(SEQDIG); /* ' ' '#' */ int line_size = sizeof(line) - 1 - dig - 1 - (2*HMAC_MAX_MD_CBLOCK) - 1; char time_string[1024]; time_t tm = time(NULL); struct tm *ptr = localtime(&tm); strftime(time_string, sizeof(time_string), "%a %b %d %H:%M:%S %Y", ptr); if(start) { sprintf(line, "[%s] [notice] "QS_START, time_string); } else { sprintf(line, "[%s] [notice] "QS_END, time_string); } qs_write(line, line_size, sec, sec_len); return; } /* * 12.12.12.12 - - [03/Dec/2010:07:36:51 +0100] ............... */ static void qs_end_apache_acc(const char *sec, int start) { int sec_len = strlen(sec); char line[MAX_LINE]; int dig = atoi(SEQDIG); /* ' ' '#' */ int line_size = sizeof(line) - 1 - dig - 1 - (2*HMAC_MAX_MD_CBLOCK) - 1; char time_string[1024]; time_t tm = time(NULL); struct tm *ptr = localtime(&tm); char sign; int timz; apr_time_exp_t xt; apr_time_exp_lt(&xt, apr_time_now()); timz = xt.tm_gmtoff; if(timz < 0) { timz = -timz; sign = '-'; } else { sign = '+'; } strftime(time_string, sizeof(time_string), "%d/%b/%Y:%H:%M:%S", ptr); if(start) { sprintf(line, "0.0.0.0 - - [%s %c%.2d%.2d] "QS_START, time_string, sign, timz / (60*60), (timz % (60*60)) / 60); } else { sprintf(line, "0.0.0.0 - - [%s %c%.2d%.2d] "QS_END, time_string, sign, timz / (60*60), (timz % (60*60)) / 60); } qs_write(line, line_size, sec, sec_len); return; } /* * 2010 12 03 17:00:30.425 qssign end 0.0 5-NOTICE: .............. */ static void qs_end_nj(const char *sec, int start) { int sec_len = strlen(sec); char line[MAX_LINE]; int dig = atoi(SEQDIG); /* ' ' '#' */ int line_size = sizeof(line) - 1 - dig - 1 - (2*HMAC_MAX_MD_CBLOCK) - 1; char time_string[1024]; time_t tm = time(NULL); struct tm *ptr = localtime(&tm); char buf[1024]; int i; for(i = 0; i < m_end_pos; i++) { buf[i] = ' '; } buf[i] = '\0'; strftime(time_string, sizeof(time_string), "%Y %m %d %H:%M:%S.000", ptr); if(start) { sprintf(line, "%s qssign start 0.0%s 5-NOTICE: "QS_START, time_string, buf); } else { sprintf(line, "%s qssign end 0.0%s 5-NOTICE: "QS_END, time_string, buf); } qs_write(line, line_size, sec, sec_len); return; } /* * 2010-04-14 20:18:37,464 ... (using m_fmt) */ static void qs_end_lj(const char *sec, int start) { int sec_len = strlen(sec); char line[MAX_LINE]; int dig = atoi(SEQDIG); /* ' ' '#' */ int line_size = sizeof(line) - 1 - dig - 1 - (2*HMAC_MAX_MD_CBLOCK) - 1; char time_string[1024]; time_t tm = time(NULL); struct tm *ptr = localtime(&tm); strftime(time_string, sizeof(time_string), "%Y-%m-%d %H:%M:%S,000", ptr); if(start) { sprintf(line, m_start_fmt, time_string); } else { sprintf(line, m_end_fmt, time_string); } qs_write(line, line_size, sec, sec_len); return; } /* * Dec 6 04:00:06 localhost kernel: */ static void qs_end_lx(const char *sec, int start) { char hostname[1024]; int len = sizeof(hostname); int sec_len = strlen(sec); char line[MAX_LINE]; int dig = atoi(SEQDIG); /* ' ' '#' */ int line_size = sizeof(line) - 1 - dig - 1 - (2*HMAC_MAX_MD_CBLOCK) - 1; char time_string[1024]; time_t tm = time(NULL); struct tm *ptr = localtime(&tm); strftime(time_string, sizeof(time_string), "%b %e %H:%M:%S", ptr); if(gethostname(hostname, len) != 0) { hostname[0] = '-'; hostname[1] = '\0'; } if(start) { sprintf(line, "%s %s qssign: "QS_START, time_string, hostname); } else { sprintf(line, "%s %s qssign: "QS_END, time_string, hostname); } qs_write(line, line_size, sec, sec_len); return; } /* * 2013/11/13 17:38:41 [error] 6577#0: *1 open() */ static void qs_end_ngx(const char *sec, int start) { int sec_len = strlen(sec); char line[MAX_LINE]; int dig = atoi(SEQDIG); /* ' ' '#' */ int line_size = sizeof(line) - 1 - dig - 1 - (2*HMAC_MAX_MD_CBLOCK) - 1; char time_string[1024]; time_t tm = time(NULL); struct tm *ptr = localtime(&tm); strftime(time_string, sizeof(time_string), "%Y/%m/%d %H:%M:%S", ptr); if(start) { sprintf(line, "%s [notice] 0#0: "QS_END, time_string); } else { sprintf(line, "%s [notice] 0#0: "QS_END, time_string); } qs_write(line, line_size, sec, sec_len); return; } void qs_signal_exit(int e) { if(m_logend && (m_end != NULL)) { m_end(m_sec, 0); } exit(0); } /** * Tries to find out a suitable log line format which is used * to log sign end messages (so let the verifier known, that the * data ends nothing has been cut off). * * Sets the format to global variables. * * known pattern * - [Fri Dec 03 07:37:40 2010] [notice] ......... * - 12.12.12.12 - - [03/Dec/2010:07:36:51 +0100] ............... * - 2010 12 03 17:00:30.425 qssign end 0.0 5-NOTICE: .............. * 46 <- var -> 63 71 * - Dec 6 04:00:06 localhost kernel: * - some 2010-12-03 17:00:30,425 ... * * @param s */ static void qs_set_format(char *s) { regex_t r_apache_err; regex_t r_apache_acc; regex_t r_nj; regex_t r_lx; regex_t r_ngx; if(regcomp(&r_apache_err, "^\\[[a-zA-Z]{3} [a-zA-Z]{3} [0-9]+ [0-9]+:[0-9]+:[0-9]+ [0-9]+\\] \\[[a-zA-Z]+\\] ", REG_EXTENDED) != 0) { fprintf(stderr, "failed to compile regex (err)\n"); exit(1); } if(regcomp(&r_apache_acc, "^[0-9.]+ [a-zA-Z0-9\\@_\\.\\-]+ [a-zA-Z0-9\\@_\\.\\-]+ \\[[0-9]+/[a-zA-Z]{3}/[0-9:]+[0-9\\+ ]+\\] ", REG_EXTENDED) != 0) { fprintf(stderr, "failed to compile regex (acc)\n"); exit(1); } if(regcomp(&r_nj, "^[0-9]{4} [0-9]{2} [0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}\\.[0-9]{3} [a-zA-Z0-9]+[ ]+.*[A-Z]+[ ]*:", REG_EXTENDED) != 0) { fprintf(stderr, "failed to compile regex (nj)\n"); exit(1); } if(regcomp(&r_lx, "^[a-zA-Z]{3}[ ]+[0-9]+[ ]+[0-9]{2}:[0-9]{2}:[0-9]{2}[ ]+[a-zA-Z0-9_\\.\\-]+[ ]+[a-zA-Z0-9_\\.\\-]+:", REG_EXTENDED) != 0) { fprintf(stderr, "failed to compile regex (lx)\n"); exit(1); } if(regcomp(&r_ngx, "^[0-9]{4}/[0-9]{2}/[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2} \\[[a-z]+\\] [0-9]+#[0-9]+: ", REG_EXTENDED) != 0) { fprintf(stderr, "failed to compile regex (ngx)\n"); exit(1); } if(regexec(&r_apache_err, s, 0, NULL, 0) == 0) { m_end = &qs_end_apache_err; } else if(regexec(&r_apache_acc, s, 0, NULL, 0) == 0) { m_end = &qs_end_apache_acc; } else if(regexec(&r_nj, s, 0, NULL, 0) == 0) { char *dp = strstr(s, ": "); if(dp) { /* calculate the "var" size, see comment above */ m_end_pos = dp - s - 47 - 8 - 3; if((m_end_pos < 0) || (m_end_pos > 1000)) { m_end_pos = 0; } } m_end = &qs_end_nj; } else if(regexec(&r_lx, s, 0, NULL, 0) == 0) { m_end = &qs_end_lx; } else if(regexec(&r_ngx, s, 0, NULL, 0) == 0) { m_end = &qs_end_ngx; } // search within the generic yyyy-mm-dd hh-mm-ss,mmm patterns if(!m_end) { const qos_p_t *p = pattern; while(p->end_fmt) { regex_t r_j; if(regcomp(&r_j, p->pattern, REG_EXTENDED) != 0) { fprintf(stderr, "failed to compile regex (%s)\n", p->pattern); exit(1); } if(regexec(&r_j, s, 0, NULL, 0) == 0) { m_start_fmt = p->start_fmt; m_end_fmt = p->end_fmt; m_end = &qs_end_lj; break; } p++; } } /* default (apache error log format) */ if(m_end == NULL) { m_end = &qs_end_apache_err; } return; } /** * Process the data from stdin. * * @param sec Passphrase */ static void qs_sign(const char *sec) { int sec_len = strlen(sec); char *line = calloc(1, MAX_LINE_BUFFER+1); int dig = atoi(SEQDIG); /* ' ' '#' */ int line_size = MAX_LINE_BUFFER - 1 - dig - 1 - (2*HMAC_MAX_MD_CBLOCK) - 1; int line_len; while(fgets(line, MAX_LINE_BUFFER, stdin) != NULL) { line_len = strlen(line) - 1; while(line_len > 0) { // cut tailing CR/LF if(line[line_len] >= ' ') { break; } line[line_len] = '\0'; line_len--; } if(m_logend && (m_end == NULL)) { qs_set_format(line); m_end(m_sec, 1); } if(m_filter != NULL && qs_regexec_len(m_filter, line, line_len, 0, NULL, 0) >= 0) { printf("%s\n", line); fflush(stdout); } else { qs_write(line, line_size, sec, sec_len); } } return; } static int isSpecialLine(const char *line, const char *marker) { char *se_marker = strstr(line, marker); if(se_marker != NULL) { /* QS_END/START + " " + SEQDIG */ int sz = strlen(marker) + 1 + atoi(SEQDIG); if(sz == (strlen(line) - (se_marker - line))) { return 1; } } return 0; } static long qs_verify(const char *sec) { int end_seen = 0; int sec_len = strlen(sec); long err = 0; // errors long lineNumber = 0; // line number of the file / input data char *line = calloc(1, MAX_LINE_BUFFER+1); int line_size = MAX_LINE_BUFFER; int line_len; m_nr = -1; // expected sequence number (start with any) long nr_alt = -1; // alternatively expected sequence number (if a line was injected) long nr_alt_lineNumber = -1; long nr_usr1_lineNumber = -1; // we may have lines written by a prev. qssign binary (while graceful restart) while(fgets(line, line_size, stdin) != NULL) { int valid = 0; long msgSeqNr = 0; int isOldProcess = 0; #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX hmac; HMAC_CTX *hmac_p = &hmac; #else HMAC_CTX *hmac_p; #endif unsigned char data[HMAC_MAX_MD_CBLOCK]; unsigned int len; char *m; int data_len; char *sig; char *seq; line_len = strlen(line) - 1; while(line_len > 0) { // cut tailing CR/LF if(line[line_len] >= ' ') { break; } line[line_len] = '\0'; line_len--; } sig = strrchr(line, '#'); seq = strrchr(line, ' '); lineNumber++; if(seq && sig) { sig[0] = '\0'; sig++; /* verify hmac */ #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_init(hmac_p); #else hmac_p = HMAC_CTX_new(); #endif HMAC_Init_ex(hmac_p, sec, sec_len, m_evp, NULL); HMAC_Update(hmac_p, (const unsigned char *)line, strlen(line)); HMAC_Final(hmac_p, data, &len); #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_cleanup(hmac_p); #else HMAC_CTX_free(hmac_p); #endif m = calloc(1, apr_base64_encode_len(len) + 1); data_len = apr_base64_encode(m, (char *)data, len); m[data_len] = '\0'; if(strcmp(m, sig) != 0) { err++; fprintf(stderr, "ERROR on line %ld: invalid signature\n", lineNumber); /* message may be modified/corrupt or inserted: next line may have the next sequence number (modified) or the same (inserted) */ nr_alt = m_nr + 1; nr_alt_lineNumber = lineNumber + 1; } else { valid = 1; } free(m); /* verify sequence */ seq++; msgSeqNr = atol(seq); if(msgSeqNr == 0) { err++; fprintf(stderr, "ERROR on line %ld: invalid sequence\n", lineNumber); } else { if(m_nr != -1) { if(lineNumber == nr_alt_lineNumber) { // last line was modified if(m_nr != msgSeqNr) { // and therefore, we also accept the next sequence number m_nr = nr_alt; } nr_alt = -1; nr_alt_lineNumber = -1; } if(valid && isSpecialLine(line, QS_START)) { // new start line (graceful restart) // we expect now msg number 1 // but still acept the old until we get the end marker nr_usr1_lineNumber = m_nr; m_nr = 1; } if(valid && nr_usr1_lineNumber == msgSeqNr) { // msg from old process is okay... nr_usr1_lineNumber++; isOldProcess = 1; } else { if(m_nr != msgSeqNr) { if(msgSeqNr == 1) { if(!end_seen) { err++; fprintf(stderr, "ERROR on line %ld: wrong sequence, server restart? (expect %."SEQDIG"ld)\n", lineNumber, m_nr); } } else { err++; fprintf(stderr, "ERROR on line %ld: wrong sequence (expect %."SEQDIG"ld)\n", lineNumber, m_nr); } } else { // well done - this is the sequence number we expect } } } else if(m_logend) { // log should (if not rotated) start with message 1 if(msgSeqNr != 1) { fprintf(stderr, "NOTICE: log starts with sequence %."SEQDIG"ld, log rotation?" " (expect %."SEQDIG"d)\n", msgSeqNr, 1); } } if(valid && !isOldProcess) { // adjust m_nr = msgSeqNr; } } } else { err++; fprintf(stderr, "ERROR on line %ld: missing signature/sequence\n", lineNumber); } end_seen = 0; if(valid) { if(!isOldProcess) { m_nr++; } if(isSpecialLine(line, QS_END)) { if(nr_usr1_lineNumber == -1) { end_seen = 1; } else { nr_usr1_lineNumber = -1; // no more messages from an old process } } } } if(m_logend && !end_seen) { fprintf(stderr, "NOTICE: no end marker seen, log rotation? (expect %."SEQDIG"ld)\n", m_nr); } return err; } static void usage(char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - an utility to sign and verify the integrity of log data.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -s|S [-e] [-v] [-u ] [-f ] [-a 'sha1'|'sha256']\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s is a log data integrity check tool. It reads log data\n", cmd); qs_man_print(man, "from stdin (pipe) and writes the data to stdout adding a sequence\n"); qs_man_print(man, "number and signature to ever log line.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -s \n"); if(man) printf("\n"); qs_man_print(man, " Passphrase used to calculate signature.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -S \n"); if(man) printf("\n"); qs_man_print(man, " Specifies a program which writes the passphrase to stdout.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -e\n"); if(man) printf("\n"); qs_man_print(man, " Writes start/end marker when starting/stopping data signing.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -v\n"); if(man) printf("\n"); qs_man_print(man, " Verification mode checking the integrity of signed data.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -u \n"); if(man) printf("\n"); qs_man_print(man, " Becomes another user, e.g. www-data.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -f \n"); if(man) printf("\n"); qs_man_print(man, " Filter pattern (case sensitive regular expression) for messages\n"); qs_man_print(man, " which do not need to be signed.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -a 'sha1'|'sha256'\n"); if(man) printf("\n"); qs_man_print(man, " Specifies the algorithm to use. Default is sha1.\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); printf("Sign:\n"); printf("\n"); } else { printf("Example (sign):\n"); } qs_man_println(man, " TransferLog \"|/usr/bin/%s -s password -e |/usr/bin/qsrotate -o /var/log/apache/access.log\"\n", cmd); printf("\n"); if(man) { printf("\n"); printf("Verify:\n"); printf("\n"); } else { qs_man_print(man, "Example (verify):\n"); } qs_man_println(man, " cat access.log | %s -s password -v\n", cmd); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } int main(int argc, const char * const argv[]) { apr_pool_t *pool; int verify = 0; char *cmd = strrchr(argv[0], '/'); const char *username = NULL; const char *filter = NULL; if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); m_evp = EVP_sha1(); argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-s") == 0) { if (--argc >= 1) { m_sec = *(++argv); } } else if(strcmp(*argv,"-S") == 0) { if (--argc >= 1) { m_sec = qs_readpwd(pool, *(++argv)); } } else if(strcmp(*argv,"-v") == 0) { verify = 1; } else if(strcmp(*argv,"-e") == 0) { m_logend = 1; } else if(strcmp(*argv,"-u") == 0) { /* switch user id */ if (--argc >= 1) { username = *(++argv); } } else if(strcmp(*argv,"-f") == 0) { /* filter */ if (--argc >= 1) { filter = *(++argv); } } else if(strcmp(*argv,"-a") == 0) { /* set alg */ if (--argc >= 1) { const char *alg = *(++argv); if(strcasecmp(alg, "SHA256") == 0) { m_evp = EVP_sha256(); } else if(strcasecmp(alg, "SHA1") != 0) { m_evp = NULL; } } else { m_evp = NULL; } } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } argc--; argv++; } if(filter != NULL) { m_filter = apr_palloc(pool, sizeof(qs_regex_t)); if(qs_regcomp(m_filter, filter, 0) != 0) { fprintf(stderr, "failed to compile filter pattern <%s>\n", filter); exit(1); } apr_pool_pre_cleanup_register(pool, m_filter, qs_pregfree); } if(m_evp == NULL) { usage(cmd, 0); } if(m_sec == NULL) { usage(cmd, 0); } qs_setuid(username, cmd); if(verify) { long err = qs_verify(m_sec); if(err != 0) { return 1; } } else { if(m_logend) { signal(SIGTERM, qs_signal_exit); } qs_sign(m_sec); if(m_logend && (m_end != NULL)) { m_end(m_sec, 0); } } apr_pool_destroy(pool); return 0; } mod_qos-11.74/tools/src/qslog.c0000664000000000000020000022467314431415521014714 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * Utilities for the quality of service module mod_qos. * * qslog.c: Real time access log data correlation. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qslog.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include #include #include #include #include #include #include /* apr */ #include #include #include #include #define PCRE2_CODE_UNIT_WIDTH 8 #include #include "qs_util.h" /* ---------------------------------- * definitions * ---------------------------------- */ #define ACTIVE_TIME 600 /* how long is a client "active" (ip addresses seen in the log) */ #define LOG_INTERVAL 60 /* log interval ist 60 sec, don't change this value */ #define QS_GC_INTERVAL 10 #define LOG_DET ".detailed" #define RULE_DELIM ':' #define MAX_CLIENT_ENTRIES 25000 #define MAX_EVENT_ENTRIES 50000 #define NUM_EVENT_TABLES 8 #define QS_GENERATIONS 14 #define EVENT_DELIM ',' #define QSEVENTPATH "QSEVENTPATH" /* variable name to find event definitions */ #define QSCOUNTERPATH "QSCOUNTERPATH" /* counter rule definitions */ #define COUNTER_PATTERN "([a-zA-Z0-9_]+):([a-zA-Z0-9_]+)[-]([0-9]+)[*]([a-zA-Z0-9_]+)[/]([0-9]+)=([0-9]+)" /* ---------------------------------- * structures * ---------------------------------- */ typedef struct { const char *name; int limit; int count; int total; time_t start; int duration; const char *inc; const char *dec; int decVal; } counter_rec_t; typedef struct { unsigned long long lines; unsigned long long ms; unsigned long long pivot[21]; } duration_t; typedef struct { long request_count; long status_1; long status_2; long status_3; long status_4; long status_5; long long duration_count_ms; } url_rec_t; typedef struct { long request_count; long error_count; long long byte_count; long long duration; long long duration_count_ms; long duration_0; long duration_1; long duration_2; long duration_3; long duration_4; long duration_5; long duration_6; long status_1; long status_2; long status_3; long status_4; long status_5; long status_304; long connections; unsigned long max; apr_table_t *events; apr_table_t *counters; apr_pool_t *pool; long get; long post; long html; long img; long cssjs; long other; time_t start_s; time_t end_s; long firstLine; long lastLine; } client_rec_t; typedef struct stat_rec_st { // id char *id; regex_t preg; struct stat_rec_st *next; // counters long line_count; long long i_byte_count; long long byte_count; long long duration_count; long long duration_count_ms; long duration_49; long duration_99; long duration_499; long duration_999; long duration_0; long duration_1; long duration_2; long duration_3; long duration_4; long duration_5; long duration_6; long connections; unsigned long long sum; unsigned long long average; long average_count; unsigned long long averAge; long averAge_count; unsigned long max; duration_t total; long status_1; long status_2; long status_3; long status_4; long status_5; long qos_V; long qos_v; long qos_s; long qos_d; long qos_k; long qos_t; long qos_l; long qos_ser; long qos_a; long qos_u; apr_table_t *events; apr_pool_t *pool; } stat_rec_t; typedef struct qs_event_st { char *id; /**< id, e.g. ip address or client correlator string */ time_t time; /**< last update, used for expiration */ long count; /**< event count/updates */ } qs_event_t; /* ---------------------------------- * global stat counter * ---------------------------------- */ static stat_rec_t* m_stat_rec; static stat_rec_t* m_stat_sub = NULL; static time_t m_qs_expiration = 60 * 10; static apr_table_t *m_ip_list[NUM_EVENT_TABLES]; /* IP session store */ static int m_ip_log_max = 0; /* already reached store limit */ static apr_table_t *m_user_list[NUM_EVENT_TABLES]; /* user session store */ static int m_usr_log_max = 0; /* already reached store limit */ static int m_hasGC = 0; /* sep. gc thread or not */ static qs_event_t **m_gc_event_list = NULL; /* list of entries to delete */ /* output file */ static FILE *m_f = NULL; static FILE *m_f2 = NULL; static char m_file_name[MAX_LINE]; static char m_file_name2[MAX_LINE]; static int m_rotate = 0; static int m_generations = QS_GENERATIONS; /* regex to search the time string */ static regex_t m_trx_access; static regex_t m_trx_j; static regex_t m_trx_g; /* real time mode (default) or offline */ static int m_off = 0; static int m_offline = 0; static int m_offline_s = 0; static int m_offline_data = 0; static char m_date_str[MAX_LINE]; static int m_mem = 0; static int m_avms = 0; static int m_ct = 0; static int m_customcounter = 0; static apr_table_t *m_client_entries = NULL; static int m_max_entries = 0; static int m_offline_count = 0; static apr_table_t *m_url_entries = NULL; static int m_offline_url = 0; static int m_offline_url_cropped = 0; static int m_methods = 0; /* debug/offline */ static long m_lines = 0; static int m_verbose = 0; /* enable/disable event counter */ static int m_hasEV = 0; /* events ----------------------------------------------------- */ /* * sets the expiration for events */ void qs_setExpiration(time_t sec) { m_qs_expiration = sec; } /* * creates a new event entry */ static qs_event_t *qs_newEvent(const char *id) { qs_event_t *ev = calloc(sizeof(qs_event_t), 1); ev->id = calloc(strlen(id) + 1, 1); strcpy(ev->id, id); qs_time(&ev->time); ev->count = 1; return ev; } /* * deletes an event */ void qs_freeEvent(qs_event_t *ev) { free(ev->id); free(ev); } /** * Defines in which of the NUM_EVENT_TABLES session stores * the id shall be added. * * @param str Session ID to store * @return The id of the storage table (0 <= n < NUM_EVENT_TABLES) */ static int qs_tableSelector(const char *str) { int num = 0; int len = strlen(str); if(len > 3) { if(str[len-1] == '=' || str[len-1] == '\'' || str[len-1] == '"') { len--; } } if(str[0] % 2 == 1) { num += 1; } if(len > 1) { if(str[len-1] % 2 == 1) { num += 2; } if(len > 2) { if(str[len-2] % 2 == 1) { num += 4; } } } return num; } /** * Inserts an event entry and deletes expired. * * @param l_qs_event Pointer to the event list. * @param id Identifier, e.g. IP address or user tracking cookie * @param type which counter is used (either 'I' or 'U') * @return event counter (number of updates) for the provided id */ static long qs_insertEventT(apr_table_t **list0, const char *id, const char *type) { qs_event_t *lp; int select = qs_tableSelector(id); apr_table_t *list = list0[select]; lp = (qs_event_t *)apr_table_get(list, id); if(lp) { // exists qs_time(&lp->time); lp->count++; return lp->count; } if(apr_table_elts(list)->nelts >= MAX_EVENT_ENTRIES) { if((type[0] == 'I' && m_ip_log_max == 0) || (type[0] == 'U' && m_usr_log_max == 0)) { char time_string[1024]; time_t tm = time(NULL); struct tm *ptr = localtime(&tm); strftime(time_string, sizeof(time_string), "%a %b %d %H:%M:%S %Y", ptr); fprintf(stderr, "[%s] [notice] qslog: reached event (%s) count limit\n", time_string, type); if(type[0] == 'I') { m_ip_log_max = 1; } if(type[0] == 'U') { m_usr_log_max = 1; } } return 0; } lp = qs_newEvent(id); apr_table_setn(list, lp->id, (char *)lp); return lp->count; } /** * deletes expired events */ static void gcTable(apr_table_t *list) { int max = 0; int i; apr_table_entry_t *entry; time_t gmt_time; qs_time(&gmt_time); if(m_hasGC) { qs_csLock(); } // collect expired events... entry = (apr_table_entry_t *) apr_table_elts(list)->elts; for(i = 0; i < apr_table_elts(list)->nelts; i++) { qs_event_t *lp = (qs_event_t *)entry[i].val; if(lp->time < (gmt_time - m_qs_expiration)) { m_gc_event_list[max] = lp; max++; } } // ...remove... for(i = 0; i < max; i++) { if(m_hasGC) { /* we don't want to hold a lock for a long time => temp release the lock letting the pipe-buffer recover */ if(i % 10 == 9) { qs_csUnLock(); // wait 1ms apr_sleep(1000); qs_csLock(); } } apr_table_unset(list, m_gc_event_list[i]->id); } if(m_hasGC) { qs_csUnLock(); } // ...and delete them for(i = 0; i < max; i++) { qs_freeEvent(m_gc_event_list[i]); } } /** * Returns the number of events * * @param event table * @return Number of entries */ static long qs_countEventT(apr_table_t **list) { int count = 0; int t; if(!m_hasGC) { for(t = 0; t < NUM_EVENT_TABLES; t++) { gcTable(list[t]); } } for(t = 0; t < NUM_EVENT_TABLES; t++) { count += apr_table_elts(list[t])->nelts; } return count; } /** * Calls the event table GC */ static void *gcThread(void *argv) { int t; m_hasGC = 1; while(1) { sleep(QS_GC_INTERVAL); for(t = 0; t < NUM_EVENT_TABLES; t++) { gcTable(m_ip_list[t]); gcTable(m_user_list[t]); } } return NULL; } /* ------------------------------------------------------------ */ /** * Helper to print an error message when terminating * the program due to an unexpected error. */ static void qerror(const char *fmt,...) { char buf[MAX_LINE]; va_list args; time_t t = time(NULL); char *time_string = ctime(&t); va_start(args, fmt); vsprintf(buf, fmt, args); time_string[strlen(time_string) - 1] = '\0'; fprintf(stderr, "[%s] [error] qslog: %s\n", time_string, buf); fflush(stderr); } /* * Similar to standard strstr() but we ignore case in this version. * see server/util.c */ static char *qsstrcasestr(const char *s1, const char *s2) { char *p1, *p2; if (*s2 == '\0') { /* an empty s2 */ return((char *)s1); } while(1) { for ( ; (*s1 != '\0') && (tolower(*s1) != tolower(*s2)); s1++); if (*s1 == '\0') { return(NULL); } /* found first character of s2, see if the rest matches */ p1 = (char *)s1; p2 = (char *)s2; for (++p1, ++p2; tolower(*p1) == tolower(*p2); ++p1, ++p2) { if (*p1 == '\0') { /* both strings ended together */ return((char *)s1); } } if (*p2 == '\0') { /* second string ended, a match */ break; } /* didn't find a match here, try starting at next character in s1 */ s1++; } return((char *)s1); } /* * skip an element to the next space */ static char *skipElement(const char* line) { char *p = (char *)line; /* check for quotes (double or single) */ char delim = p[0]; if(delim == '\'' || delim == '\"') { p++; // read while we found an '" '" which is not escaped while(p[0] != 0 && !(p[0] == delim && p[-1] != '\\' && (p[1] == '\0' || p[1] == ' '))) { p++; } p++; } else { char *eq = NULL; if(m_off) { // offline mode: check for ='' entry eq = strstr(p, "='"); if(eq && (eq - p) < 10) { // near hit p = &eq[3]; while(p[0] != '\'' && p[0] != 0 && p[-1] != '\\') { p++; } p++; } else { // something else... eq=NULL; } } if(!eq) { while(p[0] != ' ' && p[0] != 0) { p++; } } } while(p[0] == ' ') { p++; } return p; } /** * Cut fp */ static void qsNoFloat(char *s) { char *pn = strchr(s, '.'); if(pn) { pn[0] = '\0'; } else { pn = strchr(s, ','); if(pn) { pn[0] = '\0'; } } } /** * Strip a number. */ static void stripNum(char **p) { char *s = *p; int len; while(s && s[0] && (s[0] < '0' || s[0] > '9')) { s++; } len = strlen(s); while(len > 0 && (s[len] < '0' || s[len] > '9')) { s[len] = '\0'; len--; } *p = s; } /** * Get and cut an element. * * @param line Line to parse for the next element. * @return Pointer to the next element. */ static char *cutNext(char **line) { char *c = *line; char *p = skipElement(*line); char delim; *line = p; if(p[0]) { p--; p[0] = '\0'; } /* cut leading and tailing " */ delim = c[0]; if(delim == '\'' || delim == '\"') { int len; c++; len = strlen(c); while(len > 0 && c[strlen(c)-1] == delim) { c[strlen(c)-1] = '\0'; len--; } } return c; } /** * Calculates the free system memory. Experimental code. * Tested on Solaris (calling vmstat) and Linux (reading * from /proc/meminfo). * * @param buf Buffer to write result to * @sz Max. length of the buffer */ static void getFreeMem(char *buf, int sz) { FILE *f = fopen("/proc/meminfo", "r"); int mem = 0; buf[0] = '\0'; if(f) { char line[MAX_LINE]; while(!qs_getLinef(line, sizeof(line), f)) { if(strncmp(line, "MemFree: ", 9) == 0) { char *c = &line[9]; char *e; while(c[0] && ((c[0] == ' ') || (c[0] == '\t'))) c++; e = c; while(e[0] && (e[0] != ' ')) e++; e[0] = '\0'; mem = mem + atoi(c); } if(strncmp(line, "Cached: ", 8) == 0) { char *c = &line[8]; char *e; while(c[0] && ((c[0] == ' ') || (c[0] == '\t'))) c++; e = c; while(e[0] && (e[0] != ' ')) e++; e[0] = '\0'; mem = mem + atoi(c); } } fclose(f); snprintf(buf, sz, "%d", mem); } else { // non linux //#ifdef _SC_AVPHYS_PAGES // long pageSize = sysconf(_SC_PAGESIZE); // long freePages = sysconf(_SC_AVPHYS_PAGES); // mem = pageSize * freePages / 1024; // snprintf(buf, sz, "%d", mem); //#else /* fallback using vmstat (experimental code) */ char vmstat[] = "/usr/bin/vmstat"; struct stat attr; if(stat(vmstat, &attr) == 0) { char command[1024]; char outfile[1024]; snprintf(outfile, sizeof(outfile), "/tmp/qslog.%d", getpid()); snprintf(command, sizeof(command), "%s 1 2 1>%s", vmstat, outfile); system(command); f = fopen(outfile, "r"); if(f) { char line[MAX_LINE]; int i = 1; while(!qs_getLinef(line, sizeof(line), f)) { if(i == 4) { // free memory only (ignores cache) int j = 0; char *p = line; while(p && j < 4) { p++; p = strchr(p, ' '); j++; } if(p && (j == 4)) { char *e; p++; e = strchr(p, ' '); if(e) { e[0] = '\0'; snprintf(buf, sz, "%s", p); } } break; } i++; } fclose(f); unlink(outfile); } } //#endif } } /* value names in csv output */ #define NRS "r/s" #define NBS "b/s" #define NBIS "ib/s" #define NAV "av" #define NAVMS "avms" /** * Writes the statistic entry stat_rec to the file. * * @param f File to write to * @param timeStr Time string (prefix) * @param stat_rec Data to write * @offline Offline mode (less data, e.g. no load) * @param main Indicates if it is the main log or a sub entry for the detailed log * @param av Load * @param mem Free memory */ static void printStat2File(FILE *f, char *timeStr, stat_rec_t *stat_rec, int offline, int main, double *av, const char *mem) { char bis[256]; char esco[256]; char ip[256]; char usr[256]; char avms[256]; char custom[256]; bis[0] = '\0'; esco[0] = '\0'; avms[0] = '\0'; custom[0] = '\0'; m_ip_log_max = 0; m_usr_log_max = 0; if(stat_rec->i_byte_count != -1) { sprintf(bis, NBIS";%lld;", stat_rec->i_byte_count/LOG_INTERVAL); } if(main && stat_rec->connections != -1) { sprintf(esco, "esco;%ld;", stat_rec->connections); } if(m_avms) { sprintf(avms, NAVMS";%lld;", stat_rec->duration_count_ms/(stat_rec->line_count == 0 ? 1 : stat_rec->line_count)); // improve accuracy (rounding errors): stat_rec->duration_count = stat_rec->duration_count_ms / 1000; } if(m_customcounter) { // max len: 18446744073709551615 sprintf(custom, "s;%llu;a;%llu;A;%llu;M;%lu;", stat_rec->sum, stat_rec->average / (stat_rec->average_count == 0 ? 1 : stat_rec->average_count), stat_rec->averAge / (stat_rec->averAge_count == 0 ? 1 : stat_rec->averAge_count), stat_rec->max); } if(main) { sprintf(ip, "ip;%ld;", qs_countEventT(m_ip_list)); sprintf(usr, "usr;%ld;", qs_countEventT(m_user_list)); } else { ip[0] = '\0'; usr[0] = '\0'; } fprintf(f, "%s;" "%s" NRS";%ld;" "req;%ld;" NBS";%lld;" "%s" "%s" "1xx;%ld;" "2xx;%ld;" "3xx;%ld;" "4xx;%ld;" "5xx;%ld;" "%s" NAV";%lld;", timeStr, main ? "" : stat_rec->id, stat_rec->line_count/LOG_INTERVAL, stat_rec->line_count, stat_rec->byte_count/LOG_INTERVAL, bis, esco, stat_rec->status_1, stat_rec->status_2, stat_rec->status_3, stat_rec->status_4, stat_rec->status_5, avms, stat_rec->duration_count/(stat_rec->line_count == 0 ? 1 : stat_rec->line_count)); if(m_avms) { fprintf(f, "0-49ms;%ld;" "50-99ms;%ld;" "100-499ms;%ld;" "500-999ms;%ld;", stat_rec->duration_49, stat_rec->duration_99, stat_rec->duration_499, stat_rec->duration_999); } fprintf(f, "<1s;%ld;" "1s;%ld;" "2s;%ld;" "3s;%ld;" "4s;%ld;" "5s;%ld;" ">5s;%ld;" "%s" "%s" , stat_rec->duration_0, stat_rec->duration_1, stat_rec->duration_2, stat_rec->duration_3, stat_rec->duration_4, stat_rec->duration_5, stat_rec->duration_6, ip, usr ); if(m_hasEV) { fprintf(f, "qV;%ld;" "qv;%ld;" "qS;%ld;" "qD;%ld;" "qK;%ld;" "qT;%ld;" "qL;%ld;" "qs;%ld;" "qA;%ld;" "qu;%ld;", stat_rec->qos_V, stat_rec->qos_v, stat_rec->qos_s, stat_rec->qos_d, stat_rec->qos_k, stat_rec->qos_t, stat_rec->qos_l, stat_rec->qos_ser, stat_rec->qos_a, stat_rec->qos_u); } fprintf(f, "%s", custom); stat_rec->line_count = 0; stat_rec->byte_count = 0; if(stat_rec->i_byte_count != -1) { stat_rec->i_byte_count = 0; } if(main && (stat_rec->connections != -1)) { stat_rec->connections = 0; } stat_rec->sum = 0; stat_rec->average = 0; stat_rec->average_count = 0; stat_rec->averAge = 0; stat_rec->averAge_count = 0; stat_rec->max = 0; stat_rec->status_1 = 0; stat_rec->status_2 = 0; stat_rec->status_3 = 0; stat_rec->status_4 = 0; stat_rec->status_5 = 0; stat_rec->duration_count = 0; stat_rec->duration_count_ms = 0; stat_rec->duration_49 = 0; stat_rec->duration_99 = 0; stat_rec->duration_499 = 0; stat_rec->duration_999 = 0; stat_rec->duration_0 = 0; stat_rec->duration_1 = 0; stat_rec->duration_2 = 0; stat_rec->duration_3 = 0; stat_rec->duration_4 = 0; stat_rec->duration_5 = 0; stat_rec->duration_6 = 0; stat_rec->qos_V = 0; stat_rec->qos_v = 0; stat_rec->qos_s = 0; stat_rec->qos_d = 0; stat_rec->qos_k = 0; stat_rec->qos_t = 0; stat_rec->qos_l = 0; stat_rec->qos_ser = 0; stat_rec->qos_a = 0; stat_rec->qos_u = 0; if(main) { if(!offline) { fprintf(f, "sl;%.2f;", av[0]); if(m_mem) { fprintf(f, "m;%s;", mem[0] ? mem : "-"); } } else { m_offline_data = 0; } } if(apr_table_elts(stat_rec->events)->nelts > 0) { int i; apr_table_entry_t *entry = (apr_table_entry_t *) apr_table_elts(stat_rec->events)->elts; for(i = 0; i < apr_table_elts(stat_rec->events)->nelts; i++) { const char *eventName = entry[i].key; int *eventVal = (int *)entry[i].val; fprintf(f, "%s;%d;", eventName, *eventVal); (*eventVal) = 0; } } fprintf(f, "\n"); } /** * updates the counter by event or status conditions */ static void qs_updateCounter(apr_pool_t *pool, char *E, char *S, apr_table_t *counters) { time_t ltime; apr_table_entry_t *entry; int i; if(counters == NULL) { return; } if(S == 0 && E == NULL) { return; } qs_time(<ime); entry = (apr_table_entry_t *) apr_table_elts(counters)->elts; for(i = 0; i < apr_table_elts(counters)->nelts; i++) { counter_rec_t *c = (counter_rec_t *)entry[i].val; if(c->start && ((c->start + c->duration) < ltime)) { // expired c->start = 0; c->count = 0; } } for(i = 0; i < apr_table_elts(counters)->nelts; i++) { counter_rec_t *c = (counter_rec_t *)entry[i].val; if(S) { if((strncmp(c->name, "STATUS", 6) == 0) && (strstr(c->inc, S) != NULL)) { if(c->start == 0) { c->start = ltime; } c->count++; if(c->count == c->limit) { c->total++; } } } if(E) { if(strstr(c->inc, E)) { if(c->start == 0) { c->start = ltime; } c->count++; if(strstr(c->dec, E)) { if(c->count > c->decVal) { c->count = c->count - c->decVal; } else { c->count = 0; } } if(c->count == c->limit) { c->total++; } } } } } static void qs_updateEvents(apr_pool_t *pool, char *E, apr_table_t *events) { if(!E[0]) { return; } while(E) { char *restore = NULL; char *sep = strchr(E, EVENT_DELIM); int *val; if(sep) { sep[0] = '\0'; restore = sep; sep++; } if(isalnum(E[0])) { val = (int *)apr_table_get(events, E); if(val) { (*val)++; } else { // new event char *name = apr_pstrdup(pool, E); val = apr_pcalloc(pool, sizeof(int)); (*val) = 1; apr_table_setn(events, name, (char *)val); } } E = sep; if(restore) { // supports multiple parsing of the event string restore[0] = EVENT_DELIM; } } } /** * Reads the counter rule file, each line contains: * :-*/= */ static void qsInitCounter(apr_pool_t *pool, apr_table_t *counters) { const char *envFile = getenv(QSCOUNTERPATH); if(envFile != NULL) { qs_regmatch_t regm[QS_MAX_REG_MATCH]; qs_regex_t *pcrestat = apr_palloc(pool, sizeof(qs_regex_t)); FILE *file = fopen(envFile, "r"); if(qs_regcomp(pcrestat, COUNTER_PATTERN, PCRE2_CASELESS) != 0) { fprintf(stderr, "ERROR, could not compile '%s'\n", COUNTER_PATTERN); exit(1); } apr_pool_pre_cleanup_register(pool, pcrestat, qs_pregfree); if(file != NULL) { char line[MAX_LINE]; while(!qs_getLinef(line, sizeof(line), file)) { if(qs_regexec_len(pcrestat, line, strlen(line), QS_MAX_REG_MATCH, regm, 0) >= 0) { counter_rec_t *c = apr_pcalloc(pool, sizeof(counter_rec_t)); c->name = apr_pstrndup(pool, &line[regm[1].rm_so], regm[1].rm_eo - regm[1].rm_so); c->count = 0; c->total = 0; c->start = 0; c->inc = apr_pstrndup(pool, &line[regm[2].rm_so], regm[2].rm_eo - regm[2].rm_so); c->decVal = atoi(apr_pstrndup(pool, &line[regm[3].rm_so], regm[3].rm_eo - regm[3].rm_so)); c->dec = apr_pstrndup(pool, &line[regm[4].rm_so], regm[4].rm_eo - regm[4].rm_so); c->duration = atoi(apr_pstrndup(pool, &line[regm[5].rm_so], regm[5].rm_eo - regm[5].rm_so)); c->limit = atoi(apr_pstrndup(pool, &line[regm[6].rm_so], regm[6].rm_eo - regm[6].rm_so)); if(m_verbose) { fprintf(stderr, "%s : %s - (%d * %s) / %d = %d\n", c->name, c->inc, c->decVal, c->dec, c->duration, c->limit); } apr_table_setn(counters, c->name, (char *)c); } } fclose(file); } } } /** * Initializes the event table by the events specified within the * file whose path is defined by the QSEVENTPATH environment * variable. * File contains event names, separated by comma and/or new line. * * @param pool To allocate memory * @param events Table to init */ static void qsInitEvent(apr_pool_t *pool, apr_table_t *events) { const char *envFile = getenv(QSEVENTPATH); if(envFile != NULL) { FILE *file = fopen(envFile, "r"); if(file != NULL) { char line[MAX_LINE]; while(!qs_getLinef(line, sizeof(line), file)) { char *p = line; char *name; int *val; while(p && p[0]) { /* file contains a list of known events (comma sep. event names on one or multiple lines) */ char *n = strchr(p, EVENT_DELIM); if(n) { n[0] = '\0'; n++; } name = apr_pstrdup(pool, p); val = apr_pcalloc(pool, sizeof(int)); (*val) = 0; apr_table_setn(events, name, (char *)val); p = n; } } fclose(file); } } } /** * Creates and init new status rec * * @param id Identification of the id * @param pattern Pattern to match the log data line * @return */ static stat_rec_t *createRec(apr_pool_t *pool, const char *id, const char *pattern) { stat_rec_t *rec = calloc(sizeof(stat_rec_t), 1); rec->id = calloc(strlen(id)+2, 1); sprintf(rec->id, "%s;", id); rec->id[strlen(id)+1] = '\0'; if(regcomp(&rec->preg, pattern, REG_EXTENDED)) { qerror("failed to compile pattern %s", pattern); exit(1); } rec->next = NULL; rec->line_count = 0; rec->i_byte_count = -1; rec->byte_count = 0; rec->duration_count = 0; rec->duration_count_ms = 0; rec->duration_49 = 0; rec->duration_99 = 0; rec->duration_499 = 0; rec->duration_999 = 0; rec->duration_0 = 0; rec->duration_1 = 0; rec->duration_2 = 0; rec->duration_3 = 0; rec->duration_4 = 0; rec->duration_5 = 0; rec->duration_6 = 0; rec->connections = -1; rec->sum = 0; rec->average = 0; rec->average_count = 0; rec->averAge = 0; rec->averAge_count = 0; rec->max = 0; rec->total.lines = 0; rec->total.ms = 0; { int p = 0; for(p = 0; p < 21; p++) { rec->total.pivot[p] = 0; } } rec->status_1 = 0; rec->status_2 = 0; rec->status_3 = 0; rec->status_4 = 0; rec->status_5 = 0; rec->qos_V = 0; rec->qos_v = 0; rec->qos_s = 0; rec->qos_d = 0; rec->qos_k = 0; rec->qos_t = 0; rec->qos_l = 0; rec->qos_ser = 0; rec->qos_a = 0; rec->qos_u = 0; rec->events = apr_table_make(pool, 300); rec->pool = pool; qsInitEvent(pool, rec->events); return rec; } /** * Retrieves the best matching record (longest match( * * @param Parameter to match, e.g. URL * @return Matching entry (NULL if no match) */ static stat_rec_t *getRec(const char *value) { regmatch_t ma[1]; int len = 0; stat_rec_t *r = m_stat_sub; stat_rec_t *rec = NULL; while(r) { if(regexec(&r->preg, value, 1, ma, 0) == 0) { int l = ma[0].rm_eo - ma[0].rm_so + 1; if(l > len) { // longest match len = l; rec = r; } } r = r->next; } return rec; } /** * writes all stat data to the out file * an resets all counters. * * @param timeStr */ static void printAndResetStat(char *timeStr) { stat_rec_t *r = m_stat_sub; double av[1]; char mem[256]; if(!m_offline) { getloadavg(av, 1); if(m_mem) { getFreeMem(mem, sizeof(mem)); } else { mem[0] = '\0'; } } else { mem[0] = '\0'; } qs_csLock(); printStat2File(m_f, timeStr, m_stat_rec, m_offline, 1, av, mem); while(r) { printStat2File(m_f2, timeStr, r, m_offline, 0, av, mem); r = r->next; } qs_csUnLock(); fflush(m_f); if(m_f2) { fflush(m_f2); } } /** * Updates the per url records */ static void updateUrl(apr_pool_t *pool, char *R, char *S, long tmems) { url_rec_t *url_rec; char *marker; if(R == NULL) { return; } if(!isalpha(R[0])) { fprintf(stdout, "A(%ld)", m_lines); return; } marker = strchr(R, ' '); if(marker == NULL) { fprintf(stdout, "E(%ld)", m_lines); return; } marker[0] = ';'; marker = strrchr(R, ' '); if(marker) { marker[0] = '\0'; } marker = strchr(R, '?'); if(marker) { marker[0] = '\0'; } if(m_offline_url_cropped) { char *root = strchr(R, '/'); marker = strrchr(R, '/'); if(marker && marker != root) { marker[0] = '\0'; } } url_rec = (url_rec_t *)apr_table_get(m_url_entries, R); if(url_rec == NULL) { if(apr_table_elts(m_url_entries)->nelts >= MAX_CLIENT_ENTRIES) { // limitation if(!m_max_entries) { fprintf(stderr, "\nreached max url entries (%d)\n", MAX_CLIENT_ENTRIES); m_max_entries = 1; } return; } url_rec = apr_pcalloc(pool, sizeof(url_rec_t)); url_rec->request_count = 0; url_rec->status_1 = 0; url_rec->status_2 = 0; url_rec->status_3 = 0; url_rec->status_4 = 0; url_rec->status_5 = 0; url_rec->duration_count_ms = 0; apr_table_setn(m_url_entries, apr_pstrdup(pool, R), (char *)url_rec); } url_rec->request_count++; if(S) { if(S[0] == '1') { url_rec->status_1++; } else if(S[0] == '1') { url_rec->status_1++; } else if(S[0] == '2') { url_rec->status_2++; } else if(S[0] == '3') { url_rec->status_3++; } else if(S[0] == '4') { url_rec->status_4++; } else if(S[0] == '5') { url_rec->status_5++; } } url_rec->duration_count_ms += tmems; } /** * Updates the per client record */ static void updateClient(apr_pool_t *pool, char *T, char *t, char *D, char *S, char *BI, char *B, char *R, char *I, char *U, char *Q, char *E, char *k, char *C, char *M, char *ct, long tme, long tmems, char *m) { client_rec_t *client_rec; const char *id = I; // ip if(id == NULL) { id = U; // user } if(id == NULL) { return; } client_rec = (client_rec_t *)apr_table_get(m_client_entries, id); if(client_rec == NULL) { char *tid; if(apr_table_elts(m_client_entries)->nelts >= MAX_CLIENT_ENTRIES) { // limitation: speed (table to big) and memory if(!m_max_entries) { fprintf(stderr, "\nreached max client entries (%d)\n", MAX_CLIENT_ENTRIES); m_max_entries = 1; } return; } tid = calloc(strlen(id)+1, 1); client_rec = calloc(sizeof(client_rec_t), 1); strcpy(tid, id); tid[strlen(id)] = '\0'; client_rec->request_count = 0; client_rec->error_count = 0; client_rec->byte_count = 0; client_rec->duration = 0; client_rec->duration_count_ms = 0; client_rec->duration_0 = 0; client_rec->duration_1 = 0; client_rec->duration_2 = 0; client_rec->duration_3 = 0; client_rec->duration_4 = 0; client_rec->duration_5 = 0; client_rec->duration_6 = 0; client_rec->status_1 = 0; client_rec->status_2 = 0; client_rec->status_3 = 0; client_rec->status_4 = 0; client_rec->status_5 = 0; client_rec->status_304 = 0; client_rec->connections = 0; client_rec->max = 0; client_rec->events = apr_table_make(pool, 100); client_rec->counters = apr_table_make(pool, 10); client_rec->pool = pool; client_rec->get = 0; client_rec->post = 0; client_rec->html = 0; client_rec->img = 0; client_rec->cssjs = 0; client_rec->other = 0; qs_time(&client_rec->start_s); client_rec->end_s = client_rec->start_s + 1; // +1 prevents div by 0 client_rec->firstLine = m_lines; qsInitEvent(pool, client_rec->events); qsInitCounter(pool, client_rec->counters); apr_table_setn(m_client_entries, tid, (char *)client_rec); } else { qs_time(&client_rec->end_s); } client_rec->lastLine = m_lines; client_rec->request_count++; client_rec->duration += tme; client_rec->duration_count_ms += tmems; if(k != NULL) { if(k[0] == '0' && k[1] == '\0') { client_rec->connections++; } } if(tme < 1) { client_rec->duration_0++; } else if(tme == 1) { client_rec->duration_1++; } else if(tme == 2) { client_rec->duration_2++; } else if(tme == 3) { client_rec->duration_3++; } else if(tme == 4) { client_rec->duration_4++; } else if(tme == 5) { client_rec->duration_5++; } else { client_rec->duration_6++; } if(B != NULL) { client_rec->byte_count += atol(B); } if(ct) { if(qsstrcasestr(ct, "html")) { client_rec->html++; } else if(qsstrcasestr(ct, "image")) { client_rec->img++; } else if(qsstrcasestr(ct, "css")) { client_rec->cssjs++; } else if(qsstrcasestr(ct, "javascript")) { client_rec->cssjs++; } else { client_rec->other++; } } if(M && M[0]) { long max = atol(M); if(max > client_rec->max) { client_rec->max = max; } } if(m) { if(strcasecmp(m, "get") == 0) { client_rec->get++; } else if(strcasecmp(m, "post") == 0) { client_rec->post++; } } if(S != NULL) { if(strcmp(S, "200") != 0 && strcmp(S, "304") != 0 && strcmp(S, "302") != 0) { client_rec->error_count++; } if(S[0] == '1') { client_rec->status_1++; } else if(S[0] == '1') { client_rec->status_1++; } else if(S[0] == '2') { client_rec->status_2++; } else if(S[0] == '3') { client_rec->status_3++; if(S[1] == '0' && S[2] == '4') { client_rec->status_304++; } } else if(S[0] == '4') { client_rec->status_4++; } else if(S[0] == '5') { client_rec->status_5++; } } if(E != NULL) { qs_updateEvents(client_rec->pool, E, client_rec->events); } qs_updateCounter(client_rec->pool, E, S, client_rec->counters); return; } /** * Updates standard record */ static void updateRec(stat_rec_t *rec, char *T, char *t, char *D, char *S, char *s, char *a, char *A, char *BI, char *B, char *R, char *I, char *U, char *Q, char *E, char *k, char *C, char *M, long tme, long tmems) { if(Q != NULL) { if(strchr(Q, 'V') != NULL) { rec->qos_V++; } if(strchr(Q, 'v') != NULL) { rec->qos_v++; } if(strchr(Q, 'S') != NULL) { rec->qos_s++; } if(strchr(Q, 'D') != NULL) { rec->qos_d++; } if(strchr(Q, 'K') != NULL) { rec->qos_k++; } if(strchr(Q, 'T') != NULL) { rec->qos_t++; } if(strchr(Q, 'L') != NULL) { rec->qos_l++; } if(strchr(Q, 's') != NULL) { rec->qos_ser++; } if(strchr(Q, 'A') != NULL) { rec->qos_a++; } if(strchr(Q, 'u') != NULL) { rec->qos_u++; } } if(E != NULL) { qs_updateEvents(rec->pool, E, rec->events); } if(I != NULL) { /* update/store client IP */ qs_insertEventT(m_ip_list, I, "I"); } if(U != NULL) { /* update/store user */ qs_insertEventT(m_user_list, U, "U"); } if(B != NULL) { /* transferred bytes */ rec->byte_count += atoi(B); } if(BI != NULL) { /* transferred bytes */ rec->i_byte_count += atoi(BI); } if(k != NULL) { if(k[0] == '0' && k[1] == '\0') { rec->connections++; } } if(s != NULL) { rec->sum += atol(s); } if(a != NULL && a[0]) { rec->average += atol(a); rec->average_count++; } if(A != NULL && A[0]) { rec->averAge += atol(A); rec->averAge_count++; } if(M && M[0]) { long max = atol(M); if(max > rec->max) { rec->max = max; } } if(S != NULL) { if(S[0] == '1') { rec->status_1++; } else if(S[0] == '1') { rec->status_1++; } else if(S[0] == '2') { rec->status_2++; } else if(S[0] == '3') { rec->status_3++; } else if(S[0] == '4') { rec->status_4++; } else if(S[0] == '5') { rec->status_5++; } } if(T != NULL || t != NULL || D != NULL) { /* response duration */ rec->duration_count += tme; rec->duration_count_ms += tmems; if(m_offline_s) { long min = 0; long max = 50; int p; rec->total.lines++; rec->total.ms += tmems; for(p = 0; p < 20; p++) { // 0ms <= time < 50ms etc. if((min <= tmems) && (tmems < max)) { rec->total.pivot[p]++; break; } min = max; max += 50; } if(tmems >= 1000) { // time >= 1000ms (20x50ms) rec->total.pivot[20]++; } } if(m_avms) { if(tmems < 49) { rec->duration_49++; } else if(50 <= tmems && tmems < 99) { rec->duration_99++; } else if(100 <= tmems && tmems < 499) { rec->duration_499++; } else if(500 <= tmems && tmems < 999) { rec->duration_999++; } } if(tme < 1) { rec->duration_0++; } else if(tme == 1) { rec->duration_1++; } else if(tme == 2) { rec->duration_2++; } else if(tme == 3) { rec->duration_3++; } else if(tme == 4) { rec->duration_4++; } else if(tme == 5) { rec->duration_5++; } else { rec->duration_6++; } } /* request counter */ rec->line_count++; } /* * updates the counters based on the information * found in the current access log line * * . = any string to skip till the next [space] * T = duration * B = bytes * * Example: * 127.0.0.1 [03/Nov/2006:21:06:41 +0100] "GET /index.html HTTP/1.1" 200 2836 "Wget/1.9.1" 0 * . . . R . T */ static void updateStat(apr_pool_t *pool, const char *cstr, char *line) { stat_rec_t *rec = NULL; char *T = NULL; /* time */ char *t = NULL; /* time ms */ char *D = NULL; /* time us */ char *S = NULL; /* status */ char *BI = NULL; /* bytes in */ char *B = NULL; /* bytes */ char *R = NULL; /* request line */ char *I = NULL; /* client ip */ char *U = NULL; /* user */ char *Q = NULL; /* mod_qos event message */ char *k = NULL; /* connections (keep alive requests = 0) */ char *C = NULL; /* custom patter matching the config file */ char *s = NULL; /* sum */ char *a = NULL; /* average 1 */ char *A = NULL; /* average 2 */ char *M = NULL; /* max */ char *E = NULL; /* events */ char *ct = NULL; /* content type */ char *m = NULL; /* method */ const char *c = cstr; char *l = line; long tme; long tmems; if(!line[0]) return; if(m_off) { m_lines++; } while(c[0]) { /* process known types */ if(c[0] == '.') { if(l != NULL && l[0] != '\0') { l = skipElement(l); } } else if(c[0] == 'T') { if(l != NULL && l[0] != '\0') { T = cutNext(&l); } } else if(c[0] == 't') { if(l != NULL && l[0] != '\0') { t = cutNext(&l); } } else if(c[0] == 'D') { if(l != NULL && l[0] != '\0') { D = cutNext(&l); } } else if(c[0] == 'S') { if(l != NULL && l[0] != '\0') { S = cutNext(&l); } } else if(c[0] == 'B') { if(l != NULL && l[0] != '\0') { B = cutNext(&l); } } else if(c[0] == 'i') { if(l != NULL && l[0] != '\0') { BI = cutNext(&l); } } else if(c[0] == 'k') { if(l != NULL && l[0] != '\0') { k = cutNext(&l); } } else if(c[0] == 'C') { if(l != NULL && l[0] != '\0') { C = cutNext(&l); } } else if(c[0] == 'c') { if(l != NULL && l[0] != '\0') { ct = cutNext(&l); } } else if(c[0] == 'm') { if(l != NULL && l[0] != '\0') { m = cutNext(&l); } } else if(c[0] == 'R') { if(l != NULL && l[0] != '\0') { R = cutNext(&l); } } else if(c[0] == 'I') { if(l != NULL && l[0] != '\0') { I = cutNext(&l); } } else if(c[0] == 'U') { if(l != NULL && l[0] != '\0') { U = cutNext(&l); } } else if(c[0] == 'Q') { if(l != NULL && l[0] != '\0') { Q = cutNext(&l); } } else if(c[0] == 's') { if(l != NULL && l[0] != '\0') { s = cutNext(&l); } } else if(c[0] == 'a') { if(l != NULL && l[0] != '\0') { a = cutNext(&l); } } else if(c[0] == 'A') { if(l != NULL && l[0] != '\0') { A = cutNext(&l); } } else if(c[0] == 'M') { if(l != NULL && l[0] != '\0') { M = cutNext(&l); } } else if(c[0] == 'E') { if(l != NULL && l[0] != '\0') { E = cutNext(&l); } } else if(c[0] == ' ') { /* do nothing */ } else { /* undefined/unknown char, skip it */ if(l != NULL && l[0] != '\0') { l++; } } c++; } if(C) { rec = getRec(C); } qs_csLock(); if(B != NULL) { /* transferred bytes */ stripNum(&B); } if(BI != NULL) { /* transferred bytes */ stripNum(&BI); } if(k != NULL) { stripNum(&k); } if(S != NULL) { stripNum(&S); } if(s != NULL) { stripNum(&s); qsNoFloat(s); } if(a != NULL) { stripNum(&a); qsNoFloat(a); } if(A != NULL) { stripNum(&A); qsNoFloat(A); } if(M != NULL) { stripNum(&M); qsNoFloat(M); } /* request duration */ tme = 0; tmems = 0; if(T) { stripNum(&T); tme = atol(T); } if(t) { stripNum(&t); tmems= atol(t); tme = tmems / 1000; } if(D) { stripNum(&D); tmems = atol(D); tmems = tmems / 1000; tme = tmems / 1000; } if(m_offline_count) { updateClient(pool, T, t, D, S, BI, B, R, I, U, Q, E, k, C, M, ct, tme, tmems, m); } else if(m_offline_url) { if((tmems) == 0 && (tme > 0)) { tmems = 1000 * tme; } updateUrl(pool, R, S, tmems); } else { updateRec(m_stat_rec, T, t, D, S, s, a, A, BI, B, R, I, U, Q, E, k, C, M, tme, tmems); if(rec) { updateRec(rec, T, t, D, S, s, a, A, BI, B, R, I, U, Q, E, k, C, M, tme, tmems); } } qs_csUnLock(); if(m_verbose && m_off) { printf("[%ld] I=[%s] U=[%s] B=[%s] i=[%s] S=[%s] T=[%ld](%ld) Q=[%s] E=[%s] k=[%s] R=[%s]\n", m_lines, I == NULL ? "(null)" : I, U == NULL ? "(null)" : U, B == NULL ? "(null)" : B, BI == NULL ? "(null)" : BI, S == NULL ? "(null)" : S, tme, tmems, Q == NULL ? "(null)" : Q, E == NULL ? "(null)" : E, k == NULL ? "(null)" : k, R == NULL ? "(null)" : R ); } line[0] = '\0'; } /* * convert month string to int */ static int mstr2i(const char *m) { if(strcmp(m, "Jan") == 0) return 1; if(strcmp(m, "Feb") == 0) return 2; if(strcmp(m, "Mar") == 0) return 3; if(strcmp(m, "Apr") == 0) return 4; if(strcmp(m, "May") == 0) return 5; if(strcmp(m, "Jun") == 0) return 6; if(strcmp(m, "Jul") == 0) return 7; if(strcmp(m, "Aug") == 0) return 8; if(strcmp(m, "Sep") == 0) return 9; if(strcmp(m, "Oct") == 0) return 10; if(strcmp(m, "Nov") == 0) return 11; if(strcmp(m, "Dec") == 0) return 12; return 0; } /** * Extracts the time from the log line using the * Apache access default time format (%t) */ static time_t getMinutesAccessLog(char *line, regmatch_t ma) { time_t minutes = 0; int buf_len = ma.rm_eo - ma.rm_so + 1; char buf[buf_len]; strncpy(buf, &line[ma.rm_so], ma.rm_eo - ma.rm_so); buf[ma.rm_eo - ma.rm_so] = '\0'; /* dd/MMM/yyyy:hh:mm:ss */ /* cut seconds */ buf[strlen(buf)-3] = '\0'; /* get minutes */ minutes = minutes + (atoi(&buf[strlen(buf)-2])); /* cut minutes */ buf[strlen(buf)-3] = '\0'; /* get hours */ minutes = minutes + (atoi(&buf[strlen(buf)-2]) * 60); /* store date information */ { char *year; char *month; char *day; /* cut hours */ buf[strlen(buf)-3] = '\0'; year = &buf[strlen(buf)-4]; /* cut year */ buf[strlen(buf)-5] = '\0'; month = &buf[strlen(buf)-3]; /* cut month */ buf[strlen(buf)-4] = '\0'; day = buf; snprintf(m_date_str, sizeof(m_date_str), "%s.%02d.%s", day, mstr2i(month), year); } return minutes; } /** * Extracts the time from the log line using the * the time patterns "yyyy mm dd hh:mm:ss,mmm" or * "yyyy mm dd hh:mm:ss.mmm" */ static time_t getMinutesJLog(char *line, regmatch_t ma) { time_t minutes = 0; int buf_len = ma.rm_eo - ma.rm_so + 1; char buf[buf_len]; strncpy(buf, &line[ma.rm_so], ma.rm_eo - ma.rm_so); buf[ma.rm_eo - ma.rm_so] = '\0'; /* yyyy mm dd hh:mm:ss,mmm */ /* cut seconds */ buf[strlen(buf)-7] = '\0'; /* get minutes */ minutes = minutes + (atoi(&buf[strlen(buf)-2])); /* cut minutes */ buf[strlen(buf)-3] = '\0'; /* get hours */ minutes = minutes + (atoi(&buf[strlen(buf)-2]) * 60); /* store date information */ { char *year; char *month; char *day; /* cut hours */ buf[strlen(buf)-3] = '\0'; day = &buf[strlen(buf)-2]; /* cut day */ buf[strlen(buf)-3] = '\0'; month = &buf[strlen(buf)-2]; /* cut month */ buf[strlen(buf)-3] = '\0'; year = buf; snprintf(m_date_str, sizeof(m_date_str), "%s.%s.%s", day, month, year); } return minutes; } /* * gets today's time in minutes from the access log line */ static time_t getMinutes(char *line) { regmatch_t ma[2]; if(regexec(&m_trx_access, line, 1, ma, 0) == 0) { return getMinutesAccessLog(line, ma[0]); } if(regexec(&m_trx_j, line, 1, ma, 0) == 0) { return getMinutesJLog(line, ma[0]); } if(regexec(&m_trx_g, line, 2, ma, 0) == 0) { time_t minutes = 0; int len = ma[1].rm_eo - ma[1].rm_so; char buf[len+1]; strncpy(buf, &line[ma[1].rm_so], len); buf[len] = '\0'; /* hh:mm */ buf[2] = '\0'; minutes = atoi(buf) * 60; minutes = minutes + atoi(&buf[3]); return minutes; } // unknown format (not relevant for "-pu"/"-puc" but for "-p" mode) if(m_offline_url == 0) { fprintf(stdout, "F(%ld)", m_lines); } return 0; } /* * reads from stdin and calls updateStat() * => used for real time analysis */ static void readStdin(apr_pool_t *pool, const char *cstr) { char line[MAX_LINE]; int line_len; while(fgets(line, sizeof(line), stdin) != NULL) { line_len = strlen(line) - 1; while(line_len > 0) { // cut tailing CR/LF if(line[line_len] >= ' ') { break; } line[line_len] = '\0'; line_len--; } updateStat(pool, cstr, line); } } /* * reads from stdin and calls updateStat() * and printAndResetStat() * processes the time information from the * access log lines * => used for offline analysis */ static void readStdinOffline(apr_pool_t *pool, const char *cstr) { char line[MAX_LINE]; char buf[32]; time_t unitTime = 0; int line_len; FILE *outdev = stdout; if(m_offline_count || m_offline_url) { outdev = stderr; } while(fgets(line, sizeof(line), stdin) != NULL) { time_t l_time; line_len = strlen(line) - 1; while(line_len > 0) { // cut tailing CR/LF if(line[line_len] >= ' ') { break; } line[line_len] = '\0'; line_len--; } l_time = getMinutes(line); m_offline_data = 1; if(unitTime == 0) { unitTime = l_time; qs_setTime(unitTime * 60); } if(unitTime == l_time) { updateStat(pool, cstr, line); } if(l_time < unitTime) { /* leap in time... */ updateStat(pool, cstr, line); fprintf(outdev, "X"); fflush(outdev); unitTime = 0; } else { if(l_time > unitTime) { if(!m_verbose) { if(m_f != stdout) { fprintf(outdev, "."); fflush(outdev); } } } while(l_time > unitTime) { unitTime++; snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); if(m_offline) { printAndResetStat(buf); } qs_setTime(unitTime * 60);; } updateStat(pool, cstr, line); } } if(m_offline_data) { snprintf(buf, sizeof(buf), "%s %.2ld:%.2ld:00", m_date_str, unitTime/60, unitTime%60); if(m_offline) { printAndResetStat(buf); } } } /* * calls printAndResetStat() every minute * => used for real time analysis */ static void *loggerThread(void *argv) { char buf[1024]; while(1) { struct tm *ptr; time_t tm = time(NULL); time_t w = tm / LOG_INTERVAL * LOG_INTERVAL + LOG_INTERVAL; sleep(w - tm); tm = time(NULL); ptr = localtime(&tm); strftime(buf, sizeof(buf), "%d.%m.%Y %H:%M:%S", ptr); printAndResetStat(buf); if(m_rotate && m_file_name[0]) { strftime(buf, sizeof(buf), "%H:%M", ptr); if(strcmp(buf, "23:59") == 0) { char arch[MAX_LINE]; char arch2[MAX_LINE]; strftime(buf, sizeof(buf), "%Y%m%d%H%M%S", ptr); snprintf(arch, sizeof(arch), "%s.%s", m_file_name, buf); snprintf(arch2, sizeof(arch), "%s.%s", m_file_name2, buf); if(fclose(m_f) != 0) { qerror("failed to close file '%s': %s", m_file_name, strerror(errno)); } if(rename(m_file_name, arch) != 0) { qerror("failed to move file '%s': %s", arch, strerror(errno)); } qs_deleteOldFiles(m_file_name, m_generations); m_f = fopen(m_file_name, "a+"); if(m_f2) { fclose(m_f2); rename(m_file_name2, arch2); qs_deleteOldFiles(m_file_name2, m_generations); m_f2 = fopen(m_file_name2, "a+"); } } } } return NULL; } /** * usage text */ static void usage(const char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - collects request statistics from access log data.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -f -o [-p[c|u[c]] [-v]] [-x []] [-u ] [-m] [-c ]\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s is a real time access log analyzer. It collects the data from stdin.\n", cmd); qs_man_print(man, "The output is written to the specified file every minute and includes the\n"); qs_man_println(man, "following entries:\n"); qs_man_println(man, " - requests per second ("NRS")\n"); qs_man_println(man, " - number of requests within measured time (req)\n"); qs_man_println(man, " - bytes sent to the client per second ("NBS")\n"); qs_man_println(man, " - bytes received from the client per second ("NBIS")\n"); qs_man_println(man, " - response status codes within the last minute (1xx,2xx,3xx,4xx,5xx)\n"); qs_man_println(man, " - average response duration ("NAV")\n"); qs_man_println(man, " - average response duration in milliseconds ("NAVMS")\n"); qs_man_println(man, " - distribution of response durations in seconds within the last minute\n"); qs_man_print(man, " (<1s,1s,2s,3s,4s,5s,>5s)\n"); if(man) printf("\n"); qs_man_println(man, " - distribution of response durations faster than a second within the last minute\n"); qs_man_print(man, " (0-49ms,50-99ms,100-499ms,500-999ms)\n"); if(man) printf("\n"); qs_man_println(man, " - number of established (new) connections within the measured time (esco)\n"); qs_man_println(man, " - average system load (sl)\n"); qs_man_println(man, " - free memory (m) (not available for all platforms)\n"); qs_man_println(man, " - number of client ip addresses seen withn the last %d seconds (ip)\n", ACTIVE_TIME); qs_man_println(man, " - number of different users seen withn the last %d seconds (usr)\n", ACTIVE_TIME); qs_man_println(man, " - number of events identified by the 'E' format character\n"); qs_man_println(man, " - number of mod_qos events within the last minute (qV=create session,\n"); qs_man_print(man, " qv=VIP IP,qS=session pass, qD=access denied, qK=connection closed, qT=dynamic\n"); qs_man_print(man, " keep-alive, qL=request/response slow down, qs=serialized request, \n"); qs_man_print(man, " qA=connection abort, qU=new user tracking cookie)\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -f \n"); if(man) printf("\n"); qs_man_print(man, " Defines the log data format and the positions of data\n"); qs_man_print(man, " elements processed by this utility.\n"); qs_man_print(man, " See to the 'LogFormat' directive of the httpd.conf file\n"); qs_man_print(man, " to see the format definitions of the servers access log data.\n"); if(man) printf("\n"); qs_man_println(man, " %s knows the following elements:\n", cmd); qs_man_println(man, " I defines the client ip address (%%h)\n"); qs_man_println(man, " R defines the request line (%%r)\n"); qs_man_println(man, " S defines HTTP response status code (%%s)\n"); qs_man_println(man, " B defines the transferred bytes (%%b or %%O)\n"); qs_man_println(man, " i defines the received bytes (%%I)\n"); qs_man_println(man, " D defines the request duration in microseconds (%%D)\n"); qs_man_println(man, " t defines the request duration in milliseconds (may be used instead of D)\n"); qs_man_println(man, " T defines the request duration in seconds (may be used instead of D or t) (%%T)\n"); qs_man_println(man, " k defines the number of keepalive requests on the connection (%%k)\n"); qs_man_println(man, " U defines the user tracking id (%%{mod_qos_user_id}e)\n"); qs_man_println(man, " Q defines the mod_qos_ev event message (%%{mod_qos_ev}e)\n"); qs_man_println(man, " C defines the element for the detailed log (-c option), e.g. \"%%U\"\n"); qs_man_println(man, " s arbitrary counter to add up (sum within a minute)\n"); qs_man_println(man, " a arbitrary counter to build an average from (average per request)\n"); qs_man_println(man, " A arbitrary counter to build an average from (average per request)\n"); qs_man_println(man, " M arbitrary counter to measure the maximum value reached (peak)\n"); qs_man_println(man, " E comma separated list of event strings\n"); qs_man_println(man, " c content type (%%{content-type}o), available in -pc mode only\n"); qs_man_println(man, " m request method (GET/POST) (%%m), available in -pc mode only\n"); qs_man_println(man, " . defines an element to ignore (unknown string)\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -o \n"); if(man) printf("\n"); qs_man_print(man, " Specifies the file to store the output to. stdout is used if this option\n"); qs_man_print(man, " is not defined.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -p\n"); if(man) printf("\n"); qs_man_print(man, " Used for post processing when reading the log data from a file (cat/pipe).\n"); qs_man_print(man, " %s is started using it's offline mode (extracting the time stamps from\n", cmd); qs_man_print(man, " the log lines) in order to process existing log files.\n"); qs_man_print(man, " The option \"-pc\" may be used alternatively if you want to gather request\n"); qs_man_print(man, " information per client (identified by IP address (I) or user tracking id (U)\n"); qs_man_print(man, " showing how many request each client has performed within the captured period\n"); qs_man_print(man, " of time). \"-pc\" supports the format characters IURSBTtDkMEcm.\n"); qs_man_print(man, " The option \"-pu\" collects statistics on a per URL level (supports format\n"); qs_man_print(man, " characters RSTtD).\n"); qs_man_print(man, " \"-puc\" is very similar to \"-pu\" but cuts the end (handler) of each URL.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -v\n"); if(man) printf("\n"); qs_man_print(man, " Verbose mode.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -x []\n"); if(man) printf("\n"); qs_man_print(man, " Rotates the output file once a day (move). You may specify the number of\n"); qs_man_print(man, " rotated files to keep. Default are %d.\n", QS_GENERATIONS); if(man) printf("\n.TP\n"); qs_man_print(man, " -u \n"); if(man) printf("\n"); qs_man_print(man, " Becomes another user, e.g. www-data.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -m\n"); if(man) printf("\n"); qs_man_print(man, " Calculates free system memory every minute.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -c \n"); if(man) printf("\n"); qs_man_print(man, " Enables the collection of log statistics for different request types.\n"); qs_man_print(man, " 'path' specifies the necessary rule file. Each rule consists of a rule\n"); qs_man_print(man, " identifier and a regular expression to identify a request seprarated\n"); qs_man_print(man, " by a colon, e.g., 01:^(/a)|(/c). The regular expressions are matched against\n"); qs_man_print(man, " the log data element which has been identified by the 'C' format character.\n"); printf("\n"); if(man) { printf(".SH VARIABLES\n"); } else { printf("Variables\n"); } qs_man_print(man, "The following environment variables are known to %s:\n", cmd); if(man) printf("\n"); if(man) printf(".TP\n"); qs_man_print(man, " "QSEVENTPATH"=\n"); if(man) printf("\n"); qs_man_print(man, " Defines a file containing a comma or new line separated list\n"); qs_man_print(man, " of known event strings expected within the log filed identified\n"); qs_man_print(man, " by the 'E' format character.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " "QSCOUNTERPATH"=\n"); if(man) printf("\n"); qs_man_print(man, " Defines a file containing a by new line separated list of rules which\n"); qs_man_print(man, " reflect possible QS_ClientEventLimitCount directive settings (for\n"); qs_man_print(man, " simulation purpose / -pc option). The 'E' format character defines the event\n"); qs_man_print(man, " string in the log to match (literal string) the 'event1' and 'event2' event\n"); qs_man_print(man, " names against.\n"); printf("\n"); if(man) printf("\n"); qs_man_print(man, " Rule syntax: :-*/=\n"); printf("\n"); qs_man_println(man, " 'name' defines the name you have given to the rule entry and is logged along with\n"); qs_man_print(man, " with the number of times the 'limit' has been reached within the 'duration'.\n"); if(man) printf("\n"); qs_man_println(man, " 'event1' defines the variable name (if found in 'E') to increment the counter.\n"); qs_man_println(man, " 'event2' defines the variable name (if found in 'E') to decrement the counter (and\n"); qs_man_print(man, " the parameter 'n' defines by how much).\n"); if(man) printf("\n"); qs_man_println(man, " 'duration' defines the measure interval (in seconds) used for the\n"); qs_man_print(man, " QS_ClientEventLimitCount directive.\n"); if(man) printf("\n"); qs_man_println(man, " 'limit' defines the threshold (number) defined for the QS_ClientEventLimitCount\n"); qs_man_print(man, " directive.\n"); if(man) printf("\n"); printf("\n"); qs_man_print(man, " Note: If the 'name' parameter is prefixed by 'STATUS', the rule is applied against\n"); qs_man_print(man, " the HTTP status code 'S' and the 'event1' string shall contain a list of relevant\n"); qs_man_print(man, " status codes separated by an underscore (while 'event2' is ignored).\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); printf("Configuration using pipped logging:\n"); printf("\n"); } else { printf("Example configuration using pipped logging:\n"); } qs_man_println(man, " CustomLog \"|/usr/bin/%s -f ISBDQ -x -o /var/log/apache/stat.csv\" \"%%h %%>s %%b %%D %%{mod_qos_ev}e\"\n", cmd); printf("\n"); if(man) { printf("Post processing:\n"); printf("\n"); } else { printf("Example for post processing:\n"); } qs_man_println(man, " LogFormat \"%%t %%h \\\"%%r\\\" %%>s %%b \\\"%%{User-Agent}i\\\" %%T\"\n"); qs_man_println(man, " cat access.log | %s -f ..IRSB.T -o stat.csv -p\n", cmd); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } /** * Loads the rule files. Each rule (pattern) is prefixed by an id. * * @param confFile Path to the rule file to load * @return */ static stat_rec_t *loadRule(apr_pool_t *pool, const char *confFile) { char line[MAX_LINE]; FILE *file = fopen(confFile, "r"); stat_rec_t *rec = NULL; stat_rec_t *prev = NULL; stat_rec_t *next = NULL; if(file == NULL) { qerror("could not read file '%s': ", confFile, strerror(errno)); exit(1); } while(!qs_getLinef(line, sizeof(line), file)) { char *id = line; char *p = strchr(line, RULE_DELIM); if(p) { p[0] = '\0'; p++; if(m_verbose) { printf("load rule %s: %s\n", id, p); } next = createRec(pool, id, p); if(rec == NULL) { // first record rec = next; } if(prev) { // has previous, append it to the list prev->next = next; } else { // sole record, no next rec->next = NULL; } // prev points now to the new record prev = next; } } fclose(file); return rec; } int main(int argc, const char *const argv[]) { const char *config = NULL; const char *file = NULL; const char *confFile = NULL; const char *cmd = strrchr(argv[0], '/'); const char *username = NULL; pthread_attr_t *tha = NULL; pthread_t tid; pthread_attr_t *thagc = NULL; pthread_t tidgc; apr_pool_t *pool; int t; apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); m_stat_rec = createRec(pool, "", ""); for(t = 0; t < NUM_EVENT_TABLES; t++) { m_ip_list[t] = apr_table_make(pool, 15000); m_user_list[t] = apr_table_make(pool, 15000); } m_gc_event_list = calloc(MAX_EVENT_ENTRIES, sizeof(qs_event_t *)); qs_csInitLock(); qs_setExpiration(ACTIVE_TIME); if(cmd == NULL) { cmd = argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-f") == 0) { /* this is the format string */ if (--argc >= 1) { config = *(++argv); if(strchr(config, 'i')) { // enable ib/s m_stat_rec->i_byte_count = 0; } if(strchr(config, 'k')) { // enable esco m_stat_rec->connections = 0; } if(strchr(config, 'c')) { // enable content type m_ct = 1; } if(strchr(config, 'D') || strchr(config, 't')) { // enable average duration in ms m_avms = 1; } if(strchr(config, 'm')) { m_methods = 1; } if(strchr(config, 's') || strchr(config, 'a') || strchr(config, 'A') || strchr(config, 'M')) { // enable custom counter m_customcounter = 1; } if(strchr(config, 'Q')) { m_hasEV = 1; } } } else if(strcmp(*argv,"-o") == 0) { /* this is the out file */ if (--argc >= 1) { file = *(++argv); } } else if(strcmp(*argv,"-u") == 0) { /* switch user id */ if (--argc >= 1) { username = *(++argv); } } else if(strcmp(*argv,"-c") == 0) { /* custom patterns (e.g. url pattern list, format: ':') */ if (--argc >= 1) { confFile = *(++argv); } } else if(strcmp(*argv,"-p") == 0) { /* activate offline analysis */ m_offline = 1; qs_set2OfflineMode(); } else if(strcmp(*argv,"-ps") == 0) { /* activate offline analysis (inckl. summary) */ m_offline = 1; m_offline_s = 1; qs_set2OfflineMode(); } else if(strcmp(*argv,"-pc") == 0) { /* activate offline counting analysis */ m_offline_count = 1; qs_set2OfflineMode(); } else if(strcmp(*argv,"-pu") == 0) { /* activate offline url analysis */ m_offline_url = 1; qs_set2OfflineMode(); } else if(strcmp(*argv,"-puc") == 0) { /* activate offline url analysis */ m_offline_url = 1; m_offline_url_cropped = 1; qs_set2OfflineMode(); } else if(strcmp(*argv,"-m") == 0) { /* activate memory usage */ m_mem = 1; } else if(strcmp(*argv,"-v") == 0) { m_verbose = 1; } else if(strcmp(*argv,"-x") == 0) { /* activate log rotation */ m_rotate = 1; if(argc > 1) { if(*argv[1] >= '0' && *argv[1] <= '9') { argc--; argv++; m_generations = atoi(*argv); } } } else if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } else { qerror("unknown option '%s'", *argv); exit(1); } argc--; argv++; } m_off = m_offline || m_offline_count || m_offline_url; if(m_off) { if(nice(10) == -1) { fprintf(stderr, "ERROR, failed to change nice value: %s\n", strerror(errno)); } /* init time pattern regex, std apache access log "dd/MMM/yyyy:hh:mm:ss" */ regcomp(&m_trx_access, "[0-9]{2}/[a-zA-Z]{3}/[0-9]{4}:[0-9]{2}:[0-9]{2}:[0-9]{2}", REG_EXTENDED); /* other time patterns: "yyyy mm dd hh:mm:ss,mmm" or "yyyy mm dd hh:mm:ss.mmm" resp "yyyy-mm-dd hh:mm:ss,mmm" or "yyyy-mm-dd hh:mm:ss.mmm" */ regcomp(&m_trx_j, "[0-9]{4}[ -]{1}[0-9]{2}[ -]{1}[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}[,.]{1}[0-9]{3}", REG_EXTENDED); /* fallback to generic " hh:mm:ss " pattern */ regcomp(&m_trx_g, " ([0-9]{2}:[0-9]{2}):[0-9]{2} ", REG_EXTENDED); } /* * offline url mod */ if(m_offline_url) { int i; apr_table_entry_t *entry; m_url_entries = apr_table_make(pool, MAX_CLIENT_ENTRIES + 1); if(config == NULL) usage(cmd, 0); readStdinOffline(pool, config); fprintf(stderr, ".\n"); m_f = stdout; if(file) { m_f = fopen(file, "a+"); if(!m_f) { m_f = stdout; } } entry = (apr_table_entry_t *) apr_table_elts(m_url_entries)->elts; for(i = 0; i < apr_table_elts(m_url_entries)->nelts; i++) { url_rec_t *url_rec = (url_rec_t *)entry[i].val; fprintf(m_f, "req;%ld;" "1xx;%ld;2xx;%ld;3xx;%ld;4xx;%ld;5xx;%ld;" NAVMS";%lld;%s\n", url_rec->request_count, url_rec->status_1, url_rec->status_2, url_rec->status_3, url_rec->status_4, url_rec->status_5, url_rec->request_count ? (url_rec->duration_count_ms / url_rec->request_count) : 0, entry[i].key); } if(file && m_f != stdout) { fclose(m_f); } return 0; } /* * offline count mode creates statistics * on a per client basis (e.g. per source * ip or user id using the user tracking * feature of mod_qos) */ if(m_offline_count) { int i; apr_table_entry_t *entry; if(config == NULL) usage(cmd, 0); m_client_entries = apr_table_make(pool, MAX_CLIENT_ENTRIES + 1); readStdinOffline(pool, config); fprintf(stderr, ".\n"); entry = (apr_table_entry_t *) apr_table_elts(m_client_entries)->elts; m_f = stdout; if(file) { m_f = fopen(file, "a+"); if(!m_f) { m_f = stdout; } } for(i = 0; i < apr_table_elts(m_client_entries)->nelts; i++) { client_rec_t *client_rec = (client_rec_t *)entry[i].val; char esco[256]; char m[256]; /* ci (coverage index): low value indicates that we have seen the client at the end or beginning of the file (maybe not all requests due to log rotation) */ long coverage = m_lines ? (client_rec->firstLine * 100 / m_lines) : 0; long coverageend = m_lines ? (100 - ((client_rec->lastLine * 100) / m_lines)) : 0; if(coverageend < coverage) { coverage = coverageend; } esco[0] = '\0'; if(m_stat_rec->connections != -1) { sprintf(esco, "esco;%ld;", client_rec->connections); } m[0] = '\0'; if(m_methods) { sprintf(m, "GET;%ld;POST;%ld;", client_rec->get, client_rec->post); } if(m_avms == 0) { // no ms available client_rec->duration_count_ms = 1000 * client_rec->duration; } else { // improve accuracy (rounding errors): client_rec->duration = client_rec->duration_count_ms / 1000; } fprintf(m_f, "%s;req;%ld;errors;%ld;duration;%ld;bytes;%lld;" "1xx;%ld;2xx;%ld;3xx;%ld;4xx;%ld;5xx;%ld;304;%ld;" "av;%lld;"NAVMS";%lld;<1s;%ld;1s;%ld;2s;%ld;3s;%ld;4s;%ld;5s;%ld;>5s;%ld;" "%s" "%s" "ci;%ld;", entry[i].key, client_rec->request_count, client_rec->error_count, client_rec->end_s - client_rec->start_s, client_rec->byte_count, client_rec->status_1, client_rec->status_2, client_rec->status_3, client_rec->status_4, client_rec->status_5, client_rec->status_304, client_rec->request_count ? (client_rec->duration / client_rec->request_count) : 0, client_rec->request_count ? (client_rec->duration_count_ms / client_rec->request_count) : 0, client_rec->duration_0, client_rec->duration_1, client_rec->duration_2, client_rec->duration_3, client_rec->duration_4, client_rec->duration_5, client_rec->duration_6, esco, m, coverage); if(m_customcounter) { fprintf(m_f, "M;%ld;", client_rec->max); } if(client_rec->counters) { int c; apr_table_entry_t *centry = (apr_table_entry_t *) apr_table_elts(client_rec->counters)->elts; for(c = 0; c < apr_table_elts(client_rec->counters)->nelts; c++) { counter_rec_t *cr = (counter_rec_t *)centry[c].val; fprintf(m_f, "%s;%d;", cr->name, cr->total); } } if(m_ct) { fprintf(m_f, "html;%ld;css/js;%ld;img;%ld;other;%ld;", client_rec->html, client_rec->cssjs, client_rec->img, client_rec->other); } if(apr_table_elts(client_rec->events)->nelts > 0) { int k; apr_table_entry_t *client_entry = (apr_table_entry_t *) apr_table_elts(client_rec->events)->elts; for(k = 0; k < apr_table_elts(client_rec->events)->nelts; k++) { const char *eventName = client_entry[k].key; int *eventVal = (int *)client_entry[k].val; fprintf(m_f, "%s;%d;", eventName, *eventVal); (*eventVal) = 0; } } fprintf(m_f, "\n"); } if(file && (m_f != stdout)) { fclose(m_f); } return 0; } /* requires at least a format string */ if(config == NULL) usage(cmd, 0); qs_setuid(username, cmd); if(file) { m_f = fopen(file, "a+"); if(m_f == NULL) { qerror("could not open file for writing '%s': %s", file, strerror(errno)); exit(1); } if(strlen(file) > (sizeof(m_file_name) - strlen(".yyyymmddHHMMSS ") - strlen(LOG_DET))) { qerror("file name too long '%s'", file); exit(1); } strcpy(m_file_name, file); } else { m_file_name[0] = '\0'; m_f = stdout; } if(confFile) { if(file == NULL) { qerror("option '-c' can only be used in conjunction with option '-o'"); exit(1); } snprintf(m_file_name2, sizeof(m_file_name2), "%s"LOG_DET, m_file_name); if(strchr(config, 'C') == NULL) { qerror("you need to add 'C' to the format string when enabling the pattern list (-c)"); exit(1); } m_stat_sub = loadRule(pool, confFile); m_f2 = fopen(m_file_name2, "a+"); if(m_f == NULL) { qerror("could not open file for writing '%s': %s", m_file_name2, strerror(errno)); exit(1); } } /* * Offline mode reads an existing log file * adjusting a virtual clock based on * the date string match of the log * enties. */ if(m_offline) { fprintf(stderr, "[%s]: offline mode\n", cmd); m_date_str[0] = '\0'; readStdinOffline(pool, config); if(!m_verbose) { fprintf(stdout, "\n"); } if(m_offline_s) { int p; int min = 0; int max = 50; printf("\n"); printf(" requests: %llu\n", m_stat_rec->total.lines); printf(" average: %llums\n", m_stat_rec->total.ms/m_stat_rec->total.lines); for(p = 0; p <20; p++) { printf("%3dms - %4dms: %lld\n", min, max, m_stat_rec->total.pivot[p]); min = max; max += 50; } printf("1000ms+ : %lld\n", m_stat_rec->total.pivot[20]); } } else { /* standard mode reads data from * stdin and uses a separate thread * to write the data every minute. */ pthread_create(&tid, tha, loggerThread, NULL); pthread_create(&tidgc, thagc, gcThread, NULL); readStdin(pool, config); } if(file && (m_f != stdout)) { fclose(m_f); } return 0; } mod_qos-11.74/tools/src/char.h0000664000000000000020000002251314431415521014476 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #define S_W_MAX 6 #define S_H_MAX 7 static int s_0[S_H_MAX][S_W_MAX] = { { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_1[S_H_MAX][S_W_MAX] = { { 0,0,0,1,0,0}, { 0,0,1,1,0,0}, { 0,1,0,1,0,0}, { 0,0,0,1,0,0}, { 0,0,0,1,0,0}, { 0,0,0,1,0,0}, { 0,0,0,0,0,0} }; static int s_2[S_H_MAX][S_W_MAX] = { { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 0,0,0,1,0,0}, { 0,0,1,0,0,0}, { 0,1,0,0,0,0}, { 1,1,1,1,1,0}, { 0,0,0,0,0,0} }; static int s_3[S_H_MAX][S_W_MAX] = { { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 0,0,1,1,0,0}, { 0,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_4[S_H_MAX][S_W_MAX] = { { 0,0,0,1,0,0}, { 0,0,1,0,0,0}, { 0,1,0,0,0,0}, { 1,0,0,1,0,0}, { 1,1,1,1,1,0}, { 0,0,0,1,0,0}, { 0,0,0,0,0,0} }; static int s_5[S_H_MAX][S_W_MAX] = { { 1,1,1,1,1,0}, { 1,0,0,0,0,0}, { 1,1,1,1,0,0}, { 0,0,0,0,1,0}, { 0,0,0,0,1,0}, { 1,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_6[S_H_MAX][S_W_MAX] = { { 0,1,1,1,0,0}, { 1,0,0,0,0,0}, { 1,0,1,1,0,0}, { 1,1,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_7[S_H_MAX][S_W_MAX] = { { 1,1,1,1,1,0}, { 0,0,0,0,1,0}, { 0,0,0,1,0,0}, { 0,0,1,0,0,0}, { 0,1,0,0,0,0}, { 0,1,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_8[S_H_MAX][S_W_MAX] = { { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_9[S_H_MAX][S_W_MAX] = { { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 0,1,1,1,1,0}, { 0,0,0,0,1,0}, { 0,0,0,0,1,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; /* ----------------------------------------------- */ static int s_a[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,1,1,0,0}, { 0,0,0,0,1,0}, { 0,1,1,1,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,1,0}, { 0,0,0,0,0,0} }; static int s_b[S_H_MAX][S_W_MAX] = { { 1,0,0,0,0,0}, { 1,0,0,0,0,0}, { 1,1,1,1,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_c[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,0,0}, { 1,0,0,0,1,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_d[S_H_MAX][S_W_MAX] = { { 0,0,0,0,1,0}, { 0,0,0,0,1,0}, { 0,1,1,1,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,1,0}, { 0,0,0,0,0,0} }; static int s_e[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 1,1,1,1,1,0}, { 1,0,0,0,0,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_f[S_H_MAX][S_W_MAX] = { { 0,0,1,1,0,0}, { 0,1,0,0,0,0}, { 1,1,1,0,0,0}, { 0,1,0,0,0,0}, { 0,1,0,0,0,0}, { 0,1,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_g[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,1,1,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,1,0}, { 0,0,0,0,1,0}, { 0,1,1,1,0,0} }; static int s_h[S_H_MAX][S_W_MAX] = { { 1,0,0,0,0,0}, { 1,0,0,0,0,0}, { 1,0,1,1,0,0}, { 1,1,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,0,0,0,0,0} }; static int s_i[S_H_MAX][S_W_MAX] = { { 0,0,1,0,0,0}, { 0,0,0,0,0,0}, { 0,1,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_j[S_H_MAX][S_W_MAX] = { { 0,0,0,0,1,0}, { 0,0,0,0,0,0}, { 0,0,0,1,1,0}, { 0,0,0,0,1,0}, { 0,0,0,0,1,0}, { 0,0,0,0,1,0}, { 0,0,1,1,0,0} }; static int s_k[S_H_MAX][S_W_MAX] = { { 1,0,0,0,0,0}, { 1,0,0,0,0,0}, { 1,0,1,1,0,0}, { 1,1,0,0,0,0}, { 1,0,1,0,0,0}, { 1,0,0,1,0,0}, { 0,0,0,0,0,0} }; static int s_l[S_H_MAX][S_W_MAX] = { { 0,1,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,0,0,0,0} }; static int s_m[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,1,0,1,0,0}, { 1,0,1,0,1,0}, { 1,0,1,0,1,0}, { 1,0,1,0,1,0}, { 1,0,1,0,1,0}, { 0,0,0,0,0,0} }; static int s_n[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,0,1,1,0,0}, { 1,1,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,0,0,0,0,0} }; static int s_o[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,1,1,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_p[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,1,1,1,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,1,1,1,0,0}, { 1,0,0,0,0,0}, { 1,0,0,0,0,0} }; static int s_q[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,1,1,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,1,0}, { 0,0,0,0,1,0}, { 0,0,0,0,1,0} }; static int s_r[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,0,1,1,0,0}, { 1,1,0,0,1,0}, { 1,0,0,0,0,0}, { 1,0,0,0,0,0}, { 1,0,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_s[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,1,1,1,0}, { 1,0,0,0,0,0}, { 0,1,1,1,0,0}, { 0,0,0,0,1,0}, { 1,1,1,1,0,0}, { 0,0,0,0,0,0} }; static int s_t[S_H_MAX][S_W_MAX] = { { 0,0,1,0,0,0}, { 0,1,1,1,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,1,0}, { 0,0,0,1,0,0}, { 0,0,0,0,0,0} }; static int s_u[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,1,0}, { 0,0,0,0,0,0} }; static int s_v[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,0,1,0,0}, { 0,0,1,0,0,0}, { 0,0,0,0,0,0} }; static int s_w[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,1,0,1,0}, { 1,1,0,1,1,0}, { 1,0,0,0,1,0}, { 0,0,0,0,0,0} }; static int s_x[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,0,0,0,1,0}, { 0,1,0,1,0,0}, { 0,0,1,0,0,0}, { 0,1,0,1,0,0}, { 1,0,0,0,1,0}, { 0,0,0,0,0,0} }; static int s_y[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,1,1,1,1,0}, { 0,0,0,0,1,0}, { 1,1,1,1,0,0} }; static int s_z[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 1,1,1,1,1,0}, { 0,0,0,1,1,0}, { 0,0,1,0,0,0}, { 1,1,0,0,0,0}, { 1,1,1,1,1,0}, { 0,0,0,0,0,0} }; static int s_BRO[S_H_MAX][S_W_MAX] = { { 0,0,0,1,0,0}, { 0,0,1,0,0,0}, { 0,1,0,0,0,0}, { 0,1,0,0,0,0}, { 0,0,1,0,0,0}, { 0,0,0,1,0,0}, { 0,0,0,0,0,0} }; static int s_BRC[S_H_MAX][S_W_MAX] = { { 0,0,1,0,0,0}, { 0,0,0,1,0,0}, { 0,0,0,0,1,0}, { 0,0,0,0,1,0}, { 0,0,0,1,0,0}, { 0,0,1,0,0,0}, { 0,0,0,0,0,0} }; static int s_MI[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 1,1,1,1,1,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_LT[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,1,0,0}, { 0,1,1,0,0,0}, { 1,0,0,0,0,0}, { 0,1,1,0,0,0}, { 0,0,0,1,0,0}, { 0,0,0,0,0,0} }; static int s_GT[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,1,0,0,0,0}, { 0,0,1,1,0,0}, { 0,0,0,0,1,0}, { 0,0,1,1,0,0}, { 0,1,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_SP[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_US[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 1,1,1,1,1,0}, { 0,0,0,0,0,0} }; static int s_M[S_H_MAX][S_W_MAX] = { { 1,0,0,0,1,0}, { 1,1,0,1,1,0}, { 1,0,1,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 1,0,0,0,1,0}, { 0,0,0,0,0,0} }; static int s_DT[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,1,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_CM[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,1,0,0,0}, { 0,1,0,0,0,0} }; static int s_SC[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,1,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,1,0,0,0}, { 0,1,0,0,0,0} }; static int s_CO[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,1,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,1,0,0,0}, { 0,0,0,0,0,0} }; static int s_SL[S_H_MAX][S_W_MAX] = { { 0,0,0,0,0,1}, { 0,0,0,0,1,0}, { 0,0,0,1,0,0}, { 0,0,1,0,0,0}, { 0,1,0,0,0,0}, { 1,0,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_SQ[S_H_MAX][S_W_MAX] = { { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,1,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0}, { 0,0,0,0,0,0} }; static int s_X[S_H_MAX][S_W_MAX] = { { 1,1,1,1,1,0}, { 1,1,1,1,1,0}, { 1,1,1,1,1,0}, { 1,1,1,1,1,0}, { 1,1,1,1,1,0}, { 1,1,1,1,1,0}, { 0,0,0,0,0,0} }; mod_qos-11.74/tools/src/qsrotate.c0000664000000000000020000003470414431415521015423 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * qsrotate.c: Log rotation tool. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qsrotate.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "qs_util.h" #define HUGE_STR 1024 //yyyy-mm-ddhh-mm-ss #define TME_STR_LEN 20 /* global variables used by main and support thread */ static int m_force_rotation = 0; static time_t m_tLogEnd = 0; static time_t m_tRotation = 86400; /* default are 24h */ static int m_nLogFD = -1; static int m_generations = -1; static mode_t m_mode = 0660; static char *m_file_name = NULL; static long m_messages = 0; static char *m_cmd = NULL; static int m_compress = 0; static int m_stdout = 0; static int m_timestamp = 0; static char time_string[TME_STR_LEN]; static long m_counter = 0; static long m_limit = 2147483648 - (128 * 1024); static int m_offset = 0; static int m_offset_enabled = 0; static void usage(char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - a log rotation tool (similar to Apache's rotatelogs).\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -o [-s [-t ]] [-b ] [-f] [-z] [-g ] [-u ] [-m ] [-p] [-d]\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s reads from stdin (piped log) and writes the data to the provided\n", cmd); qs_man_print(man, "file rotating the file after the specified time.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -o \n"); if(man) printf("\n"); qs_man_print(man, " Output log file to write the data to (use an absolute path).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -s \n"); if(man) printf("\n"); qs_man_print(man, " Rotation interval in seconds, default are 86400 seconds.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -t \n"); if(man) printf("\n"); qs_man_print(man, " Offset to UTC (enables also DST support), default is 0.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -b \n"); if(man) printf("\n"); qs_man_print(man, " File size limitation (default/max. are %ld bytes, min. are 1048576 bytes).\n", m_limit); if(man) printf("\n.TP\n"); qs_man_print(man, " -f\n"); if(man) printf("\n"); qs_man_print(man, " Forced log rotation at the specified interval even no data is written.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -z\n"); if(man) printf("\n"); qs_man_print(man, " Compress (gzip) the rotated file.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -g \n"); if(man) printf("\n"); qs_man_print(man, " Generations (number of files to keep).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -u \n"); if(man) printf("\n"); qs_man_print(man, " Become another user, e.g. www-data.\n"); qs_man_print(man, " -m \n"); if(man) printf("\n"); qs_man_print(man, " File permission which is either 600, 640, 660 (default) or 664.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -p\n"); if(man) printf("\n"); qs_man_print(man, " Writes data also to stdout (for piped logging).\n"); qs_man_print(man, " -d\n"); if(man) printf("\n"); qs_man_print(man, " Line-by-line data reading prefixing every line with a timestamp.\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); } else { printf("Example:\n"); } qs_man_println(man, " TransferLog \"|/usr/bin/%s -f -z -g 3 -o /var/log/apache/access.log -s 86400\"\n", cmd); printf("\n"); qs_man_print(man, "The name of the rotated file will be /dest/filee.YYYYmmddHHMMSS\n"); qs_man_print(man, "where YYYYmmddHHMMSS is the system time at which the data has been\n"); qs_man_print(man, "rotated.\n"); printf("\n"); if(man) { printf(".SH NOTE\n"); } else { printf("Notes:\n"); } qs_man_println(man, " - Each %s instance must use an individual file.\n", cmd); qs_man_println(man, " - You may trigger a file rotation manually by sending the signal USR1\n"); qs_man_print(man, " to the process.\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qsre(1), qsrespeed(1), qspng(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } static time_t get_now() { time_t now = time(NULL); if(m_offset_enabled) { struct tm lcl = *localtime(&now); if(lcl.tm_isdst) { now += 3600; } now += m_offset; } return now; } static int openFile(const char *cmd, const char *file_name) { int m_nLogFD = open(file_name, O_WRONLY | O_CREAT | O_APPEND, m_mode); /* error while opening log file */ if(m_nLogFD < 0) { fprintf(stderr,"[%s]: ERROR, failed to open file <%s>\n", cmd, file_name); } return m_nLogFD; } /** * Compress method called by a child process (forked) * used to compress the rotated file. * * @param cmd Command name (used when logging errors) * @param arch Path to the file to compress. File gets renamed to .gz */ static void compressThread(const char *cmd, const char *arch) { gzFile *outfp; int infp; char dest[HUGE_STR+20]; char buf[HUGE_STR]; int len; snprintf(dest, sizeof(dest), "%s.gz", arch); /* low prio */ if(nice(10) == -1) { fprintf(stderr, "[%s]: WARNING, failed to change nice value: %s\n", cmd, strerror(errno)); } if((infp = open(arch, O_RDONLY)) == -1) { /* failed to open file, can't compress it */ fprintf(stderr,"[%s]: ERROR, could not open file for compression <%s>\n", cmd, arch); return; } if((outfp = gzopen(dest,"wb")) == NULL) { fprintf(stderr,"[%s]: ERROR, could not open file for compression <%s>\n", cmd, dest); close(infp); return; } chmod(dest, m_mode); while((len = read(infp, buf, sizeof(buf))) > 0) { gzwrite(outfp, buf, len); } gzclose(outfp); close(infp); /* done, delete the old file */ unlink(arch); } void sigchild(int signo) { pid_t pid; int stat; while((pid=waitpid(-1,&stat,WNOHANG)) > 0) { } } void writeTimestamp() { time_t tm = time(NULL); struct tm *ptr = localtime(&tm); strftime(time_string, TME_STR_LEN, "%Y-%m-%d %H:%M:%S ", ptr); write(m_nLogFD, time_string, TME_STR_LEN); } /** * Rotates a file * * @param cmd Command name to be used in log messages * @param now * @param file_name Name of the file to rotate (rename) * @param messages Number of lines/buffers which had been read */ static void rotate(const char *cmd, time_t now, const char *file_name, long *messages) { int rc; char arch[HUGE_STR+20]; char tmb[20]; struct tm *ptr = localtime(&now); strftime(tmb, sizeof(tmb), "%Y%m%d%H%M%S", ptr); snprintf(arch, sizeof(arch), "%s.%s", file_name, tmb); /* set next rotation time */ m_tLogEnd = ((now / m_tRotation) * m_tRotation) + m_tRotation; // reset byte counter m_counter = 0; /* rename current file */ if(m_nLogFD >= 0) { close(m_nLogFD); rename(file_name, arch); } /* open new file */ m_nLogFD = openFile(cmd, file_name); if(m_nLogFD < 0) { /* opening a new file has failed! try to reopen and clear the last file */ char msg[HUGE_STR]; snprintf(msg, sizeof(msg), "ERROR while writing to file, %ld messages lost\n", *messages); fprintf(stderr,"[%s]: ERROR, while writing to file <%s>\n", cmd, file_name); rename(arch, file_name); m_nLogFD = openFile(cmd, file_name); if(m_nLogFD > 0) { rc = ftruncate(m_nLogFD, 0); rc = write(m_nLogFD, msg, strlen(msg)); } } else { *messages = 0; if(m_compress || (m_generations != -1)) { signal(SIGCHLD,sigchild); if(fork() == 0) { if(m_compress) { compressThread(cmd, arch); } if(m_generations != -1) { qs_deleteOldFiles(file_name, m_generations); } exit(0); } } } } /** * Separate thread which initiates file rotation even no * log data is written. * * @param argv (not used) */ static void *forcedRotationThread(void *argv) { time_t now; time_t n; while(1) { qs_csLock(); now = get_now(); if(now > m_tLogEnd) { rotate(m_cmd, now, m_file_name, &m_messages); } qs_csUnLock(); now = get_now(); n = 1 + m_tLogEnd - now; sleep(n); } return NULL; } void handle_signal1(int signal) { rotate(m_cmd, get_now(), m_file_name, &m_messages); return; } int main(int argc, char **argv) { char *username = NULL; int rc; char *buf; int nRead, nWrite; time_t now; struct stat st; long sizeLimit = 0; pthread_attr_t *tha = NULL; pthread_t tid; struct sigaction sa; char *cmd = strrchr(argv[0], '/'); sa.sa_handler = &handle_signal1; sa.sa_flags = SA_RESTART; if(cmd == NULL) { cmd = argv[0]; } else { cmd++; } m_cmd = calloc(1, strlen(cmd)+1); strcpy(m_cmd, cmd); // copy as we can't pass it when forking while(argc >= 1) { if(strcmp(*argv,"-o") == 0) { if (--argc >= 1) { m_file_name = *(++argv); } } else if(strcmp(*argv,"-u") == 0) { if (--argc >= 1) { username = *(++argv); } } else if(strcmp(*argv,"-s") == 0) { if (--argc >= 1) { m_tRotation = atoi(*(++argv)); } } else if(strcmp(*argv,"-t") == 0) { if (--argc >= 1) { m_offset = atoi(*(++argv)); m_offset = m_offset * 3600; m_offset_enabled = 1; } } else if(strcmp(*argv,"-g") == 0) { if (--argc >= 1) { m_generations = atoi(*(++argv)); } } else if(strcmp(*argv,"-b") == 0) { if (--argc >= 1) { sizeLimit = atol(*(++argv)); } } else if(strcmp(*argv,"-m") == 0) { if (--argc >= 1) { int mode = atoi(*(++argv)); if(mode == 600) { m_mode = 0600; } else if(mode == 640) { m_mode = 0640; } else if(mode == 660) { m_mode = 0660; } else if(mode == 664) { m_mode = 0664; } } } else if(strcmp(*argv,"-z") == 0) { m_compress = 1; } else if(strcmp(*argv,"-p") == 0) { m_stdout = 1; } else if(strcmp(*argv,"-d") == 0) { m_timestamp = 1; memset(time_string, 32, TME_STR_LEN); } else if(strcmp(*argv,"-f") == 0) { m_force_rotation = 1; } else if(strcmp(*argv,"-h") == 0) { usage(m_cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(m_cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(m_cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(m_cmd, 1); } argc--; argv++; } if(m_file_name == NULL) usage(m_cmd, 0); if(sizeLimit > 0 && sizeLimit < m_limit && sizeLimit >= (1024 * 1024)) { m_limit = sizeLimit; } else if(sizeLimit > 0 && sizeLimit < (1024 * 1024)) { m_limit = 1024 * 1024; } if(stat(m_file_name, &st) == 0) { m_counter = st.st_size; } sigaction(SIGUSR1, &sa, NULL); qs_setuid(username, m_cmd); /* set next rotation time */ now = get_now(); m_tLogEnd = ((now / m_tRotation) * m_tRotation) + m_tRotation; /* open file */ m_nLogFD = openFile(m_cmd, m_file_name); if(m_nLogFD < 0) { /* startup did not success */ exit(2); } if(m_force_rotation) { qs_csInitLock(); pthread_create(&tid, tha, forcedRotationThread, NULL); } buf = calloc(1, MAX_LINE_BUFFER+1); for(;;) { if(m_timestamp) { // low perf line-by-line read if(fgets(buf, MAX_LINE_BUFFER, stdin) == NULL) { exit(3); } else { nRead = strlen(buf); if(m_force_rotation) { qs_csLock(); // >@CTR1 } m_counter += (nRead + TME_STR_LEN); now = get_now(); writeTimestamp(); nWrite = write(m_nLogFD, buf, nRead); } } else { // normal/fast buffer read/process nRead = read(0, buf, MAX_LINE_BUFFER); if(nRead == 0) exit(3); if(nRead < 0) if(errno != EINTR) exit(4); if(m_force_rotation) { qs_csLock(); // >@CTR1 } m_counter += nRead; now = get_now(); /* write data if we have a file handle (else continue but drop log data, re-try to open the file at next rotation time) */ if(m_nLogFD >= 0) { do { nWrite = write(m_nLogFD, buf, nRead); if(m_stdout) { printf("%.*s", nRead, buf); } } while (nWrite < 0 && errno == EINTR); } m_messages++; if(nWrite != nRead) { if(m_nLogFD >= 0) { char msg[HUGE_STR]; snprintf(msg, sizeof(msg), "ERROR while writing to file, %ld messages lost\n", m_messages); /* error while writing data, try to delete the old file and continue ... */ rc = ftruncate(m_nLogFD, 0); rc = write(m_nLogFD, msg, strlen(msg)); m_messages = 0; } } } // end buffer or line read if((now > m_tLogEnd) || (m_counter > m_limit)) { /* rotate! */ rotate(m_cmd, now, m_file_name, &m_messages); } if(m_force_rotation) { qs_csUnLock(); // <@CTR1 } } memset(buf, 0, MAX_LINE_BUFFER); free(buf); return 0; } mod_qos-11.74/tools/src/Makefile.in0000664000000000000020000005641114431415521015461 0ustar rootbin# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # $Id: Makefile.am 2486 2018-09-03 20:22:17Z pbuchbinder $ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : bin_PROGRAMS = qsfilter2$(EXEEXT) qslog$(EXEEXT) qspng$(EXEEXT) \ qsrotate$(EXEEXT) qssign$(EXEEXT) qstail$(EXEEXT) \ qshead$(EXEEXT) qsgrep$(EXEEXT) qsexec$(EXEEXT) \ qscheck$(EXEEXT) qsgeo$(EXEEXT) qslogger$(EXEEXT) \ qsdt$(EXEEXT) qsrespeed$(EXEEXT) qsre$(EXEEXT) subdir = src ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am_qscheck_OBJECTS = qscheck.$(OBJEXT) qs_util.$(OBJEXT) qscheck_OBJECTS = $(am_qscheck_OBJECTS) qscheck_LDADD = $(LDADD) am_qsdt_OBJECTS = qsdt.$(OBJEXT) qs_util.$(OBJEXT) qsdt_OBJECTS = $(am_qsdt_OBJECTS) qsdt_LDADD = $(LDADD) am_qsexec_OBJECTS = qsexec.$(OBJEXT) qs_util.$(OBJEXT) qsexec_OBJECTS = $(am_qsexec_OBJECTS) qsexec_LDADD = $(LDADD) am_qsfilter2_OBJECTS = qsfilter2.$(OBJEXT) qs_util.$(OBJEXT) qsfilter2_OBJECTS = $(am_qsfilter2_OBJECTS) qsfilter2_LDADD = $(LDADD) am_qsgeo_OBJECTS = qsgeo.$(OBJEXT) qs_util.$(OBJEXT) qsgeo_OBJECTS = $(am_qsgeo_OBJECTS) qsgeo_LDADD = $(LDADD) am_qsgrep_OBJECTS = qsgrep.$(OBJEXT) qs_util.$(OBJEXT) qsgrep_OBJECTS = $(am_qsgrep_OBJECTS) qsgrep_LDADD = $(LDADD) am_qshead_OBJECTS = qshead.$(OBJEXT) qs_util.$(OBJEXT) qshead_OBJECTS = $(am_qshead_OBJECTS) qshead_LDADD = $(LDADD) am_qslog_OBJECTS = qslog.$(OBJEXT) qs_util.$(OBJEXT) qslog_OBJECTS = $(am_qslog_OBJECTS) qslog_LDADD = $(LDADD) am_qslogger_OBJECTS = qslogger.$(OBJEXT) qs_util.$(OBJEXT) qslogger_OBJECTS = $(am_qslogger_OBJECTS) qslogger_LDADD = $(LDADD) am_qspng_OBJECTS = qspng.$(OBJEXT) qs_util.$(OBJEXT) qspng_OBJECTS = $(am_qspng_OBJECTS) qspng_LDADD = $(LDADD) am_qsre_OBJECTS = qsre.$(OBJEXT) qs_util.$(OBJEXT) qsre_OBJECTS = $(am_qsre_OBJECTS) qsre_LDADD = $(LDADD) am_qsrespeed_OBJECTS = qsrespeed.$(OBJEXT) qs_util.$(OBJEXT) qsrespeed_OBJECTS = $(am_qsrespeed_OBJECTS) qsrespeed_LDADD = $(LDADD) am_qsrotate_OBJECTS = qsrotate.$(OBJEXT) qs_util.$(OBJEXT) qsrotate_OBJECTS = $(am_qsrotate_OBJECTS) qsrotate_LDADD = $(LDADD) am_qssign_OBJECTS = qssign.$(OBJEXT) qs_util.$(OBJEXT) \ qs_apo.$(OBJEXT) qssign_OBJECTS = $(am_qssign_OBJECTS) qssign_LDADD = $(LDADD) am_qstail_OBJECTS = qstail.$(OBJEXT) qs_util.$(OBJEXT) qstail_OBJECTS = $(am_qstail_OBJECTS) qstail_LDADD = $(LDADD) AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) AM_V_CC = $(am__v_CC_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_CCLD = $(am__v_CCLD_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(qscheck_SOURCES) $(qsdt_SOURCES) $(qsexec_SOURCES) \ $(qsfilter2_SOURCES) $(qsgeo_SOURCES) $(qsgrep_SOURCES) \ $(qshead_SOURCES) $(qslog_SOURCES) $(qslogger_SOURCES) \ $(qspng_SOURCES) $(qsre_SOURCES) $(qsrespeed_SOURCES) \ $(qsrotate_SOURCES) $(qssign_SOURCES) $(qstail_SOURCES) DIST_SOURCES = $(qscheck_SOURCES) $(qsdt_SOURCES) $(qsexec_SOURCES) \ $(qsfilter2_SOURCES) $(qsgeo_SOURCES) $(qsgrep_SOURCES) \ $(qshead_SOURCES) $(qslog_SOURCES) $(qslogger_SOURCES) \ $(qspng_SOURCES) $(qsre_SOURCES) $(qsrespeed_SOURCES) \ $(qsrotate_SOURCES) $(qssign_SOURCES) $(qstail_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/depcomp DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ qsfilter2_SOURCES = \ qsfilter2.c qs_util.c qslog_SOURCES = \ qslog.c qs_util.c qspng_SOURCES = \ qspng.c qs_util.c qsrotate_SOURCES = \ qsrotate.c qs_util.c qssign_SOURCES = \ qssign.c qs_util.c qs_apo.c qstail_SOURCES = \ qstail.c qs_util.c qshead_SOURCES = \ qshead.c qs_util.c qsgrep_SOURCES = \ qsgrep.c qs_util.c qsexec_SOURCES = \ qsexec.c qs_util.c qscheck_SOURCES = \ qscheck.c qs_util.c qsgeo_SOURCES = \ qsgeo.c qs_util.c qslogger_SOURCES = \ qslogger.c qs_util.c qsdt_SOURCES = \ qsdt.c qs_util.c qsrespeed_SOURCES = \ qsrespeed.c qs_util.c qsre_SOURCES = \ qsre.c qs_util.c all: all-am .SUFFIXES: .SUFFIXES: .c .o .obj $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p \ ; then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' \ -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' \ `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) qscheck$(EXEEXT): $(qscheck_OBJECTS) $(qscheck_DEPENDENCIES) $(EXTRA_qscheck_DEPENDENCIES) @rm -f qscheck$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qscheck_OBJECTS) $(qscheck_LDADD) $(LIBS) qsdt$(EXEEXT): $(qsdt_OBJECTS) $(qsdt_DEPENDENCIES) $(EXTRA_qsdt_DEPENDENCIES) @rm -f qsdt$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsdt_OBJECTS) $(qsdt_LDADD) $(LIBS) qsexec$(EXEEXT): $(qsexec_OBJECTS) $(qsexec_DEPENDENCIES) $(EXTRA_qsexec_DEPENDENCIES) @rm -f qsexec$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsexec_OBJECTS) $(qsexec_LDADD) $(LIBS) qsfilter2$(EXEEXT): $(qsfilter2_OBJECTS) $(qsfilter2_DEPENDENCIES) $(EXTRA_qsfilter2_DEPENDENCIES) @rm -f qsfilter2$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsfilter2_OBJECTS) $(qsfilter2_LDADD) $(LIBS) qsgeo$(EXEEXT): $(qsgeo_OBJECTS) $(qsgeo_DEPENDENCIES) $(EXTRA_qsgeo_DEPENDENCIES) @rm -f qsgeo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsgeo_OBJECTS) $(qsgeo_LDADD) $(LIBS) qsgrep$(EXEEXT): $(qsgrep_OBJECTS) $(qsgrep_DEPENDENCIES) $(EXTRA_qsgrep_DEPENDENCIES) @rm -f qsgrep$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsgrep_OBJECTS) $(qsgrep_LDADD) $(LIBS) qshead$(EXEEXT): $(qshead_OBJECTS) $(qshead_DEPENDENCIES) $(EXTRA_qshead_DEPENDENCIES) @rm -f qshead$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qshead_OBJECTS) $(qshead_LDADD) $(LIBS) qslog$(EXEEXT): $(qslog_OBJECTS) $(qslog_DEPENDENCIES) $(EXTRA_qslog_DEPENDENCIES) @rm -f qslog$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qslog_OBJECTS) $(qslog_LDADD) $(LIBS) qslogger$(EXEEXT): $(qslogger_OBJECTS) $(qslogger_DEPENDENCIES) $(EXTRA_qslogger_DEPENDENCIES) @rm -f qslogger$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qslogger_OBJECTS) $(qslogger_LDADD) $(LIBS) qspng$(EXEEXT): $(qspng_OBJECTS) $(qspng_DEPENDENCIES) $(EXTRA_qspng_DEPENDENCIES) @rm -f qspng$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qspng_OBJECTS) $(qspng_LDADD) $(LIBS) qsre$(EXEEXT): $(qsre_OBJECTS) $(qsre_DEPENDENCIES) $(EXTRA_qsre_DEPENDENCIES) @rm -f qsre$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsre_OBJECTS) $(qsre_LDADD) $(LIBS) qsrespeed$(EXEEXT): $(qsrespeed_OBJECTS) $(qsrespeed_DEPENDENCIES) $(EXTRA_qsrespeed_DEPENDENCIES) @rm -f qsrespeed$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsrespeed_OBJECTS) $(qsrespeed_LDADD) $(LIBS) qsrotate$(EXEEXT): $(qsrotate_OBJECTS) $(qsrotate_DEPENDENCIES) $(EXTRA_qsrotate_DEPENDENCIES) @rm -f qsrotate$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qsrotate_OBJECTS) $(qsrotate_LDADD) $(LIBS) qssign$(EXEEXT): $(qssign_OBJECTS) $(qssign_DEPENDENCIES) $(EXTRA_qssign_DEPENDENCIES) @rm -f qssign$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qssign_OBJECTS) $(qssign_LDADD) $(LIBS) qstail$(EXEEXT): $(qstail_OBJECTS) $(qstail_DEPENDENCIES) $(EXTRA_qstail_DEPENDENCIES) @rm -f qstail$(EXEEXT) $(AM_V_CCLD)$(LINK) $(qstail_OBJECTS) $(qstail_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qs_apo.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qs_util.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qscheck.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsdt.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsexec.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsfilter2.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsgeo.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsgrep.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qshead.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qslog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qslogger.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qspng.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsre.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsrespeed.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qsrotate.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qssign.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/qstail.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ distclean distclean-compile distclean-generic distclean-tags \ distdir dvi dvi-am html html-am info info-am install \ install-am install-binPROGRAMS install-data install-data-am \ install-dvi install-dvi-am install-exec install-exec-am \ install-html install-html-am install-info install-info-am \ install-man install-pdf install-pdf-am install-ps \ install-ps-am install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ ps ps-am tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mod_qos-11.74/tools/src/qs_util.c0000664000000000000020000002254414431415521015240 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ static const char revision[] = "$Id: qs_util.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include #include #include #include #include #include #define PCRE2_CODE_UNIT_WIDTH 8 #include typedef pcre2_match_data* match_data_pt; typedef size_t* match_vector_pt; #include "qs_util.h" /* mutex for counter access */ static pthread_mutex_t m_qs_lock_cs; /* online/offline mode */ static int m_qs_offline = 0; /* internal clock for offline analysis * stores time in seconds */ static time_t m_qs_virtualSystemTime = 0; /* ---------------------------------- * functions * ---------------------------------- */ /** * man: * - escape special chars, like "\" and "-" * - wipe leading spaces * - wipe tailing LF */ void qs_man_print(int man, const char *fmt, ...) { char bufin[4096]; char bufout[4096]; va_list args; int i = 0; int j = 0; memset(bufin, 0, 4096); va_start(args, fmt); vsprintf(bufin, fmt, args); if(man) { // wipe leading spaces // while(bufin[i] == ' ' && bufin[i+1] == ' ') { while(bufin[i] == ' ') { i++; } } while(bufin[i] && j < 4000) { // escape "\\" and "-" for man page if(man && (bufin[i] == '\\' || bufin[i] == '-')) { bufout[j] = '\\'; j++; } if(bufin[i] == '\n') { if(man) { // skip LF for man page i++; } else { // keep LF bufout[j] = bufin[i]; i++; j++; } } else { // standard char bufout[j] = bufin[i]; i++; j++; } } bufout[j] = '\0'; printf("%s", bufout); if(man) { printf(" "); } } // escape only void qs_man_println(int man, const char *fmt, ...) { char bufin[4096]; char bufout[4096]; va_list args; int i = 0; int j = 0; memset(bufin, 0, 4096); va_start(args, fmt); vsprintf(bufin, fmt, args); while(bufin[i] && j < 4000) { // escape "\\" and "-" for man page if(man && (bufin[i] == '\\' || bufin[i] == '-')) { bufout[j] = '\\'; j++; } // standard char bufout[j] = bufin[i]; i++; j++; } bufout[j] = '\0'; printf("%s", bufout); } char *qs_CMD(const char *cmd) { char *buf = calloc(1024, 1); int i = 0; while(cmd[i] && i < 1023) { buf[i] = toupper(cmd[i]); i++; } buf[i] = '\0'; return buf; } /* io --------------------------------------------------------- */ /* * reads a line from stdin * * @param s Buffer to write line to * @param n Length of the buffer * @return 0 on EOF, or 1 if there is more data to read */ int qs_getLine(char *s, int n) { int i = 0; while (1) { s[i] = (char)getchar(); if(s[i] == EOF) return 0; if (s[i] == CR) { s[i] = getchar(); } if ((s[i] == 0x4) || (s[i] == LF) || (i == (n - 1))) { s[i] = '\0'; return 1; } ++i; } } /* * reads a line from file * * @param s Buffer to write line to * @param n Length of the buffer * @return 0 on EOF, or 1 if there is more data to read */ int qs_getLinef(char *s, int n, FILE *f) { register int i = 0; while (1) { s[i] = (char) fgetc(f); if (s[i] == CR) { s[i] = fgetc(f); } if ((s[i] == 0x4) || (s[i] == LF) || (i == (n - 1))) { s[i] = '\0'; return (feof(f) ? 1 : 0); } ++i; } } /* time ------------------------------------------------------- */ /* * We implement our own time which is either * the system time (real time) or the time from * the access log lines (offline) if m_qs_offline * has been set (use qs_set2OfflineMode() to enable * the offline mode). * * @param tme Set to the time since the Epoch in seconds. */ void qs_time(time_t *tme) { if(m_qs_offline) { /* use virtual time from the access log */ *tme = m_qs_virtualSystemTime; } else { time(tme); } } /** * Sets time measurement (qs_time()) to offline mode. */ void qs_set2OfflineMode() { m_qs_offline = 1; } /* * Updates the virtual time. */ void qs_setTime(time_t tme) { m_qs_virtualSystemTime = tme; } /* synchronisation -------------------------------------------- */ /* * locks all counter */ void qs_csLock() { pthread_mutex_lock(&m_qs_lock_cs); } /* * unlocks all counter */ void qs_csUnLock() { pthread_mutex_unlock(&m_qs_lock_cs); } /* * init locks */ void qs_csInitLock() { pthread_mutex_init(&m_qs_lock_cs, NULL); } /* logs ------------------------------------------------------- */ /** * Keeps only the specified number of files * * @param file_name Absolute file name * @param generations Number of files to keep */ void qs_deleteOldFiles(const char *file_name, int generations) { DIR *dir; char dirname[QS_HUGE_STR]; char *p; memset(dirname, 0, QS_HUGE_STR); if(strlen(file_name) > (QS_HUGE_STR - 12)) { // invalid file length return; } if(strrchr(file_name, '/') == NULL) { sprintf(dirname, "./%s", file_name); } else { strcpy(dirname, file_name); } p = strrchr(dirname, '/'); p[0] = '\0'; p++; dir = opendir(dirname); if(dir) { int num = 0; struct dirent *de; char filename[QS_HUGE_STR]; snprintf(filename, sizeof(filename), "%s.20", p); /* determine how many files to delete */ while((de = readdir(dir)) != 0) { if(de->d_name && (strncmp(de->d_name, filename, strlen(filename)) == 0)) { num++; } } /* delete the oldest files (assumes they are ordered by their creation date) */ while(num > generations) { char old[QS_HUGE_STR]; old[0] = '\0'; rewinddir(dir); while((de = readdir(dir)) != 0) { if(de->d_name && (strncmp(de->d_name, filename, strlen(filename)) == 0)) { if(strcmp(old, de->d_name) > 0) { snprintf(old, sizeof(old), "%s", de->d_name); } else { if(old[0] == '\0') { snprintf(old, sizeof(old), "%s", de->d_name); } } } } { /* build abs path and delete it */ char unl[QS_HUGE_STR]; snprintf(unl, sizeof(unl), "%s/%s", dirname, old); unlink(unl); } num--; } closedir(dir); } } /* user ------------------------------------------------------- */ void qs_setuid(const char *username, const char *cmd) { if(username && getuid() == 0) { struct passwd *pwd = getpwnam(username); uid_t uid, gid; if(pwd == NULL) { fprintf(stderr, "[%s] failed to switch user: unknown user id '%s'\n", cmd, username); exit(1); } uid = pwd->pw_uid; gid = pwd->pw_gid; setgid(gid); setuid(uid); if(getuid() != uid) { fprintf(stderr, "[%s] setuid failed (%s,%d)\n", cmd, username, uid); exit(1); } if(getgid() != gid) { fprintf(stderr, "[%s] setgid failed (%d)\n", cmd, gid); exit(1); } } } /* pcre ------------------------------------------------------- */ int qs_pregfree(void *p) { qs_regfree((qs_regex_t *)p); return 0; } void qs_regfree(qs_regex_t *preg) { if(preg->state == 1) { pcre2_code_free(preg->re_pcre); } } int qs_regcomp(qs_regex_t *preg, const char *pattern, int cflags) { unsigned int capcount; size_t erroffset; int errcode = 0; int options = cflags; preg->state = 0; preg->re_pcre = pcre2_compile((const unsigned char *)pattern, PCRE2_ZERO_TERMINATED, options, &errcode, &erroffset, NULL); if (preg->re_pcre == NULL) { return 1; } pcre2_pattern_info((const pcre2_code *)preg->re_pcre, PCRE2_INFO_CAPTURECOUNT, &capcount); preg->re_nsub = capcount; preg->state = 1; return 0; } int qs_regexec_len(const qs_regex_t *preg, const char *buff, unsigned int len, unsigned int nmatch, qs_regmatch_t *pmatch, int eflags) { int rc; int options = 0; match_vector_pt ovector = NULL; unsigned int ncaps = (unsigned int)preg->re_nsub + 1; match_data_pt data = pcre2_match_data_create(ncaps, NULL); if (!data) { return -1; } options = eflags; rc = pcre2_match((const pcre2_code *)preg->re_pcre, (const unsigned char *)buff, len, 0, options, data, NULL); ovector = pcre2_get_ovector_pointer(data); if (rc >= 0) { unsigned int n = rc, i; if (n == 0 || n > nmatch) rc = n = nmatch; /* All capture slots were filled in */ for (i = 0; i < n; i++) { pmatch[i].rm_so = ovector[i * 2]; pmatch[i].rm_eo = ovector[i * 2 + 1]; } for (; i < nmatch; i++) { pmatch[i].rm_so = pmatch[i].rm_eo = -1; } pcre2_match_data_free(data); return rc; } else { pcre2_match_data_free(data); return -1; } } mod_qos-11.74/tools/src/qs_util.h0000664000000000000020000000510014431415521015232 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef QS_UTIL_H #define QS_UTIL_H /* ---------------------------------- * version info * ---------------------------------- */ static const char man_version[] = "11.74"; static const char man_date[] = "May 2023"; /* ---------------------------------- * definitions * ---------------------------------- */ /* huge (128kb) buffer supporting very long lines (twice as much as Apache's rotatelogs uses */ #define MAX_LINE_BUFFER 131072 /* smaller buffer, e.g. for qslog */ #define MAX_LINE 32768 #define QS_HUGE_STR 2048 #define CR 13 #define LF 10 /* ---------------------------------- * functions * ---------------------------------- */ char *qs_CMD(const char *cmd); void qs_man_print(int man, const char *fmt, ...); void qs_man_println(int man, const char *fmt, ...); /* io */ int qs_getLine(char *s, int n); int qs_getLinef(char *s, int n, FILE *f); /* time */ void qs_time(time_t *tme); void qs_set2OfflineMode(); void qs_setTime(time_t tme); /* synchronisation */ void qs_csInitLock(); void qs_csLock(); void qs_csUnLock(); /* log */ void qs_deleteOldFiles(const char *file_name, int generations); /* user */ void qs_setuid(const char *username, const char *cmd); /* pcre */ #define QS_MAX_REG_MATCH 10 typedef struct { int rm_so; int rm_eo; } qs_regmatch_t; typedef struct { void *re_pcre; int re_nsub; int state; } qs_regex_t; int qs_pregfree(void *p); void qs_regfree(qs_regex_t *preg); int qs_regcomp(qs_regex_t *preg, const char *regex, int cflags); int qs_regexec_len(const qs_regex_t *preg, const char *buff, unsigned int len, unsigned int nmatch, qs_regmatch_t *pmatch, int eflags); #endif mod_qos-11.74/tools/src/qsdt.c0000664000000000000020000002463114431415521014532 0ustar rootbin/** * Utility for the quality of service module mod_qos. * * qsdt.c: simple tool to measure the elapse time between * related log messages * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #include #include #include #include #include #include #include #include #include #include #include "qs_util.h" #define MAX_REG_MATCH 10 #define TIMESTR "%H:%M:%S" #define TIMEEX "([0-9]{2}:[0-9]{2}:[0-9]{2})[.,]([0-9]{3})" typedef struct { time_t seconds; int milliseconds; char *id; } entry_t; static void usage(const char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s calculates the elapsed time between two related log messages.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s [-t ] -i -s -e [-v] []\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "%s is a simple tool to search two different messages\n", cmd); qs_man_print(man, "in a log file and calculates the elapsed time between these\n"); qs_man_print(man, "lines. The two log messages need a common identifier such an\n"); qs_man_print(man, "unique request id (UNIQUE_ID), a thread id, or a transaction\n"); qs_man_print(man, "code.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -t \n"); if(man) printf("\n"); qs_man_print(man, " Defines a pattern (regular expression) matching the log line's\n"); qs_man_print(man, " timestamp. The pattern must include two sub-expressions, one matching\n"); qs_man_print(man, " hours, minutes and seconds the other matching the milliseconds.\n"); qs_man_print(man, " Default pattern is "TIMEEX"\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -i \n"); if(man) printf("\n"); qs_man_print(man, " Pattern (regular expression) matching the identifier which the two\n"); qs_man_print(man, " messages have in common. The sub-expression defines the part which\n"); qs_man_print(man, " needs to be extracted from the matching string. Note: You can also\n"); qs_man_print(man, " use the start (-s) and end (-e) pattern to define the sub-expression\n"); qs_man_print(man, " matching this identifier.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -s \n"); if(man) printf("\n"); qs_man_print(man, " Defines the pattern (regular expression or literal string)\n"); qs_man_print(man, " identifying the first (start) of the two messages.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -e \n"); if(man) printf("\n"); qs_man_print(man, " Defines the pattern (regular expression or literal string)\n"); qs_man_print(man, " identifying the second (end) of the two messages.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " -v\n"); if(man) printf("\n"); qs_man_print(man, " Verbose mode.\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " \n"); if(man) printf("\n"); qs_man_print(man, " Defines the input file to process. %s reads from\n", cmd); qs_man_print(man, " from standard input if this parameter is omitted.\n"); printf("\n"); if(man) { printf(".SH EXAMPLE\n"); printf("Sample command line arguments:\n"); printf("\n"); } else { printf(" Sample arguments:\n"); } qs_man_println(man, " -i ' ([a-z0-9]+) [A-Z]+ ' -s 'Received Request' -e 'Received Response'\n"); printf("\n"); qs_man_println(man, " matching those sample log messages:\n"); qs_man_println(man, " 2018-03-12 16:34:08.653 threadid23 INFO Received Request\n"); qs_man_println(man, " 2018-03-13 16:35:09.891 threadid23 DEBUG MessageHandler Received Response\n"); printf("\n"); if(man) { printf(".SH NOTE\n"); } else { printf("Notes:\n"); } qs_man_println(man, "The four patterns (t,i,s,e) are concatenated into two search patterns:\n"); qs_man_println(man, " first (start): [t (HH:MM:SS)(SSS) ].*[i (id) ].*[s ]\n"); qs_man_println(man, " second (end): [t (HH:MM:SS)(SSS) ].*[i (id) ].*[e ]\n"); printf("\n"); qs_man_print(man, "And the three sub-expression are used to extract the timestamp and the\n"); qs_man_print(man, "unique identifier that the start and end message have in common.\n"); qs_man_print(man, "This means that you could specify the sub-expression for the unique\n"); qs_man_print(man, "identifier in the start (-s) or end (-e) pattern alternatively, e.g. in\n"); qs_man_print(man, "case the identifier is at the end of the log line.\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } int main(int argc, const char *const argv[]) { FILE *file; char line[MAX_LINE]; int verbose = 0; const char *cmd = strrchr(argv[0], '/'); apr_pool_t *pool; apr_table_t *inmsg; regmatch_t ma[MAX_REG_MATCH]; regex_t pregstart; regex_t pregend; const char *timeex = TIMEEX; const char *idex = NULL; const char *startex = NULL; const char *endex = NULL; const char *filename = NULL; char *regexStr; apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); inmsg = apr_table_make(pool, 100); if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-t") == 0) { if (--argc >= 1) { timeex = *(++argv); } } else if(strcmp(*argv,"-i") == 0) { if (--argc >= 1) { idex = *(++argv); } } else if(strcmp(*argv,"-s") == 0) { if (--argc >= 1) { startex = *(++argv); } } else if(strcmp(*argv,"-e") == 0) { if (--argc >= 1) { endex = *(++argv); } } else if(strcmp(*argv,"-v") == 0) { verbose = 1; } else if(strcmp(*argv,"-h") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } else { filename = *argv; } argc--; argv++; } if(idex == NULL || startex == NULL || endex == NULL) { usage(cmd, 0); } if(filename) { file = fopen(filename, "r"); if(!file) { fprintf(stderr, "ERROR, failed to open the log file '%s'\n", filename); exit(1); } } else { file = stdin; } regexStr = apr_psprintf(pool, "%s.*%s.*%s", timeex, idex, startex); if(verbose) { fprintf(stderr, "start pattern: %s\n", regexStr); } if(regcomp(&pregstart, regexStr, REG_EXTENDED)) { fprintf(stderr, "ERROR, could not compile %s\n", regexStr); exit(1); }; regexStr = apr_psprintf(pool, "%s.*%s.*%s", timeex, idex, endex); if(verbose) { fprintf(stderr, "end pattern: %s\n", regexStr); } if(regcomp(&pregend, regexStr, REG_EXTENDED)) { fprintf(stderr, "ERROR, could not compile %s\n", regexStr); exit(1); }; while(fgets(line, MAX_LINE-1, file) != NULL) { char *hms; char *ms; char *id; if(regexec(&pregstart, line, MAX_REG_MATCH, ma, 0) == 0) { entry_t *entry = calloc(1, sizeof(entry_t)); struct tm tm; if(ma[3].rm_so == -1) { fprintf(stderr, "ERROR, invalid regular expression (missing sub-expression in pattern)\n"); exit(1); } hms = &line[ma[1].rm_so]; ms = &line[ma[2].rm_so]; id = &line[ma[3].rm_so]; line[ma[1].rm_eo] = '\0'; line[ma[2].rm_eo] = '\0'; line[ma[3].rm_eo] = '\0'; strptime(hms, TIMESTR, &tm); entry->seconds = mktime(&tm); entry->milliseconds = atoi(ms); entry->id = calloc(strlen(id)+1, sizeof(char)); sprintf(entry->id, "%s", id); if(verbose) { fprintf(stderr, "START [%s][%s][%s] %lu %d\n", hms, ms, id, entry->seconds, entry->milliseconds); } apr_table_setn(inmsg, entry->id, (char *)entry); } else if(regexec(&pregend, line, MAX_REG_MATCH, ma, 0) == 0) { entry_t entry; entry_t *start; struct tm tm; if(ma[3].rm_so == -1) { fprintf(stderr, "ERROR, invalid regular expression (missing sub-expression in pattern)\n"); exit(1); } hms = &line[ma[1].rm_so]; ms = &line[ma[2].rm_so]; id = &line[ma[3].rm_so]; line[ma[1].rm_eo] = '\0'; line[ma[2].rm_eo] = '\0'; line[ma[3].rm_eo] = '\0'; strptime(hms, TIMESTR, &tm); entry.seconds = mktime(&tm); entry.milliseconds = atoi(ms); if(verbose) { fprintf(stderr, "END [%s][%s][%s] %lu %d\n", hms, ms, id, entry.seconds, entry.milliseconds); } start = (entry_t *)apr_table_get(inmsg, id); if(start) { printf("@%s %s %10lu [ms]\n", line, id, (entry.seconds-start->seconds)*1000 + entry.milliseconds-start->milliseconds); apr_table_unset(inmsg, id); free(start->id); free(start); } } } fclose(file); return 0; } mod_qos-11.74/tools/src/qscheck.c0000664000000000000020000002547214431415521015204 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * qscheck.c: Monitor testing tcp connectivity to servers used by mod_proxy. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qscheck.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include #include #include #include #include #include "qs_util.h" //#include #define CR 13 #define LF 10 #define QS_TIMEOUT 2 #define QS_PROXYP "proxypass " #define QS_PROXYP_TAB "proxypass\t" #define QS_PROXYPR "proxypassreverse " #define QS_PROXYPR_TAB "proxypassreverse\t" #define QS_PROXYR "proxyremote " #define QS_PROXYR_TAB "proxyremote\t" #define QS_INCLUDE "nclude " #define QS_INCLUDE_TAB "nclude\t" #define QS_SERVERROOT "ServerRoot " #define QS_SERVERROOT_TAB "ServerRoot\t" static int m_verbose = 0; static char ServerRoot[1024]; static char *checkedHosts = NULL; /** * Prints usage text */ static void usage(char *cmd) { printf("\n"); printf("Monitor program testing the TCP connectivity to servers.\n"); printf("\n"); printf("Usage: %s -c [-v]\n", cmd); printf("\n"); printf("Verifies the connectivity to the server referred either\n"); printf("by the ProxyPass, ProxyPassReverse, or ProxyReverse\n"); printf("directive used by mod_proxy.\n"); printf("\n"); printf("You may alternatively use \"%s -i :\" if\n", cmd); printf("you want to check the TCP connectivity to a single host.\n"); printf("\n"); printf("See http://mod-qos.sourceforge.net/ for further details.\n"); exit(1); } /** * Opens a tcp connection */ static int ping(unsigned long address, int port) { int status = 0; struct sockaddr_in addr; int skt; addr.sin_addr.s_addr = address; addr.sin_port = htons(port); addr.sin_family = PF_INET; skt = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP); if(skt != -1) { int sflags = fcntl(skt,F_GETFL,0); if(sflags >=0) { /* set non blocking socket */ if(fcntl(skt,F_SETFL,sflags|O_NONBLOCK) >=0) { /* this connect returns immediately */ int ret = connect(skt, (struct sockaddr*)&addr, sizeof(struct sockaddr_in)); if(fcntl(skt,F_SETFL,sflags) >=0) { socklen_t lon = sizeof(int); int valopt; fd_set fd_w; struct timeval tme; tme.tv_sec = QS_TIMEOUT; tme.tv_usec = 0; FD_ZERO(&fd_w); FD_SET(skt, &fd_w); /* select returns -1 on timeout, else 1 (connected or refused) */ if(select(FD_SETSIZE, NULL, &fd_w, NULL, &tme) > 0) { /* check the status of the socket in order to distinguish between connected or refused */ if(getsockopt(skt, SOL_SOCKET, SO_ERROR, (void*)(&valopt), &lon) >= 0) { if(!valopt) { /* UP ! */ status = 1; } } } } } } } return status; } /** * resolves host address */ static unsigned long getAddress(const char *hostname) { int ip = 1; int i = 0; unsigned long address = 0L; struct hostent *hoste; for(i = 0; i < (int) strlen(hostname); i++) { if((!isdigit((int) hostname[i])) && (hostname[i] != '.')) { ip = 0; break; } } if (ip) { address = inet_addr(hostname); if(address == -1) { return 0L; } } else { hoste = gethostbyname(hostname); if (!hoste || !hoste->h_addr_list[ 0 ]) { /* can't resolve host name */ return 0L; } address = ((struct in_addr*)hoste->h_addr_list[ 0 ])->s_addr; } return address; } /* * Checks a single host (parse host string, resolve address, ping). */ static int checkHost(const char *cmd, const char *filename, int ln, char *abs_url) { int status = 1; char *schema = abs_url; char *host = NULL; char *ports = NULL; int port = 0; char hp[1024]; unsigned long address; char *x = strstr(abs_url, "://"); if(x == NULL) { if(m_verbose) { fprintf(stderr,"[%s]: ERROR, wrong syntax <%s> in %s on line %d\n", cmd, abs_url, filename, ln); } return 0; } x[0] = '\0'; x = x + strlen("://"); host = x; ports = strchr(x, ':'); if(ports != NULL) { ports[0] = '\0'; ports++; x = strchr(ports, '/'); if(x == NULL) { int i; x = ports; for(i=0;(x[i] != ' ') && (x[i] != '\t') && (x[i] != '\0'); i++); x[i] = '\0'; } else { x[0] = '\0'; } port = atoi(ports); } else { ports = strchr(x, '/'); if(ports == NULL) { int i; for(i=0;(x[i] != ' ') && (x[i] != '\t') && (x[i] != '\0'); i++); x[i] = '\0'; } else { ports[0] = '\0'; } if(strcmp(schema, "http") == 0) { port = 80; } else { port = 443; } } /* check each host only once */ snprintf(hp, sizeof(hp), "#%s:%d#", host, port); if(checkedHosts && strstr(checkedHosts, hp) != NULL) { /* already checked */ return 1; } if(checkedHosts == NULL) { checkedHosts = calloc(1, strlen(hp) + 1); strcpy(checkedHosts, hp); } else { int pl = strlen(checkedHosts) +strlen(hp) + 1; char *p = calloc(1, pl); snprintf(p, pl, "%s%s", checkedHosts, hp); free(checkedHosts); checkedHosts = p; } /* resolve address */ address = getAddress(host); if(address == 0L) { fprintf(stderr,"[%s]: ERROR, could not resolve hostname %s\n", cmd, host); return -1; } /* check connection */ if(ping(address, port)) { if(m_verbose) { printf("[%s]: %s:%d Up\n", cmd, host, port); } return 1; } else { printf("[%s]: %s:%d Down\n", cmd, host, port); return 0; } } /** * Open file and check every ProxyPass* or ProxyR* entry. * - follows include ... directive * - determines serverroot */ static int checkFile(const char *cmd, const char *filename) { int status = 1; int ln = 0; char line[1024]; FILE *f = fopen(filename, "r"); if(f == NULL) { if(ServerRoot[0] != '\0') { char fqfile[2048]; snprintf(fqfile, sizeof(fqfile), "%s/%s", ServerRoot, filename); f = fopen(fqfile, "r"); } } if(f == NULL) { fprintf(stderr,"[%s]: ERROR, could not open file %s\n", cmd, filename); return 0; } while(!qs_getLinef(line, sizeof(line), f)) { char *command = NULL; int cmd_len = 0; int to = 0; while(line[to]) { line[to] = tolower(line[to]); to++; } ln++; command = strstr(line, QS_PROXYP); cmd_len = strlen(QS_PROXYP); if(command == NULL) command = strstr(line, QS_PROXYP_TAB); if(command == NULL) { command = strstr(line, QS_PROXYPR); cmd_len = strlen(QS_PROXYPR); } if(command == NULL) command = strstr(line, QS_PROXYPR_TAB); if(command == NULL) { command = strstr(line, QS_PROXYR); cmd_len = strlen(QS_PROXYR); } if(command == NULL) command = strstr(line, QS_PROXYR_TAB); if(command && strchr(line, '#') == 0) { /* command = cmd url schema://host[:port]/url */ char *abs_url = &command[cmd_len]; int i, j; /* get the url */ for(i=0;(abs_url[i] == ' ') || (abs_url[i] == '\t'); i++); abs_url = &abs_url[i]; /* skip url */ for(i=0;(abs_url[i] != ' ') && (abs_url[i] != '\t') && (abs_url[i] != '\0'); i++); abs_url = &abs_url[i]; /* get schema://host[:port]/url */ for(i=0;(abs_url[i] == ' ') || (abs_url[i] == '\t'); i++); abs_url = &abs_url[i]; /* ping */ if(abs_url && abs_url[0] != '\0' && abs_url[0] != '!') { status = status & checkHost(cmd, filename, ln, abs_url); } } else { /* include commands */ command = strstr(line, QS_INCLUDE); if(command == NULL) command = strstr(line, QS_INCLUDE_TAB); if(command && strchr(line, '#') == 0) { char *file = &command[strlen(QS_INCLUDE)]; int i, j; /* get the value */ for(i=0;(file[i] == ' ') || (file[i] == '\t'); i++); /* delete spaces at the end of the value */ if(&file[i] != '\0') { for(j=i+1;(file[j] != ' ') && (file[j] != '\t') && (file[j] != '\0'); j++); file[j] = '\0'; } file = &file[i]; status = status & checkFile(cmd, file); } else { /* server root */ command = strstr(line, QS_SERVERROOT); if(command == NULL) command = strstr(line, QS_SERVERROOT_TAB); if(command && strchr(line, '#') == 0) { char *sr = &command[strlen(QS_SERVERROOT)]; int i, j; /* get the value */ for(i=0;(sr[i] == ' ') || (sr[i] == '\t'); i++); /* delete spaces at the end of the value */ if(&sr[i] != '\0') { for(j=i+1;(sr[j] != ' ') && (sr[j] != '\t') && (sr[j] != '\0'); j++); sr[j] = '\0'; } strcpy(ServerRoot, &sr[i]); } } } } fclose(f); return status; } int main(int argc, char **argv) { char *config = NULL; char *cmd = strrchr(argv[0], '/'); char *single = NULL; int status = 1; if(cmd == NULL) { cmd = argv[0]; } else { cmd++; } ServerRoot[0] = '\0'; while(argc >= 1) { if(strcmp(*argv,"-c") == 0) { if (--argc >= 1) { config = *(++argv); } } else if(strcmp(*argv,"-i") == 0) { if (--argc >= 1) { single = *(++argv); } } else if(strcmp(*argv,"-v") == 0) { m_verbose = 1; } argc--; argv++; } if(single) { char *hostName = single; char *portNumber = strchr(single, ':'); if(portNumber) { unsigned long addr; int prt; portNumber[0] = '\0'; portNumber++; addr = getAddress(hostName); prt = atoi(portNumber); if(addr && prt) { if(ping(addr, prt)) { if(m_verbose) { printf("[%s]: %s:%d Up\n", cmd, hostName, prt); } status = 1; } else { printf("[%s]: %s:%d Down\n", cmd, hostName, prt); status = 0; } } else { // could not resolve fprintf(stderr,"[%s]: ERROR, unknown host/port\n", cmd); status = 0; } } else { // invalid input fprintf(stderr,"[%s]: ERROR, invalid format\n", cmd); status = 0; } } else { if(config == NULL) { usage(cmd); } status = checkFile(cmd, config); } if(status == 0) { fprintf(stderr,"[%s]: ERROR, check failed\n", cmd); exit(1); } printf("[%s]: OK, check successful\n", cmd); return 0; } mod_qos-11.74/tools/src/qsre.c0000664000000000000020000001404514431415521014527 0ustar rootbin/** * qsre.c: pcre expression match test tool * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qsre.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; /* system */ #include #include #include #include #include /* apr */ #include #include #include #include #include #include #include #define PCRE2_CODE_UNIT_WIDTH 8 #include #include "qs_util.h" #define QS_OVECCOUNT 100 static void usage(const char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s matches a regular expression against test strings.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s | |\n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, "Regular expression test tool.\n"); qs_man_print(man, "The provided regular expression (pcre, caseless matching, \".\" matches anything\n"); qs_man_print(man, "incl. newline) is appplied against the provided test strings to verify if the\n"); qs_man_print(man, "pattern matches.\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " |\n"); if(man) printf("\n"); qs_man_print(man, " The first argument either defines a single test string of a path to\n"); qs_man_print(man, " a file containing either multiple test strings or a test pattern with\n"); qs_man_print(man, " newline characters (text).\n"); if(man) printf("\n.TP\n"); qs_man_print(man, " |\n"); if(man) printf("\n"); qs_man_print(man, " The second argument either defines a regular expression or a path to\n"); qs_man_print(man, " a file containing the expression.\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } static int rmatch(const char *line, qs_regex_t *preg) { qs_regmatch_t regm[QS_MAX_REG_MATCH]; int rc_c = -1; do { int rc = qs_regexec_len(preg, line, strlen(line), QS_MAX_REG_MATCH, regm, 0); if(rc >= 0) { int ix; rc_c = 0; printf("[%.*s]", regm[0].rm_eo - regm[0].rm_so, &line[regm[0].rm_so]); for(ix = 1; ix < rc; ix++) { printf(" $%d=%.*s", ix, regm[ix].rm_eo - regm[ix].rm_so, &line[regm[ix].rm_so]); } line = &line[regm[0].rm_eo]; } else { line = NULL; } } while(line && line[0]); return rc_c; } int main(int argc, const char *const argv[]) { const char *errptr = NULL; int erroffset; qs_regex_t *preg; int rc_c = -1; const char *line; const char *in; const char *pattern; FILE *file; apr_pool_t *pool; char *raw = ""; int linenr = 0; const char *cmd = strrchr(argv[0], '/'); apr_app_initialize(&argc, &argv, NULL); apr_pool_create(&pool, NULL); if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; if(argc != 2) { if(argc == 1 && strcmp(argv[0], "--man") == 0) { usage(cmd, 1); } else { usage(cmd, 0); } } in = argv[0]; pattern = argv[1]; file = fopen(pattern, "r"); if(file) { char readline[MAX_LINE]; if(fgets(readline, MAX_LINE-1, file) != NULL) { int len = strlen(readline); while(len > 0 && readline[len] < 32) { readline[len] = '\0'; len--; } pattern = apr_pstrdup(pool, readline); } fclose(file); } printf("expression: %s\n", pattern); preg = apr_palloc(pool, sizeof(qs_regex_t)); if(qs_regcomp(preg, pattern, PCRE2_DOTALL|PCRE2_CASELESS) != 0) { fprintf(stderr, "ERROR, rule <%s> could not compile regular expression\n", pattern); exit(1); } apr_pool_pre_cleanup_register(pool, preg, qs_pregfree); file = fopen(in, "r"); if(file) { char readline[MAX_LINE]; while(fgets(readline, MAX_LINE-1, file) != NULL) { int len = strlen(readline); linenr++; printf("line %.3d: ", linenr); raw = apr_pstrcat(pool, raw, readline, NULL); while(len > 0 && readline[len] < 32) { readline[len] = '\0'; len--; } if(readline[0] >= 32 && strlen(readline) > 0) { line = readline; rc_c = rmatch(line, preg); } printf("\n"); } fclose(file); printf("entire content match:\n"); rc_c = rmatch(raw, preg); printf("\n"); } else { line = in; rc_c = rmatch(line, preg); printf("\n"); } if(rc_c < 0) { printf("no match\n"); return 2; } return 0; } mod_qos-11.74/tools/src/qs_apo.h0000664000000000000020000000205714431415521015044 0ustar rootbin/** * Utilities for the quality of service module mod_qos. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #ifndef QS_APO_H #define QS_APO_H char *qs_readpwd(apr_pool_t *pool, const char *prg); #endif mod_qos-11.74/tools/src/Makefile.am0000664000000000000020000000142114431415521015437 0ustar rootbin# $Id: Makefile.am 2486 2018-09-03 20:22:17Z pbuchbinder $ bin_PROGRAMS=qsfilter2 qslog qspng qsrotate qssign qstail qshead qsgrep qsexec qscheck qsgeo qslogger qsdt qsrespeed qsre qsfilter2_SOURCES= \ qsfilter2.c qs_util.c qslog_SOURCES= \ qslog.c qs_util.c qspng_SOURCES= \ qspng.c qs_util.c qsrotate_SOURCES= \ qsrotate.c qs_util.c qssign_SOURCES= \ qssign.c qs_util.c qs_apo.c qstail_SOURCES= \ qstail.c qs_util.c qshead_SOURCES= \ qshead.c qs_util.c qsgrep_SOURCES= \ qsgrep.c qs_util.c qsexec_SOURCES= \ qsexec.c qs_util.c qscheck_SOURCES= \ qscheck.c qs_util.c qsgeo_SOURCES= \ qsgeo.c qs_util.c qslogger_SOURCES= \ qslogger.c qs_util.c qsdt_SOURCES= \ qsdt.c qs_util.c qsrespeed_SOURCES= \ qsrespeed.c qs_util.c qsre_SOURCES= \ qsre.c qs_util.c mod_qos-11.74/tools/src/qshead.c0000664000000000000020000000723514431415521015025 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * Utilities for the quality of service module mod_qos. * * qshead.c: Shows the beginning of a log file stopping at the provided pattern. * * See http://mod-qos.sourceforge.net/ for further * details. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ static const char revision[] = "$Id: qshead.c 2654 2022-05-13 09:12:42Z pbuchbinder $"; #include #include #include #include #include #include "qs_util.h" static void usage(char *cmd, int man) { if(man) { //.TH [name of program] [section number] [center footer] [left footer] [center header] printf(".TH %s 1 \"%s\" \"mod_qos utilities %s\" \"%s man page\"\n", qs_CMD(cmd), man_date, man_version, cmd); } printf("\n"); if(man) { printf(".SH NAME\n"); } qs_man_print(man, "%s - an utility reading from stdin and printing all" " lines to stdout until" " reaching the defined pattern.\n", cmd); printf("\n"); if(man) { printf(".SH SYNOPSIS\n"); } qs_man_print(man, "%s%s -p \n", man ? "" : "Usage: ", cmd); printf("\n"); if(man) { printf(".SH DESCRIPTION\n"); } else { printf("Summary\n"); } qs_man_print(man, " %s reads lines from stdin and prints them to stdout until a line contains\n", cmd); qs_man_print(man, " the specified pattern (literal string).\n"); printf("\n"); if(man) { printf(".SH OPTIONS\n"); } else { printf("Options\n"); } if(man) printf(".TP\n"); qs_man_print(man, " -p \n"); if(man) printf("\n"); qs_man_print(man, " Search pattern (literal string).\n"); printf("\n"); if(man) { printf(".SH SEE ALSO\n"); printf("qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1) qstail(1)\n"); printf(".SH AUTHOR\n"); printf("Pascal Buchbinder, http://mod-qos.sourceforge.net/\n"); } else { printf("See http://mod-qos.sourceforge.net/ for further details.\n"); } if(man) { exit(0); } else { exit(1); } } int main(int argc, const char * const argv[]) { char line[32768]; const char *pattern = NULL; char *cmd = strrchr(argv[0], '/'); int status = 0; if(cmd == NULL) { cmd = (char *)argv[0]; } else { cmd++; } argc--; argv++; while(argc >= 1) { if(strcmp(*argv,"-p") == 0) { if (--argc >= 1) { pattern = *(++argv); } } else if(strcmp(*argv,"-?") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"-help") == 0) { usage(cmd, 0); } else if(strcmp(*argv,"--man") == 0) { usage(cmd, 1); } argc--; argv++; } if(pattern == NULL) { usage(cmd, 0); } while(fgets(line, sizeof(line), stdin) != NULL) { printf("%s", line); if(strstr(line, pattern)) { return status; } } return status; } mod_qos-11.74/tools/man1/0000775000000000000020000000000014431415521013452 5ustar rootbinmod_qos-11.74/tools/man1/qssign.10000664000000000000020000000250614431415521015043 0ustar rootbin.TH QSSIGN 1 "May 2023" "mod_qos utilities 11.74" "qssign man page" .SH NAME qssign \- an utility to sign and verify the integrity of log data. .SH SYNOPSIS qssign \-s|S [\-e] [\-v] [\-u ] [\-f ] [\-a 'sha1'|'sha256'] .SH DESCRIPTION qssign is a log data integrity check tool. It reads log data from stdin (pipe) and writes the data to stdout adding a sequence number and signature to ever log line. .SH OPTIONS .TP \-s Passphrase used to calculate signature. .TP \-S Specifies a program which writes the passphrase to stdout. .TP \-e Writes start/end marker when starting/stopping data signing. .TP \-v Verification mode checking the integrity of signed data. .TP \-u Becomes another user, e.g. www\-data. .TP \-f Filter pattern (case sensitive regular expression) for messages which do not need to be signed. .TP \-a 'sha1'|'sha256' Specifies the algorithm to use. Default is sha1. .SH EXAMPLE Sign: TransferLog "|/usr/bin/qssign \-s password \-e |/usr/bin/qsrotate \-o /var/log/apache/access.log" Verify: cat access.log | qssign \-s password \-v .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsexec.10000664000000000000020000000323014431415521015022 0ustar rootbin.TH QSEXEC 1 "May 2023" "mod_qos utilities 11.74" "qsexec man page .SH NAME qsexec \- parses the data received via stdin and executes the defined command on a pattern match. .SH SYNOPSIS qsexec \-e [\-t :] [\-c []] [\-p] [\-u ] .SH DESCRIPTION qsexec reads log lines from stdin and searches for the defined pattern. It executes the defined command string on pattern match. .SH OPTIONS .TP \-e Specifies the search pattern causing an event which shall trigger the command. .TP \-t : Defines the number of pattern match within the the defined number of seconds in order to trigger the command execution. By default, every pattern match causes a command execution. .TP \-c [] Pattern which clears the event counter. Executes optionally a command if an event command has been executed before. .TP \-p Writes data also to stdout (for piped logging). .TP \-u Become another user, e.g. www\-data. .TP Defines the event command string where $0\-$9 are substituted by the submatches of the regular expression. .SH EXAMPLE Executes the deny.sh script providing the IP address of the client causing a mod_qos(031) messages whenever the log message appears 10 times within at most one minute: ErrorLog "|/usr/bin/qsexec \-e \\'mod_qos\\(031\\).*, c=([0\-9a\-zA\-Z:.]*)\\' \-t 10:60 \\'/usr/local/bin/deny.sh $1\\'" .SH SEE ALSO qsdt(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qstail.10000664000000000000020000000141014431415521015025 0ustar rootbin.TH QSTAIL 1 "May 2023" "mod_qos utilities 11.74" "qstail man page" .SH NAME qstail \- an utility printing the end of a log file starting at the specified pattern. .SH SYNOPSIS qstail \-i \-p .SH DESCRIPTION qstail shows the end of a log file beginning with the line containing the specified pattern. This may be used to show all lines which has been written after a certain event (e.g., server restart) or time stamp. .SH OPTIONS .TP \-i Input file to read the data from. .TP \-p Search pattern (literal string). .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qshead.10000664000000000000020000000120214431415521014774 0ustar rootbin.TH QSHEAD 1 "May 2023" "mod_qos utilities 11.74" "qshead man page" .SH NAME qshead \- an utility reading from stdin and printing all lines to stdout until reaching the defined pattern. .SH SYNOPSIS qshead \-p .SH DESCRIPTION qshead reads lines from stdin and prints them to stdout until a line contains the specified pattern (literal string). .SH OPTIONS .TP \-p Search pattern (literal string). .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1) qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsfilter2.10000664000000000000020000001400614431415521015450 0ustar rootbin.TH QSFILTER2 1 "May 2023" "mod_qos utilities 11.74" "qsfilter2 man page" .SH NAME qsfilter2 \- an utility to generate mod_qos request line rules out from existing access/audit log data. .SH SYNOPSIS qsfilter2 \-i [\-c ] [\-d ] [\-h] [\-b ] [\-p|\-s|\-m|\-o] [\-l ] [\-n] [\-e] [\-u 'uni'] [\-k ] [\-t] [\-f ] [\-v 0|1|2] .SH DESCRIPTION mod_qos implements a request filter which validates each request line. The module supports both, negative and positive security model. The QS_Deny* directives are used to specify request line patterns which are not allowed to access the server (negative security model / deny list). These rules are used to restrict access to certain resources which should not be available to users or to protect the server from malicious patterns. The QS_Permit* rules implement a positive security model (allow list). These directives are used to define allowed request line patterns. Request which do not match any of these patterns are not allowed to access the server. qsfilter2 is an audit log analyzer used to generate filter rules (perl compatible regular expressions) which may be used by mod_qos to deny access for suspect requests (QS_PermitUri rules). It parses existing audit log files in order to generate request patterns covering all allowed requests. .SH OPTIONS .TP \-i Input file containing request URIs. The URIs for this file have to be extracted from the servers access logs. Each line of the input file contains a request URI consisting of a path and and query. Example: /aaa/index.do /aaa/edit?image=1.jpg /aaa/image/1.jpg /aaa/view?page=1 /aaa/edit?document=1 These access log data must include current request URIs but also request lines from previous rule generation steps. It must also include request lines which cover manually generated rules. You may use the 'qos\-path' and 'qos\-query' variables to create an audit log containing all request data (path and query/body data). Example: 'CustomLog audit_log %{qos\-path}n%{qos\-query}n'. See also http://mod\-qos.sourceforge.net#qsfiltersample about the module settings. .TP \-c mod_qos configuration file defining QS_DenyRequestLine and QS_PermitUri directives. qsfilter2 generates rules from access log data automatically. Manually generated rules (QS_PermitUri) may be provided from this file. Note: each manual rule must be represented by a request URI in the input data (\-i) in order to make sure not to be deleted by the rule optimisation algorithm. QS_Deny* rules from this file are used to filter request lines which should not be used for allow list rule generation. Example: # manually defined allow list rule: QS_PermitUri +view deny "^[/a\-zA\-Z0\-9]+/view\\?(page=[0\-9]+)?$" # filter unwanted request line patterns: QS_DenyRequestLine +printable deny ".*[\\x00\-\\x19].*" .TP \-d Depth (sub locations) of the path string which is defined as a literal string. Default is 1. .TP \-h Always use a string representing the handler name in the path even the url does not have a query. See also \-d option. .TP \-b Replaces url pattern by the regular expression when detecting a base64/hex encoded string. Detecting sensibility is defined by a numeric value. You should use values higher than 5 (default) or 0 to disable this function. .TP \-p Represents query by pcre only (no literal strings). .TP \-s Uses one single pcre for the whole query string. .TP \-m Uses one pcre for multiple query values (recommended mode). .TP \-o Does not care the order of query parameters. .TP \-l Outsizes the query length by the defined length ({0,size+len}), default is 10. .TP \-n Disables redundant rules elimination. .TP \-e Exit on error. .TP \-u 'uni' Enables additional decoding methods. Use the same settings as you have used for the QS_Decoding directive. .TP \-k Prefix used to generate rule identifiers (QSF by default). .TP \-t Calculates the maximal latency per request (worst case) using the generated rules. .TP \-f Filters the input by the provided path (prefix) only processing matching lines. .TP \-v Verbose mode. (0=silent, 1=rule source, 2=detailed). Default is 1. Don't use rules you haven't checked the request data used to generate it! Level 1 is highly recommended (as long as you don't have created the log data using your own web crawler). .SH OUTPUT The output of qsfilter2 is written to stdout. The output contains the generated QS_PermitUri directives but also information about the source which has been used to generate these rules. It is very important to check the validity of each request line which has been used to calculate the QS_PermitUri rules. Each request line which has been used to generate a new rule is shown in the output prefixed by "ADD line :". These request lines should be stored and reused at any later rule generation (add them to the URI input file). The subsequent line shows the generated rule. At the end of data processing a list of all generated QS_PermitUri rules is shown. These directives may be used withn the configuration file used by mod_qos. .SH EXAMPLE qsfilter2 \-i loc.txt \-c httpd.conf \-m \-e ... # ADD line 1: /aaa/index.do # 003 ^(/[a\-zA\-Z0\-9\\\-_]+)+[/]?\\.?[a\-zA\-Z]{0,4}$ # ADD line 3: /aaa/view?page=1 # \-\-\- ^[/a\-zA\-Z0\-9]+/view\\?(page=[0\-9]+)?$ # ADD line 4: /aaa/edit?document=1 # 004 ^[/a\-zA\-Z]+/edit\\?((document)(=[0\-9]*)*[&]?)*$ # ADD line 5: /aaa/edit?image=1.jpg # 005 ^[/a\-zA\-Z]+/edit\\?((image)(=[0\-9\\.a\-zA\-Z]*)*[&]?)*$ ... QS_PermitUri +QSF001 deny "^[/a\-zA\-Z]+/edit\\?((document|image)(=[0\-9\\.a\-zA\-Z]*)*[&]?)*$" QS_PermitUri +QSF002 deny "^[/a\-zA\-Z0\-9]+/view\\?(page=[0\-9]+)?$" QS_PermitUri +QSF003 deny "^(/[a\-zA\-Z0\-9\\\-_]+)+[/]?\\.?[a\-zA\-Z]{0,4}$" .SH SEE ALSO qsdt(1), qsexec(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsrespeed.10000664000000000000020000000153114431415521015527 0ustar rootbin.TH QSRESPEED 1 "May 2023" "mod_qos utilities 11.74" "qsrespeed man page" .SH NAME Tool to compare / estimate the processing time for (Perl\-compatible) regular expressions (PCRE). .SH SYNOPSIS qsrespeed .SH DESCRIPTION qsrespeed loads regular expressions from the provided file and matches them against a built\-in set of strings measuring the time needed to process them. It's a benchmark too to judge the expressions you have defined regarding the potential CPU consumption. .SH OPTIONS .TP Defines the input file to process. The file consists a list of (separated by a newline character) regular expressions to test .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qspng.10000664000000000000020000000160314431415521014664 0ustar rootbin.TH QSPNG 1 "May 2023" "mod_qos utilities 11.74" "qspng man page" .SH NAME qspng \- an utility to draw a png graph from qslog(1) output data. .SH SYNOPSIS qspng \-i \-p \-o [\-10] .SH DESCRIPTION qspng is a tool to generate png (portable network graphics) raster images files from semicolon separated data generated by the qslog utility. It reads up to the first 1440 entries (24 hours) and prints a graph using the values defined by the 'parameter' name. .SH OPTIONS .TP \-i Input file to read data from. .TP \-p Parameter name, e.g. r/s or usr. .TP \-o Output file name, e.g. stat.png. .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslogger(1), qslog(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsrotate.10000664000000000000020000000343214431415521015400 0ustar rootbin.TH QSROTATE 1 "May 2023" "mod_qos utilities 11.74" "qsrotate man page" .SH NAME qsrotate \- a log rotation tool (similar to Apache's rotatelogs). .SH SYNOPSIS qsrotate \-o [\-s [\-t ]] [\-b ] [\-f] [\-z] [\-g ] [\-u ] [\-m ] [\-p] [\-d] .SH DESCRIPTION qsrotate reads from stdin (piped log) and writes the data to the provided file rotating the file after the specified time. .SH OPTIONS .TP \-o Output log file to write the data to (use an absolute path). .TP \-s Rotation interval in seconds, default are 86400 seconds. .TP \-t Offset to UTC (enables also DST support), default is 0. .TP \-b File size limitation (default/max. are 2147352576 bytes, min. are 1048576 bytes). .TP \-f Forced log rotation at the specified interval even no data is written. .TP \-z Compress (gzip) the rotated file. .TP \-g Generations (number of files to keep). .TP \-u Become another user, e.g. www\-data. \-m File permission which is either 600, 640, 660 (default) or 664. .TP \-p Writes data also to stdout (for piped logging). \-d Line\-by\-line data reading prefixing every line with a timestamp. .SH EXAMPLE TransferLog "|/usr/bin/qsrotate \-f \-z \-g 3 \-o /var/log/apache/access.log \-s 86400" The name of the rotated file will be /dest/filee.YYYYmmddHHMMSS where YYYYmmddHHMMSS is the system time at which the data has been rotated. .SH NOTE \- Each qsrotate instance must use an individual file. \- You may trigger a file rotation manually by sending the signal USR1 to the process. .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qsre(1), qsrespeed(1), qspng(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsdt.10000664000000000000020000000474714431415521014523 0ustar rootbin.TH QSDT 1 "May 2023" "mod_qos utilities 11.74" "qsdt man page" .SH NAME qsdt calculates the elapsed time between two related log messages. .SH SYNOPSIS qsdt [\-t ] \-i \-s \-e [\-v] [] .SH DESCRIPTION qsdt is a simple tool to search two different messages in a log file and calculates the elapsed time between these lines. The two log messages need a common identifier such an unique request id (UNIQUE_ID), a thread id, or a transaction code. .SH OPTIONS .TP \-t Defines a pattern (regular expression) matching the log line's timestamp. The pattern must include two sub\-expressions, one matching hours, minutes and seconds the other matching the milliseconds. Default pattern is ([0\-9]{2}:[0\-9]{2}:[0\-9]{2})[.,]([0\-9]{3}) .TP \-i Pattern (regular expression) matching the identifier which the two messages have in common. The sub\-expression defines the part which needs to be extracted from the matching string. Note: You can also use the start (\-s) and end (\-e) pattern to define the sub\-expression matching this identifier. .TP \-s Defines the pattern (regular expression or literal string) identifying the first (start) of the two messages. .TP \-e Defines the pattern (regular expression or literal string) identifying the second (end) of the two messages. .TP \-v Verbose mode. .TP Defines the input file to process. qsdt reads from from standard input if this parameter is omitted. .SH EXAMPLE Sample command line arguments: \-i ' ([a\-z0\-9]+) [A\-Z]+ ' \-s 'Received Request' \-e 'Received Response' matching those sample log messages: 2018\-03\-12 16:34:08.653 threadid23 INFO Received Request 2018\-03\-13 16:35:09.891 threadid23 DEBUG MessageHandler Received Response .SH NOTE The four patterns (t,i,s,e) are concatenated into two search patterns: first (start): [t (HH:MM:SS)(SSS) ].*[i (id) ].*[s ] second (end): [t (HH:MM:SS)(SSS) ].*[i (id) ].*[e ] And the three sub\-expression are used to extract the timestamp and the unique identifier that the start and end message have in common. This means that you could specify the sub\-expression for the unique identifier in the start (\-s) or end (\-e) pattern alternatively, e.g. in case the identifier is at the end of the log line. .SH SEE ALSO qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsgeo.10000664000000000000020000000255314431415521014657 0ustar rootbin.TH QSGEO 1 "May 2023" "mod_qos utilities 11.74" "qsgeo man page" .SH NAME qsgeo \- an utility to lookup a client's country code. .SH SYNOPSIS qsgeo \-d [\-l] [\-s] [\-ip ] .SH DESCRIPTION Use this utility to resolve the country codes of IP addresses within existing log files. The utility reads the log file data from stdin and writes them, with the injected country code, to stdout. .SH OPTIONS .TP \-d Specifies the path to the geographical database files (CSV file containing IP address ranges and country codes). .TP \-s Writes a summary of the requests per country only. .TP \-l Writes the database to stdout (ignoring stdin) inserting local (127.*) and private (10.*, 172.16*, 192.168.*) network addresses. .TP \-ip Resolves a single IP address instead of processing a log file. .SH EXAMPLE Reading the file access.log and adding the country code to the IP address field: cat access.log | qsgeo \-d GeoIPCountryWhois.csv Reading the file access.log and showing a summary only: cat access.log | qsgeo \-d GeoIPCountryWhois.csv \-s Resolving a single IP address: qsgeo \-d GeoIPCountryWhois.csv \-ip 192.84.12.23 .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/mod_qos.10000664000000000000020000005464014431415521015206 0ustar rootbin.TH MOD_QOS 1 "May 2023" "mod_qos Apache Module" "mod_qos" .SH NAME mod_qos \- quality of service module for the Apache Web server .SH DESCRIPTION mod_qos is a quality of service module for the Apache web server implementing control mechanisms that can provide different levels of priority to different HTTP requests. .SH OPTIONS .TP QS_LocRequestLimitDefault , defines the default for the QS_LocRequestLimit and QS_LocRequestLimitMatch directive. .TP QS_LocRequestLimit , defines the maximum number of concurrent requests allowed to access the specified location. Default is defined by the QS_LocRequestLimitDefault directive. .TP QS_LocRequestPerSecLimit , defines the allowed number of requests per second to a location. Requests are limited by adding a delay to each requests. This directive should be used in conjunction with QS_LocRequestLimit only. .TP QS_LocKBytesPerSecLimit , defines the allowed download bandwidth to the defined kbytes per second. Responses areslowed by adding a delay to each response (non\-linear, bigger files get longer delay than smaller ones). This directive should be used in conjunction with QS_LocRequestLimit only. .TP QS_LocRequestLimitMatch , defines the number of concurrent requests to the uri (path and query) pattern. Default is defined by the QS_LocRequestLimitDefault directive. .TP QS_LocRequestPerSecLimitMatch , defines the allowed number of requests per second to the uri (path and query) pattern. Requests are limited by adding a delay to each requests. This directive should be used in conjunction with QS_LocRequestLimitMatch only. .TP QS_LocKBytesPerSecLimitMatch , defines the allowed download bandwidth to the location matching the defined URL (path and query) pattern. Responses are slowed down by adding a delay to each response (non\-linear, bigger files get longer delay than smaller ones). This directive should be used in conjunction with QS_LocRequestLimitMatch only. .TP QS_CondLocRequestLimitMatch , defines the number of concurrent requests to the uri (path and query) regex. Rule is only enforced if the QS_Cond variable matches the specified pattern (regex). .TP QS_EventRequestLimit [=] , defines the number of concurrent events. Directive works similar to QS_LocRequestLimit, but counts the requests having the same environment variable (and optionally matching its value, too) rather than those that have the same URL pattern. .TP QS_EventPerSecLimit [!] , defines how often requests may have the defined environment variable (literal string) set. It measures the occurrences of the defined environment variable on a request per seconds level and tries to limit this occurrence to the defined number. It works similar to as QS_LocRequestPerSecLimit, but counts only the requests with the specified variable (or without it if the variable name is prefixed by a '!'). If a request matches multiple events, the rule with the lowest bandwidth is applied. Events are limited by adding a delay to each request causing an event. .TP QS_EventKBytesPerSecLimit [!] , throttles the download bandwidth of all requests having the defined variable set to the defined kbytes per second. Responses are slowed by adding a delay to each response (non\-linear, bigger files get longer delay than smaller ones). By default, no limitation is active. This directive should be used in conjunction with QS_EventRequestLimit only (you must use the same variable name for both directives). .TP QS_EventLimitCount , defines the maximum number of events allowed within the defined time. Requests are denied when reaching this limitation for the specified time (blocked at request level). .TP QS_CondEventLimitCount , same as QS_EventLimitCount but blocks requests only if the QS_Cond variable matches the specified pattern (regex). .TP QS_SrvMaxConn , defines the maximum number of concurrent TCP connections for this server (virtual host). .TP QS_SrvMaxConnClose [%], defines the maximum number of concurrent TCP connections until the server disables keep\-alive for this server (closes the connection after each requests. You may specify the number of connections as a percentage of MaxClients if adding the suffix '%' to the specified value. .TP QS_SrvMaxConnPerIP [], defines the maximum number of connections per source IP address for this server (virtual host). 'connections' defines the number of busy connections of the server (all virtual hosts) to enable this limitation, default is 0. .TP QS_SrvMaxConnExcludeIP , excludes an IP address or address range from being limited. .TP QS_SrvMinDataRateIgnoreVIP tells the QS_SrvMaxConnPerIP directive to ignore (if set to "on") the VIP status of clients. Default is "off", which means that QS_SrvMaxConnPerIP is disabled for VIPs. .TP QS_SrvSerialize 'on'|'off' [], ensures that not more than one request having the QS_SrvSerialize variable set is processed at the same time by serializing them (process one after each other). .TP QS_SrvDataRateOff, disables the QS_SrvRequestRate and QS_SrvMinDataRate enforcement for a virtual host (only port/address based but not for name based virtual hosts). .TP QS_SrvRequestRate [], defines the minimum upload throughput a client must generate. See also QS_SrvMinDataRate. .TP QS_SrvMinDataRate [ []], defines the minimum upload/download throughput a client must generate (the bytes send/received by the client per seconds). This bandwidth is measured while transmitting the data (request line, header fields, request body, or response data). The client connection get closed if the client does not fulfill the required data rate and the IP address of the causing client get marked in order to be handled with low priority (see the QS_ClientPrefer directive). The "max bytes per second" activates dynamic minimum throughput control: The required minimal throughput is increased in parallel to the number of concurrent clients sending/receiving data. The "max bytes per second" setting is reached when the number of sending/receiving clients is equal to the MaxClients setting. The "connections" argument is used to specify the number of busy TCP connections a server must have to enable this feature (0 by default). No limitation is set by default. .TP QS_SrvMinDataRateOffEvent '+'|'\-', disables the minimal data rate enfocement (QS_SrvMinDataRate) for a certain connection if the defined environment variable has been set. The '+' prefix is used to add a variable to the configuration while the '\-' prefix is used to remove a variable. .TP QS_SrvMinDataRateIgnoreVIP tells the QS_SrvMinDataRate directive to ignore (if set to "on") the VIP status of clients. Default is "off", which means that QS_SrvMinDataRate is disabled for VIPs. .TP QS_SrvSampleRate , defines the sampling rate used by the QS_SrvMinDataRate directive to measure the throughput of a connection. .TP QS_DenyRequestLine '+'|'\-' 'log'|'deny' , generic request line (method, path, query and protocol) filter used to deny access for requests matching the defined regular expression. '+' adds a new rule while '\-' removes a rule for a location. The action is either 'log' (access is granted but rule match is logged) or 'deny' (access is denied). .TP QS_DenyPath, same as QS_DenyRequestLine but applied to the path only. .TP QS_DenyQuery, same as QS_DenyRequestLine but applied to the query only. .TP QS_DenyEvent '+'|'\-' 'log'|'deny' [!], matches requests having the defined process environment variable set (or NOT set if prefixed by a '!'). The action taken for matching rules is either 'log' (access is granted but the rule match is logged) or 'deny' (access is denied). .TP QS_PermitUri, '+'|'\-' 'log'|'deny' , generic request filter applied to the request uri (path and query). Only requests matching at least one QS_PermitUri pattern are allowed. If a QS_PermitUri pattern has been defined an the request does not match any rule, the request is denied albeit of any server resource availability (allow list). All rules must define the same action. Regular expression is case sensitive. .TP QS_DenyBody 'on'|'off', enabled body data filter (obsolete). .TP QS_DenyQueryBody 'on'|'off', enabled body data filter for QS_DenyQuery. .TP QS_PermitUriBody 'on'|'off', enabled body data filter for QS_PermitUriBody. .TP QS_InvalidUrlEncoding 'log'|'deny'|'off', enforces correct URL decoding in conjunction with the QS_DenyRequestLine, QS_DenyPath, and QS_DenyQuery directives. Default is "off". .TP QS_LimitRequestBody , limits the allowed size of an HTTP request message body. .TP QS_DenyDecoding 'uni', enabled additional string decoding functions which are applied before matching QS_Deny* and QS_Permit* directives. Default is URL decoding (%xx, \xHH, '+'). .TP QS_DenyInheritanceOff, disable inheritance of QS_Deny* and QS_Permit* directives to a location. .TP QS_RequestHeaderFilter 'on'|'off'|'size', filters request headers by allowing only these headers which match the request header rules defined by mod_qos. Request headers which do not conform these definitions are either dropped or the whole request is denied. Custom request headers may be added by the QS_RequestHeaderFilterRule directive. Using the 'size' option, the header field max. size is verified only (similar to LimitRequestFieldsize but using individual values for each header type) while the pattern is ignored. .TP QS_ResponseHeaderFilter 'on'|'off', filters response headers by allowing only these headers which match the response header rules defined by mod_qos. Response headers which do not conform these definitions are dropped. .TP QS_RequestHeaderFilterRule
'drop'|'deny' , used to add custom request header filter rules which override the internal filter rules of mod_qos. Directive is allowed in global server context only. .TP QS_ResponseHeaderFilterRule
, used to add custom response header filter rules which override the internal filter rules of mod_qos. Directive is allowed in global server context only. .TP QS_MileStone 'log'|'deny' [], defines request line patterns a client must access in the defined order as they are defined in the configuration file. .TP QS_MileStoneTimeout , defines the time in seconds within a client must reach the next milestone. Default are 3600 seconds. .TP QS_SessionCookieName , defines a custom session cookie name, default is MODQOS. .TP QS_SessionCookiePath , defines the cookie path, default is "/". .TP QS_SessionTimeout , defines the session life time for a VIP. It is only used for session based (cookie) VIP identification (not for IP based). Default is 3600 seconds. .TP QS_SessionKey , secret key used for cookie encryption. Used when using the same session cookie for multiple web servers (load balancing) or sessions should survive a server restart. By default, a random key is used which changes every server restart. .TP QS_VipHeaderName [=] [drop], defines an HTTP response header which marks a user as a VIP. mod_qos creates a session for this user by setting a cookie, e.g., after successful user authentication. Tests optionally its value against the provided regular expression. Specify the action 'drop' if you want mod_qos to remove this control header from the HTTP response. .TP QS_VipIPHeaderName [=] [drop], defines an HTTP response header which marks a client source IP address as a VIP. Tests optionally its value against the provided regular expression. Specify the action 'drop' if you want mod_qos to remove this control header from the HTTP response. .TP QS_VipUser, creates a VIP session for users which have been authenticated by the Apache server, e.g., by the standard mod_auth* modules. It works similar to the QS_VipHeaderName directive. .TP QS_VipIpUser, marks a source IP address as a VIP if the user has been authenticated by the Apache server, e.g. by the standard mod_auth* modules. It works similar to the QS_VipIPHeaderName directive. .TP QS_UserTrackingCookieName [] [] ['session'] ['jsredirect'], enables the user tracking cookie by defining a cookie name. The "path" parameter is an option cookie check page which is used to ensure the client accepts cookies. The "domain" option defines the Domain attriibute for the Set\-Cookie header. The option "session" indicates that the cookie shall be a session cookie expiring when the user closes it's browser. User tracking requires mod_unique_id. This feature is disabled by default. Ignores QS_LogOnly. .TP QS_SetEnvIf [!][=] [[!]] [!], sets (or unsets) the 'variable=value' (literal string) if variable1 (literal string) AND variable2 (literal string) are set in the request environment variable list (not case sensitive). This is used to combine multiple variables to a new event type. Alternatively, a regular expression can be specified for variable1's value and variable2 must be omitted in order to simply set a new variable if the regular expression matches. .TP QS_SetEnvIfCmpP eq|ne|gt|lt [!][=], sets the specified environment variable if the specified env\-variables are alphabetically or numerical equal (eq), not equal (ne), greater (gt), less (lt). .TP QS_SetEnvIfQuery [!][=value], directive works quite similar to the SetEnvIf directive of the Apache module mod_setenvif, but the specified regex is applied against the query string portion of the request line. The directive recognizes the occurrences of $1..$9 within value and replaces them by the sub\-expressions of the defined regex pattern. .TP QS_SetEnvIfParp [!][=value], directive parsing the request payload using the Apache module mod_parp. It matches the request URL query and the HTTP request message body data as well ('application/x\-www\-form\-urlencoded', 'multipart/form\-data', and 'multipart/mixed') and sets the defined process variable (quite similar to the QS_SetEnvIfQuery directive). The directive recognizes the occurrences of $1..$9 within value and replaces them by the sub\-expressions of the defined regex pattern. This directive activates mod_parp for every request to the virtual host. You may deactivate mod_parp for selected requests using the SetEnvIf directive: unset the variable 'parp' to do so. Important: request message body processing requires that the server loads the whole request into its memory (at least twice the length of the message). You should limit the allowed size of the HTTP request message body using the QS_LimitRequestBody directive when using QS_SetEnvIfParp! .TP QS_SetEnvIfBody [!][=value], parses the request body using the Apache module mod_parp. Specify the content types to process using the mod_parp directive PARP_BodyData and ensure that mod_parp is enabled using the SetEnvIf directive of the Apache module mod_setenvif. You should limit the allowed size of HTTP requests message body using the QS_LimitRequestBody directive when using mod_parp. The directive recognizes the occurrence of $1 within the variable value and replaces it by the sub\-expressions of the defined regex pattern. .TP QS_SetEnvStatus (deprecated, use QS_SetEnvIfStatus) .TP QS_SetEnvIfStatus , adds the defined request environment variable if the HTTP status code matches the defined value. The value 'QS_SrvMinDataRate' may be used as a special status code to set a QS_Block event in order to handle connection close events caused by QS_SrvMinDataRate rules while the status 'NullConnection' may be used to mark connections which are closed before any HTTP request has ever been received. The 'QS_SrvMaxConnPerIP' value may be used to count QS_Block events for connections closed by the QS_SrvMaxConnPerIP directive. The 'BrokenConnection' value may be used to mark clients not reading the full HTTP response. .TP QS_SetEnvResBody (deprecated, use QS_SetEnvIfResBody) .TP QS_SetEnvIfResBody [!], adds the defined request environment variable (e.g. QS_Block) if the HTTP response body contains the defined literal string. Supports only one pattern per location. .TP QS_SetEnv , sets the defined variable with the value where the value string may contain other environment variables surrounded by "${" and "}". The variable is only set if all defined variables within the value can be resolved. .TP QS_SetReqHeader [!]
['late'], sets the defined HTTP request header to the request if the specified environment variable is set. .TP QS_UnsetReqHeader
, Removes the specified header from the request. .TP QS_UnsetResHeader
, Removes the specified header from the response. .TP QS_SetEnvResHeader
[drop], sets the defined HTTP response header (name and value) to the request environment variables Deletes the header if the action 'drop' has been specified. .TP QS_SetEnvResHeaderMatch
, sets the defined HTTP response header (name and value) to the request environment variables if the specified regular expression matches the header value. .TP QS_SetEnvRes [=], sets the environment variable2 if the regular expression matches against the value of the environment variable. Occurrences of $1..$9 within the value and replace them by parenthesized subexpressions of the regular expression. .TP QS_RedirectIf [:], redirects the client to the configured url if the regular expression matches the value of the the environment variable. .TP QS_ClientEntries , defines the number of individual clients managed by mod_qos. Default is 50000. Directive is allowed in global server context only. .TP QS_ClientPrefer [], prefers known VIP clients when server has less than 80% (or the configured value) of free TCP connections. Preferred clients are VIP clients (or those without any negative penalties), see QS_VipHeaderName directive. Directive is allowed in global server context only. .TP QS_ClientTolerance , defines the allowed tolerance (variation) from a "normal" client (average) in percent. Default is 20%. Directive is allowed in global server context only. .TP QS_ClientContentTypes <304>, defines the distribution of HTTP response content types a client normally receives when accessing the server. mod_qos normally learns the average behavior automatically by default but you may specify a static configuration in order to avoid influences by a high number of abnormal clients. .TP QS_ClientEventBlockCount [], defines the maximum number of QS_Block allowed within the defined time (default are 10 minutes). Directive is allowed in global server context only. .TP QS_ClientEventBlockExcludeIP , excludes an IP address or address range from being limited by QS_ClientEventBlockCount. .TP QS_ClientEventLimitCount [ []], defines the maximum number of the specified environment variable (QS_Limit by default) allowed within the defined time (default are 10 minutes). Directive is allowed in global server context only. .TP QS_CondClientEventLimitCount , defines the maximum number of the specified environment variable allowed within the defined time. Directive works similar as QS_ClientEventLimitCount but requests are only blocked if the QS_Cond variable matches the defined pattern (regex). Directive is allowed in global server context only. .TP QS_ClientEventPerSecLimit , defines the number events pro seconds on a per client (source IP) basis. Events are identified by requests having the QS_Event variable set. Directive is allowed in global server context only. .TP QS_ClientEventRequestLimit , defines the allowed number of concurrent requests coming from the same client source IP address having the QS_EventRequest variable set. Directive is allowed in global server context only. .TP QS_ClientSerialize, serializes requests having the QS_Serialize variable set if they are coming from the same IP address. .TP QS_ClientIpFromHeader
, defines a HTTP request header to read the client's source IP address from (instead of taking the IP address of the client opening the TCP connection). This may be used for the QS_ClientEventLimitCount directive and QS_Country variable. .TP QS_ClientGeoCountryDB , path to the geograpical database file. .TP QS_ClientGeoCountryPriv ['excludeUnknown'], defines a comma separated list of country codes for origin client IP address which are allowed to access the server if the number of busy TCP connections reaches the defined number of connections while others are denied access. Clients whose IP can't be mapped to a country code can be excluded from the limitation by configuring the 'excludeUnknown' argument. .TP QS_ErrorPage , defines a custom error page. .TP QS_ErrorResponseCode , defines the HTTP response code which is used when a request is denied, default is 500. .TP QS_ForcedClose 'on'|'off', defines if mod_qos connection handler shall exit with an error code (on) or not. Default is on (except for Apache 2.4.49). .TP QS_LogOnly 'on'|'off', enables the log only mode of the module where no limitations are enforced. Default is off. Directive is allowed in global server context only. .TP QS_LogEnv 'on'|'off', enables logging of environment variables. .TP QS_SupportIPv6 'on'|'off', enables IPv6 address support. Default is on. .TP QS_SemMemFile , optional path to a directory or file which shall be used for file based semaphores/shared memory usage, e.g. /var/tmp. .TP QS_MaxClients , optional override for mod_qos's MaxClients/MaxRequestWorkers calculation which defines the maximum number of TCP connections the server can handle. .TP QS_DisableHandler 'on'|'off', disables the qos\-viewer and qos\-console for a virtual host .TP QS_Status 'on'|'off', writes a log message containing server statistics once every minute. Default is off. .TP QS_EventCount 'on'|'off', enables error event counting (counters are shown in the machine\-readable version of the status viewer). Default is off. .TP QSLog , used to configure a global (per Apache instance) 'qslog' logger. .SH AUTHOR Pascal Buchbinder, http://mod\-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsgrep.10000664000000000000020000000203114431415521015031 0ustar rootbin.TH QSGREP 1 "May 2023" "mod_qos utilities 11.74" "qsgrep man page" .SH NAME qsgrep \- prints matching patterns within a file. .SH SYNOPSIS qsgrep \-e \-o [] .SH DESCRIPTION qsgrep is a simple tool to search patterns within files. It uses regular expressions to find patterns and prints the submatches within a pre\-defined format string. .SH OPTIONS .TP \-e Specifies the search pattern. .TP \-o Defines the output string where $0\-$9 are substituted by the submatches of the regular expression. .TP Defines the input file to process. qsgrep reads from from standard input if this parameter is omitted. .SH EXAMPLE Shows the IP addresses of clients causing mod_qos(031) messages): qsgrep \-e 'mod_qos\\(031\\).*, c=([a\-zA\-Z0\-9:.]*)' \-o 'ip=$1' error_log .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qslog.10000664000000000000020000001460414431415521014666 0ustar rootbin.TH QSLOG 1 "May 2023" "mod_qos utilities 11.74" "qslog man page" .SH NAME qslog \- collects request statistics from access log data. .SH SYNOPSIS qslog \-f \-o [\-p[c|u[c]] [\-v]] [\-x []] [\-u ] [\-m] [\-c ] .SH DESCRIPTION qslog is a real time access log analyzer. It collects the data from stdin. The output is written to the specified file every minute and includes the following entries: \- requests per second (r/s) \- number of requests within measured time (req) \- bytes sent to the client per second (b/s) \- bytes received from the client per second (ib/s) \- response status codes within the last minute (1xx,2xx,3xx,4xx,5xx) \- average response duration (av) \- average response duration in milliseconds (avms) \- distribution of response durations in seconds within the last minute (<1s,1s,2s,3s,4s,5s,>5s) \- distribution of response durations faster than a second within the last minute (0\-49ms,50\-99ms,100\-499ms,500\-999ms) \- number of established (new) connections within the measured time (esco) \- average system load (sl) \- free memory (m) (not available for all platforms) \- number of client ip addresses seen withn the last 600 seconds (ip) \- number of different users seen withn the last 600 seconds (usr) \- number of events identified by the 'E' format character \- number of mod_qos events within the last minute (qV=create session, qv=VIP IP,qS=session pass, qD=access denied, qK=connection closed, qT=dynamic keep\-alive, qL=request/response slow down, qs=serialized request, qA=connection abort, qU=new user tracking cookie) .SH OPTIONS .TP \-f Defines the log data format and the positions of data elements processed by this utility. See to the 'LogFormat' directive of the httpd.conf file to see the format definitions of the servers access log data. qslog knows the following elements: I defines the client ip address (%h) R defines the request line (%r) S defines HTTP response status code (%s) B defines the transferred bytes (%b or %O) i defines the received bytes (%I) D defines the request duration in microseconds (%D) t defines the request duration in milliseconds (may be used instead of D) T defines the request duration in seconds (may be used instead of D or t) (%T) k defines the number of keepalive requests on the connection (%k) U defines the user tracking id (%{mod_qos_user_id}e) Q defines the mod_qos_ev event message (%{mod_qos_ev}e) C defines the element for the detailed log (\-c option), e.g. "%U" s arbitrary counter to add up (sum within a minute) a arbitrary counter to build an average from (average per request) A arbitrary counter to build an average from (average per request) M arbitrary counter to measure the maximum value reached (peak) E comma separated list of event strings c content type (%{content\-type}o), available in \-pc mode only m request method (GET/POST) (%m), available in \-pc mode only . defines an element to ignore (unknown string) .TP \-o Specifies the file to store the output to. stdout is used if this option is not defined. .TP \-p Used for post processing when reading the log data from a file (cat/pipe). qslog is started using it's offline mode (extracting the time stamps from the log lines) in order to process existing log files. The option "\-pc" may be used alternatively if you want to gather request information per client (identified by IP address (I) or user tracking id (U) showing how many request each client has performed within the captured period of time). "\-pc" supports the format characters IURSBTtDkMEcm. The option "\-pu" collects statistics on a per URL level (supports format characters RSTtD). "\-puc" is very similar to "\-pu" but cuts the end (handler) of each URL. .TP \-v Verbose mode. .TP \-x [] Rotates the output file once a day (move). You may specify the number of rotated files to keep. Default are 14. .TP \-u Becomes another user, e.g. www\-data. .TP \-m Calculates free system memory every minute. .TP \-c Enables the collection of log statistics for different request types. 'path' specifies the necessary rule file. Each rule consists of a rule identifier and a regular expression to identify a request seprarated by a colon, e.g., 01:^(/a)|(/c). The regular expressions are matched against the log data element which has been identified by the 'C' format character. .SH VARIABLES The following environment variables are known to qslog: .TP QSEVENTPATH= Defines a file containing a comma or new line separated list of known event strings expected within the log filed identified by the 'E' format character. .TP QSCOUNTERPATH= Defines a file containing a by new line separated list of rules which reflect possible QS_ClientEventLimitCount directive settings (for simulation purpose / \-pc option). The 'E' format character defines the event string in the log to match (literal string) the 'event1' and 'event2' event names against. Rule syntax: :\-*/= 'name' defines the name you have given to the rule entry and is logged along with with the number of times the 'limit' has been reached within the 'duration'. 'event1' defines the variable name (if found in 'E') to increment the counter. 'event2' defines the variable name (if found in 'E') to decrement the counter (and the parameter 'n' defines by how much). 'duration' defines the measure interval (in seconds) used for the QS_ClientEventLimitCount directive. 'limit' defines the threshold (number) defined for the QS_ClientEventLimitCount directive. Note: If the 'name' parameter is prefixed by 'STATUS', the rule is applied against the HTTP status code 'S' and the 'event1' string shall contain a list of relevant status codes separated by an underscore (while 'event2' is ignored). .SH EXAMPLE Configuration using pipped logging: CustomLog "|/usr/bin/qslog \-f ISBDQ \-x \-o /var/log/apache/stat.csv" "%h %>s %b %D %{mod_qos_ev}e" Post processing: LogFormat "%t %h \\"%r\\" %>s %b \\"%{User\-Agent}i\\" %T" cat access.log | qslog \-f ..IRSB.T \-o stat.csv \-p .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qslogger.10000664000000000000020000000353714431415521015367 0ustar rootbin.TH QSLOGGER 1 "May 2023" "mod_qos utilities 11.74" "qslogger man page" .SH NAME qslogger \- another shell command interface to the system log module (syslog). .SH SYNOPSIS qslogger [\-t ] [\-f ] [\-l ] [\-x ] [\-r ] [\-d ] [\-u ] [\-p] .SH DESCRIPTION Use this utility to forward log messages to the systems syslog facility, e.g., to forward the messages to a remote host. It reads data from stdin. .SH OPTIONS .TP \-t Defines the tag name which shall be used to define the origin of the messages, e.g. 'httpd'. .TP \-f Defines the syslog facility. Default is 'daemon'. .TP \-u Becomes another user, e.g. www\-data. .TP \-l Defines the minimal severity a message must have in order to be forwarded. Default is 'DEBUG' (forwarding everything). .TP \-x Allows you to add a prefix (literal string) to every message. .TP \-r Specifies a regular expression which shall be used to determine the severity (syslog level) for each log line. The default pattern '^\\[[0\-9a\-zA\-Z :]+\\] \\[([a\-z]+)\\] ' can be used for Apache error log messages but you may configure your own pattern matching other log formats. Use brackets to define the pattern enclosing the severity string. Default level (if severity can't be determined) is defined by the option '\-d' (see below). .TP \-d The default severity if the specified pattern (\-r) does not match and the message's severity can't be determined. Default is 'NOTICE'. .TP \-p Writes data also to stdout (for piped logging). .SH EXAMPLE ErrorLog "|/usr/bin/qslogger \-t apache \-f local7" .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/man1/qsre.10000664000000000000020000000166114431415521014512 0ustar rootbin.TH QSRE 1 "May 2023" "mod_qos utilities 11.74" "qsre man page" .SH NAME qsre matches a regular expression against test strings. .SH SYNOPSIS qsre | | .SH DESCRIPTION Regular expression test tool. The provided regular expression (pcre, caseless matching, "." matches anything incl. newline) is appplied against the provided test strings to verify if the pattern matches. .SH OPTIONS .TP | The first argument either defines a single test string of a path to a file containing either multiple test strings or a test pattern with newline characters (text). .TP | The second argument either defines a regular expression or a path to a file containing the expression. .SH SEE ALSO qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1) .SH AUTHOR Pascal Buchbinder, http://mod-qos.sourceforge.net/ mod_qos-11.74/tools/missing0000755000000000000020000001533014431415521014215 0ustar rootbin#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: mod_qos-11.74/tools/Makefile.in0000664000000000000020000005726214431415521014677 0ustar rootbin# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(am__DIST_COMMON) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ install-exec-recursive install-html-recursive \ install-info-recursive install-pdf-recursive \ install-ps-recursive install-recursive installcheck-recursive \ installdirs-recursive pdf-recursive ps-recursive \ tags-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive am__recursive_targets = \ $(RECURSIVE_TARGETS) \ $(RECURSIVE_CLEAN_TARGETS) \ $(am__extra_recursive_targets) AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ cscope distdir dist dist-all distcheck am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope DIST_SUBDIRS = $(SUBDIRS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in compile \ depcomp install-sh missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best DIST_TARGETS = dist-gzip distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAKEINFO = @MAKEINFO@ MKDIR_P = @MKDIR_P@ OBJEXT = @OBJEXT@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ AUTOMAKE_OPTIONS = foreign SUBDIRS = src all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --foreign Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 # This directory's subdirectories are mostly independent; you can cd # into them and run 'make' without going through this Makefile. # To change the values of 'make' variables: instead of editing Makefiles, # (1) if the variable is set in 'config.status', edit 'config.status' # (which will cause the Makefiles to be regenerated when you run 'make'); # (2) otherwise, pass the desired values on the 'make' command line. $(am__recursive_targets): @fail=; \ if $(am__make_keepgoing); then \ failcom='fail=yes'; \ else \ failcom='exit 1'; \ fi; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-recursive TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ $(am__define_uniq_tagged_files); \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: ctags-recursive CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-recursive cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir) chmod u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__post_remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile config.h installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(am__recursive_targets) all install-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-am clean clean-cscope clean-generic \ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ distcheck distclean distclean-generic distclean-hdr \ distclean-tags distcleancheck distdir distuninstallcheck dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \ uninstall-am .PRECIOUS: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: mod_qos-11.74/tools/install-sh0000755000000000000020000003546314431415521014633 0ustar rootbin#!/bin/sh # install - install a program, script, or datafile scriptversion=2014-09-12.12; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) # $RANDOM is not portable (e.g. dash); use it when possible to # lower collision chance tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 # As "mkdir -p" follows symlinks and we work in /tmp possibly; so # create the $tmpdir first (and fail if unsuccessful) to make sure # that nobody tries to guess the $tmpdir name. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: mod_qos-11.74/tools/configure0000775000000000000020000054503714431415521014543 0ustar rootbin#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for mod_qos 9.0. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: pbuchbinder@users.sourceforge.net about your system, $0: including any error possibly output before this $0: message. Then install a modern shell, or manually run $0: the script under such a shell if you do have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='mod_qos' PACKAGE_TARNAME='mod_qos' PACKAGE_VERSION='9.0' PACKAGE_STRING='mod_qos 9.0' PACKAGE_BUGREPORT='pbuchbinder@users.sourceforge.net' PACKAGE_URL='' ac_unique_file="src/qscheck.c" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS EGREP GREP CPP am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_silent_rules enable_dependency_tracking enable_use_static enable_full_static enable_ssl with_apr with_apr_util with_pcre2 with_png with_ssl ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures mod_qos 9.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/mod_qos] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of mod_qos 9.0:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-use-static Try to use archives instead of shared libraries --enable-full-static Try to compile a statical linked executable --disable-ssl Disable ssl support (not supported yet) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-apr=PATH path to apr-1-config script --with-apr-util=PATH path to apu-1-config script --with-pcre2=PATH path to pcre2-config script --with-png=PATH path to libpng-config script --with-ssl=PATH path to openssl source Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF mod_qos configure 9.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ------------------------------------------------ ## ## Report this to pbuchbinder@users.sourceforge.net ## ## ------------------------------------------------ ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_check_type LINENO TYPE VAR INCLUDES # ------------------------------------------- # Tests whether TYPE exists after having included INCLUDES, setting cache # variable VAR accordingly. ac_fn_c_check_type () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=no" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof ($2)) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { if (sizeof (($2))) return 0; ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else eval "$3=yes" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_type # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by mod_qos $as_me 9.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version='1.15' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='mod_qos' VERSION='9.0' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi ac_config_headers="$ac_config_headers config.h" # Checks for programs. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi # Checks for libraries. # Checks for header files. ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in fcntl.h netdb.h stdlib.h string.h strings.h sys/socket.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done # Checks for typedefs, structures, and compiler characteristics. ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" if test "x$ac_cv_type_pid_t" = xyes; then : else cat >>confdefs.h <<_ACEOF #define pid_t int _ACEOF fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 $as_echo_n "checking for uid_t in sys/types.h... " >&6; } if ${ac_cv_type_uid_t+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "uid_t" >/dev/null 2>&1; then : ac_cv_type_uid_t=yes else ac_cv_type_uid_t=no fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 $as_echo "$ac_cv_type_uid_t" >&6; } if test $ac_cv_type_uid_t = no; then $as_echo "#define uid_t int" >>confdefs.h $as_echo "#define gid_t int" >>confdefs.h fi # Checks for library functions. for ac_header in vfork.h do : ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" if test "x$ac_cv_header_vfork_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_VFORK_H 1 _ACEOF fi done for ac_func in fork vfork do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done if test "x$ac_cv_func_fork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 $as_echo_n "checking for working fork... " >&6; } if ${ac_cv_func_fork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_fork_works=cross else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default int main () { /* By Ruediger Kuhlmann. */ return fork () < 0; ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_fork_works=yes else ac_cv_func_fork_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 $as_echo "$ac_cv_func_fork_works" >&6; } else ac_cv_func_fork_works=$ac_cv_func_fork fi if test "x$ac_cv_func_fork_works" = xcross; then case $host in *-*-amigaos* | *-*-msdosdjgpp*) # Override, as these systems have only a dummy fork() stub ac_cv_func_fork_works=no ;; *) ac_cv_func_fork_works=yes ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} fi ac_cv_func_vfork_works=$ac_cv_func_vfork if test "x$ac_cv_func_vfork" = xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 $as_echo_n "checking for working vfork... " >&6; } if ${ac_cv_func_vfork_works+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_vfork_works=cross else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Thanks to Paul Eggert for this test. */ $ac_includes_default #include #ifdef HAVE_VFORK_H # include #endif /* On some sparc systems, changes by the child to local and incoming argument registers are propagated back to the parent. The compiler is told about this with #include , but some compilers (e.g. gcc -O) don't grok . Test for this by using a static variable whose address is put into a register that is clobbered by the vfork. */ static void #ifdef __cplusplus sparc_address_test (int arg) # else sparc_address_test (arg) int arg; #endif { static pid_t child; if (!child) { child = vfork (); if (child < 0) { perror ("vfork"); _exit(2); } if (!child) { arg = getpid(); write(-1, "", 0); _exit (arg); } } } int main () { pid_t parent = getpid (); pid_t child; sparc_address_test (0); child = vfork (); if (child == 0) { /* Here is another test for sparc vfork register problems. This test uses lots of local variables, at least as many local variables as main has allocated so far including compiler temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should reuse the register of parent for one of the local variables, since it will think that parent can't possibly be used any more in this routine. Assigning to the local variable will thus munge parent in the parent process. */ pid_t p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); /* Convince the compiler that p..p7 are live; otherwise, it might use the same hardware register for all 8 local variables. */ if (p != p1 || p != p2 || p != p3 || p != p4 || p != p5 || p != p6 || p != p7) _exit(1); /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent from child file descriptors. If the child closes a descriptor before it execs or exits, this munges the parent's descriptor as well. Test for this by closing stdout in the child. */ _exit(close(fileno(stdout)) != 0); } else { int status; struct stat st; while (wait(&status) != child) ; return ( /* Was there some problem with vforking? */ child < 0 /* Did the child fail? (This shouldn't happen.) */ || status /* Did the vfork/compiler bug occur? */ || parent != getpid() /* Did the file descriptor bug occur? */ || fstat(fileno(stdout), &st) != 0 ); } } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_vfork_works=yes else ac_cv_func_vfork_works=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 $as_echo "$ac_cv_func_vfork_works" >&6; } fi; if test "x$ac_cv_func_fork_works" = xcross; then ac_cv_func_vfork_works=$ac_cv_func_vfork { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} fi if test "x$ac_cv_func_vfork_works" = xyes; then $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h else $as_echo "#define vfork fork" >>confdefs.h fi if test "x$ac_cv_func_fork_works" = xyes; then $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h fi for ac_header in stdlib.h do : ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" if test "x$ac_cv_header_stdlib_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_STDLIB_H 1 _ACEOF fi done { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 $as_echo_n "checking for GNU libc compatible malloc... " >&6; } if ${ac_cv_func_malloc_0_nonnull+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : ac_cv_func_malloc_0_nonnull=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #if defined STDC_HEADERS || defined HAVE_STDLIB_H # include #else char *malloc (); #endif int main () { return ! malloc (0); ; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : ac_cv_func_malloc_0_nonnull=yes else ac_cv_func_malloc_0_nonnull=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } if test $ac_cv_func_malloc_0_nonnull = yes; then : $as_echo "#define HAVE_MALLOC 1" >>confdefs.h else $as_echo "#define HAVE_MALLOC 0" >>confdefs.h case " $LIBOBJS " in *" malloc.$ac_objext "* ) ;; *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;; esac $as_echo "#define malloc rpl_malloc" >>confdefs.h fi for ac_func in ftruncate gethostbyname memset regcomp select socket strchr strerror strrchr strstr do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # START customize settings # Check whether --enable-use-static was given. if test "${enable_use_static+set}" = set; then : enableval=$enable_use_static; fi # Check whether --enable-full-static was given. if test "${enable_full_static+set}" = set; then : enableval=$enable_full_static; fi # Check whether --enable-ssl was given. if test "${enable_ssl+set}" = set; then : enableval=$enable_ssl; fi # Check whether --with-apr was given. if test "${with_apr+set}" = set; then : withval=$with_apr; if test ! -x $withval/apr-1-config; then as_fn_error $? "$withval/apr-1-config do not exist or is not executable" "$LINENO" 5; else APR_CONFIG="$withval/apr-1-config"; fi else APR_CONFIG="apr-1-config" fi # Check whether --with-apr-util was given. if test "${with_apr_util+set}" = set; then : withval=$with_apr_util; if test ! -x $withval/apu-1-config; then as_fn_error $? "$withval/apu-1-config do not exist or is not executable" "$LINENO" 5; else APU_CONFIG="$withval/apu-1-config"; fi else APU_CONFIG="apu-1-config" fi # Check whether --with-pcre2 was given. if test "${with_pcre2+set}" = set; then : withval=$with_pcre2; if test ! -x $withval/pcre2-config; then as_fn_error $? "$withval/pcre2-config do not exist or is not executable" "$LINENO" 5; else PCRE2_CONFIG="$withval/pcre2-config"; fi else PCRE2_CONFIG="pcre2-config" fi # Check whether --with-png was given. if test "${with_png+set}" = set; then : withval=$with_png; if test ! -x $withval/libpng-config; then as_fn_error $? "$withval/libpng-config do not exist or is not executable" "$LINENO" 5; else PNG_CONFIG="$withval/libpng-config"; fi else PNG_CONFIG="libpng-config" fi # Check whether --with-ssl was given. if test "${with_ssl+set}" = set; then : withval=$with_ssl; if test ! -d $withval; then as_fn_error $? "$withval is not a directory" "$LINENO" 5; else OPENSSL_LIB_PATH="-L${withval}"; OPENSSL_INCLUDES="-I${withval}/include"; fi else OPENSSL_LIB_PATH=""; OPENSSL_INCLUDES="" fi APR_VERSION=`$APR_CONFIG --version` if test ! "$?" = "0"; then echo "libapr is missing, use --with-apr=PATH" exit -1 fi APU_VERSION=`$APU_CONFIG --version` if test ! "$?" = "0"; then echo "libaprutil is missing, use --with-apr-util=PATH" exit -1 fi PCRE2_VERSION=`$PCRE2_CONFIG --version` if test ! "$?" = "0"; then echo "libpcre2 is missing, use --with-pcre2=PATH to specify the location of your pcre2 library" exit -1 fi PNG_VERSION=`$PNG_CONFIG --version` if test ! "$?" = "0"; then echo "libpng is missing, use --with-png=PATH to specify the location of your png library" #exit -1 fi # Store settings for includes, libs and flags INCLUDES="`$APR_CONFIG --includes` `$APU_CONFIG --includes` $OPENSSL_INCLUDES" CFLAGS="`$APR_CONFIG --cflags` `$PCRE2_CONFIG --cflags` `$PNG_CONFIG --cflags` $CFLAGS $INCLUDES" CPPFLAGS="`$APR_CONFIG --cppflags` $CPPFLAGS" LIBS="$OPENSSL_LIB_PATH -lssl -lcrypto `$APR_CONFIG --link-ld` `$APU_CONFIG --link-ld` `$APR_CONFIG --libs` `$APU_CONFIG --libs` `$PCRE2_CONFIG --libs8` `$PNG_CONFIG --libs` -lz" # if link static if test "$enable_full_static" = "yes"; then LDFLAGS="-all-static" fi # if link static if test "$enable_use_static" = "yes"; then LDFLAGS="-static" fi # END customize settings ac_config_files="$ac_config_files Makefile src/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by mod_qos $as_me 9.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ mod_qos config.status 9.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Older Autoconf quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named 'Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running 'make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "$am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi mod_qos-11.74/tools/depcomp0000755000000000000020000005601614431415521014201 0ustar rootbin#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: mod_qos-11.74/tools/config.h.in0000664000000000000020000000627314431415521014651 0ustar rootbin/* config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the header file. */ #undef HAVE_FCNTL_H /* Define to 1 if you have the `fork' function. */ #undef HAVE_FORK /* Define to 1 if you have the `ftruncate' function. */ #undef HAVE_FTRUNCATE /* Define to 1 if you have the `gethostbyname' function. */ #undef HAVE_GETHOSTBYNAME /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define to 1 if your system has a GNU libc compatible `malloc' function, and to 0 otherwise. */ #undef HAVE_MALLOC /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `memset' function. */ #undef HAVE_MEMSET /* Define to 1 if you have the header file. */ #undef HAVE_NETDB_H /* Define to 1 if you have the `regcomp' function. */ #undef HAVE_REGCOMP /* Define to 1 if you have the `select' function. */ #undef HAVE_SELECT /* Define to 1 if you have the `socket' function. */ #undef HAVE_SOCKET /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strchr' function. */ #undef HAVE_STRCHR /* Define to 1 if you have the `strerror' function. */ #undef HAVE_STRERROR /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the `strrchr' function. */ #undef HAVE_STRRCHR /* Define to 1 if you have the `strstr' function. */ #undef HAVE_STRSTR /* Define to 1 if you have the header file. */ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to 1 if you have the `vfork' function. */ #undef HAVE_VFORK /* Define to 1 if you have the header file. */ #undef HAVE_VFORK_H /* Define to 1 if `fork' works. */ #undef HAVE_WORKING_FORK /* Define to 1 if `vfork' works. */ #undef HAVE_WORKING_VFORK /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Version number of package */ #undef VERSION /* Define to `int' if doesn't define. */ #undef gid_t /* Define to rpl_malloc if the replacement function should be used. */ #undef malloc /* Define to `int' if does not define. */ #undef pid_t /* Define to `int' if doesn't define. */ #undef uid_t /* Define as `fork' if `vfork' does not work. */ #undef vfork mod_qos-11.74/tools/Makefile.am0000664000000000000020000000004514431415521014651 0ustar rootbinAUTOMAKE_OPTIONS=foreign SUBDIRS=src mod_qos-11.74/doc/0000775000000000000020000000000014431415521012223 5ustar rootbinmod_qos-11.74/doc/qspng.1.html0000664000000000000020000000440614431415521014404 0ustar rootbin Man page of QSPNG

QSPNG

Section: qspng man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qspng - an utility to draw a png graph from qslog(1) output data.  

SYNOPSIS

qspng -i <stat_log_file> -p <parameter> -o <out_file> [-10]  

DESCRIPTION

qspng is a tool to generate png (portable network graphics) raster images files from semicolon separated data generated by the qslog utility. It reads up to the first 1440 entries (24 hours) and prints a graph using the values defined by the 'parameter' name.  

OPTIONS

-i <stats_log_file>
Input file to read data from.
-p <parameter>
Parameter name, e.g. r/s or usr.
-o <out_file>
Output file name, e.g. stat.png.
 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslogger(1), qslog(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

mod_qos-11.74/doc/glossary.html0000664000000000000020000006066214431415521014766 0ustar rootbin mod_qos - Additional Information
mod_qos

Additional Information

 

This page gives you additional information on certain aspects of mod_qos to get a better understanding about how to use the module.



Directives

The module is configured by directives. All directives process the connection, HTTP request, and response data in a pre-defined sequence. The following graph shows the order in which the directives work.

directive sequence


Rules

mod_qos allows you to configure different kind of rules. The main component of a rule is its counter. A rule measures either the concurrency (how many times something happens at the same time), the occurrence (how often does something happen in a certain amount of time), or the throughput (sent amount of data or number of request) and stores this information within that counter.

Every rule has it's own threshold and maintains its own counter. A rule is identified by either an URL pattern/matching string or by an environment variable name. You can configure as many rules as you want.

Rule

Note: Some counters are only available once. This applies to the counters of the rules using the QS_Block, QS_SrvSerialize, and QS_Serialize environment variables.


Environment Variables

The Apache web server provides a mechanism for storing information in so called environment variables. mod_qos uses these variables to exchange data respectively signalize events between different rules defined by the corresponding directive. These variables can also be written or read by other Apache modules, such as mod_setenvifplus or mod_setenvif .

Example:
The SetEnvIf directive is used to set the LimitLogin variable if the request line matches the ^/wp-login.php pattern while the QS_ClientEventLimitCount directives increments the repeat counter having the same name if the variable is present.
Event set by SetEnvIf and processed by QS_ClientEventLimitCount

It is also possible to write the values of these variables to your log file using the format string %{VARNAME}e within the TransferLog/CustomLog directives. Or you can use them within error pages using server-side includes (SSI).

Note: Whenever you use a directive (such as SetEnvIfPlus ) which can either process request attributes (such as HTTP headers) or environment variables, you must make sure that a client can not bypass your rules by sending a request header with the same name as the environment variable used in your configuration. Use either the request header filter or the QS_UnsetReqHeader directive to prevent anyone from sending a request header with the same name as the variable you have defined.


Concurrency Counter

A "concurrency counter" is used to determine how many times something happens at the same time (concurrent), e.g. HTTP requests accessing the same resource/URL at the same time. The rules using this counter type are either defined by an environment variable name or an URL pattern (regular expression or a string matching the request's URL). Such a rule automatically increments the counter when the Apache web server starts to process a matching request and decrements the counter when the request processing is completed.

You have to configure a threshold and the rule's variable name resp. URL pattern. Requests (or new connections) are denied as soon as the configured threshold is reached.

Directives using this counter type are:

Also the QS_SrvMaxConn, QS_SrvMaxConnClose, and QS_SrvMaxConnPerIP directives use this counter type, although with fewer parameter options.

Sample Use Case

Now let us look at an example to show where these rules can be used. Let's assume that you have two applications. We call them "A" and "B". Application "A" has been deployed on path /app/a and "B" on /app/b.
     As long as the server has enough resources, users can access both applications the same time without influencing each other.
All requests are processed quickly and the workers (w) become free again to serve new requests.

  trouble-free
     But if the application "B" becomes slow, the duration of request processing increases and all workers (w) become busy. There are no free workers left and application "A" becomes unavailable because of that.

disruption
     A QS_LocRequestLimit or QS_LocRequestLimitMatch rule can help in such a situation. mod_qos limits the number of requests to application "B" so that application "A" remains available even if application "B" has performance problems. disruption

Such a scenario can occur due to various infrastructure problems, e.g., by slow database queries.
A similar situation can also arise through an external influence: if someone penetrates application "B" with a HTTP GET / POST flood DoS attack, then application "A" could also become unreachable. A QS_LocRequestLimit rule can prevent this.


Repeat Counter

"Repeat counters" limit the number how often (Cr) something is allowed to happen in a certain amount of time (Td). These rules trigger a timer whenever the defined event occurs the first time and start to count every subsequent event until the timer expires. If the event counter reaches the defined limitation, requests are blocked until the time is up.

reapet counter

All repeat counters allow you to define an event which shall increment the counter if they occur. You also have to configure a duration Td and the threshold Cr, defining how many events are allowed within the time Td.

Directive parameter example:
QS_ClientEventLimitCount

While the counter is automatically cleared (set to 0) when the time Td is up, you might also configure additional events to decrement or clear the counter earlier.

The directives using this counter type are:

Note: Some directives support the increase of the counter by more than "1" taking the variable's value into account.


Throughput Control

Throughput control is implemented by measuring the current usage and calculating a necessary delay which needs to be applied to the data processing in order to achieve the desired limitation (closed loop control system).

closed loop

mod_qos can limit the bandwidth when downloading data from your web server to the client. This throughput control can be configured by the following directives:

Note: Throughput control should always be used with a concurrency counter because the added delay increases the number of simultaneous requests.

Requests per Second

It is also possible to limit the number or requests per second to a resource. This control function is less accurate than the bandwidth limitation, since the measurement of the request rate takes longer (several seconds) and the request delay is more coarse-grained.
The following directive can be used to limit the number of requests per second:


Serialization

mod_qos offers you the option to serialize requests. Serialization means, that requests are processed one after the other. Incoming requests are queued if another request is in process and have to wait until the previous request is finished.

serialization

Requests, which shall be serialized, are tagged by one of the following environment variables:

Serialization might be applied on a per server level (serializing all HTTP requests) or on a per client level (serializing multiple requests coming from the same client/IP address).


Error Pages and Server Side Includes (SSI)

Custom error documents to be used by mod_qos are either configured using the QS_ErrorPage directive or the QS_ErrorPage variable.
You may also use Apache's server-side includes (SSI) to generate the content of the error document dynamically. The error codes and other variables set by mod_qos can be used.

Sample configuration:
AddType                   text/html .shtml
AddOutputFilter           INCLUDES .shtml
QS_ErrorPage              /errorpages/qs_error.shtml

Sample page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <!-- 
      --  mod_qos sample SSI error page (Apache 2.4)
      -->
    <meta http-equiv="Cache-Control" content="no-cache, no-store"/>
    <meta http-equiv="expires" content="0" />
    <title>ERROR - <!--#echo var="REDIRECT_ERROR_NOTES" --></title>
  </head>
  <body>
  <p>
    <b><i>sorry - the server was unable to complete your request</i></b>
  </p>
  <p>
        code: mod_qos(<!--#echo var="QS_ErrorNotes" -->)<br>
    <!--#if expr="v('REDIRECT_ERROR_NOTES') =~ /00[0-9]/" -->
        reason: initialisation failure
    <!--#elif expr="v('REDIRECT_ERROR_NOTES') =~ /0[18][0-9]/" -->
        reason: request rule
    <!--#elif expr="v('REDIRECT_ERROR_NOTES') =~ /03[0-9]/" -->
        reason: connection rule
    <!--#elif expr="v('REDIRECT_ERROR_NOTES') =~ /[01]4[0-9]/" -->
        reason: request filter
    <!--#elif expr="v('REDIRECT_ERROR_NOTES') =~ /05[0-9]/" -->
        reason: bandwidth limitation
    <!--#elif expr="v('REDIRECT_ERROR_NOTES') =~ /[01]6[0-9]/" -->
        reason: client limitation <br>
        remaining time: <span id="remaining"><!--#echo var="QS_Limit_Remaining" --></span> seconds
        <script type="text/javascript">
        <!--
        setInterval(function () {
          var msg = document.getElementById('remaining');
          if(msg) {
            var value = msg.innerHTML;
            var remainTime = value - 1;
            if(remainTime < 0) {
              window.location = window.location.pathname;
            } else {
              msg.innerHTML = remainTime;
            }
          }
        }, 1000);
        //-->
        </script>
    <!--#elif expr="v('REDIRECT_ERROR_NOTES') =~ /10[0-9]/" -->
        reason: GEO location limitation
    <!--#else -->
        reason: generic failure
    <!--#endif -->
  </p>
  </body>
</html>


User Tracking

It might be necessary to identify individual users to define appropriate QoS rules. For this reason, mod_qos can set a cookie containing a unique identifier. This identifier is then written to the mod_qos_user_id environment variable and you can add it to your log files by the format string %{mod_qos_user_id}e. This allows you to identify all requests issued by a user.

This feature is enabled by the following directive:

  • QS_UserTrackingCookieName <name> [<path>] [<domain>] ['session'] ['jsredirect']
    The parameter "name" defines the cookie's name and "domain" (optional) the domain attribute for the Set-Cookie header. The string "session" can be defined if the cookie should not be stored by the session (but can be deleted when the user closes this browser).
You can also enforce the browser to support cookies by specifying the "path" parameter for the QS_UserTrackingCookieName directive. This parameter defines an error document and mod_qos answers the request with a redirect (302) to this document when setting the cookie initially. The browser will follow the redirect and mod_qos redirects the browser back to the initially requested page if the request to this error document contains the tracking cookie. If the browser did not send the cookie, the error document is shown.

user tracking cookie enforcement

Note: You can exclude certain clients from this enforcement by setting the DISABLE_UTC_ENFORCEMENT environment variable at server level (outside Location), e.g., to allow crawlers not supporting cookies to access your site.

Sample configuration:
QS_UserTrackingCookieName qstrack /errorpages/cookiecheck.html session
QS_SessionKey             sB.F4_0%D700ahXT2

Sample page:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Cache-Control" content="no-cache, no-store"/>
    <meta http-equiv="expires" content="0" />
    <title>Cookie Check Page</title>
  </head>
  <body>
    <h1>Cookie Check Failed</h1>
     <p>
       Please enable cookies in your browser.<br>
       Bitte schalten Sie in Ihrem Browser Cookies ein.<br>
       Activez les cookies dans votre navigateur, s'il vous pla&icirc;t.<br>
       Por favor active las cookies en su navegador.<br>
       Si prega di attivare i cookies nel proprio browser.<br>
     </p>
  </body>
</html>


Request Statistics Using qslog

qslog is a command line tool to generate usage statistics data from log files. It can generate the data in real time if defined within your Apache's server configuration.
Sample configuration:
CustomLog "|/usr/bin/qslog -o logs/qslog.csv -x -f ISBDk" "%h %>s %b %D %k"

Or you can use it to process any existing log file using the post processing option -p. This does not only work for Apache log files but for any other log file as well. You just have to know what's in the log and configure the format string argument -f of the qslog command accordingly.

Example:
log format definition

The output shows the data as a function of time: a summary of what happened every minute. Each line includes all measured values as semicolon spearated name/value pairs (CSV).

You can use the spreadsheet program of your choice to process the output:

spreadsheet



© 2023, Pascal Buchbinder mod_qos-11.74/doc/qsrotate.1.html0000664000000000000020000000676414431415521015127 0ustar rootbin Man page of QSROTATE

QSROTATE

Section: qsrotate man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qsrotate - a log rotation tool (similar to Apache's rotatelogs).  

SYNOPSIS

qsrotate -o <file> [-s <sec> [-t <hours>]] [-b <bytes>] [-f] [-z] [-g <num>] [-u <name>] [-m <mask>] [-p] [-d]  

DESCRIPTION

qsrotate reads from stdin (piped log) and writes the data to the provided file rotating the file after the specified time.  

OPTIONS

-o <file>
Output log file to write the data to (use an absolute path).
-s <sec>
Rotation interval in seconds, default are 86400 seconds.
-t <hours>
Offset to UTC (enables also DST support), default is 0.
-b <bytes>
File size limitation (default/max. are 2147352576 bytes, min. are 1048576 bytes).
-f
Forced log rotation at the specified interval even no data is written.
-z
Compress (gzip) the rotated file.
-g <num>
Generations (number of files to keep).
-u <name>
Become another user, e.g. www-data. -m <mask> File permission which is either 600, 640, 660 (default) or 664.
-p
Writes data also to stdout (for piped logging). -d Line-by-line data reading prefixing every line with a timestamp.
 

EXAMPLE


  TransferLog "|/usr/bin/qsrotate -f -z -g 3 -o /var/log/apache/access.log -s 86400"

The name of the rotated file will be /dest/filee.YYYYmmddHHMMSS where YYYYmmddHHMMSS is the system time at which the data has been rotated.  

NOTE


 - Each qsrotate instance must use an individual file.
 - You may trigger a file rotation manually by sending the signal USR1 to the process.  

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qsre(1), qsrespeed(1), qspng(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
NOTE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/qssign.1.html0000664000000000000020000000555014431415521014561 0ustar rootbin Man page of QSSIGN

QSSIGN

Section: qssign man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qssign - an utility to sign and verify the integrity of log data.  

SYNOPSIS

qssign -s|S <secret> [-e] [-v] [-u <name>] [-f <regex>] [-a 'sha1'|'sha256']  

DESCRIPTION

qssign is a log data integrity check tool. It reads log data from stdin (pipe) and writes the data to stdout adding a sequence number and signature to ever log line.  

OPTIONS

-s <secret>
Passphrase used to calculate signature.
-S <program>
Specifies a program which writes the passphrase to stdout.
-e
Writes start/end marker when starting/stopping data signing.
-v
Verification mode checking the integrity of signed data.
-u <name>
Becomes another user, e.g. www-data.
-f <regex>
Filter pattern (case sensitive regular expression) for messages which do not need to be signed.
-a 'sha1'|'sha256'
Specifies the algorithm to use. Default is sha1.
 

EXAMPLE

Sign:


 TransferLog "|/usr/bin/qssign -s password -e |/usr/bin/qsrotate -o /var/log/apache/access.log"

Verify:


 cat access.log | qssign -s password -v

 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/qsgeo.1.html0000664000000000000020000000562314431415521014374 0ustar rootbin Man page of QSGEO

QSGEO

Section: qsgeo man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qsgeo - an utility to lookup a client's country code.  

SYNOPSIS

qsgeo -d <path> [-l] [-s] [-ip <ip>]  

DESCRIPTION

Use this utility to resolve the country codes of IP addresses within existing log files. The utility reads the log file data from stdin and writes them, with the injected country code, to stdout.  

OPTIONS

-d <path>
Specifies the path to the geographical database files (CSV file containing IP address ranges and country codes).
-s
Writes a summary of the requests per country only.
-l
Writes the database to stdout (ignoring stdin) inserting local (127.*) and private (10.*, 172.16*, 192.168.*) network addresses.
-ip <ip>
Resolves a single IP address instead of processing a log file.
 

EXAMPLE

Reading the file access.log and adding the country code to the IP address field:


  cat access.log | qsgeo -d GeoIPCountryWhois.csv

Reading the file access.log and showing a summary only:


  cat access.log | qsgeo -d GeoIPCountryWhois.csv -s

Resolving a single IP address:


  qsgeo -d GeoIPCountryWhois.csv -ip 192.84.12.23

 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/CHANGES.txt0000664000000000000020000014574214431415521014051 0ustar rootbinVersion 11.74 - Fixed: Potential counter overflow for early event detection (increment before block) or log only mode. Version 11.73 This release introduces support of the PCRE2 (10.x) library in place of the now end-of-life PCRE version 1 (8.x) API. - Removes PCRE API dependency from mod_qos.c. The module no longer has an explicit dependency to the PCRE library but uses ap_pregcomp(), ap_regexec(), and ap_regexec_len() from ap_regex.h. Wrapping the PCRE (v1) and PCRE2 interface by the Apache httpd allows you to use either the old or the new API version (depends on locating pcre2-config). PCRE2 compatibility requires Apache httpd 2.4.53 or newer. - Support utilities migrated to PCRE2 API (version 10.x). Tested with PCRE2 version 10.41. - Removed compatibility to Apache 2.0 and 2.2. Version 11.72 - Improve the support of Apache "event" MPM by calculating a higher QS_MaxClients default value based on the AsyncRequestWorkerFactor setting. Version 11.71 - Removed directive QS_Chroot. - Minor code changes (improvements #39/#40 reported by Rainer Jung - many thanks). - QS_LogOnly also disables QS_EventKBytesPerSecLimit and QS_LocKBytesPerSecLimit (deactivates delay output filter). - Uses apr_temp_dir_get() to determine temp. directory for semaphores/shared memory (default used to be /var/tmp). Use QS_SemMemFile to override it. Version 11.70 - QS_ClientGeoCountryPriv skips clients whose IP address can't be mapped to a country code if the argument 'excludeUnknown' is specified. Version 11.69 - Internal: QS_SetEnvIf directives use an array to store all rules (to ensure they are applied in the order they appear in the configuration file). - Apache 2.4.49 compatibility fix introduced by mod_qos 11.68 is no longer applied for Apache version 2.4.50 and newer. 'QS_ForcedClose off' could be used to enable gentle connection close handling manually. Version 11.68 - Compatibility with Apache 2.4.49 (avoid segfault when returning error code in pre-connection hook / issue similar to CVE-2017-3169). Version 11.67 - The QS_LogEnv directive can be used to enable environment variable logging. mod_qos writes all environment variables which are set when entering a handler to the log. Version 11.66 - QS_ClientIpFromHeader supports pseudo IP by creating a hash of a HTTP request header's value if the header name is prefixed by '#', e.g. #Authorization to use the HTTP basic auth header. It's also possible to use the client's SSL client certificate's subject and issuer DN if you specify #SSL_CLIENT_S_DN instead of a real HTTP header name. Note: Does not work for IP geolocation. Version 11.65 - Fixed: QS_SrvMinDataRate did not enforce (log only) min data rate in simple mode (only one arg). Improved min. data rate calculation and updated documentation. - Fixed: Several typos in documentation. Version 11.64 - Updated request header filter rules (allows signed HTTP exchanges content type in Accept header). - qsgeo: New pattern to detect "readable" format (no longer adding IP address range twice for some file formats). - QS_Status: adds the QS_AllConn variable to the maxClients object. Version 11.63 - Adds the option 'jsredirect' to the QS_UserTrackingCookieName directive: Client (browser) has to use Javascript within the cookie check page to fetch the cookie and to redirect the client back to the initially requested page (adding Javascript to the cookie challenge). SSI variables to be used in the HTML page / Javascript: - QS_UT_QUERY: query string to call (ajax) the cookie page again to obtain the cookie. - QS_UT_NAME: name of the cookie - QS_UT_INITIAL_URI: initial page to redirect to Sample page: http://mod-qos.sourceforge.net/cookie-ir.shtml Version 11.62 - Machine-readable version of the status viewer does no longer show QS_SrvMaxConn* counters for virtual hosts using the base server's configuration and counter. - New directive QS_MaxClients. Version 11.61 - QS_SrvMaxConnPerIP can handle more than MaxClient IP addresses (if the server opens new connections faster than closing old) and enables memory block distribution by default. Version 11.60 - Fixed: Wrong connection counter (total server connections stored in the QS_AllConn variable) when using SrvMaxConn* directives globally only but other QS_* directives within virtual hosts. Bug influenced QS_SrvMinDataRate behavior as well (activating and increasing the min. data rate too fast). Version 11.59 - QS_EventRequestLimit writes the current counter value to the QS_EventRequestLimit__Counter environment variable. - New directive QS_SetEnvIfCmp. Version 11.58 - Adds directive QS_UnsetReqHeader. - Removes version information in automake configure script (utilities). Version 11.57 - Adds qsrespeed and qsre (previous "regexspeed" and "regex" dev tool) to the support utilities. Version 11.56 - Non-functional: Changed QS_Status invocation timer implementation. - Adds qsdt (previous "duration" dev tool) to the support utilities. Version 11.55 - qslog: "-l" supports files with huge gaps (missing lines). - QS_SetEnvIf and QS_SetEnvIfQuery directives can be used within Location configuration. Version 11.54 - Introduces the QS_Block_Decrement variable. Version 11.53 - Adds CORS headers to the default QS_RequestHeaderFilter and QS_ResponseHeaderFilter rule set. - qslog: shows also the distribution of response durations faster than a second within the following intervals: * 0-49ms * 50-99ms * 100-499ms * 500-999ms Version 11.52 - Fixed: QS_LimitRequestBody did not work for chunked requests when used in Apache 2.4. - QS_Status uses the server's base configuration settings while logging allowing to configure a custom log format using ErrorLogFormat. - qssign's verification mode supports graceful restart (sigusr1) where two qssign processes are running (one with the old sequence counter and the new one starting at 1). Version 11.51 - Adds process-connection handler to close the connection in the case the abort by the pre-connect hook was ignored (workaround for bug in Apache 2.4.28 Event MPM ignoring the connection abort) (msg id 167). - Uses module name in log index. Version 11.50 - Changes pre-connection hook dependency (called later but still before mod_ssl). Version 11.49 - Adapted connection handling to deal with master/slave connections (introduced by Apache 2.4.18) avoiding inconsistent connection counters. Version 11.48 - Detects unexpected connection dispatching to old child process to avoid invalid connection counter state for QS_ClientPrefer rules (msg id 166). Version 11.47 - Updates built-in filter pattern of QS_HeaderFilter (Transfer-Encoding). - qslog standard mode supports peak/max value counter (M). - Fixed: potential segfault if connection ctx is null when using h2. Version 11.46 - Updates built-in filter pattern of QS_HeaderFilter. Version 11.45 - QS_ClientEventRequestLimit supports the QS_ClientIpFromHeader directive. Version 11.44 - New directive QS_CondEventLimitCount. - QS_EventLimitCount (and QS_CondEventLimitCount) counter may be decremented by environment variable suffixed by "_Decrement". - Slightly changed unique-id generator (shorter). Version 11.43 - Fixed: QS_IsVipRequest was not set if QS_ClientPrefer hasn't been used. Version 11.42c - qslog supports QSCOUNTERPATH (-pc mode) environment variable which defines a file containing a list of QS_ClientEventLimitCount rules. The 'E' format character defines the event string in the log to match (literal string) the event1 and event2 event names against. Rule syntax: :-*/= Example mod_qos config: QS_ClientEventLimitCount 20 600 QS_LimitEv QS_SetEnvRes Event AU04 QS_LimitEv QS_SetEnvRes Event AU05 QS_LimitEv_Decrement=2 Sample qslog rule: QS_LimitEv:AU04-2*AU05/600=20 Special us case matching against the HTTP status code ('S' character) is used if the rule 'name' starts with STATUS. Example mod_qos configuration: QS_ClientEventLimitCount 10 300 QS_LimisS QS_SetEnvIfStatus 400 QS_LimitS=1 QS_SetEnvIfStatus 405 QS_LimitS=1 QS_SetEnvIfStatus 406 QS_LimitS=1 QS_SetEnvIfStatus 408 QS_LimitS=1 QS_SetEnvIfStatus 413 QS_LimitS=1 QS_SetEnvIfStatus 414 QS_LimitS=1 QS_SetEnvIfStatus 500 QS_LimitS=1 Sample qslog rule: STATUS:400_405_406_408_413_414_500-1*X/300=10 Version 11.42 - Message mod_qos(034) indicates (by "in:0") when the server not even received a request line on a TCP connection (potentially a speculative TCP pre-connection). - qslog -pc mode supports peak/max value counter (M). - qsrotate supports line-by-line data processing prefixing every line by a timestamp when using the option "-d", e.g. for batch/script output logging. - qsrotate supports option "-m" to define the file permissions. Version 11.41 - Fixed: wrong default file size used by qsrotate. - qsrotate supports signal USR1 to perform a file rotation manually at any time. Version 11.40 - mod_qos and all utilities are now distributed under the Apache License. Version 11.39 - New directive QS_EventCount to enable an error message event counter (counters are shown in the machine-readable status view). - Adds clientContentTypes statistics to the status view. Version 11.38 - New directive QS_SrvMinDataRateIgnoreVIP and QS_SrvMaxConnPerIPIgnoreVIP. - QS_ClientEventLimitCount may be decremented or cleared by environment variable (suffixed by "_Decrement", e.g. QS_Limit_Decrement). - QS_MileStone sets cookie also within error filter supporting redirects even not reaching the handler. Version 11.37 - Fixed: wrong include in qspng.c - Console: dump shows time of last db access (seconds since epoch). - Adds clientContentTypes to QS_Status. Version 11.36 - Fixed: moves code from "process connection" hook to the "pre connection" hook for Apache 2.4 compatibility and higher efficiency. - Lower severity of message 036 to critical. Version 11.35 - Fixed: potential segfault by mod_ssl in ssl_io_filter_disable() when closing a connection after a failed SSL handshake (CVE-2017-3169). Version 11.34 - New variable QS_SetEnvIfResBodyIgnore which might be used to deactivate QS_SetEnvIfResBody. - mod_qos_ev: sets "v" if an IP is marked as VIP. Version 11.33 - QS_ClientLowPrio variable's value contains the status flag representing the tracked attributes. - Sets QS_IsVipRequest variable for marked IP addresses at connection processing handler and propagetes it to every request. - Fixed: message 045 (uri check ignores log-only mode). Version 11.32 - Header filter: accepts region specific language codes in Accept-Language request header by default. - Compiles also against OpenSSL 1.1.0b. Version 11.31 - QS_SetReqHeader supports header removal (unset) by prefixing the header name with "!". - QS_SetEnvIfResBody supports variable removal (unset) by prefixing the variably with "!". - New cookie data format (user tracking, vip, milestones). Version 11.30 - qslogger supports option "-x" (adding a prefix to every message). - Fixed: calculation of MaxClients for MPM prefork binary (bug reported by Fergus - thanks!). Version 11.29 - mod_qos_ev variable sets character "u" if server is accessed by a client without a user tracking cookie (but QS_UserTrackingCookieName has been configured). - Minor (non-functional) DSCP implementation code changes (incl. new log messages). - Adds mod_qos events "qA" and "qu" to qslog and the output of event counters (q*) has been made optional. Version 11.28 - New variable "QS_Set_DSCP" to set the IP differentiated services code points (DiffServ / RFC 2474). - QS_RedirectIf also supports 301. Version 11.26 - Changed: QS_SrvMaxConn* directive counter's inheritance from the base server to virtual hosts is no longer coupled to other QS_* directive rules. This means, that a virtual host uses the very same counters as the base server as long as neither QS_SrvMaxConn, QS_SrvMaxConnClose, nor QS_SrvMaxConnPerIP has been configured within the virtual host. Version 11.25 - QS_ClientEntries max. value is now limited to 10000000. - New "special code" 'BrokenConnection' for the QS_SetEnvIfStatus direcive. Version 11.24 - Fixed: Apache 2.4 had nested error page when using QS_ErrorPage (bug introduced by version 11.22). Version 11.23 - Directive QS_SetEnvIf supports single variable match. - qslog -p: * fallback to simple hour/minutes detection * Fixed: writes now statistic line at the "next" minute (m+1:00) Version 11.22 - Disables client behavior (content type) measurement if QS_ClientPrefer has been disabled. - Minor changes to the status viewer. - Fixed: segfault when using HTTP/2. Version 11.21 - Fixed: Implemented graceful restart detection for Apache 2.4 to properly free shared memory and mutexes (prevents from leaking while doing graceful restarts). - Disables keep-alive enforcement for MPM event binaries. Version 11.20 - Adds filter (option -f) to qssign. - Revised QS_ClientPrefer implementation (improved attribute weighting) and the log messages 063/064 have been merged into message 066. Version 11.19 - Updates User-Agent header field pattern for the default QS_RequestHeaderFilterRule rule set and adds the Upgrade-Insecure-Requests header. - QS_ClientGeoCountryDB is able to read IP2LOCATION csv file without prior transformation (country code '-'). - Fixed: QS_ClientIpFromHeader used to determine country code (QS_ClientGeoCountryDB) even the country could not be determined for the connection address (incomplete IP list). Version 11.18 - New directive QS_Status. - QS_SrvSampleRate must be greater then one second. - Avoids using RAND_bytes() and checks if the generator is seeded with enough entropy (mod_qos(08x) messages). - Calculates MaxClients (instead of reading the directive). Version 11.17 - QS_SetEnvIfStatus supports QS_SrvMaxConnPerIP to increment the QS_Block event variable. - qssign features the option "-a" to define which algorithm to use. - Enables QS_SrvMinDataRate, QS_SrvDataRateOff, and QS_SrvMinDataRateOffEvent for Apache 2.4 as smoke test against Apache 2.4.12 and 2.4.16 was now successful (MPM worker and event). The QS_KeepAliveTimeout and QS_MaxKeepAliveRequests directives have been disabled for the MPM event. Apache 2.4 is still not fully tested. Version 11.16 - Adds timeout option to the QS_SrvSerialize directive. Version 11.15 - Increased severity of message 035 and 036 from critical to alert. - Lowered severity of messages 100, 009, and 007 from emergency to critical. - QS_RedirectIf directive supports 307 response code. - Set *_Counter variable of QS_EventLimitCount within post read request handler. - QS_ClientSerialize honors the sequence of receiving requests (fifo) in order to support requests from different clients accessing the server via a proxy. - Fixed: potential deadlock (when reaching the 5min timeout) when using the QS_SrvSerialize directive. Version 11.14 - New directive QS_SrvSerialize. Version 11.13 - Adds option "-u" to the qslogger and qssign utilities. - QS_MileStone features a "think time" attribute which defines how long a client must wait between two milestones. Version 11.12 - Propagates the variables used by QS_ClientEventLimitCount to sub-requests making them available within SSI pages. - New QS_ClientEventLimitCount variable suffixed by "_Remaining" containing the remaining time in seconds a client is still blocked (to be used within error pages to show a client how long he has to wait until he might proceed). - New variable QS_MaxKeepAliveRequests. Version 11.11 - QS_Limit (resp. the event variable processed by the QS_ClientEventLimitCount/QS_CondClientEventLimitCount directives) event may specify a weighting of events defining by how many penalty points the counter shall be increased. Default is 1. Version 11.10 - Adds qslog command to the module (dedicated statisic log facility on a per Apache server instance basis). Version 11.9 - QS_Block event may specify a weighting of events defining by how many penalty points the counter shall be increased. - Fixed: enables per client data store when using the QS_VipIPHeaderName together with the QS_SrvMaxConn[PerIP] directive. Version 11.8 - New console command 'inclimit' increments the QS_ClientEventLimitCount rule counter. - Adds the option "" to the QS_UserTrackingCookieName directive. Version 11.7 - Man page for the module itself. - Adds option "session" to QS_UserTrackingCookieName. Version 11.6 - Adds "Public-Key-Pins" and "Public-Key-Pins-Report-Only" to the pre-defined list of allowed HTTP response header fields. - Adds "Origin" to the pre-defined list of allowed HTTP response header fields. - Fixed: qsrotate reads the size of an existing logfile at startup (required by the "-b" option). Version 11.5 - qslog: improved performance. - Minor code refactoring. - Some log messages (010, 012, 013, 030, 031, 034, 040, 041, 042, 043, 044, 046, 047, 048, 060, 063, 064, 065, 067, 101) indicate if QS_LogOnly mode is active. - Apply QS_LogOnly to header filter (action drop). - qsgeo option "-l": * adds the IP address if missing * fixed: unintentional dropping of valid lines * may be used to normalize "ip2location lite" DB1 files * option "-v" to print all error messages Version 11.4 - Adds request ID to console log messages (07*). - qslog supports writing to stdout (if "-o " is omitted). - qslog: improved performance. Version 11.3 - New directive QS_ClientEventBlockExcludeIP. - Minor changes to the status viewer. - Modified error messages 060 and 067 (adding the "age" parameter which indicates the seconds since the event occurred the first time). - Fixed: Message 065 contained wrong directive name. Version 11.2 - Adds variable QS_ResponseDelayTime showing the delay time (us) calculated for response throttling. - New variable QS_Timeout. Version 11.1 - Fixed: Shows "T" log marker only for requests which has really been delayed by mod_qos. - Further improved bytes/sec limitation implementation. Version 11.0 - Highly improves bytes/sec limitation (response throttling) based on the input I got from Jeff Trawick - many thanks! * Calculates delay within filter (immediately(!) when reaching the defined amount of bytes). * Uses nanoseconds delay (instead of milliseconds). * Splits large bucket brigades to 8k blocks (support for local files, not using mod_proxy). * Inserts filter late (after mod_deflate). - User tracking: set Cache-Control header when accessing the cookie check page. - QS_UserTrackingCookieName: improved cookie header processing. - Fixed: 'qslog -pc' does no longer require 'S' nor a date. Version 10.30 - QS_SetReqHeader features the option 'late'. - New console output (without ':' suffix for the IP address). - Console 'search', 'limit', and 'unlimit' command support now the 'event' parameter specifying which QS_ClientEventLimitCount event variable to show/set/clear. Version 10.29 - Supports IPv6 clients. Version 10.28 - Fixed: QS_ClientEventLimit did overwrite counters of other clients if multiple events have been configured. Version 10.27 - qslog features the option "-pu" and "-puc" used to gather request information on a per URL basis. - Fixed: Wrong includes within the support utilities. - Extends QS_ClientSerialize max. timeout from 1 to 5 minutes. Version 10.26 - QS_ClientSerialize supports the QS_ClientIpFromHeader directive. - Refactor method used to determine redirect port (user tracking) supporting servers not using virtual hosts. - Fixed: QS_UserTrackingCookieName uses correct server_rec to retrieve configuration. - Hook implementing user tracking is now called after mod_unique_id. - Slightly changed unique-id generator. - Adds fflush() to qsgrep utility when writing data to stdout. Version 10.25 - QS_EventLimitCount writes the current value to the process environment variables. - Fixed: QS_[Cond]ClientEventLimitCount logs request id and propagtes message code (067) to the QS_ErrorNotes variable. - New variable QS_IPConn representing the number of connections opened from the very same source IP (works in conjunction with QS_SrvMaxConnPerIP only). Version 10.24 - New directive QS_CondClientEventLimitCount. - QS_SrvMinDataRate: limits the max. data rate to the configured value (prevents invalid rate due to misconfiguration server or died child process). Version 10.23 - Fixed: QS_ClientEventLimitCount log message 067 contains now the IP address of the request header if QS_ClientIpFromHeader is used. - QS_SetEnvRes: supports multiple variables with the same name. Version 10.22 - Process QS_SetEnvResHeader(Match) and QS_SetEnvRes at error filter too. Version 10.21 - Fixed: qslogger may had detected the wrong message severity. - Adds debug message when detecting "NullConnection" events. - Built-in request header rules: adapt If-Match, If-None-Match, Cookie, and Cookie2 HTTP header patterns. Version 10.20 - Fixed: QS_CondLocRequestLimitMatch did work only if other QS_Loc* directive had been configured. Version 10.19 - New directive QS_RedirectIf. Version 10.18 - QS_ClientEventLimitCount may be cleared by environment variable (suffixed by "_Clear", e.g. QS_Limit_Clear). Version 10.17 - QS_ClientEventLimitCount supports unlimited number of events. - Stores the value of the QS_ClientEventLimitCount variables as environment variables suffixed by "_Counter", e.g. QS_Limit_Counter for the default QS_Limit variable, in order to be processed by other rules. - Add Content-Security-Policy to the default response header allow list. - qslog features enhanced "-pc" mode providing more information: * Collects content type information (%{content-type}o). * Duration between the first and the last request. * Average response in ms. * "ci" indicates if we have seen the client at the end or the beginning of the file (maybe not all requests in the log due to log rotation). * Bytes downloaded. * Writes status characters to stderr. * HTTP request methods (GET/POST) - qsgeo features option "-l" and is able to process "qslog -pc" files. Version 10.16 - qslog adds 'E' (event identifiers) to the format string. QSEVENTPATH environment variable specifies a file containing all known event names (comma separated list). - qslog average counter (a/A) count only if a numeric value is available. - qssing does not try to execute invalid program name (space only). Version 10.15 - qsrotate supports DST and offset to UTC. - Add the "connections" argument to the QS_SrvMaxConnPerIP directive to disable the rule enforcement on idle web servers. Version 10.14 - Minor changes to status viewer (color for QS_EventLimitCount counter). - Q3594444: adapted man page subject. - QS_ErrorResponseCode verifies that the defined error code is valid resp. known by Apache. - Add option "-b" to the qsrotate utility. Version 10.13 - Add new directive QS_EventLimitCount. Version 10.12 - Fixed: Per-client status viewer did not show numbers correctly (depending on the platform it has been compiled for). Version 10.11 - Don't write QS_ClientEventBlockCount event messages (060) every time a client is blocked. - Adjust log message severity of permitted QS_SrvMinDataRate rule violations from 'info' to 'debug'. Version 10.10 - Add DNT HTTP request header to the default request header allow list. - qslog "-pc" supports counting established connections. - Fixed: Endless loop when using option "-c" with only one rule. - New utility qshead. Version 10.9 - Q3535677: Don't use prce_info() any longer. - qslog option "-x" allows the specification how many files to keep. Default are 14 days. - qslog counter 'a', 'A', and 's'. - Adapted log message mod_qos(069) - QS_ClientIpFromHeader@logger searches for the header in r->prev and r->main too. Version 10.8 - Fixed: QS_SetEnvIfResBody did not properly detect pattern. - qslogger features severity filter (forward only messages with a matching/higher severity) and adjustable default severity for those log lines which do not contain the severity pattern. Version 10.7 - Writes notice message at server startup if the Apache version is not supported (mod_qos has been implemented for Apache 2.2 worker binaries only resp. Apache 2.0 is no longer supported). - Use pcre_study() API call only if QOS_EXTRA_USE_PCRE_STUDY has been defined while compiling mod_qos. - Adds fflush() to qslogger/qsexec/qsgeo/qslogger utility when writing data to stdout. Version 10.6 - qslog measures average response time in milliseconds (avms). - Fixed: Viewer shows number of per client ip connections if no server limitations are set (query "option=ip"). - Fixed: qslogger did not compile on non-Linux platforms. Version 10.5 - New utility: qslogger. - JSON includes array index number (note: you need to adapt existing JSON rules). - Experimental: mod_qos compiles with Apache 2.4 * QS_SrvMinDataRate is not available (does not work, use mod_reqtimeout instead) * QS_Srv* directives shall not be used (connection cleanup takes very long) Version 10.4 - Improved qs* utility performance. Version 10.3 - Fixed: ABR in QS_SetEnvIfResBody. Version 10.2 - Fixed: QS_Milestone uses now URL decoding before applying the expression (pcre). - Add the qsgeo utility to the distribution archive file. - Fixed: Suppress warning message about missing mod_unique_id if mod_navajo.cpp is available. - New connection correlation id QS_ConnectionId (available as an event for logging purposes). Version 10.1 - QS_ClientIpFromHeader may be used to set QS_Country variable. - Viewer shows QS_AllConn variable. Version 10.0 - New directives QS_ClientGeoCountryDB and QS_ClientGeoCountryPriv. - New variables: QS_AllConn and QS_Country. Version 9.79 - Fixed: Wrong IP conversion (str2long) used by console and QS_ClientIpFromHeader. Version 9.78 - Fixed: QS_UserTrackingCookieName enforcement did not work if server creates internal redirect. Version 9.77 - Use pcre_study() and match_limit where applicable. - qslog features the option "-c" to collect separate statistics, e.g., for different URLs. - qslog features the option "-pc" used to gather request information per client. - New directive QS_SrvSampleRate (may be used to adjust the QS_REQ_RATE_TM sample rate at runtime/post compilation). Not documented. - Fixed: qslog line parsing bug (double backslash). Version 9.76 - New directive QS_ClientIpFromHeader (may be used in conjunction with QS_ClientEventLimitCount only). - qslog measures new connections per minute (%k == 0). - Fixed: Don't show connections in the overview if not measured. - Internal: QS_EventRequestLimit are added (instead of set) to the event table in order to prevent multiple increments by the very same request. Version 9.75 - New directive QS_SetEnvRes. - Viewer keeps value about the last measured kbytes/second result for a longer time. - Update documentation (description of QS_LocKBytesPerSecLimit* directives). Version 9.74 - Fixed header file in qsfilter2 (possible compile problems). - Fixed pre connection handling for outgoing (mod_proxy) connections. Version 9.73 - Q3429879: Format usage text of the mod_qos utilities to man page format. Use " --man" to generate the man page. - Make "NullConnection" detection (known by QS_SetEnvIfStatus) more aggressive. Version 9.72 - Module tries to detect a suitable default error document for QS_ErrorPage automatically. - New status "NullConnection" known by QS_SetEnvIfStatus detecting TCP connections which are not used to send a HTTP request (closed without transmitting HTTP request line and header or denied by any other module). - QS_ClientEventBlockCount is processed at pre_connection hook (more aggressive, before mod_ssl). - Suppress warning message about missing mod_unique_id if mod_navajo is available. Version 9.71 - QS_RequestHeaderFilterRule and QS_ResponseHeaderFilterRule may be configured within a host (outside location). - QS_ResponseHeaderFilterRule features the action "silent" which drops header silently without writing a log message. - Headers X-Content-Type-Options and X-XSS-Protection has been added to the default response header rules. - Fixed: Bug in JSON parser. - Fixed: Propagation of Apache environment variables to sub-requests (solves bug when using QS_ClientEventBlockCount and ErrorDocument). Version 9.70 - QS_EventPerSecLimit and QS_EventKBytesPerSecLimit counters are no longer updated if a request has already been denied by a QS_EventRequestLimit rule. - QS_LocRequestPerSecLimit* and QS_LocKBytesPerSecLimit* counter are no longer updated if a request has already been denied by a QS_LocRequestLimit* rule. - Adjust attributes/number of requests required to identify the client behavior. - Update request header allow list rule for Content-Type. Version 9.69 - Client behavior (content type a client is downloading) is calculated in a percent of the whole traffic type distribution. The directive QS_ClientTolerance supports only values between 5 and 80. - Add directive QS_ClientContentTypes to define the normally downloaded content types statically (instead of self learning). - Detection if module has been build for a different MPM implementation than the server is using at runtime. - JSON parser processes request query (if starting with an array '[' of object '{') if no body is available. - qssing supports additional log format detection. - qslog supports request time duration measurement in milli- and microseconds too (t and D instead of T). - qslog isolates numeric values (B, i, T, t, D, S) even they are surrounded or prefixed by other characters, e.g. time="". - qslog treats single quoted string with (short) leading name and eaual sign (e.g., agent='Mozilla 1') as single element (offline mode only). - qslog extracts additional time formats (offline mode). - Added "X-Do-Not-Track" to the built-in request header allow list. - Minor changes within the status viewer (machine-readable view). Version 9.68 - Change in order to support HP-UX. Version 9.67 - Fixed: QS_ClientSerialize has required other client level control directive. Version 9.66 - Client data store updates entry time stamp every access. Version 9.65 - Fixed: Could not compile the support utility qscheck. - qsexec features option "-c" (pattern clearing the event counter). Version 9.64 - New utility: qsexec - Dynamic client data store partition (depending on the size of the store as defined by QS_ClientEntries) for improved performance. Version 9.62 - Some code refactoring (performance improvements, no functional changes). Version 9.61 - New directive QS_LogOnly may be used to disable rule enforcement (permissive mode). - Minor changes within the status viewer. - "QS_SetEnvIfStatus QS_SrvMinDataRate QS_Block" limits the allowed number of QS_SrvMinDataRate rule violations. Version 9.60 - Fixed: QS_ClientEventBlockCount/QS_ClientEventLimitCount get not reset if client causes events continuously. Version 9.58 - Fixed: IP does not get marked as VIP if QS_ClientPrefer has not been defined. - New variable QS_ErrorNotes. - Add "Transfer-Encoding" (very strict) to the built-in request header allow list. Version 9.57 - Status viewer features query name "refresh" which causes the browser to reload the page every 10 seconds. Version 9.56 - Clear per client data store counters at graceful restart to prevent dead enties (counter grow) due unclear client shutdown. - qsfilter2 features url filter (-f). - QS_ClientSerialize does not block for more than 10 minutes. Version 9.55 - Minor changes in configure script (autotools) of the support utilities (png library name). - Add allowed response header X-Content-Security-Policy. - Fixed: qslog cuts last character if parameter is at end of line. - Fixed: qsfilter2 handling of 0 byte characters. Version 9.54 - QS_SetEnvIf may unset a variable. - New variable QS_IsVipRequest. Version 9.53 - Re-introduce qscheck to the support utilities tarball. Version 9.52 - Double per client data store speed (insert new entries) by partitioning of odd and even ip addresses. - Overview section in qos viewer (showing connections and load). - Remove packet-rate measurement. Version 9.51 - Set IP based VIP status to connection even before we receive the HTTP request. - New argument "connections" for the QS_SrvMinDataRate directive allows to disable the limitation if the server is idle/has only little traffic. - Adapt built-in request header filter rules. Version 9.49 - Adapt built-in request header filter rules. - New utility: qsgrep. - Change process order: process QS_SetEnvResHeader after QS_SetEnvResHeaderMatch. - New directive QS_UnsetResHeader. - New directive QS_ClientEventLimitCount (works similar as QS_ClientEventBlockCount but enforces rule at request level only). Version 9.48 - qslog supports mod_logio (%I and %O). - Re-introduce deprecated QS_SetEnvStatus directive (for backwards compatibility). Version 9.47 - QS_SetEnvIfStatus may be used within Locations. - Sequence: execute QS_SetEnvIfStatus earlier (before QS_SetEnvResHeader). - Remove directive QS_SetEnvStatus (alias for QS_SetEnvIfStatus). Version 9.46 - QS_VipUser/QS_VipIpUser detects r->user earlier (@fixup). - QS_KeepAliveTimeout allows value "0" disabling keep-alive. - Process QS_KeepAliveTimeout variable at response too. - QS_SetEnvIfStatus may be specified multiple times for the same response code. - QS_SetEnvIfStatus accepts the definition of a variable value. Version 9.45 - Add directive QS_ClientSerialize. - qslog used new parameter names for event message counts. Version 9.44 - Add directive QS_DisableHandler. Version 9.43 - QS_ClientEventBlockCount rule violation marks client to have low priority. Version 9.42 - Console "action=search&address=*" returns a list of all clients. - Fixed: Removes the apr_shm_destroy() calls to avoid double-free errors on Linux with old APR library versions. Version 9.41 - Fixed: Console action 'block' did not set event number. Version 9.40 - Fixed: Search IP in console - Fixed: User tracking set-cookie is set twice. - Process QS_SetEnvIfStatus on internal errors (protocol). Version 9.38 - Web console allows the modification of attributes of entries within the client data store. - Status viewer supports query "ip" (showing the IP addresses of the connected clients for all open TCP connections) in machine-readable version. - Status viewer used new delimiter within rule names on machine-readable version (query "auto"). Version 9.37 - Changed QS_ClientPrefer behavior: - never block VIP IP - step 1 denies slow marked clients only - Set the QS_ClientLowPrio variable for clients with low priority. - qssign: add option "-e" which ensures we don't lost any lines. - Update built-in header validation pattern. Version 9.36 - QS_SrvMinDataRateOffEvent processing at fixup (request). - Use apr_time_t instead of time_t. Version 9.34 - qslog counts response status codes per minute. - Use apr_time_t instead of time_t. Version 9.33 - User tracking cookie enforcement may be disabled by setting the DISABLE_UTC_ENFORCEMENT environment variable, e.g. for certain User-Agent headers. Version 9.32 - Status viewer returns "text/plain" for request query 'auto'. Version 9.31 - qsfilter2: encode double quotes and backslashes using their hex values (no escaping within Apache configuration necessary). - Featuring JSON parser which may be used in conjunction with QS_PermitUri. Version 9.30 - Fixed: qsfilter2 did not compile with OpenSSL 1.0.0. Version 9.29 - Add Strict-Transport-Security to the default response header rules. - Directive QS_UserTrackingCookieName features an optional "path" attribute. This path specifies a local error page which is shown to users not accepting the user tracking cookie (note: search engines do probably not support this cookie enforcement and won't be able to crawl the site). - Generates a simple request id (unique per pid/tid within a millisecond) if mod_unique_id has not been loaded. - Fix: syntax check for QS_ErrorPage. Version 9.28 - QS_ErrorPage supports external HTTP redirect (302). - qsfilter2 features a rule id prefix (-k ). - qsfilter2 may process audit log using the sample log format "%h %>s %{qos-loc}n %{qos-path}n%{qos-query}n" without pre-processing. Version 9.27 - Remove qscheck utility (don't compile it by default). - New variable %{qos-loc}n indicating the Location matching a request (may be used to filter the audit log for dedicated locations in order to generate QS_PermitUri rules). - qsfilter2 may process "standard" Apache access log (TransferLog) files too (automatically detecting the request line). - Several adaptions/fixes to the machine-readable version of the status viewer. Version 9.26 - Fix: no mutex destroy (called by register cleanup when destroying pools). Should fix the restart issues with MPM prefork binaries. - Renew user tracking cookie once every month. Version 9.25 - Compile utilities using GNU autotools (hope this works at least on some Linux platforms). Version 9.24 - QS_SrvMinConnPerIP: don't log every rule violation (consolidate log messages and log only every 20th event, see QS_LOG_REPEAT). - Fixed: Removes thread_join for MPM prefork binaries. Version 9.23 - New directives: QS_MileStone*. - Q3032708: see http://www.openssl.org/support/faq.html#LEGAL2. - Add Access-Control-Allow-Origin to the default response header rules. Version 9.22 - New variable: QS_SrvConn - qslog shows total number of requests within a minute. Version 9.21 - New directive QS_UserTrackingCookieName. Version 9.20 - Fixed: Racing condition when using QS_SrvMinDataRate and ThreadsPerChild > 64 may cause segfault. Version 9.19 - Fixed: Segfault at server start if no vhost has been defined. - QS_SrvMinDataRateOffEvent may be used at server and/or location level. Version 9.18 - QS_SrvMaxConnClose supports the definition of the number of keep-alive connections as a percentage of MaxClients. - Updates built-in filter pattern of QS_HeaderFilter. Version 9.17 - Output filters are executed after mod_setenvifplus. Version 9.16 - New directive QS_SrvMinDataRateOffEvent. - Changes directive process order (QS_SetEnvIfStatus). - QS_SrvMinDataRate enforces keep-alive timeout (request line must be received within the keep-alive timeout). Version 9.15 - New directives QS_ResponseHeaderFilter and QS_ResponseHeaderFilterRule. Version 9.14 - New directive QS_Decoding. Version 9.12 - New directive QS_SemMemFile. - Uses a checksum to represent IPV6 addresses. Version 9.10 - Fixed: ap_remove_input_filter(). - MaxClients overrides ServerLimit/Treads settings when calculating the maximum number of possible client connections. - Log/debug message about used semaphore files. Version 9.9 - New implementation of the code for QS_SrvMaxConnPerIP to avoid malfunction reported by mod_qos user. - Module dependency (execution order) to mod_setenvifplus. Version 9.8 - Internal code changes/maintenance (join thread). Version 9.7 - mod_qos may be compiled defining QS_NO_STATUS_HOOK which prevents mod_qos from registering to mod_status. Version 9.6 - Environment variable QS_DeflateReqBody to deflate request body data (update to mod_parp 0.8 in order to get a correct content-length header after data deflating). Version 9.5 - New directives QS_SetReqHeader and QS_SetEnv. Version 9.4 - Fixed: Variable %{qos-query} is not set when using the QS_DenyQueryBody directive (and neither QS_DenyBody nor QS_PermitUriBody has been set). - Increased line buffer for qsfilter2 (2MB). Version 9.3 - New directive QS_SetEnvResBody. Version 9.2 - New syntax: QS_VipHeaderName
[=] [drop] QS_VipIPHeaderName
[=] [drop] Version 9.1 - QS_ClientEventRequestLimit limits the number of concurrent events on a per client IP address basis (again increasing the per client memory consumption). Version 9.0 - Client level control: request characteristics measuring adds content type ration and number of 304 responses (requires now 64bytes instead of 48bytes per client on a 32bit system). - Improved client level control (behavior detection, see above) is processed by the QS_ClientPrefer directive. Directive QS_ClientTolerance controls the allowed variation. - Directive QS_SrvPreferNet has been removed. It's recommended to use QS_ClientPrefer instead. Version 8.18 - Q2841328: remove nasty pointer address cast to int. Version 8.16 - Q2834297: use a single mutex for all per virtual host ACT tables (too many mutexes if a server uses many virtual hosts). Version 8.15 - New variable QS_Delay. Version 8.14 - New directive QS_SrvDataRateOff. Version 8.13 - New directives QS_DenyQueryBody and QS_PermitUriBody obsolete QS_DenyBody. - Fixed: QS_Deny*/QS_Permit* directives can handle strings containing 0 bytes (qsfilter2 still can't). Version 8.12 - New directive QS_InvalidUrlEncoding. Version 8.11 - Fixed: Change Apache 2.0 ifdef statements in order to compile with any compiler. Version 8.10 - Fixed: Did not compile with Apache 2.0. Version 8.9 - QS_LimitRequestBody may be defined using mod_setenvif. See new directive order in mod_qos_seq.gif - mod_qos uses anonymous shm by default. - Use constant semaphore/shared memory file names in order to reuse resources after unclear server shutdown. Version 8.5 - New directive QS_EventKBytesPerSecLimit. - New structure of the source archive tarball, see index.html#build for more information about building the binaries. Version 8.3 - QS_RequestHeaderFilterRule has new syntax. - QS_RequestHeaderFilter checks the header length too. It's possible to use "QS_RequestHeaderFilter size" for header length checking only (instead of using LimitRequestFieldsize). Version 8.2 - Fixed: Client prefer, don't mark connection timeout at keep alive end (used in conjunction with QS_ClientPrefer). - Access log events (mod_qos_ev, mod_qos_cr, mod_qos_con) are stored as variables (storing them in the out headers will be removed in one of the next release). Version 8.1 - Fixed: Checks for enabled cc in input filter. - Don't allow requests without an URL. Version 8.0 - New server configuration merger: settings within virtual hosts are merged with the settings from the base server (directives outside virtual hosts). Virtual host settings do not overwrite base settings any more. - New directive QS_LimitRequestBody. Version 7.20 - Fixed: Url decoding detecting %HH encoding (full range). Version 7.19 - QS_DenyEvent may be used to block requests which do NOT have the specified event set. - QS_DenyEvent is applied after the QS_SetEnvIf* directives. See mod_qos_seq.gif for more details. Version 7.18 - QS_Deny/Permit logs on severity warning if action is log only. Version 7.17 - QS_SetEnvIfBody recognizes the occurrence of $1 within the variable value and replaces it by the subexpressions of the defined regex pattern. Version 7.16 - Set audit log variables at header parser hook. Version 7.15 - Directive QS_EventRequestLimit may match variable values too. - New directive QS_SetEnvIfBody. - Audit log is enabled based on the defined log format variables. Version 7.14 - New directive QS_DenyBody implements generic request body filter which can be used in conjunction with QS_DenyQuery, QS_PermitUri, and body data audit log (to be processed my qsfilter2). Version 7.13 - Changed directive processing order, see mod_qos_seq.gif. - New directive QS_SetEnvIfParp (requires mod_parp, see http://parp.sourceforge.net). Important: mod_parp and the QS_SetEnvIfParp directive copies the whole HTTP request message body into the servers memory (requires at least twice the memory size of the posted data). It is very important that you limit the messagy body size for requests processed my mod_parp/QS_SetEnvIfParp using the Apache directive LimitRequestBody. - New directive QS_DenyEvent. - Chuck out mod_qos_control. Version 7.12 - Process event filter only if some rules have been defined. - Recovery rate (decrease limitation) for bandwidth and and request limit has been increased from 16% to 25%. Version 7.11 - New directive QS_EventRequestLimit. Version 7.9 - Fixed: QS_SrvMinDataRate/QS_SrvRequestRate counts all server connections (not only per child process). Version 7.8 - Directive QS_SrvMinDataRate/QS_SrvRequestRate supports min/max limitation in order to increase the minimum upload/download bandwidth on multiple simultaneously connections. - Fixed: Activation of QS_SrvMinDataRate did not work (QS_SrvRequestRate only). Version 7.7 - New directive QS_SetEnvIfQuery. Version 7.6 - Use the HTTP response code defined by QS_ErrorResponseCode (default is 500) settings for all denied requests expect for those requests rejected to a QS_Deny*, QS_Permit*, or QS_RequestHeaderFilter rule. Version 7.5 - New directive QS_ErrorResponseCode - Multiple directives (QS_LocRequestLimit, QS_LocRequestLimitMatch, QS_CondLocRequestLimitMatch, QS_ClientEventBlockCount, and QS_ClientEventPerSecLimit) allow now a limitation set to "0". - QS_SrvMinDataRate replaces QS_SrvRequestRate. Version 7.4 - QS_SrvRequestRate supports chunked POST. Version 7.3 - Partial (not for chunked post) fixed error message for slow server response when using QS_SrvRequestRate. Version 7.2 - New directive QS_SetEnvResHeaderMatch Version 7.1 - QS_SrvMaxConnExcludeIP works for QS_SrvRequestRate (may be used to allow selected IP sources, e.g. slow spider). Version 7.0 - New directive QS_SrvRequestRate enforces minimum upload bandwidth (used for TCP DoS prevention). Requires thread support. - QS_ClientPrefer allows definition of free connections in percent in order to override the default of 80%. Available for Apache 2.2 only. - QS_SrvConnTimeout is no longer available. You may use QS_SrvRequestRate instead. Version 6.7 - Detects low priority clients (clients sending slow or using small data packets get marked as low priority clients). - New directives QS_VipUser and QS_VipIpUser. - Status viewer shows information about client (IP) control status. Version 6.6 - mod_status handler hook supports short status flag. Version 6.5 - New directive QS_SetEnvResHeader. - mod_qos_control supports QS_SetEnvIf, QS_SetEnvStatus, and QS_SetEnvIf directive editing. Version 6.4 - New directive QS_SetEnvStatus. - QS_SetEnvIf for response processing (log transaction). - QS_ClientEventBlockCount on response events (log transaction). Version 6.3 - New directive QS_VipIPHeaderName to mark clients (IP) without providing them full VIP privileges. - Add details to log messages. Version 6.2 - New command: QS_ClientEventPerSecLimit. Version 6.1 - QS_SetEnvIf supports "NOT" operator. - Sets QS_VipRequest variable when receiving valid session cookie. Version 6.0 - mod_qos features per client (IP) control rules. - QS_ClientPrefer, prefers known VIP clients. - QS_ClientEventBlockCount, blocks clients on events. Version 5.17 - New directive QS_EventPerSecLimit allows req/sec limitation for requests causing an event. - New directive QS_SetEnvIf allows combination of multiple environment variables. - Fixed: sem/shm leak when using QS_SrvPreferNet. Version 5.16 - Mark QS_CondLocRequestLimitMatch in status viewer. Version 5.15 - New directive QS_CondLocRequestLimitMatch allows conditional request level rules. Version 5.14 - Remove "nicetitles" from status viewer. Version 5.13 - Again, minor status viewer changes. Version 5.12 - Status viewer uses "nicetitles" to show long rule strings. Version 5.11 - Minor internal code changes. Version 5.10 - Rules do not use individual mutex any longer. This allows an unlimited number of rules. Version 5.9 - mod_qos_control features additional qsfilter2 settings. Version 5.8 - Minor improvements in status viewer. - 5.7 did not compile with Apache 2.0 (ap_regex). Version 5.7 - Important: QS_PermitUri, QS_Deny*, qsfilter2 apply filter rules against unescaped URLs where %, \x and + (new!) is unescaped. You should regenerate your QS_PermitUri rules using the updated version of the qsfilter2 tool provided by this release. - Very first release of mod_qos_control. Version 5.6 - New status viewer implementation. Version 5.4 - Important: QS_PermitUri, QS_Deny*, qsfilter2 apply filter rules against unescaped URLs where % and \x (new!) is unescaped. You should regenerate your QS_PermitUri rules using the updated version of the qsfilter2 tool provided by this release. Version 5.2 - QS_VipHeaderName creates session cookie only once. - VIP has no QS_LocKBytesPerSecLimit/QS_LocKBytesPerSecLimitMatch restrictions. - QS_SrvPreferNet triggers for VIP user on response header only. Version 5.1 - New directive QS_SrvPreferNet. Version 4.30 - Fixed: Segfault at server startup when no virtual host has been configured. Version 4.29 - Debug log level lists available request header filter rules. Version 4.28 - Introduce request header filter. Version 4.18 - Introduce log message numbers and SSI support for error pages. - Add new directive QS_DenyInheritanceOff - Add qsfilter2, a tool to generate request URI allow list rules. - Use mod_unique_id to tag error messages. Version 4.13 - QS_PermitUri uses case sensitive pcre. Version 4.11 - Add new directive QS_PermitUri. Version 4.8 - Introduce generic request filtering (QS_Deny* directive). Version 4.3 - New handling of graceful server restart. Version 4.2 - QS_LocKBytesPerSecLimitMatch, QS_LocRequestPerSecLimitMatch Version 4.1 - QS_LocKBytesPerSecLimit Version 4.0 - Introduce request/response throttling. Version 3.12 - Update to mod_qos viewer (status handler). Version 3.10 - Dynamic error page definition using setenvif. Version 3.12 - Introduce mod_qos viewer (status handler). Version 3.5 - QS_KeepAliveTimeout Version 3.4 - QS_SrvConnTimeout Version 3.2 - QS_SrvMaxConnTimeout Version 3.1 - QS_SrvMaxConnExcludeIP Version 3.0 - Introduce connection level control (QS_SrvMaxConnClose QS_SrvMaxConn). Version 2.3 - VIP detection. Version 2.2 - qslog utility. Version 2.0 - New implementation of location based request limitation. Version 1.3 - Initial version (scoreboard based request limitation). mod_qos-11.74/doc/qshead.1.html0000664000000000000020000000371714431415521014525 0ustar rootbin Man page of QSHEAD

QSHEAD

Section: qshead man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qshead - an utility reading from stdin and printing all lines to stdout until reaching the defined pattern.  

SYNOPSIS

qshead -p <pattern>  

DESCRIPTION

qshead reads lines from stdin and prints them to stdout until a line contains the specified pattern (literal string).  

OPTIONS

-p <pattern>
Search pattern (literal string).
 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1) qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

mod_qos-11.74/doc/favicon.ico0000664000000000000020000000257614431415521014356 0ustar rootbinh( )!)!eees  ;1&`MEEEȹ8n5}g}}}o'=(= _db PBʶa"vijj%\Jj1u_D1zb .lX"SD>BAh{1ZQUNHb[ /=8ewW%Q4i9]R/11y}F9MFZ@qqtsLYUorqggg>>>>>>>>>>>>>>>>>>>>>J&&>>>>(9>?>$$$$$$$ /%>>>$K!B:@>>>>. ED$ <>>><<< +$$><<0C$1H;<<>><>#6><>><">37=>A<>><<<>>G<'$)$< >>><4$!H <>>>>><>><5>>>>>,><<<-8<<<?>>>>>>><<<<>>>>>>>>>>>>>>>>>>>>>>mod_qos-11.74/doc/qsdt.1.html0000664000000000000020000001037014431415521014224 0ustar rootbin Man page of QSDT

QSDT

Section: qsdt man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qsdt calculates the elapsed time between two related log messages.  

SYNOPSIS

qsdt [-t <regex>] -i <regex> -s <regex> -e <regex> [-v] [<path>]  

DESCRIPTION

qsdt is a simple tool to search two different messages in a log file and calculates the elapsed time between these lines. The two log messages need a common identifier such an unique request id (UNIQUE_ID), a thread id, or a transaction code.  

OPTIONS

-t <regex>
Defines a pattern (regular expression) matching the log line's timestamp. The pattern must include two sub-expressions, one matching hours, minutes and seconds the other matching the milliseconds. Default pattern is ([0-9]{2}:[0-9]{2}:[0-9]{2})[.,]([0-9]{3})
-i <regex>
Pattern (regular expression) matching the identifier which the two messages have in common. The sub-expression defines the part which needs to be extracted from the matching string. Note: You can also use the start (-s) and end (-e) pattern to define the sub-expression matching this identifier.
-s <regex>
Defines the pattern (regular expression or literal string) identifying the first (start) of the two messages.
-e <regex>
Defines the pattern (regular expression or literal string) identifying the second (end) of the two messages.
-v
Verbose mode.
<path>
Defines the input file to process. qsdt reads from from standard input if this parameter is omitted.
 

EXAMPLE

Sample command line arguments:


  -i ' ([a-z0-9]+) [A-Z]+ ' -s 'Received Request' -e 'Received Response'


 matching those sample log messages:
  2018-03-12 16:34:08.653 threadid23 INFO Received Request
  2018-03-13 16:35:09.891 threadid23 DEBUG MessageHandler Received Response

 

NOTE

The four patterns (t,i,s,e) are concatenated into two search patterns:
 first (start): [t (HH:MM:SS)(SSS) ].*[i (id) ].*[s ]
 second (end):  [t (HH:MM:SS)(SSS) ].*[i (id) ].*[e ]

And the three sub-expression are used to extract the timestamp and the unique identifier that the start and end message have in common. This means that you could specify the sub-expression for the unique identifier in the start (-s) or end (-e) pattern alternatively, e.g. in case the identifier is at the end of the log line.  

SEE ALSO

qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
NOTE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/qsre.1.html0000664000000000000020000000446314431415521014231 0ustar rootbin Man page of QSRE

QSRE

Section: qsre man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qsre matches a regular expression against test strings.  

SYNOPSIS

qsre <string>|<path> <pcre>|<path>  

DESCRIPTION

Regular expression test tool. The provided regular expression (pcre, caseless matching, "." matches anything incl. newline) is appplied against the provided test strings to verify if the pattern matches.  

OPTIONS

<string>|<path>
The first argument either defines a single test string of a path to a file containing either multiple test strings or a test pattern with newline characters (text).
<pcre>|<path>
The second argument either defines a regular expression or a path to a file containing the expression.
 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

mod_qos-11.74/doc/qsgrep.1.html0000664000000000000020000000476414431415521014564 0ustar rootbin Man page of QSGREP

QSGREP

Section: qsgrep man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qsgrep - prints matching patterns within a file.  

SYNOPSIS

qsgrep -e <pattern> -o <sub string> [<path>]  

DESCRIPTION

qsgrep is a simple tool to search patterns within files. It uses regular expressions to find patterns and prints the submatches within a pre-defined format string.  

OPTIONS

-e <pattern>
Specifies the search pattern.
-o <string>
Defines the output string where $0-$9 are substituted by the submatches of the regular expression.
<path>
Defines the input file to process. qsgrep reads from from standard input if this parameter is omitted.

 

EXAMPLE

Shows the IP addresses of clients causing mod_qos(031) messages):


  qsgrep -e 'mod_qos\(031\).*, c=([a-zA-Z0-9:.]*)' -o 'ip=$1' error_log

 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/qsfilter2_process.gif0000664000000000000020000003507514431415521016375 0ustar rootbinGIF89ap,  0Y  $$0$$$$$0 ((((,,00$8,,000040 8]@00484488@448888<4<<08<<<<4<<<@<<@@<@@@,DiDDDHLL$LLLPPP@PPLPPPYPPPUY  UY]8aY]aY]eaaLaa]aaa  ieP0e((,,iii, imqimueaDm00HH/d]Fy`M0[GdY(\QUyĽY оq ֺ(pyi,g<|,#mm8Aaz6Db ؅r'f   ~+#]L)β L ci \,y@4N3NAѢ!`owla%pGA,e4gFՂ/`bP0 &i@MjNAVsZ$A P? 5dHlE 0E3^ CJ( M[%lB ̆\E%ZSCnLw G5e0d`AbǎwD8麂𥠝a$^r;n>N~1E~ty *ȸ7{E( B> *y"Xcp g/SS6?kzq!1#Zpzךַ{S>h?{#>Oh/_AYE;*tR KM"5}a1z-޶r]r;, )x ܠ) UǞmZL" )C< "G5 Xz&\"l@Z׼nOkbO~tQo'Ѕ䫿._?/&03 gW~ wGW}|~G_g7{g{7 @}صfHwPWh c| m}0uH{ׇuRم']}!hlfss; D WuB 9]; <؃4F5W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qj.(O9u\/@2RC8`LFd DZf$~1i $&SI?M&)ci|"iUD)eYTc%7E]SG]V̉җl0Jr| 5PX\fgAan-l9(s'<MLs1<'>>*;yV%7f>jj 8rXEFR̡APr:|\ҠO$B2jv9:m¨&M%JROӥ>eGfѦ7dNN9VIQJȤciS |Cɂ Dወb/Z#Wz_p`F Wlc}s[W֊v=l2AUYlʆx_UpbS I|CwNylAe/=&o;j_9UPvmcvFH?ϲd B H 6x _ΊB{R\~H %ˋB\.cB*L8]-p~Nc!Cn?"b!%E"cfֲ8{ؾ5{c%FHD`2<^2eBf>3Ӭ5n~`Y?TP k5:д3|ЇEA kB1bx%~L91\ZŴ&?G$p;d" ]׾5-au>ua*Wpqz~6]5H/naq$xR9B0uqjh$9}!+a6^>j+ژwaAjfz%ds q1 `&W=ti|.9̃M}9RYZXaAW>8ⰱw~t~19.7=5qྃ^/R-MG9z Ү=Q.ӽv;6Uc&< s D!axHБWD ]h zOF96n25is갾H+;.//d+Y[m#wk?8?*_  &`> B`1`i1Vf N Ґj v}` F  *Ya Š O ҙ jF!&,aNO=!B " R!^Ha!>}!JOn!^E_ΡB!ҡa&a+"#١!!&"">b1":"$VHR%nbݴ|"(("))"**")& 'Ƣ t-".."//"00b"2O 3b2>264\A52N6V5vui#87cdc82#7:R9#N ?$~@J?$C2BFP^B,dCna<$i<@A@Bx@-A4LFrKGC-<ԂN$9$AԤIDMvM-I$A$TK<@ h<d%880ex@|<X)x%XFUFSF]TR$"D$I$N D8@H"`)bC $H*Sޥe FLde_$a$Ze4<< @0c)FN)V^;mod_qos-11.74/doc/qsexec.1.html0000664000000000000020000000626714431415521014553 0ustar rootbin Man page of QSEXEC

QSEXEC

Section: qsexec man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qsexec - parses the data received via stdin and executes the defined command on a pattern match.

 

SYNOPSIS

qsexec -e <pattern> [-t <number>:<sec>] [-c <pattern> [<command string>]] [-p] [-u <user>] <command string>  

DESCRIPTION

qsexec reads log lines from stdin and searches for the defined pattern. It executes the defined command string on pattern match.  

OPTIONS

-e <pattern>
Specifies the search pattern causing an event which shall trigger the command.
-t <number>:<sec>
Defines the number of pattern match within the the defined number of seconds in order to trigger the command execution. By default, every pattern match causes a command execution.
-c <pattern> [<command string>]
Pattern which clears the event counter. Executes optionally a command if an event command has been executed before.
-p
Writes data also to stdout (for piped logging).
-u <name>
Become another user, e.g. www-data.
<command string>
Defines the event command string where $0-$9 are substituted by the submatches of the regular expression.
 

EXAMPLE

Executes the deny.sh script providing the IP address of the client causing a mod_qos(031) messages whenever the log message appears 10 times within at most one minute:
  ErrorLog "|/usr/bin/qsexec -e \'mod_qos\(031\).*, c=([0-9a-zA-Z:.]*)\' -t 10:60 \'/usr/local/bin/deny.sh $1\'"

 

SEE ALSO

qsdt(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/LICENSE.txt0000664000000000000020000002613614431415521014056 0ustar rootbin Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. mod_qos-11.74/doc/qslog.1.html0000664000000000000020000002567114431415521014410 0ustar rootbin Man page of QSLOG

QSLOG

Section: qslog man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qslog - collects request statistics from access log data.  

SYNOPSIS

qslog -f <format_string> -o <out_file> [-p[c|u[c]] [-v]] [-x [<num>]] [-u <name>] [-m] [-c <path>]  

DESCRIPTION

qslog is a real time access log analyzer. It collects the data from stdin. The output is written to the specified file every minute and includes the following entries:
  - requests per second (r/s)
  - number of requests within measured time (req)
  - bytes sent to the client per second (b/s)
  - bytes received from the client per second (ib/s)
  - response status codes within the last minute (1xx,2xx,3xx,4xx,5xx)
  - average response duration (av)
  - average response duration in milliseconds (avms)
  - distribution of response durations in seconds within the last minute (<1s,1s,2s,3s,4s,5s,>5s)
  - distribution of response durations faster than a second within the last minute (0-49ms,50-99ms,100-499ms,500-999ms)
  - number of established (new) connections within the measured time (esco)
  - average system load (sl)
  - free memory (m) (not available for all platforms)
  - number of client ip addresses seen withn the last 600 seconds (ip)
  - number of different users seen withn the last 600 seconds (usr)
  - number of events identified by the 'E' format character
  - number of mod_qos events within the last minute (qV=create session, qv=VIP IP,qS=session pass, qD=access denied, qK=connection closed, qT=dynamic keep-alive, qL=request/response slow down, qs=serialized request, qA=connection abort, qU=new user tracking cookie)  

OPTIONS

-f <format_string>
Defines the log data format and the positions of data elements processed by this utility. See to the 'LogFormat' directive of the httpd.conf file to see the format definitions of the servers access log data.
     qslog knows the following elements:
     I defines the client ip address (%h)
     R defines the request line (%r)
     S defines HTTP response status code (%s)
     B defines the transferred bytes (%b or %O)
     i defines the received bytes (%I)
     D defines the request duration in microseconds (%D)
     t defines the request duration in milliseconds (may be used instead of D)
     T defines the request duration in seconds (may be used instead of D or t) (%T)
     k defines the number of keepalive requests on the connection (%k)
     U defines the user tracking id (%{mod_qos_user_id}e)
     Q defines the mod_qos_ev event message (%{mod_qos_ev}e)
     C defines the element for the detailed log (-c option), e.g. "%U"
     s arbitrary counter to add up (sum within a minute)
     a arbitrary counter to build an average from (average per request)
     A arbitrary counter to build an average from (average per request)
     M arbitrary counter to measure the maximum value reached (peak)
     E comma separated list of event strings
     c content type (%{content-type}o), available in -pc mode only
     m request method (GET/POST) (%m), available in -pc mode only
     . defines an element to ignore (unknown string)

-o <out_file>
Specifies the file to store the output to. stdout is used if this option is not defined.
-p
Used for post processing when reading the log data from a file (cat/pipe). qslog is started using it's offline mode (extracting the time stamps from the log lines) in order to process existing log files. The option "-pc" may be used alternatively if you want to gather request information per client (identified by IP address (I) or user tracking id (U) showing how many request each client has performed within the captured period of time). "-pc" supports the format characters IURSBTtDkMEcm. The option "-pu" collects statistics on a per URL level (supports format characters RSTtD). "-puc" is very similar to "-pu" but cuts the end (handler) of each URL.
-v
Verbose mode.
-x [<num>]
Rotates the output file once a day (move). You may specify the number of rotated files to keep. Default are 14.
-u <name>
Becomes another user, e.g. www-data.
-m
Calculates free system memory every minute.
-c <path>
Enables the collection of log statistics for different request types. 'path' specifies the necessary rule file. Each rule consists of a rule identifier and a regular expression to identify a request seprarated by a colon, e.g., 01:^(/a)|(/c). The regular expressions are matched against the log data element which has been identified by the 'C' format character.
 

VARIABLES

The following environment variables are known to qslog:
QSEVENTPATH=<path>
Defines a file containing a comma or new line separated list of known event strings expected within the log filed identified by the 'E' format character.
QSCOUNTERPATH=<path>
Defines a file containing a by new line separated list of rules which reflect possible QS_ClientEventLimitCount directive settings (for simulation purpose / -pc option). The 'E' format character defines the event string in the log to match (literal string) the 'event1' and 'event2' event names against.

Rule syntax: <name>:<event1>-<n>*<event2>/<duration>=<limit>
     'name' defines the name you have given to the rule entry and is logged along with with the number of times the 'limit' has been reached within the 'duration'.
     'event1' defines the variable name (if found in 'E') to increment the counter.
     'event2' defines the variable name (if found in 'E') to decrement the counter (and the parameter 'n' defines by how much).
     'duration' defines the measure interval (in seconds) used for the QS_ClientEventLimitCount directive.
     'limit' defines the threshold (number) defined for the QS_ClientEventLimitCount directive.

Note: If the 'name' parameter is prefixed by 'STATUS', the rule is applied against the HTTP status code 'S' and the 'event1' string shall contain a list of relevant status codes separated by an underscore (while 'event2' is ignored).

 

EXAMPLE

Configuration using pipped logging:


  CustomLog "|/usr/bin/qslog -f ISBDQ -x -o /var/log/apache/stat.csv" "%h %>s %b %D %{mod_qos_ev}e"

Post processing:


  LogFormat "%t %h \"%r\" %>s %b \"%{User-Agent}i\" %T"
  cat access.log | qslog -f ..IRSB.T -o stat.csv -p

 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
VARIABLES
EXAMPLE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/headerfilterrules.txt0000664000000000000020000001647214431415521016507 0ustar rootbin QS_RequestHeaderFilter rules: name=Accept, action=drop, size=300, pattern=^([a-zA-Z0-9_*+-]+/[a-zA-Z0-9_*+.-]+(;[ ]?[a-zA-Z0-9]+=[0-9]+)?[ ]?(;[ ]?[qv]=[a-z0-9.]+)?){1}([ ]?,[ ]?([a-zA-Z0-9_*+-]+/[a-zA-Z0-9_*+.-]+(;[ ]?[a-zA-Z0-9]+=[0-9]+)?[ ]?(;[ ]?[qv]=[a-z0-9.]+)?))*$ name=Accept-Charset, action=drop, size=300, pattern=^([a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?){1}([ ]?,[ ]?([a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?))*$ name=Accept-Encoding, action=drop, size=500, pattern=^([a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?){1}([ ]?,[ ]?([a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?))*$ name=Accept-Language, action=drop, size=200, pattern=^([a-zA-Z*-]+[0-9]{0,3}(;[ ]?q=[0-9.]+)?){1}([ ]?,[ ]?([a-zA-Z*-]+[0-9]{0,3}(;[ ]?q=[0-9.]+)?))*$ name=Access-Control-Request-Method, action=drop, size=10, pattern=^[a-zA-Z]+$ name=Access-Control-Request-Headers, action=drop, size=500, pattern=^([a-zA-Z0-9-]+){1}([ ]?,[ ]?([a-zA-Z0-9-]+))*$ name=Authorization, action=drop, size=4000, pattern=^[a-zA-Z0-9 +/$=:]+$ name=Cache-Control, action=drop, size=100, pattern=^(no-cache|no-store|max-age=[0-9]+|max-stale(=[0-9]+)?|min-fresh=[0-9]+|no-transform|only-if-chached){1}([ ]?,[ ]?(no-cache|no-store|max-age=[0-9]+|max-stale(=[0-9]+)?|min-fresh=[0-9]+|no-transform|only-if-chached))*$ name=Connection, action=drop, size=100, pattern=^([teTE]+,[ ]?)?([a-zA-Z0-9-]+){1}([ ]?,[ ]?([teTE]+))?$ name=Content-Encoding, action=deny, size=100, pattern=^[a-zA-Z0-9-]+(,[ ]*[a-zA-Z0-9-]+)*$ name=Content-Language, action=drop, size=100, pattern=^([0-9a-zA-Z]{0,8}(-[0-9a-zA-Z]{0,8})*)(,[ ]*([0-9a-zA-Z]{0,8}(-[0-9a-zA-Z]{0,8})*))*$ name=Content-Length, action=deny, size=10, pattern=^[0-9]+$ name=Content-Location, action=deny, size=200, pattern=^[:/?#\[\]@!$&'()*+,;=a-zA-Z0-9._~% -]+$ name=Content-md5, action=deny, size=50, pattern=^[a-zA-Z0-9 +/$=:]+$ name=Content-Range, action=deny, size=50, pattern=^(bytes[ ]+([0-9]+-[0-9]+)/([0-9]+|\*))$ name=Content-Type, action=deny, size=200, pattern=^(["a-zA-Z0-9*/; =-]+){1}([ ]?,[ ]?(["a-zA-Z0-9*/; =-]+))*$ name=Cookie, action=drop, size=3000, pattern=^[:/?#\[\]@!$&'()*+,;="a-zA-Z0-9._~% -]+$ name=Cookie2, action=drop, size=3000, pattern=^[:/?#\[\]@!$&'()*+,;="a-zA-Z0-9._~% -]+$ name=DNT, action=drop, size=3, pattern=^[0-9]+$ name=Expect, action=drop, size=200, pattern=^[a-zA-Z0-9= ;.,-]+$ name=From, action=drop, size=100, pattern=^[a-zA-Z0-9=@;.,()-]+$ name=Host, action=drop, size=100, pattern=^[a-zA-Z0-9.-]+(:[0-9]+)?$ name=If-Invalid, action=drop, size=500, pattern=^[a-zA-Z0-9_.:;() /+!-]+$ name=If-Match, action=drop, size=100, pattern=^(W/)?[a-zA-Z0-9=@;.,*"-]+$ name=If-Modified-Since, action=drop, size=100, pattern=^[a-zA-Z0-9 :,]+$ name=If-None-Match, action=drop, size=100, pattern=^(W/)?[a-zA-Z0-9=@;.,*"-]+$ name=If-Range, action=drop, size=100, pattern=^[a-zA-Z0-9=@;.,*"-]+$ name=If-Unmodified-Since, action=drop, size=100, pattern=^[a-zA-Z0-9 :,]+$ name=If-Valid, action=drop, size=500, pattern=^[a-zA-Z0-9_.:;() /+!-]+$ name=Keep-Alive, action=drop, size=20, pattern=^[0-9]+$ name=Max-Forwards, action=drop, size=20, pattern=^[0-9]+$ name=Origin, action=drop, size=2000, pattern=^[:/?#\[\]@!$&'()*+,;=a-zA-Z0-9._~% -]+$ name=Proxy-Authorization, action=drop, size=400, pattern=^[a-zA-Z0-9 +/$=:]+$ name=Pragma, action=drop, size=200, pattern=^[a-zA-Z0-9= ;.,-]+$ name=Range, action=drop, size=200, pattern=^[a-zA-Z0-9=_.:;() /+!-]+$ name=Referer, action=drop, size=2000, pattern=^[:/?#\[\]@!$&'()*+,;=a-zA-Z0-9._~% -]+$ name=TE, action=drop, size=100, pattern=^([a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?){1}([ ]?,[ ]?([a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?))*$ name=Transfer-Encoding, action=deny, size=100, pattern=^(chunked|Chunked|compress|Compress|deflate|Deflate|gzip|Gzip|identity|Identity)([ ]?,[ ]?(chunked|Chunked|compress|Compress|deflate|Deflate|gzip|Gzip|identity|Identity))*$ name=Unless-Modified-Since, action=drop, size=100, pattern=^[a-zA-Z0-9 :,]+$ name=User-Agent, action=drop, size=300, pattern=^[a-zA-Z0-9]+[a-zA-Z0-9_.:;()\[\]@ /+!=,-]+$ name=Upgrade-Insecure-Requests, action=drop, size=1, pattern=^1$ name=Via, action=drop, size=100, pattern=^[a-zA-Z0-9_.:;() /+!-]+$ name=X-Forwarded-For, action=drop, size=100, pattern=^[a-zA-Z0-9_.:-]+(, [a-zA-Z0-9_.:-]+)*$ name=X-Forwarded-Host, action=drop, size=100, pattern=^[a-zA-Z0-9_.:-]+$ name=X-Forwarded-Server, action=drop, size=100, pattern=^[a-zA-Z0-9_.:-]+$ name=X-lori-time-1, action=drop, size=20, pattern=^[0-9]+$ name=X-Do-Not-Track, action=drop, size=20, pattern=^[0-9]+$ QS_ResponseHeaderFilter rules: name=Age, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Accept-Ranges, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Access-Control-Allow-Origin, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Access-Control-Allow-Methods, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Access-Control-Allow-Headers, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Access-Control-Max-Age, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Access-Control-Allow-Credentials, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Access-Control-Expose-Headers, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Allow, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Cache-Control, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-Disposition, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-Encoding, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-Language, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-Length, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-Location, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-MD5, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-Range, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Content-Security-Policy, action=drop, size=8000, pattern=^[\x20-\xFF]*$ name=Content-Type, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Connection, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Date, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=ETag, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Expect, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Expires, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Keep-Alive, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Last-Modified, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Location, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Proxy-Authenticate, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Public-Key-Pins, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Public-Key-Pins-Report-Only, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Retry-After, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Pragma, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Server, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Set-Cookie, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Set-Cookie2, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Strict-Transport-Security, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=Vary, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=WWW-Authenticate, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=X-Content-Security-Policy, action=drop, size=8000, pattern=^[\x20-\xFF]*$ name=X-Content-Type-Options, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=X-Frame-Options, action=drop, size=4000, pattern=^[\x20-\xFF]*$ name=X-XSS-Protection, action=drop, size=4000, pattern=^[\x20-\xFF]*$ mod_qos 11.74 mod_qos-11.74/doc/qslogger.1.html0000664000000000000020000000656014431415521015102 0ustar rootbin Man page of QSLOGGER

QSLOGGER

Section: qslogger man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qslogger - another shell command interface to the system log module (syslog).  

SYNOPSIS

qslogger [-t <tag>] [-f <facility>] [-l <level>] [-x <prefix>] [-r <expression>] [-d <level>] [-u <name>] [-p]  

DESCRIPTION

Use this utility to forward log messages to the systems syslog facility, e.g., to forward the messages to a remote host. It reads data from stdin.  

OPTIONS

-t <tag>
Defines the tag name which shall be used to define the origin of the messages, e.g. 'httpd'.
-f <facility>
Defines the syslog facility. Default is 'daemon'.
-u <name>
Becomes another user, e.g. www-data.
-l <level>
Defines the minimal severity a message must have in order to be forwarded. Default is 'DEBUG' (forwarding everything).
-x <prefix>
Allows you to add a prefix (literal string) to every message.
-r <expression>
Specifies a regular expression which shall be used to determine the severity (syslog level) for each log line. The default pattern '^\[[0-9a-zA-Z :]+\] \[([a-z]+)\] ' can be used for Apache error log messages but you may configure your own pattern matching other log formats. Use brackets to define the pattern enclosing the severity string. Default level (if severity can't be determined) is defined by the option '-d' (see below).
-d <level>
The default severity if the specified pattern (-r) does not match and the message's severity can't be determined. Default is 'NOTICE'.
-p
Writes data also to stdout (for piped logging).
 

EXAMPLE


  ErrorLog "|/usr/bin/qslogger -t apache -f local7"

 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/images/0000775000000000000020000000000014431415521013470 5ustar rootbinmod_qos-11.74/doc/images/Rule.png0000664000000000000020000003702614431415521015115 0ustar rootbinPNG  IHDRFbKGD pHYs+tIME- F IDATxgX3& `F4X#wKR4% ve;(%z~ϳvg;gܹ!B!B!B!B!B!B!B#L5{cKUpwt.LDB#yT̈́FV>v !ԿZO",2e/!B/.ޢ+WrC<]',Mwgi' B(2`_oT#.T3bVʑAtŌqz-Ӻ[rX=qD1c@yZb\bOMbD+;~pEC>%v/C| fڟq#j{QD<ݻ?:&Qy\LyWBT aP5f`Qc=-Hܛ5UvZ3bCk]HÂZ @̦DK!Zȩ"`M͌&錭}?5X핼QJ%!$3H<)aX c\>y2VMTƬDze!%kZyl\YK;2a 6m3#OfՆDUN=|r!T[hr\$,0T XAHC/!F3MDy8l3d*#4wp7Ju zF|%j)=p=5%O.8Z/憘qA!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eڴ h%mlۋ) *6utp03yO;| 6#2Ք-x@RNRPJDBzE;^4j#zӹ7.bb-/|&;޻~'?$fF<6¶ˍOa֬Y5{%t?7Gk;  /^/ x@ x /^f|u?[޾6hNu?IENDB`mod_qos-11.74/doc/images/Events.png0000664000000000000020000010502314431415521015443 0ustar rootbinPNG  IHDR"bKGD pHYs+tIME8 - IDATxwtUnzjHBޤҤ#"4Zhҋ "(M { Bv#$$}Ιs4;sg;ϔDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDW6LڌC ɼb#[jpV0)"""nf@DDDDDDDDRd:7Ou*glҢCI%20ol׾׾.S{C, j ;8䫕6U|q^+퉵_ܩ e_|6aě}Ue&pHu0i]:Vu9}K1G]Gc`F.[FODDDDq/6\=c ĞtbF7ߴ㚾`:d_ _`FK>kVxbÈ=ںOj)w#~/uv+>ν%7,?*伭wޏX4r"""""OB7ˏ;>*0;{fooUDZͱ#+%xm_B1n3pJO=\]5R| k؟kk|"g6DD[̆ȿLú79LVÈ7<ŐeZ4έKտ{+^u^lsS_ڳwyx7oHzunE.=Z!QeXgW)+\s39q9OQmp̈́̆qswS:eC*Cb_<gߝ^ܲ;LXю~|ݶ2b )bmKmd\2ezxxvK6vRTDDo-6b/;Ys;kZoh0M6ڲt=8YU|ei͕mP0M'ti]|\qeZY/{WrݟMuq~ظOlkᖿק7j8v[Dt;gFoEDr={[̕+W>c'|K窹ȓSl$^nt_a||~b\DDTlH\r]ѣ 6zhqEHDDDDD(R8x`EEDDDDDɓ{۷"!""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""Q^HТE-.O?qqq%իXkѢEyǤ`+ ""899nE\\\"$?;w2:NB """""*6DDDDDDņQ!"""""*6D~l1yǢ.DM/crZg2CTeևiwtY,ʑbC=H( ECq"""""bC$SDxj c~R߀h}n['jFPR|/]!80"8:=U(EcKuw&==JS=D&k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_ncG(/1#3.o5͹6{Ai2|ݚm-hQ戧.yseݾLcSOh](/1#ۘz5byEg۬odE}GH3Zd&>e// ֩_kڴۘJ xHNRrrgJJ?0ߚi߰mTgyWˠ-%`P+qZ_J xH<$yE"sMIacYK<'uϞp4 Q!k͚ s{Zh1" R+NJ҂s}t&eyA$$o1ZMUhq AI/ !F "AO^9+^hUlM=~Q7U TYc/2q[4"JJJmVlQ?~QRJErSS31[JmijōYrua+[eg` m l:4a !JutlUq(eppYF)28 =;iOΝ:=&+W1 *Ρ3O*\8%M}A *!Qi>+m P8nU*N[ZRZG7R麟 RϷQI}NRBjFm&YRC1m<"Us9Z<blOPirZ|ř.*Vd`./x2̲SlL.IMn]Vc󏰇\][(k3/qFX(TNFJ_hqi:PrO*ȢTXZm*I!fU :P\`%#Dzȉh^9sMSJUsdEN1uE=g0rN`7 /21[Xf[@(3 40: N-t/7L'6%iY)T$73Gڻ<&劗)iuiYU$H""rqÞADFpP%_28wF?{?{g=d>jlaܜC0jlaܜCAsN}{%ù8za560V"{ޘ 9>rÞlaܜC0AsN}{$ù8z!u6/N!sވ zzS^560V"{ޘ]M;!g=ײMM;S=3OJs&?{RxFh:ŧW~ 9M%XC5\=]Ke%rN㨌"f9dĠ'e(eh 5_qPO4wO~c?sg9Q]/1]Ԝ5]OmsW )v?i'\T~rT'`;UTiIR0ۈ*JAaAsں\#'rmod_qos-11.74/doc/images/link.png0000664000000000000020000000032014431415521015126 0ustar rootbinPNG  IHDR |lsRGBbKGD̿ pHYs  tIME!+\TIDATm 0/U6e!`!OљO O.·T}ɶMlZBw!~ӆ3O IENDB`mod_qos-11.74/doc/images/QS_ClientEventBlockCount.png0000664000000000000020000010510314431415521021005 0ustar rootbinPNG  IHDR\!9bKGD pHYs+tIME y& IDATxwxUlMIw7 H vDK#ґ"BI!I|lʆw;sRAZoySE(f"|+A,WE˿ǹU ]q|q=, J_w묄u^2@Ƽ ;z_W_qGw~2w`[b{x޹LXq>$]POS3be?4)LilI}wFw < `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Xc4P12 @Ck   GP7"Q G Q 9=Xl 5țƒ0` Di r@ #>ҫ*EE8 .GHGŦB432@@H!9AQ`31,@!C 54TOT`ԇF"p8HAJ58LqRԴ R -@B$ORIHՅC6un5B=er'StHUvYfuYhvZj ;mod_qos-11.74/doc/images/Serialization.png0000664000000000000020000007215514431415521017025 0ustar rootbinPNG  IHDR:PabKGD pHYs+tIME *F IDATxw|SUMҽ[Z -]@)d ld:@GAPY2d BK{7i(MR -Myɽܓso=|"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""7U@HQQM64i%גTdGDDD~Ǎ[.Q߸q-L5yMXDDA* """:DDDD t1!"""bCDDD@1!"""bCDDD@"""bCDDDDdIzq?|qD֭z[qС{ ƍ7!n7 n@;w5nĭ Fp=999n0dȐ-ĬY-[  n7_/|v\y߭>}]Wy?۹Q?-.볼UU,˟qo[yܷӘϲos7Ugysߺ7nV}oG;}볼Վ,o}뾼YgF}}۹Ygu곺>|N "+!ƍ[^Zb25c>"""":DDDD t1!"""bCDDD@1!"""bCDDD@"""bCDDD@"""":DDDD t"""":_Fpʳ/o)} YwQlYge'""bczC`%V%.0GWBuN^i'EhsBZH1b"]T&G.~{m<+!!ɖS&0 Ȅ+(eYψFQ fuMD B`HU7\t/=pD$DabEWl!^%“͓B* ˼_CbǽB%}9wgw/!{gtBKg &@dBkDkExO8?P*…Qr RW~a"]qͮy|tlBQkx4,>2W/7̮oF {5$h<,AHihmBvwA4!l"gpCP Dz1~83Dl.<+JK{mDZ04OƄv&}Dy{'xB2\r8(Z}sI *=}EyEϮpbܸ7zn7nrK/SM^9{t0K꤁ Pg-\4DBNo_6.%pߊ}G} |(*;[#TM^G@Ag$I((DI-wtkcAYvc/lDDD(4o[Lr9rʹt %io?ZIdBR(*1O\ Rx ͒{q_@|OdzGx./y%:R* w6K""J;mC(ӭWEXSbW:ܐywH"lʶ_RД͒z(,=rQx 0y8~rqÓS?A!Y\_㝷z_s 8.Y|7$x}cflz)^ COXn@G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2H`cK 2kej8,RkHk x#Br$I@y]#Bo<CB!B!&b!B1B!LB!&b!B!B!LB!0C!BB]~UTkF>Fp;=&b!vb^86-O*-O #ThX(V+D ! 5.&urF!B!B!B!B!B!B!B!B!B!B!B!B!B!B!B!B!B!B!z`NIENDB`mod_qos-11.74/doc/qsrespeed.1.html0000664000000000000020000000424714431415521015252 0ustar rootbin Man page of QSRESPEED

QSRESPEED

Section: qsrespeed man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

Tool to compare / estimate the processing time for (Perl-compatible) regular expressions (PCRE).  

SYNOPSIS

qsrespeed <path>  

DESCRIPTION

qsrespeed loads regular expressions from the provided file and matches them against a built-in set of strings measuring the time needed to process them. It's a benchmark too to judge the expressions you have defined regarding the potential CPU consumption.  

OPTIONS

<path>
Defines the input file to process. The file consists a list of (separated by a newline character) regular expressions to test
 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

mod_qos-11.74/doc/index.html0000664000000000000020000037536014431415521014236 0ustar rootbin mod_qos
mod_qos

mod_qos

 

In computer networking, the term quality of service (QoS) describes resource management rather than the quality of a service. Quality of service implements control mechanisms to provide different priority to different users, applications, and data connections. It is used to guarantee a certain level of performance to data resources. The term quality of service is often used in the field of wide area network protocols (e.g. ATM) and telephony (e.g. VoIP), but rarely in conjunction with web applications. mod_qos is a quality of service module for the Apache web server implementing control mechanisms that can provide different levels of priority to different HTTP requests.

But why do you need quality of service for a web application? Well, web servers require threads and processes to serve HTTP requests. Each TCP connection to the web server occupies one of these threads respectively processes. Sometimes a server gets too busy to serve every request due to the lack of free processes or threads. Another parameter requiring control by mod_qos is the available bandwidth: all clients communicate to the server over a network link with limited bandwidth. Overfilling the link results in network congestion and poor performance.

Example situations where web applications require QoS:

  • More resources are consumed if request processing by an application takes a long time, e.g. when request processing includes time consuming database queries.
  • Oversubscription of link capabilities due to many concurrent clients uploading or downloading data.
  • Penetration of the web server by attackers (DoS).

mod_qos may be used to determine which requests should be served and which shouldn't in order to avoid resource oversubscription. The module collects different attributes such as the request URL, HTTP request and response headers, the IP source address, country codes, the HTTP response code, history data (based on user session and source IP address), the number of concurrent requests to the server (total or requests having similar attributes), the number of concurrent TCP connections (total or from a single source IP), and so forth.

The rules you want to configure are defined by the module's directives. Every rule reads attributes from different sources and using its own counters to store their status.

Counteractive measures to enforce the defined rules are: request blocking, dynamic timeout adjustment, request delay, response throttling, and dropping of TCP connections.

The current release of the mod_qos module implements various control mechanisms:

  • The maximum number of concurrent requests to a location/resource (URL) or virtual host.
  • Limitation of the bandwidth such as the maximum allowed number of requests per second to an URL or the maximum/minimum of downloaded kbytes per second.
  • Limits the number of request events per second (special request conditions).
  • Limits the number of request events within a defined period of time.
  • It can also detect very important persons (VIP) which may access the web server without or with fewer restrictions.
  • Generic request line and header filter to deny unauthorized operations.
  • Request body data limitation and filtering (requires mod_parp ).
  • Limits the number of request events for individual clients (IP).
  • Limitations on the TCP connection level, e.g., the maximum number of allowed connections from a single IP source address or dynamic keep-alive control.
  • Prefers known IP addresses when server runs out of free TCP connections.
  • Serialization of requests.


 


mod_qos is an open source software licensed under the Apache License. You can download the latest release at SourceForge.net.

 

More information about mod_qos:


Build

mod_qos requires OpenSSL, PCRE, threading and shared memory support. mod_qos is designed to be used with Apache's MPM worker binaries but works, with some restrictions, also with other Apache 2.4 multi-processing modules. The module is optimized to be used in a reverse proxy server.

Notes:
  You should choose the worker MPM if you intend to use any connection level control directive.
  If you decide to use HTTP/2 , you should only use the request level control directives as mod_qos works for the hypertext transfer protocol version 1.0 and 1.1 (RFC1945/RFC2616) only.

You can compile the module using apxs . Your httpd binary must support dynamically loaded objects (DSO). Verify this by checking the availability of mod_so: The command httpd -l must list the mod_so.c module. The following command compiles the module and installs mod_qos into the server's modules directory.
cd mod_qos-11.74/apache2
apxs -i -c mod_qos.c -lcrypto -lpcre2-8
cd ../..
If the necessary header files of OpenSSL, PCRE, etc. cannot be found, add the -I option to the apxs command to specify the directory where header files can be found and if any of the required libraries cannot be found (may happen if you use mod_qos without mod_ssl), add the -L option to specify the directory where libraries can be found.
Note: you may customize the code using the following preprocessor directives:
   Name Description Default
   QS_MOD_EXT_HOOKS Enables the optional hooks defined in mod_qos.h not set
   QSLOG_CLID Defines the environment variable which shall be used for the "user tracking id" (U) within the format string used by the QSLog directive. mod_qos_user_id
   QSLOG_EVENT Defines the environment variable which shall be used for the "event" (Q) within the format string used by the QSLog directive. Event
   QSLOG_AVERAGE Defines the environment variable which shall be used for the "average" (a) within the format string used by the QSLog directive. QS_AllConn
   QS_LOG_REPEAT Counter used to define how many repetitive messages are summarized. 20
   QS_REQ_RATE_TM Default for the QS_SrvSampleRate directive. 5
   QS_EXTRA_MATCH_LIMIT Match limit field used for PCRE data processing. 1500

The support tools may be built (at least on some Linux platforms) using the GNU autotools. Some of these utilities require third-party libraries such as apr, apr-util, PCRE2, libpng, and OpenSSL.
cd mod_qos-11.74/tools
./configure
make

Source Code

mod_qos is available for Apache version 2.4.

Configuration

Configuration is mostly done on a per-server basis (except the generic request filter and a few other directives). Directives within a virtual host are merged with the settings in the global configuration.

The QS_SrvMinDataRate, QS_SrvRequestRate, QS_RequestHeaderFilterRule, QS_ResponseHeaderFilterRule, and all QS_Client* directives may be used outside of virtual host configurations only.

The QS_LogOnly on directive may be used to put mod_qos into a permissive mode where rule violations are logged only but requests/connections are not blocked. This may be used for test purposes.
Should not be activated if you are using any throughput control directive (open loop).

Request Level Control

The module features directives to control server access on a per-URL level - basically the main function of mod_qos.
Only one QS_Loc* rule (URL string or regular expression) of each type is evaluated per request where regular expression rules (*Match) have higher priority than the rules using a literal URL-string. A QS_LocRequestLimit* rule may be used in parallel to a QS_LocRequestPerSecLimit* and/or QS_LocKBytesPerSecLimit* rule if they use the very same URL string or regular expression.
  • QS_LocRequestLimitMatch <regex> <number>
    Defines the number of concurrent requests for the specified request pattern (path and query). The rule with the lowest number of allowed concurrent connections has the highest priority if multiple expressions match the request. By default, no limitations are active.
  • QS_LocRequestPerSecLimitMatch <regex> <number>
    Defines the allowed number of requests per second to the URL (path and query) pattern. Requests are limited by adding a delay to each request (linear). The delay calculation is based on an average request rate measurement using a sampling rate of 10 seconds. By default, no limitation is active. This directive should be used in conjunction with QS_LocRequestLimitMatch only (you must use the very same regex pattern with the QS_LocRequestPerSecLimitMatch and QS_LocRequestLimitMatch directive) to avoid too many concurrent requests.
  • QS_LocKBytesPerSecLimitMatch <regex> <number>
    Defines the allowed download bandwidth to the location matching the defined URL (path and query) pattern. Responses are slowed down by adding a delay to each response (every 8kbytes). Bandwidth calculation is based on measuring the transferred data. By default, no limitation is active. This directive should be used in conjunction with QS_LocRequestLimitMatch only (you must use the very same regex pattern with the QS_LocKBytesPerSecLimitMatch and QS_LocRequestLimitMatch directive) to avoid too many concurrent requests.
  • QS_LocRequestLimit <location> <number>
    Defines the number of concurrent requests for the specified location (applied to the parsed path). By default, no limitations are active for locations. Has lower priority than QS_LocRequestLimitMatch directives.
  • QS_LocRequestLimitDefault <number>
    Defines the default limitation for the maximum of concurrent requests per-location for those locations not defined by any QS_LocRequestLimit directive. It could also be used to limit the number of concurrent requests to a virtual host.
  • QS_LocRequestPerSecLimit <location> <number>
    Defines the allowed number of requests per second to a location, similar to the QS_LocRequestPerSecLimitMatch directive. The maximum number of requests is limited by adding a delay to each request (linear, each request gets the same delay). By default, no limitation is active. This directive should be used in conjunction with QS_LocRequestLimit only (you must use the same location for both directives) to avoid too many concurrent requests.. Has lower priority than QS_LocRequestPerSecLimitMatch.
  • QS_LocKBytesPerSecLimit <location> <number>
    Throttles the download bandwidth to the defined kbytes per second. Works similar as the QS_LocKBytesPerSecLimitMatch directive slowing down HTTP responses by adding a delay to each response. By default, no limitation is active. This directive should be used in conjunction with QS_LocRequestLimit only (you must use the same location for both directives) to avoid too many concurrent requests.. Has lower priority than QS_LocKBytesPerSecLimitMatch.
Sample configuration:
# maximum number of active TCP connections is limited to 512
MaxClients                    512

# limits concurrent requests to the locations:
# - /app/a  max. 200 concurrent requests
# - /app/b and /app/c (together) max. 300 concurrent requests
# - /images max. 100 concurrent requests
QS_LocRequestLimit            /app/a                   200
QS_LocRequestLimitMatch       ^(/app/b/|/app/c/).*$    300
QS_LocRequestLimit            /images                  100
# limits download bandwidth to 5Mbit/sec (resp. 640kbytes/sec)
# for downloads from /app/a:
QS_LocKBytesPerSecLimit       /app/a                   640

Status Code and Error Page

The QS_Error* directives are used to control the response given to clients whose requests have been denied.
  • QS_ErrorPage <URL>
    Defines an error page to be returned when a request is denied. The defined URL must be a (S)HTML document accessible by the client. You may enable server-side includes (SSI) in order to present detailed error messages based on the error codes provided by mod_qos.
    Alternatively, a HTTP redirect (302) to a dedicated error page may be defined using an absolute URL defining schema, hostname, and path.
  • QS_ErrorResponseCode <code>
    Defines the HTTP response code which is used when a request is denied. Requests denied at connection level usually get a HTTP 500 response code (ignoring the settings of the QS_ErrorResponseCode and QS_ErrorPage directives).
    Default (no custom error code or page defined) codes are:
     400: if a request has no valid URL.
     403: for requests denied by a QS_Deny*, QS_Permit* or QS_RequestHeaderFilter directive.
     413: when limiting the max. body data length by the QS_LimitRequestBody directive.
     500: for requests denied by any other directive.

Privileged Users

Additional directives are used to identify VIPs (very important persons) and to control the session life time and its cookie format. VIP users have privileged access and less QoS restrictions than ordinary users.

VIP information is stored and evaluated at different levels:
  • Session: VIP identification is stored using a HTTP session cookie. mod_qos starts a new session when detecting a HTTP response header (the header name is defined by the QS_VipHeaderName directive). Alternatively, a new session is started when detecting an authenticated user, see QS_VipUser. The QS_Session* directives are used to set session attributes.
  • Request: The QS_VipRequest process environment may be evaluated by mod_qos rules. This variable is set automatically when receiving a valid mod_qos session cookie. The QS_VipRequest variable may also be set by configuration using a QS_SetEnvIf* or SetEnvIf directive. VIP status lasts for the particular request only.
  • Client IP address: VIP identification may be stored at the server side on a per-client IP address basis. The QS_VipIPHeaderName, QS_VipHeaderName, QS_VipIPUser, and QS_VipUser directives are used to define when an IP address should be marked as a VIP user.
Directives:
  • QS_VipHeaderName <header name>[=<regex>] [drop]
    Defines an HTTP response header which marks a user as a VIP. mod_qos creates a session for this user by setting a cookie, e.g., after successful user authentication. Tests optionally its value against the provided regular expression. Specify the action 'drop' if you want mod_qos to remove this control header from the HTTP response.
  • QS_VipIPHeaderName <header name>[=<regex>] [drop]
    Defines an HTTP response header which marks a client source IP address as a VIP. Tests optionally its value against the provided regular expression. Specify the action 'drop' if you want mod_qos to remove this control header from the HTTP response.
  • QS_VipUser
    Creates a VIP session for users which have been authenticated by the Apache server, e.g., by the standard mod_auth* modules. It works similar to the QS_VipHeaderName directive.
  • QS_VipIPUser
    Marks a source IP address as a VIP if the user has been authenticated by the Apache server, e.g. by the standard mod_auth* modules. It works similar to the QS_VipIPHeaderName directive.
  • QS_SessionTimeout <seconds>
    Defines the session life time for a VIP. It is only used for session based (cookie) VIP identification (not for IP based). Default is 3600 seconds.
  • QS_SessionCookieName <name>
    A cookie is used to identify requests coming from a user which has been identified as a VIP. This directive defines a custom cookie name for the mod_qos session cookie. Default is MODQOS.
  • QS_SessionCookiePath <path>
    Defines the cookie path. Default is "/".
  • QS_SessionKey <string>
    Secret key used for cookie encryption. This key must be defined when using the same session cookie for multiple web servers (load balancing) or the sessions should survive a server restart. By default, a random key is used which changes every server restart.
Sample configuration:
QS_ErrorPage                  /error-docs/qs_error.html

# restricts max concurrent requests for any location which has no
# individual rule:
QS_LocRequestLimitDefault                              200

# limits access to *.gif files to 100 concurrent requests:
QS_LocRequestLimitMatch       "^.*\.gif$"              100

# limits concurrent requests to the locations /images and /app/a:
QS_LocRequestLimit            /images                  100
QS_LocRequestLimit            /app/a                   300
# limits download bandwidth to 5Mbit/sec:
QS_LocKBytesPerSecLimit       /app/a                   640

# two locations (/app/b and /app/c) representing a single application:
QS_LocRequestLimitMatch       "^(/app/b/|/app/c/).*$"  300


# allows the application to nominate VIP users by sending a
# "mod-qos-vip" HTTP response header:
QS_VipHeaderName              mod-qos-vip
QS_SessionKey                 na&5san-sB.F4_0a=%VBEBahXT1

The following table shows if a rules may be deactivated for VIPs:
QS_ClientEventBlockCountno
QS_ClientEventLimitCountno
QS_ClientEventPerSecLimitno
QS_ClientEventRequestLimitno
QS_ClientPreferyes
QS_ClientSerializeno
QS_ClientGeoCountryPrivno
QS_CondLocRequestLimitMatchyes
QS_CondEventLimitCountno
QS_CondClientEventLimitCountno
QS_DenyQueryBodyno
QS_PermitUriBodyno
QS_DenyEventno
QS_DenyPathno
QS_DenyQueryno
QS_DenyRequestLineno
QS_EventKBytesPerSecLimityes
QS_EventPerSecLimityes
QS_EventRequestLimitno
QS_EventLimitCountno
QS_InvalidUrlEncodingno
QS_LimitRequestBodyno
QS_LocKBytesPerSecLimit(Match)yes
QS_LocRequestLimit(Match)yes
QS_LocRequestPerSecLimit(Match)yes
QS_MileStoneno
QS_RedirectIfno
QS_PermitUrino
QS_RequestHeaderFilterno
QS_ResponseHeaderFilterno
QS_SrvMaxConnyes
QS_SrvMaxConnCloseno
QS_SrvMaxConnPerIPyes*
QS_SrvMinDataRateyes*
QS_SrvSerializeno
  
Notes:
  Directives marked by "*" allow you to disable VIP support.
  Event based or conditional rules may evaluate the QS_VipRequest and QS_IsVipRequest variables to decide if the rule should be applied.

Variables

Environment variables are used on a per request level and implement additional control mechanisms. Variables may be set using the standard Apache module mod_setenvif or mod_setenvifplus . See also the QS_SetEnvIf* directives in order to combine multiple variables to form new variables interpreted by mod_qos rules.

These are the variables recognized by mod_qos:
  • QS_ErrorPage=<URL>
    Defines the error page overriding the setting made by the QS_ErrorPage directive.
  • QS_VipRequest=yes
    Disables some restrictions for this request (see privileged Users). Requires the definition of a VIP header using the QS_VipHeaderName directive (this activates VIP verification). However, such an event does not create a VIP session. The user has the VIP status only for a single request.
    The variable is set by mod_qos when receiving a valid VIP session cookie.
  • QS_KeepAliveTimeout=<seconds>
    Applies dynamic connection keep-alive settings overriding the Apache KeepAliveTimeout directive settings.
  • QS_MaxKeepAliveRequests=<number>
    Applies dynamic connection keep-alive settings overriding the Apache MaxKeepAliveRequests directive settings.
  • QS_Timeout=<seconds>
    Alters the I/O timeout (while reading the request body / writing the response) of the current request overriding the Apache TimeOut directive settings.
  • QS_Set_DSCP=<value>
    Variable used to set the IP differentiated services code points (DiffServ / RFC 2474). This allows you to classify the network traffic when sending the response data to the client. "value" represents the 6-bit DSCP field as a decimal number (0 to 63).
    Commonly used values:
    DSCPClass   DSCPClass
    0none    8Class selector 1
    10Assured forwarding 11    12Assured forwarding 12
    14Assured forwarding 13    16Class selector 2
    18Assured forwarding 21    20Assured forwarding 22
    22Assured forwarding 23    24Class selector 3
    26Assured forwarding 31    28Assured forwarding 32
    30Assured forwarding 33    32Class selector 4
    34Assured forwarding 41    36Assured forwarding 42
    38Assured forwarding 43    40Class selector 5
    44Voice admit    46Expedited forwarding
    48Class selector 6    56Class selector 7
  • QS_Delay=<milliseconds>
    Defines a number of milliseconds to delay the request processing.
  • QS_Event
    The variable processed by the QS_ClientEventPerSecLimit directive.
  • QS_Block[=<number>]
    Variable processed by the QS_ClientEventBlockCount directive.
    The optional number value defines the penalty points to increase the counter (default is 1).
  • QS_Limit[=<number>]
    (Default) variable processed by the QS_ClientEventLimitCount directive.
    The optional number value defines the penalty points to increase the counter (default is 1).
  • *_Clear
    The counter of the variable processed by the QS_ClientEventLimitCount directive is reset if you set the same variable suffixed by _Clear, e.g. QS_Limit_Clear.
  • *_Decrement
    The counter of the variable processed by the QS_EventLimitCount, QS_CondEventLimitCount, QS_ClientEventLimitCount, QS_CondClientEventLimitCount, and QS_ClientEventBlockCount directives is decremented by the value set in the same variable suffixed by _Decrement, e.g. QS_Limit_Decrement=1 decrements the value of the QS_Limit variable of the corresponding QS_ClientEventLimitCount rule by 1. The variable is evaluated at the end of the request processing.
  • QS_Serialize
    Variable processed by the QS_ClientSerialize directive.
  • QS_SrvSerialize
    Variable processed by the QS_SrvSerialize directive.
  • QS_Cond
    Variable processed by the QS_CondLocRequestLimitMatch, QS_CondEventLimitCount, and QS_CondClientEventLimitCount directives.
  • QS_EventRequest
    Variable processed by the QS_ClientEventRequestLimit directive.
Variables set by mod_qos which may be processed by conditional or event based rules, e.g., QS_CondLocRequestLimitMatch:
  • QS_SrvConn
    Number of concurrent connections for this server/virtual host. Value is set when using either the QS_SrvMaxConn, QS_SrvMinDataRate, QS_SrvMaxConnClose, or QS_ClientGeoCountryDB directive.
    Note: value is calulcated when the client establishes the connection and remains the same for all HTTP requests performed on this connection.
  • QS_AllConn
    Number of all concurrent connections for this Apache instance. Value is set when using either the QS_SrvMaxConn, QS_SrvMinDataRate, QS_SrvMaxConnClose, or QS_ClientGeoCountryDB directive.
    Note: value is calulcated when the client establishes the connection and remains the same for all HTTP requests performed on this connection.
  • QS_IPConn
    Number of IP connections open from the current IP address. Variable is available when using the QS_SrvMaxConnPerIP directive.
    Note: value is calulcated when the client establishes the connection and remains the same for all HTTP requests performed on this connection.
  • QS_ClientLowPrio
    The variable is set for connections by clients which have been marked to be processed with low priority, see QS_ClientPrefer. The variable's value is determined when the client opens a new connection and its value represents the status flag of the tracked client attributes (hexadecimal). VIP status is ignored and the variable is always set even the IP has been marked as being VIP.
  • QS_IsVipRequest
    Variable is set when detecting a VIP request (either by cookie, IP address status, valid user, etc.). May be used by various event based directives.
  • *_Counter
    The counter values of the variables used by the QS_ClientEventLimitCount and QS_EventLimitCount directive are stored within the variable whose name is suffixed by _Counter, e.g. QS_Limit_Counter when limiting QS_Limit events.
  • QS_ErrorNotes
    The error code (number only) of a mod_qos log message that has occurred during a request.
  • QS_Country
    ISO 3166 country code of client IPv4 address. Only available if the geographical database file has been loaded.
    Note: You may use the QS_ClientIpFromHeader <header> directive to override the client's IP address based on the value within the defined HTTP request header (e.g., X-Forwarded-For) instead of taking the IP address of the client which has opened the TCP connection.
Sample of variable usage:
# privileged access for curl clients:
BrowserMatch             "curl"                   QS_VipRequest=yes

# allows privileged access to a single resource:
SetEnvIf     Request_URI /app/start.html          QS_VipRequest=yes

# allows privileged access from a specified source address
# or source address range:
SetEnvIf     Remote_Addr 172.18.3.32              QS_VipRequest=yes
SetEnvIf     Remote_Addr 192.168.10.              QS_VipRequest=yes

# set keep-alive timeout for MSIE version 5.x browser to 65 seconds:
BrowserMatch             "(MSIE 5\.)"             QS_KeepAliveTimeout=65

# dynamic error page URL (per host error page):
SetEnvIf     Host        ^([a-zA-Z0-9_\.\-]+)     QS_ErrorPage=/error-docs/$1.html
# external redirect to a sever hosting the error page:
SetEnvIf     Request_URI /app                     QS_ErrorPage=http://your.server.name/error.html
Note: The QS_LogEnv directive can be used to enable environment variable logging. mod_qos writes all environment variables which are set when entering a handler to the log.

Conditional Rules

Conditional rules are only enforced if the QS_Cond variable matches the specified pattern.
  • QS_CondLocRequestLimitMatch <regex> <number> <condition>
    Rule works similar to QS_LocRequestLimitMatch but it is only enforced for requests whose QS_Cond variable matches the specified condition (regular expression). Every request matching the defined pattern is counted, but the defined limitation is only enforced for those requests matching the specified condition.
    Only one QS_CondLocRequestLimitMatch rule is evaluated per request.
  • QS_CondEventLimitCount <env-variable> <number> <seconds> <pattern>
    Same as QS_EventLimitCount but requests are only blocked if the value of the QS_Cond variable matches the defined pattern (regex).
  • QS_CondClientEventLimitCount <number> <seconds> <variable> <pattern>
    Defines the maximum number of the specified environment variable allowed within the defined time. Directive works similar as QS_ClientEventLimitCount but requests are only blocked if the value of the QS_Cond variable matches the defined pattern (regex). Directive is allowed in global server context only.
Sample of conditional rules:
# set the conditional variable to spider if detecting a
# "slurp" or "googlebot" search engine:
BrowserMatch             "slurp"                  QS_Cond=spider
BrowserMatch             "googlebot"              QS_Cond=spider

# limits the number of concurrent requests to two applications
# (/app/b and /app/c) to 300 but does not allow access by a "spider"
# if the number of concurrent requests exceeds the limit of 10:
QS_LocRequestLimitMatch       "^(/app/b/|/app/c/).*$"  300
QS_CondLocRequestLimitMatch   "^(/app/b/|/app/c/).*$"  10   spider

Events

mod_qos may control the frequency of "events". An event may be any request attribute which can be represented by an environment variable. Such variables may be set by mod_setenvif , mod_setenvifplus , or by other Apache modules. Please consider the order of command execution to ensure that the necessary variables are set.
  • QS_EventRequestLimit <env-variable>[=<regex>] <number>
    Defines the number of concurrent events. Directive works similar to QS_LocRequestLimit, but counts the requests having the same environment variable (and optionally matching its value, too) rather than those that have the same URL pattern.
    Note: The counter's value is stored in the environment variable QS_EventRequestLimit_<env-variable>_Counter.
  • QS_EventPerSecLimit [!]<env-variable> <number>
    Defines how often requests may have the defined environment variable (literal string) set. It measures the occurrences of the defined environment variable on a request per seconds level and tries to limit this occurrence to the defined number. It works similar as QS_LocRequestPerSecLimit, but counts only the requests with the specified variable (or without it if the variable name is prefixed by a "!"). If a request matches multiple events, the rule with the lowest bandwidth is applied. Events are limited by adding a delay to each request causing an event.
  • QS_EventKBytesPerSecLimit [!]<env-variable> <number>
    Throttles the download bandwidth of all requests having the defined variable set to the defined kbytes per second. Responses are slowed by adding a delay to each response (every 8kbytes). The delay calculation is based on an average request rate measurement. By default, no limitation is active. This directive should be used in conjunction with QS_EventRequestLimit only (you must use the same variable name for both directives) to avoid too many concurrent requests.
  • QS_EventLimitCount <env-variable> <number> <seconds>
    Defines the maximum number of events allowed within the defined time. Requests causing the event are denied when reaching this limitation for the specified time (blocked at request level).
    Notes:
    • The current counter value is propagated to the process environment within the variable <env-variable>_Counter.
    • See also QS_CondEventLimitCount if you want to enforce a rule under certain conditions only.
    • The event counter can be decremented by setting the environment <env-variable>_Decrement.
Mulpiple built-in directives may be used to set or detect events (additional event variable processing could be configured using mod_setenvif or mod_setenvifplus ).
  • QS_SetEnvIf [!]<env-variable1> [!]<env-variable2> [!]<env-variable=value>
    Sets (or unsets) the environment "variable=value" (literal string) if variable1 (literal string) AND variable2 (literal string) are set in the request environment variable list (not case sensitive). This is used to combine multiple variables to a new event type.
    This directive may be used on a per-server or location basis.
  • QS_SetEnvIf <env-variable1>=<regex> [!]<env-variable>=<value>
    Sets the environment variable if the environment variable1's value matches the defined regular expression. $1..$9 within the value and are replaced by parenthesized subexpressions of the regular expression.
    This directive may be used on a per-server or location basis.
  • QS_SetEnv <env-variable> <value>
    Sets the defined variable with the value where the value string may contain other environment variables surrounded by "${" and "}". The variable is only set if all defined variables within the value have been resolved.
  • QS_SetEnvIfQuery <regex> [!]<env-variable>[=<value>]
    Directive works quite similar to the SetEnvIf directive of the Apache module mod_setenvif , but the specified regex is applied against the query string portion of the request line. The directive recognizes the occurrences of $1..$9 within value and replaces them by the sub-expressions of the defined regex pattern.
    This directive may be used on a per-server or location basis.
  • QS_SetEnvIfCmp <env-variable1> eq|ne|gt|lt <env-variable2> [!]<env-variable>[=<value>]
    Sets the defined environment variable if the specified env-variables[1|2] are numerical or alphabetically (case insensitive) equal (eq), not equal (ne) greater (gt), or less (lt).
    This directive may be used on a per-location basis only.
  • QS_SetEnvIfParp <regex> [!]<env-variable>[=<value>]
    Directive parsing the request payload using the Apache module mod_parp . It matches the request URL query and the HTTP request message body data as well (application/x-www-form-urlencoded, multipart/form-data, and multipart/mixed) and sets the defined process variable (quite similar to the QS_SetEnvIfQuery directive). The directive recognizes the occurrences of $1..$9 within value and replaces them by the sub-expressions of the defined regex pattern. This directive activates mod_parp for every request to the virtual host. You may deactivate mod_parp for selected requests using the SetEnvIf or SetEnvIfPlus directive: unset the variable "parp" to do so. Important: request message body processing requires that the server loads the whole request into its memory (at least twice the length of the message). You should limit the allowed size of the HTTP request message body using the QS_LimitRequestBody directive when using QS_SetEnvIfParp!
  • QS_SetEnvIfBody <regex> [!]<env-variable>[=<value>]
    Directive parsing the request body using the Apache module mod_parp . Specify the content types to process using the mod_parp directive PARP_BodyData and ensure that mod_parp is enabled using the SetEnvIf or SetEnvIfPlus directive. You should limit the allowed size of HTTP requests message body using the QS_LimitRequestBody directive when using mod_parp. The directive recognizes the occurrence of $1 within the variable value and replaces it by the sub-expressions of the defined regex pattern. The regular expressions is case insensitive.
  • QS_SetEnvIfStatus <code> <env-variable>[=<value>]
    Sets the defined variable in the request environment if the HTTP response status code matches the defined code. Default value is the status code, but you might override this by any other value. Directive may be used on a per-server or per-location basis.
    A possible use case for this directive is the prevention of repetitive occurrence of unwanted response status codes in conjunction with the QS_ClientEventBlockCount or QS_ClientEventLimitCount directive.
    When using the special variable QS_Block, its value is set to "1" by default. There are also four "special codes" available to set the QS_Block event:
    • QS_SrvMinDataRate may be used to set QS_Block events in order to limit the allowed number of QS_SrvMinDataRate rule violations.
    • QS_SrvMaxConnPerIP may be used to increment the QS_Block event when closing connections due to the reach of the limitation configured by the QS_SrvMaxConnPerIP directive.
    • NullConnection detects connections which are closed even no HTTP request has been received.
      Note: The NullConnection event may happen silently (no log message) expect when using LogLevel "debug". The parameter may be used to defend against SSL DoS attacks. Please pay attention to the fact that unused speculative TCP pre-connections of browsers may unintentionally cause this event as well.
    • BrokenConnection may be used to mark clients aborting the TCP connection before reading the whole HTTP response.
      Note: Connections may also be aborted by mod_qos if client reads the response too slow.
  • QS_SetEnvIfResBody <string> [!]<env-variable>
    Adds the defined environment variable (e.g., QS_Block) if the response body contains the defined literal string. Used on a per- location level. Only one directive may be defined per-location (one search string per response). Prefixing the variably by a "!" lets the variable being removed (unset). You may set the QS_SetEnvIfResBodyIgnore environment variable if you want mod_qos to skip (not parsing) a request's response body.
  • QS_SetEnvRes <env-variable> <regex> <env-variable2>[=<value>]
    Sets the environment variable (env-variable2) if the regular expression (regex) matches against the value of the environment variable (env-variable). Occurrences of $1..$9 within the value are replaced by parenthesized subexpressions of the regular expression.
  • QS_SetReqHeader [!]<header name> <env-variable> [late]
    Sets the defined HTTP request header with the value of the specified environment variable if the variable is available.
    The header is unset (removed from the request) if the header name is prefixed by a "!".
  • QS_SetEnvResHeader <header name> [drop]
    Sets the defined HTTP response header (name and value) to the request environment variables. Deletes the specified header if the action 'drop' has been specified.
  • QS_SetEnvResHeaderMatch <header name> <regex>
    Sets the defined HTTP response header (name and value) to the request environment variables if the specified regular expression (pcre, not case sensitive) matches the header value.
  • QS_UnsetReqHeader <header name>
    The request header of this name is removed.
  • QS_UnsetResHeader <header name>
    The response header of this name is removed.
  • QS_RedirectIf <variable> <regex> [<code>:]<url>
    Redirects the client to the configured url if the regular expression (case insensitive) matches the value of the the environment variable. Occurrences of $1..$9 within the url are replaced by parenthesized subexpressions of the regular expression. The default status code used by this directive is 302 but you may prefix the url parameter by 307: or 301: to change it to a "307 Temporary Redirect" or "301 Moved Permanently" response. Directive may be used on a per-server or per-location basis.
Sample of event rules:
# marks clients coming from the internal network:
SetEnvIf    Remote_Addr      ^192\.168\.            QS_Intra

# marks clients neither coming from the internal network
# nor are VIP clients as low priority clients:
QS_SetEnvIf !QS_VipRequest   !QS_Intra              QS_LowPrio=1

# limits the request rate for low priority (neither VIP nor internal)
# clients (and no more than 400 concurrent requests for them):
QS_EventPerSecLimit          QS_LowPrio             100
QS_EventRequestLimit         QS_LowPrio             400

# detects the variable "file" within the query portion of the URL:
QS_SetEnvIfQuery             file=([a-zA-Z]*)       QS_LowPrio=$1

# combine variables and propagate them to the application via HTTP header:
SetEnvIf    Content-Length   ([0-9]*)               QS_Length=$1
QS_SetEnv   QS_Type          "length=${QS_Length}; file=${QS_LowPrio}"
QS_SetReqHeader              X-File                 QS_Type

# limit the max. body size since mod_parp loads the whole message into
# the memory servers's:
QS_LimitRequestBody          131072

# body pattern detection, example limits the maximum number of concurrent
# requests posting "id=1234" to ten:
QS_SetEnvIfParp  id=([0-9]*) PARP_PATTERN=$1
QS_EventRequestLimit         PARP_PATTERN=1234      10
# but ignore requests to the location /main/ (any sub-locations):
SetEnvIf    Request_URI      /main/.*               !parp

Request Level, Generic Filter

These filters are defined on a per- location level and are used to restrict access to resources in general, independent of server resource availability. New rules are added by defining a rule id prefixed by a '+'. Rules are merged to sub-locations. If a rule should not be active for a sub-location, the very same rule must be defined, but instead, the rule id must be prefixed with a '-'. The filter rules are implemented as Perl-compatible regular expressions (pcre) and are applied to the decoded URL components (un-escaped characters, e.g., %20 is a space). The generic request filter ignores the VIP status of a client.
Note: Compile mod_qos with the preprocessor definition -DQS_MOD_EXT_HOOKS to enable the decoding hooks defined in mod_qos.h if you intend to implement additional decodings by other Apache modules.
  • QS_DenyRequestLine '+'|'-'<id> 'log'|'deny' <pcre>
    Generic request line (method, path, query, and protocol) filter used to deny access for requests matching the defined expression (pcre, case insensitive). The action taken for matching rules is either 'log' (access is granted but the rule match is logged) or 'deny' (access is denied).
  • QS_DenyPath '+'|'-'<id> 'log'|'deny' <pcre>
    Generic abs_path (see RFC 2616 section 3.2.2) filter used to deny access for requests matching the defined expression (pcre, case insensitive). The action taken for matching rules is either 'log' (access is granted but the rule match is logged) or 'deny' (access is denied).
  • QS_DenyQuery '+'|'-'<id> 'log'|'deny' <pcre>
    Generic query (see RFC 2616 section 3.2.2) filter used to deny access for requests matching the defined expression (pcre, case insensitive). The action taken for matching rules is either 'log' (access is granted but the rule match is logged) or 'deny' (access is denied).
  • QS_InvalidUrlEncoding 'log'|'deny'|'off'
    Enforces correct URL decoding in conjunction with the QS_DenyRequestLine, QS_DenyPath, and QS_DenyQuery directives. Default is "off" which means that an incorrect encoding does stop request processing.
  • QS_Decoding 'uni'
    Enables additional string decoding functions which are applied before matching QS_Deny* and QS_Permit* directives. Default is URL decoding (%xx, \\xHH, '+').
    Available additional decodings:
    • uni: unicode decoding for MS IIS (%uXXXX and \uXXXX) encoded characters.
  • QS_DenyEvent '+'|'-'<id> 'log'|'deny' [!]<env-variable>
    Rule matching requests having the defined process environment variable set (or NOT set if prefixed by a '!'). The action taken for matching rules is either 'log' (access is granted but the rule match is logged) or 'deny' (access is denied).
  • QS_PermitUri '+'|'-'<id> 'log'|'deny' <pcre>
    Generic URL (path and query) filter implementing a request pattern allow list. Only requests matching at least one QS_PermitUri pattern are allowed. If a QS_PermitUri pattern has been defined and the request does not match any rule, the request is denied. All rules must define the same action. pcre is case sensitive. You may use the qsfilter2 utility to generate rules based on access log files.
  • QS_DenyInheritanceOff
    Disables inheritance of QS_Deny* and QS_Permit* directives (pattern definitions) to a location.
  • QS_RequestHeaderFilter 'on'|'off'|'size'
    Filters request headers using validation rules provided by mod_qos. Suspicious headers (not matching the pattern or those which are too long) are normally dropped (removed from the request). Abnormal content-* headers cause request blocking. Only the defined headers are allowed (allow list). Custom rules (additional headers or different pattern/size definitions) may be added using the QS_RequestHeaderFilterRule directive.
    This directive has three different operation modes: 'on' (activated), 'off' (disabled), and 'size' (activated). The operation mode enabled by 'size' does not check the header values against the patterns but limits the maximum length of request header values only (similar to the Apache directive LimitRequestFieldsize but with an individual rule for each header field). This directive may be used on a per-server or per-location level.
    Notes:
    • Header validation is also useful to avoid bypassing of SetEnvIf / SetEnvIfPlus (if configured on a per-location level) directive settings as request headers have higher priority than environment variables for those directives and therefore a header sent a by client can override an environment variable having the same name.
    • You might also configure deny list rules (delete unwanted headers) using the QS_UnsetReqHeader or QS_UnsetResHeader directive.
  • QS_RequestHeaderFilterRule <header name> 'drop'|'deny' <pcre> <size>
    Used to add custom request header filter rules, e.g., to override the internal rules (different pcre or size) or to add additional headers which should be allowed. Definitions are made globally (outside VirtualHost). The list of all loaded rules is shown at server startup when using LogLevel "debug". pcre is case sensitive. The size parameter defines the maximum length of a header value. The action 'drop' removes a header not matching the pcre, the action 'deny' rejects a request including such a header not matching the pcre.
  • QS_ResponseHeaderFilter 'on'|'silent'|'off'
    Filters response headers using validation rules provided by mod_qos. Suspicious headers (not matching the pattern or those which are too long) are removed from the response. Only the defined headers are allowed. Filter is activated ('on' or 'silent') or deactivated ('off').
  • QS_ResponseHeaderFilterRule <header name> <pcre> <size>
    Used to add custom response header filter rules, e.g., to override the internal rules (different pcre or size) or to add additional headers which should be allowed. Definitions are made globally (outside VirtualHost). A list of all loaded rules is shown at server startup when using LogLevel "debug". pcre is case sensitive. The size parameter defines the maximum length of a header value.
Sample configuration:
QS_ErrorPage                     /error-docs/qs_error.html

# add a custom request header rule:
QS_RequestHeaderFilterRule       UA-CPU drop "^[a-zA-Z0-9]+$" 20

# enable header validation:
QS_RequestHeaderFilter           on

<Location />
   # don't allow access to the path /app/admin.jsp:
   QS_DenyPath        +admin     deny "^/app/admin.jsp$"

   # allow printable characters only within the request line:
   QS_DenyRequestLine +printable deny ".*[\x00-\x19].*"
</Location>

Body data filtering requires mod_parp which processes the request's message body of the following HTTP request content types: application/x-www-form-urlencoded, multipart/form-data, and multipart/mixed. The content type application/json may be processed by the built-in JSON parser of mod_qos. The body data is transformed into a request query and may be filtered using the QS_DenyQuery and QS_PermitUri directives.

  • QS_DenyQueryBody 'on|'off'
    Enables request body data filtering for the QS_DenyQuery directive.
  • QS_PermitUriBody 'on|'off'
    Enables request body data filtering for the QS_PermitUri directive.
  • QS_LimitRequestBody <bytes>
    Limits the allowed size of an HTTP request message body. This directive may be placed anywhere in the configuration. Alternatively, the limitation may be set as an environment variable using mod_setenvif (overriding the directive settings).
Set the QS_DeflateReqBody variable if the request body data has to be deflated (compressed data) using mod_deflate .
Sample configuration:
# configure the audit log writing the request body data to a file
# (use this log to generate allow list rules using qsfilter2
# when QS_PermitUriBody has been enabled)
# format:
#   %h:
#   The remote host (used to filter by IP address).
#   %>s:
#   The HTTP response status code.
#   %{qos-loc}n
#   The matching Location to generate the rules for.
#   %{qos-path}n%{qos-query}n
#   The request data required by qsfilter2 to generate rules.
CustomLog             logs/qsaudit_log  "%h %>s %{qos-loc}n %{qos-path}n%{qos-query}n"

# enable json parser
PARP_BodyData               application/json

QS_RequestHeaderFilter      on

# limit the max. body size since mod_parp loads the whole message into the
# servers's memory:
SetEnvIfNoCase Content-Type application/x-www-form-urlencoded QS_LimitRequestBody=131072
SetEnvIfNoCase Content-Type multipart/form-data               QS_LimitRequestBody=131072
SetEnvIfNoCase Content-Type multipart/mixed                   QS_LimitRequestBody=131072
SetEnvIfNoCase Content-Type application/json                  QS_LimitRequestBody=65536

# enable mod_deflate input filter for compressed request body data:
SetEnvIfNoCase Content-Encoding (gzip|compress|deflate)       QS_DeflateReqBody

<Location /app>
   # don't allow a certain string pattern within the request query or
   # the request message body data:
   QS_DenyQueryBody              on
   QS_DenyQuery       +s01       deny "(EXEC|SELECT|INSERT|UPDATE|DELETE)"
</Location>
You may enable request body filtering for arbitrary content types:
Sample configuration:
# sample (using the raw body parser of mod_parp) which denies XML documents
# containing the pattern "<code>delete</code>":
PARP_BodyData               text/xml
SetEnvIfNoCase Content-Type text/xml.*                        parp
SetEnvIfNoCase Content-Type application/xml                   QS_LimitRequestBody=65536
QS_SetEnvIfBody             <code>delete</code>               DENYACTION
<Location /app/web>
   QS_DenyEvent             +BADCODE deny                     DENYACTION
</Location>

Milestones

You may define a number of resources (request line patterns) as milestones. A client must access these resources in the correct order as they are defined within the server configuration. A client is not allowed to skip these milestones (but may access any other resource not covered by a milestone in between requests to milestones).
  • QS_MileStone 'log'|'deny' <pattern> [<thinktime>]
    Defines request line patterns a client must access in the defined order as they are defined in the configuration file. The optional 'thinktime' parameter defines the minimal elapse time (in seconds) between two milestones. Milestones are defined on a per-server basis, outside location . Access to milestones is tracked by a dedicated session cookie (QSSCD).
  • QS_MileStoneTimeout <seconds>
    Defines the time in seconds within which a client must reach the next milestone. Default are 3600 seconds.
Sample configuration:
# four milestones:
# 1) client must start with /app/index.html
# 2) and then read some images (e.g. media used within the first page)
# 3) before posting data to /app/register
# 4) afterwards, the user may download zip files
QS_MileStone          deny       "^GET /app/index.html"
QS_MileStone          deny       "^GET /app/images/.*"
QS_MileStone          deny       "^POST /app/register*"
QS_MileStone          deny       "^GET /app/.*\.zip HTTP/..."

Connection Level Control

The module features the following directives to control server access on a per-server (TCP connection) level. These directives must only be used in the global server context and for port based virtual hosts. Virtual hosts neither defining QS_SrvMaxConn, QS_SrvMaxConnClose, nor QS_SrvMaxConnPerIP are using the base server's settings and counters. And do not use these three directives for name based virtual hosts!

  • QS_SrvMaxConn <number>
    Defines the maximum allowed number of concurrent TCP connections for this server (virtual host).
  • QS_SrvMaxConnClose <number>[%]
    Defines the maximum number of connections for this server (virtual host) supporting HTTP keep-alive. If the number of concurrent connections exceeds this threshold, the TCP connections gets closed after each request. You may specify the number of connections as a percentage of MaxClients if adding the suffix '%' to the specified value.
    Note: It's also possible to control the Keep-Alive settings dynamically using the QS_KeepAliveTimeout and QS_MaxKeepAliveRequests environment variables.
  • QS_SrvMaxConnPerIP <number> [<connections>]
    Defines the maximum number of connections per source IP address for this server (virtual host). The "connections" argument defines the number of busy connections of the server (all virtual hosts) to enable this limitation, default is 0 (which means that the limitation is always enabled, even the server is idle).
  • QS_SrvMaxConnExcludeIP <address>
    Defines an IP address or address range to be excluded from connection level control restrictions (trusted proxy servers). An address range must end with a "." or ":".
  • QS_SrvMaxConnPerIPIgnoreVIP 'on'|'off'
    Tells the QS_SrvMaxConnPerIP directive to ignore (if set to "on") the VIP status of clients. Default is "off", which means that QS_SrvMaxConnPerIP gets disabled for VIPs.
  • QS_SrvMinDataRate <bytes per second> [<max bytes per second> [<connections>]]
    Defines the minimum upload/download throughput a client must generate (the bytes sent/received by the client per seconds). This bandwidth is measured while receiving request data (in: request line, header fields, or body), sending response data (out: header fields, body) and during keep-alive (enforce keep-alive). The client connection is closed if the client does not fulfill this required minimal data rate and the IP address of the causing client is marked in order to be handled with low priority (see the QS_ClientPrefer directive). The "max bytes per second" activates dynamic minimum throughput control: The required minimal throughput is increased in parallel to the number of concurrent clients sending/receiving data (starts increasing when reaching the "connections" threshold) as a percentage of the "max bytes per second" which maximum is reached when the number of sending/receiving clients is equal to the MaxClients setting. The "connections" argument is used to specify the number of busy TCP connections a server must have to enable this feature (used to disable the QS_SrvMinDataRate rule enforcement on idle servers).
    This directives must only be used in the global server context.
  • QS_SrvRequestRate <bytes per second> [<max bytes per second>]
    Same as QS_SrvMinDataRate but enforcing a minimal upload (reading request) throughput only.
  • QS_SrvDataRateOff
    Disables the QS_SrvMinDataRate or QS_SrvRequestRate enforcement for a virtual host.
  • QS_SrvMinDataRateOffEvent '+'|'-'<env-variable>
    Disables the QS_SrvMinDataRate or QS_SrvRequestRate enforcement for a connection when the defined process environment variable is set. The '+' prefix is used to add a variable to the configuration while the '-' prefix is used to remove a variable. Directive may be used on a per-server or a per-location basis.
  • QS_SrvSampleRate <seconds>
    Defines the sampling rate used to measure the data throughput. Default is 5 seconds or the value you have used for QS_REQ_RATE_TM while compiling the module. Increase this value if you want to compensate bandwidth variations.
    This directives must only be used in the global server context.
    Note: It might also be increased to avoid too many error messages generated by a QS_SrvMinDataRate rule for clients opening unused TCP pre-connections which might happen if Apache's TimeOut directive is set to higher value than this sample rate.
  • QS_SrvMinDataRateIgnoreVIP 'on'|'off'
    Tells the QS_SrvMinDataRate directive to ignore (if set to "on") the VIP status of clients. Default is "off", which means that QS_SrvMinDataRate gets disabled for VIPs.
  • QS_SrvSerialize 'on'|'off' [<timeout>]
    Ensures that not more than one request having the QS_SrvSerialize variable set is processed at the same time by serializing them (process one request after each other). Default is "off".
    Note: Maximum wait time for a request is defined by the optional timeout parameter (in seconds). The default is 300 seconds.
  • Throttling the download bandwidth: mod_qos does not support bandwidth limitation on a per connection basis but you might use the RATE_LIMIT filter provided by the Apache module mod_ratelimit to implement a bandwidth rate limitation for connections.
Sample configuration:
# minimum data rate (bytes/sec) when the server
# has 150 or more open TCP connections:
QS_SrvMinDataRate                                 64 256 150

# limits the connections for this virtual host:
QS_SrvMaxConn                                     800

# allows keep-alive support till the server reaches 600 connections:
QS_SrvMaxConnClose                                600

# allows max 50 connections from a single ip address:
QS_SrvMaxConnPerIP                                 50

# disables connection restrictions for certain clients:
QS_SrvMaxConnExcludeIP                    172.18.3.32
QS_SrvMaxConnExcludeIP                    192.168.10.

Client Level Control

Client level control rules are applied per client (IP source address). These directives must only be used in the global server context.

  • QS_ClientEntries <number>
    Defines the number of individual clients managed by mod_qos. Default is 50'000 concurrent IP addresses. Each client requires about 150 bytes memory on a 64bit system (depending on how many QS_ClientEventLimitCount events you have configured). Client IP source address store survives graceful server restart. The maximum value is 10'000'000.
  • QS_ClientEventRequestLimit <number>
    Defines the allowed number of concurrent requests coming from the same client source IP address having the QS_EventRequest variable set.
    Note: You may use the QS_ClientIpFromHeader <header> directive to override the client's IP address based on the value within the defined HTTP request header (e.g., X-Forwarded-For) instead of taking the IP address of the client which has opened the TCP connection.
  • QS_ClientEventPerSecLimit <number>
    Defines how often a client may cause a QS_Event per second. Such events are requests having the QS_Event variable set, e.g., defined by using the SetEnvIf directive. The rule is enforced by adding a delay to requests causing the event (similar to the QS_LocRequestPerSecLimit directive).
  • QS_ClientEventBlockCount <number> [<seconds>]
    Defines the maximum number of QS_Block events allowed within the defined time (default is 600 seconds). Client IP is blocked when reaching this counter for the specified time (blocked at connection level: user might not always get a user friendly error response).
    Notes:
    • You may use QS_ClientEventBlockExcludeIP <addr> to exclude an IP address from being processed by this limitation (e.g. for trusted clients connecting via a proxy server). An address range must end with a "." or ":".
    • The counter can be decremented by setting the environment variable QS_Block_Decrement.
  • QS_ClientEventLimitCount <number> [<seconds> [<variable>]]
    Defines the maximum number of requests having the defined environment variables (QS_Limit by default) set allowed within the defined time (default is 600 seconds). Requests from client IP's reaching this limitation are denied for the specified time (blocked at request level).
    Notes:
    • The value of the variable defines the penalty points by which the counters are increased. Default (empty or non-numeric value) is 1 (increment per request).
    • You may use the QS_ClientIpFromHeader <header> directive to determine the client's IP address based on the defined HTTP request header (e.g., X-Forwarded-For) instead of taking the IP address of the client which has opened the TCP connection. The header must only contain a single IP address.
      You might also use a pseudo IP address by creating a hash from the header's value if you prefix the header name by a '#', e.g. #Authorization to use the HTTP basic auth header. as the pseudo IP address. The special name #SSL_CLIENT_S_DN creates a pseudo IP from the SSL client certificate's subject and issuer DN.
    • The current value of this counter is stored within the variable suffixed by _Counter, e.g. QS_Limit_Counter for further processing by other rules.
    • The remaining time (in seconds) is stored within the variabled suffixed by _Remaining, e.g. QS_Limit_Remaining to be used within SSI error pages.
    • The counter can be reset by setting the environment variable which name is suffixed by _Clear, e.g. QS_Limit_Clear.
    • The counter can be decremented by setting the environment variable which name is suffixed by _Decrement, e.g. QS_Limit_Decrement.
    • Adding/removing events (configuration changes) require a server restart (graceful restart is not supported).
    • Only the default rule (QS_Limit) is accessibly by the status viewer (you may use the console to view other variables alternatively).
    • See also QS_CondClientEventLimitCount if you want to enforce a rule under certain conditions only.
  • QS_ClientSerialize
    Serializes requests having the QS_Serialize variable set if they are coming from the same IP address.
    Notes:
    • You may use the QS_ClientIpFromHeader <header> directive to override the client's IP address based on the value within the defined HTTP request header (e.g., X-Forwarded-For) instead of taking the IP address of the client which has opened the TCP connection.
    • Maximum wait time for a request is 5 minutes.
  • QS_ClientPrefer [<percent>]
    Accepts only VIP and high priority clients when the server has less than 80% (or the defined percentage) of free TCP connections. The server continues dropping more and more clients (also those with few penalty points) the higher the number of connections grows.
    Use the QS_VipHeaderName or QS_VipIPHeaderName directive in order to identify VIP clients.
    The distinction between high and low priority clients is made based on penalty points which are calculated based of these attributes:
    • Data transfer behavior (clients sending data slowly / their transfer rate) (0x01).
    • Accessing "unusual" content types (see QS_ClientTolerance and QS_ClientContentTypes) (0x00 unknown / 0x02 normal / 0x04 unusual).
    • Causing events blocking / limiting them (0x08 block / 0x10 limit).
    • If their connections get closed due to timeouts (0x20).
    HTTP requests causing a client to get marked as "low priority" have the "r;" event within the mod_qos_ev variable set. You may use the status viewer to determine which client addresses are identified as low priority clients. Feature is disabled if directive is not set.
    A low priority flag is cleared after 24h hours. Clients identified by QS_SrvMaxConnExcludeIP are excluded from connection restrictions. Filter is applied on connection level blocking clients even before the server starts reading the HTTP request data.
  • QS_ClientTolerance <percent>
    Defines the allowed variation from a "normal" client (average) behavior when enabling the QS_ClientPrefer directive. Default is 20%.
  • QS_ClientContentTypes <html> <css/js> <images> <other> <304>
    Defines the distribution of HTTP response content types a client normally receives when accessing the server. Can only be used in conjunction with the QS_ClientPrefer directive. QS_ClientTolerance defines the allowed deviation from these values. mod_qos normally learns the average behavior automatically by default (you can see the learned values within the status viewer or by enabling the QS_Status log messages) but you may specify a static configuration using this directive in order to avoid influences by a high number of abnormal clients. Default is automatic self-learning.
  • QS_ClientGeoCountryDB <path>
    Defines the path to the geographical database file. The file is a Comma Separated Value (CSV) format file (example). Each line contains the following fields:
    • Double quoted beginning IPv4 number of the address range, e.g. "1052272128" for 62.184.102.0
    • Double quoted ending IPv4 number of the address range, e.g. "1052272543" for 62.184.103.159.
    • Double quoted ISO 3166 country code, e.g. "FR" for France.
    The QS_Country variable contains the country code for the client's IP address.
    Note: You may use the QS_ClientIpFromHeader <header> directive to override the client's IP address based on the value within the defined HTTP request header (e.g., X-Forwarded-For) instead of taking the IP address of the client which has opened the TCP connection to evaluate this variable.
  • QS_ClientGeoCountryPriv <list> <connections> ['excludeUnknown']
    Defines a comma separated list of country codes for origin client IPv4 address which are allowed to access the server even if the number of busy TCP connections reaches the defined number of connections.
    Uses the geographical database loaded by QS_ClientGeoCountryDB.
    Clients whose IP can't be mapped to a country code can be excluded from the limitation by configuring the 'excludeUnknown' argument.
Sample configuration:
# allows not more than 20 events/penalty points per 10 minutes:
QS_ClientEventBlockCount                          20

# don't allow a client to access /app/start.html more than
# 20 times within 10 minutes:
SetEnvIf     Request_URI /app/start.html          QS_Block=1

# don't allow more than 4 "403" status code responses
# (forbidden) for a client within 10 minutes:
QS_SetEnvIfStatus        403                      QS_Block=5

Log Messages

Error Log

mod_qos writes messages to Apache's error log when detecting a rule violation. Each error message is prefixed by an id: mod_qos(<number>). These error codes (number only) are also written to the error notes (Apache's error-notes note as well as the QS_ErrorNotes variable) in order to be processed within error pages using server-side includes (SSI).
mod_qos(00x):  initialisation event
mod_qos(01x):  request level control event
mod_qos(08x):  request level control event
mod_qos(02x):  vip session event
mod_qos(03x):  connection level event
mod_qos(04x):  generic filter event
mod_qos(14x):  generic filter event
mod_qos(05x):  bandwidth limitation event
mod_qos(06x):  client control event
mod_qos(16x):  client control event
mod_qos(07x):  console errors
mod_qos(08x):  initialisation/resource errors
mod_qos(10x):  geo errors

Access Log

mod_qos adds event variables to the request record which may be added to access log messages.

  • mod_qos_ev
    Status event message of mod_qos. It's a single letter which is used to signalize an event: "D"=denied, "S"=pass due to an available VIP session, "V"=create VIP session (cookie), "v"=marks an IP as VIP, "K"=connection closed (no keep-alive), "T"=dynamic keep-alive, "r"=IP is marked as a slow/bad client, "L"=means a request slowdown, "u"=request without a user tracking cookie, and "s" is used for serialized requests. The letter "A" for connection abort is set if the status code detection BrokenConnection has been configured.
  • mod_qos_cr
    The number of concurrent requests to a location matching the QS_LocRequestLimit, QS_LocRequestLimitMatch, QS_LocRequestPerSecLimit, QS_LocRequestPerSecLimitMatch, QS_LocKBytesPerSecLimit, QS_LocKBytesPerSecLimitMatch, QS_CondLocRequestLimitMatch, or QS_EventRequestLimit directive.
  • mod_qos_con
    This event shows the number of concurrent connections to this server. Only available if the directive QS_SrvMaxConn is used.
  • mod_qos_user_id
    The user id which is available when enabling user tracking.
    User tracking is based on a unique identifier generated by mod_unique_id . This unique identifier is stored as a cookie. The user tracking feature is enabled by setting the QS_UserTrackingCookieName <name> [<path>] [<domain>] ['session'] ['jsredirect'] directive.
    Options of the QS_UserTrackingCookieName directive are:
    • The name argument defining the name of the user tracking cookie.
    • The path specifies a local error document which is shown if a user does not accept the cookie (enforcement).
      You may disable this enforcement for certain clients by setting the DISABLE_UTC_ENFORCEMENT environment variable at server level (outside Location), e.g., to allow crawlers not supporting cookies to access your site.
      This option can be used to ensure whether a client/browser accepts cookies at all which might be a requirement of your application.
    • domain defines optionally the domain attribute for the Set-Cookie header.
    • The session flag indicates that a short lived (per session) cookie shall be created which won't be stored by the browser permanently.
    • When using the additional option 'jsredirect', the client (browser) has to interpret Javascript used within the cookie check page to fetch the cookie and to execute the redirect back to the initially requested page (adding Javascript to the cookie challenge).
      The following SSI variables can be used:
      • QS_UT_QUERY: Query string to call (ajax) the cookie page again to obtain the cookie.
      • QS_UT_NAME: Name of the cookie.
      • QS_UT_INITIAL_URI: Initial page to redirect to.
    Notes:
    • QS_UserTrackingCookieName ignores the QS_LogOnly directive.
    • The cookie is secured by the QS_SessionKey and you should set this directive to have a constant key.
  • UNIQUE_ID
    This is a unique request id generated by mod_unique_id. mod_qos uses this id to mark messages written to the error log. So it might be useful to log the UNIQUE_ID environment variable as well, in order to correlate errors to access log messages.
  • QS_ConnectionId
    Connection correlation id used to mark all messages belonging to the same TCP connection.
Sample configuration:
LogFormat "%h %u %t \"%r\" %>s %b %T \"%{content-length}i\" %k \"%{User-Agent}i\" \
           %{mod_qos_cr}e %{mod_qos_ev}e %{mod_qos_con}e %{QS_SrvConn}e %{QS_AllConn}e \
           id=%{UNIQUE_ID}e %{QS_ConnectionId}e %{mod_qos_user_id}e %{QS_Country}e #%P"

Request Statistics

The qslog tool, which is part of the support utilities of mod_qos, may be used to gather request statistics from Apache's access log data. This includes data such as the number of denied requests or new VIP session creations per minute but also total requests per second and other data. Refer to the usage text of the qslog utility and read "Request Statistics Using qslog" for further details.
CustomLog "|/usr/bin/qslog -o logs/qslog.csv -x -f ISBDQkU" \
          "%h %>s %b %D %{mod_qos_ev}e %k %{mod_qos_user_id}e"

Instead of using the standard Apache log CustomLog directive, you may use the QSLog directive of mod_qos alternatively. This allows you to configure a single log file for your Apache instance (globally, not per virtual host) and you don't have to specify the format (-f) option.
QSLog "|/usr/bin/qslog -o /var/log/apache/qslog.csv"

Status Viewer

mod_qos features a handler showing the current connection and request status.
<Location /qos>
   SetHandler qos-viewer
</Location>
A machine-readable version of the status information is available when using the request query string auto, e.g., http://your.server.name/qos?auto. The page updates itself automatically every 10 seconds if you add the request query string refresh, e.g., http://your.server.name/qos?refresh.
Note: This view also shows you the error log event counters if you enable event (errors and warnings) counting by configuring QS_EventCount on and are using any client level limitation using QS_Client* directives.

The status information is also provided on the server status page of mod_status (although in a reduced scope).
Note: Compile mod_qos with the preprocessor definition -DQS_NO_STATUS_HOOK to disable its registration to the status page rendered by mod_status.

Use the directive QS_DisableHandler on to disable the qos-viewer and qos-console for a virtual host in order to prevent accidental activation of these functions, including by configuration settings of per-directory files (e.g., .htaccess).

The directive QS_Status 'on'|'off' may be used to enable a status log message (mod_qos(200)) written to the Apache server's ErrorLog. This message contains information about the server's scoreboard. The message is written once every minute.

Web Console

mod_qos implements an Apache handler which acts as a web console for setting attributes via HTTP requests.
<Location /qos/console>
   SetHandler qos-console
</Location>
Access a location where you have enabled the qos-console handler with a web client and use the following request query parameter to modify the status of a client (may only be used if client level control has been enabled).

  • address=<IP address>
    Specifies the IP address of the client to modify.
  • action='block'|'unblock'|'limit'|'unlimit'|'inclimit'|'setvip'|'unsetvip'|'setlowprio'|'unsetlowprio'|'search'
    Defines the command to be executed, or the attribute to be changed.
    • block: blocks the client for the configured period of time, see also QS_ClientEventBlockCount.
    • unblock: clears the block attribute of the client.
    • limit: denies requests from the client IP for the configured period of time, see also QS_ClientEventLimitCount.
    • unlimit: clears the limit attribute of the client.
    • inclimit: increments the client's limit counter.
    • setvip: sets the client status to VIP.
    • unsetvip: clears the VIP status for a client.
    • setlowprio: sets the client's priority to 'low'.
    • unsetlowprio: clears the 'low' priority attribute of the client.
    • search: verifies the availability of a client IP address.
      Use the asterisk (*) for the address parameter in order to get a list of all available clients (dump).
  • event=<name>
    Specifies the event name of the QS_ClientEventLimitCount directive counter which shall be shown or modified (used in conjunction with the limit, unlimit, inclimit, and search action). Default is QS_Limit.

The output (which is plain text) contains the following fields:

The wildcard search (address=*) generates a by a newline separated list of all client IP entries. Each line is prefixed by an index and terminated by the time of the last entry update (seconds since epoch).

The console may be used to manually update the status of a client (IP) or for automated actions.
Examples:

  • To unlock a client which got blocked by mistake.
  • To synchronize events within multiple Apache instances.
    An example using qsexec is available within the source code repository.
  • Download/upload client status from one Apache instance to another (or to the same instance, e.g., when restarting an instance).

Examples to access the console:

  • Sets VIP status for the IP 194.31.217.21:
    http://your.server.name/qos/console?action=setvip&address=194.31.217.21
  • Clears the QS_Limit counter for the IP 194.31.217.21:
    http://your.server.name/qos/console?action=unlimit&address=194.31.217.21&event=QS_Limit

The status viewer may be used as well to verify the status of the client. Example:
http://your.server.name/qos?action=search&address=194.31.217.21

Utilities

mod_qos provides optional tools for log data processing and analysis:

  • qsdt
    Simple tool to measure the elapse time between related log messages.
  • qsexec
    Command execution triggered by patterns within log files.
  • qsfilter2
    Rule generator. Creates QS_Permit* directives and rule patterns from audit log files.
  • qsgeo
    Adds the country code for the client IP address within a log file.
  • qsgrep
    Searches a file for a pattern and prints the data in a new format.
  • qslog
    A real time TransferLog/CustomLog data analyzer. It reads the per request log data from stdin and generates statistic records every minute.
  • qslogger
    Shell command interface to the syslog(3) system log module.
  • qspng
    Creates graphics (png images) from the output of qslog.
  • qsre
    Regular expression (pcre) pattern match test tool.
  • qsrespeed
    Compares the expected processing time per regular expression.
  • qsrotate
    Log rotation tool similar to Apache's rotatelogs.
  • qssign
    A log data integrity check tool. It reads log data from stdin (pipe) and writes the signed data to stdout adding a sequence number and signature to ever log line.
    qssign.rb is a Logstash filter plugin which may be used to verify the signatures of log messages in real time.
  • qstail
    Shows the end of a log file beginning at a defined pattern.

Sample Use Cases

The following use cases may give you an idea about how to use mod_qos.

Slow Application

In case of a very slow application (e.g., at location /ccc), requests wait until a timeout occurs. Due to many waiting requests, there are no free TCP connections left and the web sever is not able to process other requests to applications still working fine, e.g., to /aaa, /bbb /dd1, and /dd2. mod_qos limits the number of concurrent requests to an application in order to assure the availability of other resources.

Example:
# maximum number of active TCP connections is limited to 256 (limited
# by the available memory, adjust the settings according to the
# used hardware):
MaxClients              256

# limits the maximum of concurrent requests per application to 100:
QS_LocRequestLimit      /aaa                100
QS_LocRequestLimit      /bbb                100
QS_LocRequestLimit      /ccc                100
QS_LocRequestLimitMatch "^(/dd1/|/dd2/).*$" 100
The qslog tool may be used to analyze your log files in order to identify "slow" resources by using the -pu, -puc, or -c option.

HTTP Keep-Alive

The keep-alive extension of HTTP 1.1 allows persistent TCP connections for multiple requests/responses. This accelerates access to the web server due to less and optimized network traffic. The disadvantage of these persistent connections is that server resources are blocked even when no data is exchanged between client and server. mod_qos allows a server to support keep-alive as long as sufficient connections are available, but stops the keep-alive support when it reaches a defined connection threshold.

Example:
# maximum number of active TCP connections is limited to 256 (limited
# by the available memory, adjust the settings according to the
# used hardware):
MaxClients              256

# disables keep-alive when 70% of the TCP connections are occupied:
QS_SrvMaxConnClose      70%

Client Opens Many Concurrent Connections

A single client may open many TCP connections simultaneously in order to download different content from the web server. So the client gets many connections while other users may not be able to access the server because no free connections remain for them. mod_qos can limit the number of concurrent connections for a single IP source address.

Example:
# maximum number of active TCP connections is limited to 896
# (limited by the available memory, adjust the settings according to the
# used hardware):
MaxClients              896

# don't allow a single client to open more than 50 TCP connections if
# the server has not more than 196 free connections:
QS_SrvMaxConnPerIP      50 700

Many Requests to a Single URL

If you have to limit the number of requests to an URL, mod_qos can help with that, too. You may limit the number of requests per second to an URL. mod_qos will then calculate the necessary delay time to be added to each requests accessing this resource in order to achieve the defined limitation.

Example:
# does not allow more than 150 requests/sec:
QS_LocRequestPerSecLimit /download/mod_qos.so.gz 150

# but do not allow more than 600 concurrent requests:
QS_LocRequestLimit       /download/mod_qos.so.gz 600

Alternatively, if you need to reduce the number of processed requests per time to a very low value, you might add a (predefined or dynamically calculated) delay to each request and process only one of them at the same time. However, this will delay every request to the defined URI, even the server is idle.

Example:
# does not allow more than 4 requests/sec by adding a wait time of 250ms
# to each request and process only one request at once:
SetEnvIf                 Request_URI ^/download/mod_qos.so.gz QS_SrvSerialize=1
SetEnvIf                 Request_URI ^/download/mod_qos.so.gz QS_Delay=250
QS_SrvSerialize          on

# but do not allow more than 600 concurrent requests:
QS_EventRequestLimit     QS_SrvSerialize 600

mod_qos can also restrict the access to an URL by limiting the number of requests from a single IP address (LimitDownloadCounter is the counter to use while the LimitDownloadNow pattern is used to limit access to this specific resource only still allowing the IP address to access other resources).

Example:
# does not allow more than 4 downloads of mod_qos.so.gz per minute from a single IP address:
SetEnvIf                     Request_URI ^/download/mod_qos.so.gz LimitDownloadCounter
SetEnvIf                     Request_URI ^/download/mod_qos.so.gz QS_Cond=LimitDownloadNow
QS_CondClientEventLimitCount 4 60 LimitDownloadCounter LimitDownloadNow

Bandwidth Restriction

It's sometimes necessary to restrict the bandwidth consumed by clients downloading certain type of data in order to avoid that the entire bandwidth of your Internet connection is exploited by less important data traffic, e.g. if your web server hosts large files to be downloaded.
mod_qos allows you to defined the bandwidth which may be used when accessing a defined URL or when the server returns a certain content-type.

Example:
# limits the download bandwidth when accessing ISO images to 1 megabyte/sec
# and does not allow more then 300 clients to download such file type in
# parallel:
QS_LocKBytesPerSecLimitMatch \.iso 1024
QS_LocRequestLimitMatch      \.iso  300

Brute Force

Sometimes, you want to limit how often a resource may be accessed within a certain amount of time, e.g., to defend against brute-force respectively dictionary attacks or an account lockout DoS (someone systematically locks user accounts by too many invalid sign-in attempts). mod_qos allows you to limit this either server wide (any request accessing the resource) by using the QS_EventLimitCount directive, or on a per client IP basis using the QS_ClientEventLimitCount directive.

Example:
# allows a single IP address to access the URI /wp-login.php not more
# than 10 times within an hour:
SetEnvIf                 Request_URI ^/wp-login.php LimitLogin
QS_ClientEventLimitCount 10 3600 LimitLogin
Note: Multiple users may share an IP addresses which might cause false positives. You might avoid this by decrementing the counter on successful user authentication / login, e.g. by setting the variable LimitLogin_Decrement=1.

A brute force attack might also be performed by many distributed clients (thousands of clients, but every client performs a few requests only). To add protection to your server, you might configure an overall limitation for critical resources allowing only known clients (VIPs) to access your server without any restrictions. The QS_CondEventLimitCount directive might be used to achieve this.

Too Many Client Connections

mod_qos may prefer "known" client IP addresses in the case that too many clients access the server. "Known" clients are those which have once been identified by the application by setting the corresponding HTTP response header. Such identification may happen at successful user login. Connections from clients which are not known to mod_qos (never marked by the corresponding response header) are denied if the server runs on low TCP connection resources (20% or fewer free connections in this example). mod_qos may also prefer those clients which communicate with the server instantaneously and fast, and denies access to slow clients sending data irregularly, in case the server has not enough resources.

You may also set limitations defining how many resources may be requested by a single IP address source, e.g., using the QS_SrvMaxConnPerIP directive and you can disable HTTP keep-alive dynamically.

For more information about how mod_qos can help you in such situations, see the article "Denial of Service Defense".

Example:
# maximum number of active TCP connections is limited to 896 (limited
# by the available memory, adjust the settings according to the used
# hardware):
MaxClients              896

# idle timeout:
Timeout                   5

# keep alive (for up to 85% of all connections):
KeepAlive                on
MaxKeepAliveRequests     40
KeepAliveTimeout          2
QS_SrvMaxConnClose       85%

# name of the HTTP response header which marks preferred clients (this
# may be used to let the application decide which clients are "good" and
# have higher privileges, e.g. authenticated users.
# you may also use the QS_VipIPUser directive when using an Apache 
# authentication module such as mod_auth_basic or mod_auth_oid ):
QS_VipIPHeaderName       mod-qos-login

# enables the known client prefer mode (server allows new TCP connections
# from known/good clients only if there are more than 716 open TCP connections):
QS_ClientPrefer          80%

# don't allow more than 30 TCP connections per client source address being
# processed if the server has 500 or more open connections:
QS_SrvMaxConnPerIP       30 500



© 2007-2023, Pascal Buchbinder - mod_qos version 11.74 mod_qos-11.74/doc/qsfilter2.1.html0000664000000000000020000002110614431415521015163 0ustar rootbin Man page of QSFILTER2

QSFILTER2

Section: qsfilter2 man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qsfilter2 - an utility to generate mod_qos request line rules out from existing access/audit log data.  

SYNOPSIS

qsfilter2 -i <path> [-c <path>] [-d <num>] [-h] [-b <num>] [-p|-s|-m|-o] [-l <len>] [-n] [-e] [-u 'uni'] [-k <prefix>] [-t] [-f <path>] [-v 0|1|2]  

DESCRIPTION

overview

mod_qos implements a request filter which validates each request line. The module supports both, negative and positive security model. The QS_Deny* directives are used to specify request line patterns which are not allowed to access the server (negative security model / deny list). These rules are used to restrict access to certain resources which should not be available to users or to protect the server from malicious patterns. The QS_Permit* rules implement a positive security model (allow list). These directives are used to define allowed request line patterns. Request which do not match any of these patterns are not allowed to access the server.

qsfilter2 is an audit log analyzer used to generate filter rules (perl compatible regular expressions) which may be used by mod_qos to deny access for suspect requests (QS_PermitUri rules). It parses existing audit log files in order to generate request patterns covering all allowed requests.  

OPTIONS

-i <path>
Input file containing request URIs. The URIs for this file have to be extracted from the servers access logs. Each line of the input file contains a request URI consisting of a path and and query.
     Example:
       /aaa/index.do
       /aaa/edit?image=1.jpg
       /aaa/image/1.jpg
       /aaa/view?page=1
       /aaa/edit?document=1

These access log data must include current request URIs but also request lines from previous rule generation steps. It must also include request lines which cover manually generated rules. You may use the 'qos-path' and 'qos-query' variables to create an audit log containing all request data (path and query/body data). Example: 'CustomLog audit_log %{qos-path}n%{qos-query}n'. See also http://mod-qos.sourceforge.net#qsfiltersample about the module settings.

-c <path>
mod_qos configuration file defining QS_DenyRequestLine and QS_PermitUri directives. qsfilter2 generates rules from access log data automatically. Manually generated rules (QS_PermitUri) may be provided from this file. Note: each manual rule must be represented by a request URI in the input data (-i) in order to make sure not to be deleted by the rule optimisation algorithm. QS_Deny* rules from this file are used to filter request lines which should not be used for allow list rule generation.
     Example:
       # manually defined allow list rule:
       QS_PermitUri +view deny "^[/a-zA-Z0-9]+/view\?(page=[0-9]+)?$"
       # filter unwanted request line patterns:
       QS_DenyRequestLine +printable deny ".*[\x00-\x19].*"

-d <num>
Depth (sub locations) of the path string which is defined as a literal string. Default is 1.
-h
Always use a string representing the handler name in the path even the url does not have a query. See also -d option.
-b <num>
Replaces url pattern by the regular expression when detecting a base64/hex encoded string. Detecting sensibility is defined by a numeric value. You should use values higher than 5 (default) or 0 to disable this function.
-p
Represents query by pcre only (no literal strings).
-s
Uses one single pcre for the whole query string.
-m
Uses one pcre for multiple query values (recommended mode).
-o
Does not care the order of query parameters.
-l <len>
Outsizes the query length by the defined length ({0,size+len}), default is 10.
-n
Disables redundant rules elimination.
-e
Exit on error.
-u 'uni'
Enables additional decoding methods. Use the same settings as you have used for the QS_Decoding directive.
-k <prefix>
Prefix used to generate rule identifiers (QSF by default).
-t
Calculates the maximal latency per request (worst case) using the generated rules.
-f <path>
Filters the input by the provided path (prefix) only processing matching lines.
-v <level>
Verbose mode. (0=silent, 1=rule source, 2=detailed). Default is 1. Don't use rules you haven't checked the request data used to generate it! Level 1 is highly recommended (as long as you don't have created the log data using your own web crawler).
 

OUTPUT

The output of qsfilter2 is written to stdout. The output contains the generated QS_PermitUri directives but also information about the source which has been used to generate these rules. It is very important to check the validity of each request line which has been used to calculate the QS_PermitUri rules. Each request line which has been used to generate a new rule is shown in the output prefixed by "ADD line <line number>:". These request lines should be stored and reused at any later rule generation (add them to the URI input file). The subsequent line shows the generated rule. At the end of data processing a list of all generated QS_PermitUri rules is shown. These directives may be used withn the configuration file used by mod_qos.  

EXAMPLE


  qsfilter2 -i loc.txt -c httpd.conf -m -e
  ...
  # ADD line 1: /aaa/index.do
  # 003 ^(/[a-zA-Z0-9\-_]+)+[/]?\.?[a-zA-Z]{0,4}$
  # ADD line 3: /aaa/view?page=1
  # --- ^[/a-zA-Z0-9]+/view\?(page=[0-9]+)?$
  # ADD line 4: /aaa/edit?document=1
  # 004 ^[/a-zA-Z]+/edit\?((document)(=[0-9]*)*[&]?)*$
  # ADD line 5: /aaa/edit?image=1.jpg
  # 005 ^[/a-zA-Z]+/edit\?((image)(=[0-9\.a-zA-Z]*)*[&]?)*$
  ...
  QS_PermitUri +QSF001 deny "^[/a-zA-Z]+/edit\?((document|image)(=[0-9\.a-zA-Z]*)*[&]?)*$"
  QS_PermitUri +QSF002 deny "^[/a-zA-Z0-9]+/view\?(page=[0-9]+)?$"
  QS_PermitUri +QSF003 deny "^(/[a-zA-Z0-9\-_]+)+[/]?\.?[a-zA-Z]{0,4}$"

 

SEE ALSO

qsdt(1), qsexec(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1), qstail(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OUTPUT
EXAMPLE
SEE ALSO
AUTHOR

mod_qos-11.74/doc/qstail.1.html0000664000000000000020000000414314431415521014547 0ustar rootbin Man page of QSTAIL

QSTAIL

Section: qstail man page (1)
Updated: May 2023
Index Return to Main Contents

 

NAME

qstail - an utility printing the end of a log file starting at the specified pattern.  

SYNOPSIS

qstail -i <path> -p <pattern>  

DESCRIPTION

qstail shows the end of a log file beginning with the line containing the specified pattern. This may be used to show all lines which has been written after a certain event (e.g., server restart) or time stamp.  

OPTIONS

-i <path>
Input file to read the data from.
-p <pattern>
Search pattern (literal string).
 

SEE ALSO

qsdt(1), qsexec(1), qsfilter2(1), qsgeo(1), qsgrep(1), qshead(1), qslog(1), qslogger(1), qspng(1), qsre(1), qsrespeed(1), qsrotate(1), qssign(1)  

AUTHOR

Pascal Buchbinder, http://mod-qos.sourceforge.net/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

mod_qos-11.74/doc/MESSAGES.txt0000664000000000000020000001575014431415521014203 0ustar rootbinmod_qos version 11.74 mod_qos(001): QS_ClientEventLimitCount directives can't be added/removed by graceful restart. A server restart is required to apply the new configuration! mod_qos(002): failed to create shared memory (ACT)(%s): %s (%lu bytes) mod_qos(002): failed to create shared memory (client control)(%s): %s (%d bytes) mod_qos(003): request level rule %s has no concurrent request limitations mod_qos(004): failed to create mutex (ACT)(%s): %s mod_qos(004): failed to create mutex (client control)(%s): %s mod_qos(006): could not compile request header filter rules: %s mod_qos(006): could not compile response header filter rules: %s mod_qos(007): calculated MaxClients/MaxRequestWorkers (max connections): %d, applied limit: %d (QS_MaxClients) mod_qos(008): could not create supervisor thread (%s), disable request rate enforcement mod_qos(009): could not retrieve mod_ssl functions mod_qos(009): failed to initialize the qslog facility '%s' mod_qos(009): found default error document '%s'. Use the QS_ErrorPage directive to override this default page. mod_qos(009): loaded MPM is '%s' but mod_qos should be used with MPM 'Worker' or 'Event' only. mod_qos(009): mod_parp not available (required by some directives) mod_qos(009): mod_unique_id not available (mod_qos generates simple request id if required) mod_qos(009): running in 'log only' mode - rules are NOT enforced! mod_qos(009): server version is %d.%d but mod_qos should be used with Apache 2.4 only. mod_qos(010): access denied%s, QS_LocRequestLimit* rule: %s(%d), concurrent requests=%d, c=%s, id=%s mod_qos(011): access denied, QS_CondLocRequestLimitMatch rule: %s(%d), concurrent requests=%d, c=%s, id=%s mod_qos(012): access denied%s, QS_EventRequestLimit rule: %s(%d), concurrent requests=%d, c=%s, id=%s mod_qos(013): access denied%s, QS_%sEventLimitCount rule: %s, max=%d, current=%d, c=%s, id=%s mod_qos(021): session cookie verification failed, decoding failed, id=%s mod_qos(023): session cookie verification failed, expired, id=%s mod_qos(025): failed to create session cookie, id=%s mod_qos(030): access denied%s, QS_SrvMaxConn rule: max=%d, concurrent connections=%d, c=%s mod_qos(031): access denied (previously), QS_SrvMaxConnPerIP rule: max=%d, concurrent connections=%d, message repeated %d times, c=%s mod_qos(031): access denied%s, QS_SrvMaxConnPerIP rule: max=%d, concurrent connections=%d, c=%s mod_qos(031): access denied%s, QS_SrvMaxConnPerIP rule: max=%d, concurrent connections=%d, message repeated %d times, c=%s mod_qos(034): %s, QS_SrvMinDataRate rule (enforce keep-alive), c=%s mod_qos(034): %s, QS_SrvMinDataRate rule (%s%s): min=%d, this connection=%d, c=%s mod_qos(035): QS_SrvMaxConn: no free IP slot available! Check log for unclean child exit and consider to do a graceful server restart if this condition persists. You might also increase the number of supported connections using the 'QS_MaxClients' directive. mod_qos(036): QS_SrvMinDataRate: unexpected connection status! connections=%d, cal. request rate=%d, max. limit=%d. Check log for unclean child exit and consider to do a graceful server restart if this condition persists. You might also increase the number of supported connections using the 'QS_MaxClients' directive. mod_qos(037): loaded MPM is 'event' and the QS_KeepAliveTimeout/QS_MaxKeepAliveRequests directives can't be used. mod_qos(038): DSCP, failed to set socket options, QS_Set_DSCP=%s, socket=%s, rc=%d, id=%s mod_qos(040): access denied, %s rule id: %s (%s), action=%s, c=%s, id=%s mod_qos(041): access denied, no permit rule match, action=%s, c=%s, id=%s mod_qos(042): drop %s header%s: '%s: %s', %s, c=%s, id=%s mod_qos(043): access denied%s, %s header: '%s: %s', %s, c=%s, id=%s mod_qos(044): access denied%s, QS_LimitRequestBody: invalid content-length header, c=%s, id=%s mod_qos(044): access denied%s, QS_LimitRequestBody: max=%ld this=%ld, c=%s, id=%s mod_qos(045): access denied, invalid request line: can't parse uri, c=%s, id=%s mod_qos(046): access denied, invalid url encoding, action=%s, c=%s, id=%s mod_qos(047): access denied, reached milestone '%d' (%s), user has already passed '%s', action=%s, c=%s, id=%s mod_qos(048): access denied, invalid JSON syntax (%s), action=%s, c=%s, id=%s mod_qos(049): redirect to %s, var=%s, action=%s, c=%s, id=%s mod_qos(050): request rate limit, rule: %s(%ld), req/sec=%ld, delay=%dms%s mod_qos(051): request rate limit, rule: %s(%ld), req/sec=%ld, delay=%dms mod_qos(060): access denied (previously), QS_ClientEventBlockCount rule: max=%d, current=%hu, message repeated %d times, c=%s mod_qos(060): access denied, QS_ClientEventBlockCount rule: max=%d, current=%hu, age=%ld, c=%s mod_qos(060): access denied, QS_ClientEventBlockCount rule: max=%d, current=%hu, message repeated %d times, c=%s mod_qos(060): access denied%s, QS_ClientEventBlockCount rule: max=%d, current=%hu, age=%ld, c=%s mod_qos(061): request rate limit, rule: QS_Event(%d), req/sec=%ld, delay=%dms%s mod_qos(062): request rate limit, rule: QS_Event(%d), req/sec=%ld, delay=%dms mod_qos(065): access denied%s, QS_ClientEventRequestLimit rule: max=%d, current=%d, c=%s, id=%s mod_qos(066): access denied%s, QS_ClientPrefer rule (penalty=%d 0x%02x): max=%d, concurrent connections=%d, c=%s mod_qos(067): access denied%s, QS_%sClientEventLimitCount rule: event=%s, max=%hu, current=%hu, age=%ld, c=%s mod_qos(068): QS_ClientSerialize exceeds limit of 5 minutes, c=%s, id=%s mod_qos(068): QS_SrvSerialize exceeds limit of %d seconds, id=%s mod_qos(069): no valid IP header found (@%s): header '%s' not available, fallback to connection's IP %s, id=%s mod_qos(069): no valid IP header found (@%s): invalid header value '%s', fallback to connection's IP %s, id=%s mod_qos(070): console, not acceptable, client data store has not been enabled, id=%s mod_qos(070): console, not acceptable, invalid ip/wrong format, id=%s mod_qos(070): console, not acceptable, missing request query (action/address), id=%s mod_qos(070): console, not acceptable, qos client control has not been activated, id=%s mod_qos(070): console, not acceptable, unknown action '%s', id=%s mod_qos(071): console, action '%s' applied to client ip entry '%s', id=%s mod_qos(071): console, add new client ip entry '%s', is=%s mod_qos(072): handler has been disabled for this host, id=%s mod_qos(080): Can't generate random data, id=%s mod_qos(083): Can't generate random data. mod_qos(100): QS_ClientGeoCountryDB has not been configured mod_qos(101): access denied%s, QS_ClientGeoCountryPriv rule: max=%d, concurrent connections=%d, c=%s country=%s mod_qos(147): access denied, reached milestone '%d' (%s), earlier than expected (right after %ld instead of %d seconds), action=%s, c=%s, id=%s mod_qos(166): unexpected connection dispatching, skipping connection counter update for QS_ClientPrefer rule, c=%s mod_qos(167): closing connection at process connection hook, c=%s mod_qos(200): { "scoreboard": { "open": %d, "waiting": %d, "read": %d, "write": %d, "keepalive": %d, "start": %d, "log": %d, "dns": %d, "closing": %d, "finishing": %d, "idle": %d }, "maxclients": { "max": %d, "busy": %d%s }%s } mod_qos(210): ENV %s %s %s mod_qos-11.74/apache2/0000775000000000000020000000000014431415521012761 5ustar rootbinmod_qos-11.74/apache2/mod_qos.c0000664000000000000020000205460314431415521014600 0ustar rootbin/* -*-mode: c; indent-tabs-mode: nil; c-basic-offset: 2; -*- */ /** * mod_qos.c: Quality of service module for Apache Web Server. * * The Apache Web Servers requires threads and processes to serve * requests. Each TCP connection to the web server occupies one * thread or process. Sometimes, a server gets too busy to serve * every request due the lack of free processes or threads. * * This module implements control mechanisms that can provide * different priority to different requests. * * mod_qos requires OpenSSL, PCRE, threading and shared memory * support. It has been designed, developed and fully * tested for Apache httpd MPM worker binaries and it is optimized * to be used in a reverse proxy. * * See http://mod-qos.sourceforge.net/ for further * details and to obtain the latest version of this module. * * Copyright (C) 2023 Pascal Buchbinder * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ /************************************************************************ * Version ***********************************************************************/ static const char revision[] = "$Id: mod_qos.c 2706 2023-05-16 19:52:59Z pbuchbinder $"; static const char g_revision[] = "11.74"; /************************************************************************ * Includes ***********************************************************************/ /* std */ #include #include #ifndef WIN32 # include # include #else # include # include # include #endif #include // for socket options #ifdef __unix__ #include #include #endif /* apache */ #include #include #include #include #include #include #define CORE_PRIVATE #include #include #include #include #include #include #include #include #include /* apr / scrlib */ #include #include #include #include #include #ifdef AP_NEED_SET_MUTEX_PERMS #include #endif /* mod_qos requires OpenSSL */ #include #include #include /* additional modules */ #include "mod_status.h" /* Preprocessor Definitions * this (optional header file allowing other modules to register to our hoos: */ #ifdef QS_MOD_EXT_HOOKS #include "mod_qos.h" #endif /************************************************************************ * defines ***********************************************************************/ #define QOS_LOG_PFX(id) "mod_qos("#id"): " #define QOS_LOGD_PFX "mod_qos(): " #define QOS_LOG_MSGCT 200 #define QOS_HASH_LEN 16 #define QOS_MAX_AGE "3600" #define QOS_COOKIE_NAME "MODQOS" #define QOS_USER_TRACKING "mod_qos_user_id" #define QOS_USER_TRACKING_NEW "QOS_USER_ID_NEW" #define QOS_USER_TRACKING_RENEW "QOS_USER_ID_RENEW" #define QOS_DISABLE_UTC_ENFORCEMENT "DISABLE_UTC_ENFORCEMENT" #define QOS_MILESTONE "mod_qos_milestone" #define QOS_MILESTONE_TIMEOUT 3600 #define QOS_MILESTONE_COOKIE "QSSCD" #define QS_SIM_IP_LEN 100 #define QS_USR_SPE "mod_qos::user" #define QS_REC_COOKIE "mod_qos::gc" #define QS_R010_ALREADY_BLOCKED "R010B" #define QS_R012_ALREADY_BLOCKED "R012B" #define QS_R013_ALREADY_BLOCKED "R013B" #define QS_PKT_RATE_TH 3 #define QS_BW_SAMPLING_RATE 10 // split linear QS_SrvMaxConnPerIP* entry (conn->conn_ip) search: #ifndef QS_MEM_SEG #define QS_MEM_SEG 4 #endif // buffer if srv opens new connections faster than it closes existing ones #define QS_DOUBLE_CONN_H 128 #define QS_DOUBLE_CONN 32 #define QS_CONN_ABORT "mod_qos_connection_aborted" /* Preprocessor Definitions * QSLOG_CLID, QSLOG_EVENT, QSLOG_AVERAGE define parameters for QSLog: */ #ifndef QSLOG_CLID #define QSLOG_CLID "mod_qos_user_id" #endif #ifndef QSLOG_EVENT #define QSLOG_EVENT "Event" #endif #ifndef QSLOG_AVERAGE #define QSLOG_AVERAGE "QS_AllConn" #endif /* Preprocessor Definitions * logs repeating messages only once: */ #ifndef QS_LOG_REPEAT #define QS_LOG_REPEAT 20 #endif #define QS_IP4IN6 "::ffff:" #define QS_PARP_Q "qos-parp-query" #define QS_PARP_QUERY "qos-query" #define QS_PARP_PATH "qos-path" #define QS_PARP_LOC "qos-loc" #define QSLOGFORMAT "ISBiDUkEQaC" #define QS_SET_DSCP "QS_Set_DSCP" #define QS_RESDELYATIME "QS_ResponseDelayTime" #define QS_CONNID "QS_ConnectionId" #define QS_COUNTRY "QS_Country" #define QS_SERIALIZE "QS_Serialize" #define QS_SRVSERIALIZE "QS_SrvSerialize" #define QS_ErrorNotes "QS_ErrorNotes" #define QS_BLOCK "QS_Block" #define QS_BLOCK_SEEN "QS_Block_seen" #define QS_BLOCK_DEC "QS_Block_Decrement" #define QS_LIMIT_NAME_PFX "QS_Limit_VAR_NAME_IDX" #define QS_LIMIT_DEFAULT "QS_Limit" #define QS_LIMIT_SEEN "QS_Limit_seen" #define QS_COUNTER_SUFFIX "_Counter" #define QS_LIMIT_CLEAR "_Clear" #define QS_LIMIT_DEC "_Decrement" #define QS_LIMIT_REMAINING "_Remaining" #define QS_EVENT "QS_Event" #define QS_COND "QS_Cond" #define QS_ISVIPREQ "QS_IsVipRequest" #define QS_VipRequest "QS_VipRequest" #define QS_KEEPALIVE "QS_KeepAliveTimeout" #define QS_MAXKEEPALIVEREQ "QS_MaxKeepAliveRequests" #define QS_TIMEOUT "QS_Timeout" #define QS_CLOSE "QS_SrvMinDataRate" #define QS_MAXIP "QS_SrvMaxConnPerIP" #define QS_EMPTY_CON "NullConnection" #define QS_BROKEN_CON "BrokenConnection" #define QS_RuleId "QS_RuleId" // enable connection counter if one of the following feature is used #define QS_COUNT_CONNECTIONS(sconf) (sconf->max_conn != -1) || \ (sconf->min_rate_max != -1) || \ (sconf->max_conn_close != -1) || \ (sconf->max_conn_per_ip_connections != 1) || \ sconf->geodb // "3758096128","3758096383","AU" #define QS_GEO_PATTERN "\"([0-9]+)\",\"([0-9]+)\",\"([A-Z0-9]{2}|-)\"" static const char *m_env_variables[] = { QS_ErrorNotes, QS_SERIALIZE, QS_SRVSERIALIZE, QS_BLOCK, QS_BLOCK_SEEN, QS_BLOCK_DEC, QS_LIMIT_DEFAULT, QS_LIMIT_SEEN, QS_EVENT, QS_COND, QS_ISVIPREQ, QS_VipRequest, QS_KEEPALIVE, QS_MAXKEEPALIVEREQ, QS_CLOSE, QS_EMPTY_CON, QS_BROKEN_CON, QS_RuleId, NULL }; static const char *m_note_variables[] = { QS_PARP_PATH, QS_PARP_QUERY, NULL }; #define QS_INCTX_ID inctx->id /* Preprocessor Definitions This is the measure rate for QS_SrvRequestRate/QS_SrvMinDataRate which may be increased to 10 or 30 seconds in order to compensate bandwidth variations. You may also use the QS_SrvSampleRate directive to override this default. Set it greater than the Apache Timeout directive to prevent from closing unused speculative TCP pre-connections. */ #ifndef QS_REQ_RATE_TM #define QS_REQ_RATE_TM 5 #endif #define QS_MAX_DELAY 5000000 #define QOS_DEC_MODE_FLAGS_URL 0x00 #define QOS_DEC_MODE_FLAGS_HTML 0x01 #define QOS_DEC_MODE_FLAGS_UNI 0x02 #define QOS_DEC_MODE_FLAGS_ANSI 0x04 #define QOS_LOW_FLAG_PKGRATE 0x01 #define QOS_LOW_FLAG_BEHAVIOR_OK 0x02 #define QOS_LOW_FLAG_BEHAVIOR_BAD 0x04 #define QOS_LOW_FLAG_EVENTBLOCK 0x08 #define QOS_LOW_FLAG_EVENTLIMIT 0x10 #define QOS_LOW_FLAG_TIMEOUT 0x20 #define QOS_LOW_TIMEOUT 86400 #define QOS_CC_BEHAVIOR_THR 50000 #define QOS_CC_BEHAVIOR_THR_SINGLE 50 #ifdef QS_INTERNAL_TEST #undef QOS_CC_BEHAVIOR_THR #undef QOS_CC_BEHAVIOR_THR_SINGLE #define QOS_CC_BEHAVIOR_THR 50 #define QOS_CC_BEHAVIOR_THR_SINGLE 20 #endif #define QOS_CC_BEHAVIOR_TOLERANCE_STR "20" /* Apache 2.2 testing needs patch in util_pcre.c line 134 as it does not know AP_REG_DOTALL * Add: * if ((cflags & 0x40) != 0) options |= 0x04; */ #ifndef AP_REG_DOTALL #define AP_REG_DOTALL 0x40 #endif #define QS_ERR_TIME_FORMAT "%a %b %d %H:%M:%S %Y" #define QSMOD 4 #define QOS_DELIM ";" // Apache 2.4 compat #if (AP_SERVER_MINORVERSION_NUMBER == 4) #define QS_APACHE_24 1 #if (AP_SERVER_PATCHLEVEL_NUMBER > 17) #define QS_CONN_REMOTEIP(c) c->master ? c->master->client_ip : c->client_ip #define QS_CONN_REMOTEADDR(c) c->master ? c->master->client_addr : c->client_addr #define QS_CONN_MASTER(c) (c->master ? c->master : c) #else #define QS_CONN_REMOTEIP(c) c->client_ip #define QS_CONN_REMOTEADDR(c) c->client_addr #define QS_CONN_MASTER(c) (c) #endif #define QOS_MY_GENERATION(g) ap_mpm_query(AP_MPMQ_GENERATION, &g) #define qos_unixd_set_global_mutex_perms ap_unixd_set_global_mutex_perms #define QS_ISDEBUG(s) APLOG_IS_LEVEL(s, APLOG_DEBUG) #else #define QS_CONN_REMOTEIP(c) c->remote_ip #define QS_CONN_REMOTEADDR(c) c->remote_addr #define QS_CONN_MASTER(c) (c) #define QOS_MY_GENERATION(g) g = ap_my_generation #define qos_unixd_set_global_mutex_perms unixd_set_global_mutex_perms #define QS_ISDEBUG(s) s->loglevel >= APLOG_DEBUG #endif #ifdef QS_MOD_EXT_HOOKS APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(qos, QOS, apr_status_t, path_decode_hook, (request_rec *r, char **path, int *len), (r, path, len), OK, DECLINED) APR_IMPLEMENT_OPTIONAL_HOOK_RUN_ALL(qos, QOS, apr_status_t, query_decode_hook, (request_rec *r, char **query, int *len), (r, query, len), OK, DECLINED) #endif /************************************************************************ * structures ***********************************************************************/ typedef struct { const char *name; /* variable name */ ap_regex_t *preg; const char *url; /* redirect url */ int code; } qos_redirectif_entry_t; typedef struct { unsigned long start; unsigned long end; char country[3]; } qos_geo_entry_t; typedef struct { qos_geo_entry_t *data; // fist element int size; // number of elements const char *path; } qos_geo_t; typedef struct { const char *url; const char *path; } qos_errelt_t; static const qos_errelt_t m_error_pages[] = { { "/errorpages/server_error.html", "work/errorpages/server_error.html" }, { "/errorpages/forbidden.html", "work/errorpages/forbidden.html" }, { "/errorpages/500.html", "work/errorpages/500.html" }, { "/errorpages/error.html", "work/errorpages/error.html" }, { "/errorpages/error500.html", "work/errorpages/error500.html" }, { "/errorpages/gateway_error.html", "work/errorpages/gateway_error.html" }, { NULL, NULL } }; typedef struct { int id; const char *name; } qos_dscp_t; static const qos_dscp_t m_dscp_desc[] = { { 0, "none" }, { 8, "class selector 1" }, { 10, "assured forwarding 11" }, { 12, "assured forwarding 12" }, { 14, "assured forwarding 13" }, { 16, "class selector 2" }, { 18, "assured forwarding 21" }, { 20, "assured forwarding 22" }, { 22, "assured forwarding 23" }, { 24, "class selector 3" }, { 26, "assured forwarding 31" }, { 28, "assured forwarding 32" }, { 30, "assured forwarding 33" }, { 32, "class selector 4" }, { 34, "assured forwarding 41" }, { 36, "assured forwarding 42" }, { 38, "assured forwarding 43" }, { 40, "class selector 5" }, { 44, "voice admit" }, { 46, "expedited forwarding" }, { 48, "class selector 6" }, { 56, "class selector 7" }, { -1, "unknown" } }; typedef struct { unsigned short int limit; time_t limitTime; } qos_s_entry_limit_t; typedef struct { unsigned short int limit; time_t limitTime; const char *eventClearStr; // name of the var clearing the counter const char *eventDecStr; // name of the var decrementing the counter const char *condStr; ap_regex_t *preg; } qos_s_entry_limit_conf_t; typedef struct { apr_uint64_t ip6[2]; time_t lowrate; unsigned int lowratestatus; /* behavior */ unsigned int html; unsigned int cssjs; unsigned int img; unsigned int other; unsigned int notmodified; unsigned int events; /* serialization flag */ unsigned int serialize; apr_time_t serializeQueue; /* prefer */ short int vip; /* ev block */ unsigned short int block; short int blockMsg; time_t time; time_t blockTime; qos_s_entry_limit_t *limit; /* ev/sec */ time_t interval; long req; long req_per_sec; int req_per_sec_block_rate; int event_req; } qos_s_entry_t; typedef struct { time_t t; /* index */ qos_s_entry_t **ipd; qos_s_entry_t **timed; /* shm */ apr_shm_t *m; char *lock_file; apr_global_mutex_t *lock; /* size */ int num; int max; int msize; /* limit table settings */ apr_table_t *limitTable; /* av. behavior */ unsigned long long html; unsigned long long cssjs; unsigned long long img; unsigned long long other; unsigned long long notmodified; /* data */ int connections; /* remember for which clients this rec has created (shared mem) */ int generation_locked; // indicates the the counters have been cleared for this generation /* log counter */ unsigned long long eventTotal[QOS_LOG_MSGCT]; // total number of events since initial start unsigned long long eventLast[QOS_LOG_MSGCT]; // number of events since last read } qos_s_t; typedef enum { QS_IP_V6_DEFAULT = 0, QS_IP_V6, QS_IP_V4 } qs_ip_type_e; typedef enum { QS_CONN_STATE_NEW = 0, QS_CONN_STATE_HEAD, QS_CONN_STATE_BODY, QS_CONN_STATE_CHUNKED, QS_CONN_STATE_KEEP, QS_CONN_STATE_RESPONSE, QS_CONN_STATE_END, QS_CONN_STATE_DESTROY } qs_conn_state_e; typedef enum { QS_HEADERFILTER_OFF_DEFAULT = 0, QS_HEADERFILTER_OFF, QS_HEADERFILTER_ON, QS_HEADERFILTER_SIZE_ONLY, QS_HEADERFILTER_SILENT } qs_headerfilter_mode_e; typedef enum { QS_FLT_ACTION_DROP, QS_FLT_ACTION_DENY } qs_flt_action_e; typedef enum { QS_EVENT_ACTION_DENY = 0 } qs_event_action_e; typedef enum { QS_DENY_REQUEST_LINE, QS_DENY_PATH, QS_DENY_QUERY, QS_DENY_EVENT, QS_PERMIT_URI } qs_rfilter_type_e; typedef enum { QS_LOG = 0, QS_DENY, QS_OFF_DEFAULT, QS_OFF } qs_rfilter_action_e; enum qos_cmp { QS_CMP_EQ, QS_CMP_NE, QS_CMP_GT, QS_CMP_LT }; typedef struct { enum qos_cmp cmp; const char *left; const char *right; const char *variable; const char *value; } qos_cmp_entry_t; typedef struct { char *variable1; char *variable2; ap_regex_t *preg; char *name; char *value; } qos_setenvif_t; typedef struct { ap_regex_t *preg; char *name; char *value; } qos_setenvifquery_t; typedef struct { ap_regex_t *pregx; char *name; char *value; } qos_setenvifparpbody_t; /** * generic request filter */ typedef struct { ap_regex_t *preg; char *text; char *id; qs_rfilter_type_e type; qs_rfilter_action_e action; } qos_rfilter_t; /** * list of in_filter ctx */ typedef struct { apr_table_t *table; #if APR_HAS_THREADS apr_thread_mutex_t *lock; apr_thread_t *thread; #endif int exit; } qos_ifctx_list_t; /** * ip entry */ typedef struct qs_ip_entry_st { apr_uint64_t ip6[2]; int counter; int error; } qs_ip_entry_t; typedef struct { qs_ip_entry_t *conn_ip; int conn_ip_len; int connections; int max_client; } qs_conn_t; typedef struct { apr_time_t q1; // first request in queue apr_time_t q2; // second request in queue int locked; } qs_serial_t; /** * session cookie */ typedef struct { time_t time; } qos_session_t; /** * cfg/act entry for event limitation */ typedef struct { const char *env_var;// configured environment variable name const char *eventDecStr; int max; // configured max. num int seconds; // configured duration int limit; // event counter time_t limitTime; // timer qs_event_action_e action; const char *condStr; ap_regex_t *preg; } qos_event_limit_entry_t; /** * access control table entry */ typedef struct qs_acentry_st { int id; /** pointer to lock of the actable */ apr_global_mutex_t *lock; /** location rules */ char *url; int url_len; char *event; ap_regex_t *regex; ap_regex_t *regex_var; ap_regex_t *condition; int counter; int limit; /* measurement */ apr_time_t interval; long req; long req_per_sec; long req_per_sec_limit; int req_per_sec_block_rate; long bytes; // transferred bytes apr_time_t kbytes_interval_us; // elapsed time apr_off_t kbytes_per_sec; // actual kbytes/sec (measured) apr_off_t kbytes_per_sec_limit; // configured limitation apr_off_t kbytes_per_sec_block_rate; // current wait time struct qs_acentry_st *next; } qs_acentry_t; /** * access control table (act) */ typedef struct qs_actable_st { apr_size_t size; apr_shm_t *m; apr_pool_t *pool; /** process pool is used to create user space data */ apr_pool_t *ppool; /** rule entry list */ qs_acentry_t *entry; /* shm pointer */ int has_events; /** event limit list */ qos_event_limit_entry_t *event_entry; /** mutex */ char *lock_file; apr_global_mutex_t *lock; /** ip/conn data */ qs_conn_t *conn; /* shm pointer */ unsigned int timeout; /* settings */ int child_init; /* serialize */ qs_serial_t *serialize; /* shm pointer */ time_t *qsstatustimer; /* shm pointer */ } qs_actable_t; /** * network table (total connections, vip connections, first update, last update) */ typedef struct qs_netstat_st { // int counter; int vip; // time_t first; // time_t last; } qs_netstat_t; /** * user space */ typedef struct { int server_start; apr_table_t *act_table; /* client control */ qos_s_t *qos_cc; } qos_user_t; /** * directory config */ typedef struct { char *path; apr_table_t *rfilter_table; int inheritoff; qs_headerfilter_mode_e headerfilter; qs_headerfilter_mode_e resheaderfilter; int bodyfilter_d; int bodyfilter_p; int dec_mode; apr_off_t maxpost; qs_rfilter_action_e urldecoding; const char *response_pattern; int response_pattern_len; const char *response_pattern_var; apr_array_header_t *redirectif; int decodings; apr_table_t *disable_reqrate_events; apr_table_t *setenvstatus_t; apr_array_header_t *setenvif_t; apr_table_t *setenvifquery_t; apr_array_header_t* setenvcmp; } qos_dir_config; /** * server configuration */ typedef struct { apr_pool_t *pool; int is_virtual; server_rec *base_server; char *mfile; qs_actable_t *act; const char *error_page; apr_table_t *location_t; apr_table_t *setenv_t; apr_table_t *setreqheader_t; apr_table_t *setreqheaderlate_t; apr_table_t *unsetresheader_t; apr_table_t *unsetreqheader_t; apr_array_header_t *setenvif_t; apr_table_t *setenvifquery_t; apr_table_t *setenvifparp_t; apr_table_t *setenvifparpbody_t; apr_table_t *setenvstatus_t; apr_table_t *setenvresheader_t; apr_table_t *setenvresheadermatch_t; apr_table_t *setenvres_t; qs_headerfilter_mode_e headerfilter; qs_headerfilter_mode_e resheaderfilter; apr_array_header_t *redirectif; char *cookie_name; char *cookie_path; char *user_tracking_cookie; char *user_tracking_cookie_force; int user_tracking_cookie_session; int user_tracking_cookie_jsredirect; char *user_tracking_cookie_domain; int max_age; unsigned char key[EVP_MAX_KEY_LENGTH]; const unsigned char *rawKey; int rawKeyLen; int keyset; char *header_name; int header_name_drop; ap_regex_t *header_name_regex; apr_table_t *disable_reqrate_events; char *ip_header_name; int ip_header_name_drop; ap_regex_t *ip_header_name_regex; int vip_user; int vip_ip_user; int has_conn_counter; int max_conn; int max_conn_close; int max_conn_close_percent; int max_conn_per_ip; int max_conn_per_ip_connections; int max_conn_per_ip_ignore_vip; int serialize; int serializeTMO; apr_table_t *exclude_ip; qos_ifctx_list_t *inctx_t; apr_table_t *hfilter_table; /* GLOBAL ONLY */ apr_table_t *reshfilter_table; /* GLOBAL ONLY */ /* event rule (enables rule validation) */ int has_event_filter; int has_event_limit; apr_array_header_t *event_limit_a; /* min data rate */ int req_rate; /* GLOBAL ONLY */ int req_rate_start; /* GLOBAL ONLY */ int min_rate; /* GLOBAL ONLY */ int min_rate_max; /* GLOBAL ONLY */ int min_rate_off; int req_ignore_vip_rate; /* GLOBAL ONLY */ int max_clients; int max_clients_conf; #ifdef QS_INTERNAL_TEST apr_table_t *testip; int enable_testip; #endif int disable_handler; int log_only; /* GLOBAL ONLY */ int log_env; /* client control */ int has_qos_cc; /* GLOBAL ONLY */ int qos_cc_size; /* GLOBAL ONLY */ int qos_cc_prefer; /* GLOBAL ONLY */ apr_table_t *cc_exclude_ip; /* GLOBAL ONLY */ int qos_cc_prefer_limit; int qos_cc_event; /* GLOBAL ONLY */ int qos_cc_event_req; /* GLOBAL ONLY */ int qos_cc_block; /* GLOBAL ONLY */ int qos_cc_blockTime; /* GLOBAL ONLY */ apr_table_t *qos_cc_limitTable; /* GLOBAL ONLY */ char *qos_cc_forwardedfor; /* GLOBAL ONLY */ int qos_cc_serialize; /* GLOBAL ONLY */ apr_off_t maxpost; int cc_tolerance; /* GLOBAL ONLY */ int cc_tolerance_max; /* GLOBAL ONLY */ int cc_tolerance_min; /* GLOBAL ONLY */ int qs_req_rate_tm; /* GLOBAL ONLY */ qos_geo_t *geodb; /* GLOBAL ONLY */ int geo_limit; /* GLOBAL ONLY */ apr_table_t *geo_priv; /* GLOBAL ONLY */ int geo_excludeUnknown; /* GLOBAL ONLY */ qs_ip_type_e ip_type; /* GLOBAL ONLY */ int qsstatus; /* GLOBAL ONLY */ int qsevents; /* GLOBAL ONLY */ apr_array_header_t *milestones; time_t milestoneTimeout; /* predefined client behavior */ int static_on; unsigned long long static_html; unsigned long long static_cssjs; unsigned long long static_img; unsigned long long static_other; unsigned long long static_notmodified; apr_file_t *qslog_p; /* GLOBAL ONLY */ const char *qslog_str; /* GLOBAL ONLY */ } qos_srv_config; #if APR_HAS_THREADS typedef struct { apr_thread_t *thread; int exit; int maxclients; time_t *qsstatustimer; /* shm in act */ apr_global_mutex_t *lock; /* lock of act */ apr_pool_t *pool; qos_srv_config *sconf; } qsstatus_t; #endif /** * in_filter ctx */ typedef struct { apr_socket_t *clientSocket; qs_conn_state_e status; apr_off_t cl_val; conn_rec *c; request_rec *r; /* upload bandwidth (received bytes and start time) */ time_t time; apr_size_t nbytes; // measuring the bytes/sec int hasBytes; int shutdown; int errors; int disabled; int lowrate; char *id; qos_srv_config *sconf; } qos_ifctx_t; /** * connection configuration */ typedef struct { apr_uint64_t ip6[2]; conn_rec *mc; // master (real) connection char *evmsg; qos_srv_config *sconf; int is_vip; /* is vip, either by request or by session or by ip */ int set_vip_by_header; /* received vip header from application/or auth. user (propagate to IP store)*/ int has_lowrate; qs_conn_t *conn; } qs_conn_ctx; typedef struct { qs_conn_ctx *cconf; conn_rec *c; qos_srv_config *sconf; int requests; // number of requests processed (received) by this connection apr_socket_t *clientSocket; } qs_conn_base_ctx; /** * request configuration */ typedef struct { qs_acentry_t *entry; qs_acentry_t *entry_cond; apr_table_t *event_entries; char *evmsg; int is_vip; apr_off_t maxpostcount; int cc_event_req_set; apr_uint64_t cc_event_ip[2]; int cc_serialize_set; apr_uint64_t cc_serialize_ip[2]; int srv_serialize_set; char *body_window; apr_off_t response_delayed; // indicates, if the response has been delayed (T) } qs_req_ctx; /** * Delay filter context */ typedef struct { qs_acentry_t *entry; qs_req_ctx *rctx; } qos_delay_ctx_t; /** * rule set */ typedef struct { char *url; char *event; int limit; ap_regex_t *regex; ap_regex_t *regex_var; ap_regex_t *condition; long req_per_sec_limit; apr_off_t kbytes_per_sec_limit; } qs_rule_ctx_t; typedef struct { const char* name; const char* pattern; qs_flt_action_e action; int size; } qos_her_t; typedef struct { ap_regex_t *preg; char *name; char *value; } qos_pregval_t; typedef struct { int num; int thinktime; const char* pattern; ap_regex_t *preg; qs_rfilter_action_e action; } qos_milestone_t; typedef struct { char *text; ap_regex_t *preg; qs_flt_action_e action; int size; } qos_fhlt_r_t; typedef struct { apr_time_t request_time; unsigned int in_addr; unsigned int conn; #if APR_HAS_THREADS apr_os_thread_t tid; #endif unsigned int unique_id_counter; } qos_unique_id_t; /************************************************************************ * Globals ***********************************************************************/ module AP_MODULE_DECLARE_DATA qos_module; static int m_forced_close = 1; static int m_retcode = HTTP_INTERNAL_SERVER_ERROR; static int m_threaded_mpm = 1; // note: mod_qos is fully tested for Apache 2.2 worker MPM only static int m_event_mpm = 0; static double m_event_mpm_worker_factor = 2; static unsigned int m_hostcode = 0; static int m_generation = 0; // parent process (restart generation) static int m_qos_cc_partition = QSMOD; static qos_unique_id_t m_unique_id; static const char qos_basis_64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-"; #ifdef QS_INTERNAL_TEST static int m_qs_sim_ip_len = QS_SIM_IP_LEN; #endif #ifdef QS_APACHE_24 APLOG_USE_MODULE(qos); #endif /* mod_parp, forward and optional function */ static apr_status_t qos_cleanup_conn(void *p); static apr_status_t qos_base_cleanup_conn(void *p); static qs_ip_type_e m_ip_type = QS_IP_V6_DEFAULT; APR_DECLARE_OPTIONAL_FN(apr_table_t *, parp_hp_table, (request_rec *)); APR_DECLARE_OPTIONAL_FN(char *, parp_body_data, (request_rec *, apr_size_t *)); static APR_OPTIONAL_FN_TYPE(parp_hp_table) *qos_parp_hp_table_fn = NULL; static APR_OPTIONAL_FN_TYPE(parp_body_data) *qos_parp_body_data_fn = NULL; static int m_requires_parp = 0; static int m_enable_audit = 0; /* mod_ssl, forward and optional function */ APR_DECLARE_OPTIONAL_FN(int, ssl_is_https, (conn_rec *)); static APR_OPTIONAL_FN_TYPE(ssl_is_https) *qos_is_https = NULL; APR_DECLARE_OPTIONAL_FN(char *, ssl_var_lookup, (apr_pool_t *, server_rec *, conn_rec *, request_rec *, char *)); static APR_OPTIONAL_FN_TYPE(ssl_var_lookup) *qos_ssl_var = NULL; static void qs_inc_eventcounter(apr_pool_t *ppool, int event, int locked); #define QS_INC_EVENT(sconf, event) if(sconf->qsevents) qs_inc_eventcounter(sconf->act->ppool, event, 0) #define QS_INC_EVENT_LOCKED(sconf, event) if(sconf->qsevents) qs_inc_eventcounter(sconf->act->ppool, event, 1) static int m_knownEvents[] = { 10, 11, 12, 13, 21, 23, 25, 30, 31, 34, 35, 36, 37, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 60, 61, 62, 65, 66, 67, 68, 69, 101, 147, 0 }; /* simple header rules allowing "the usual" header formats only (even drop requests using extensions which are used rarely) */ /* reserved (to be escaped): {}[]()^$.|*+?\ */ static const qos_her_t qs_header_rules[] = { #define QS_URL_UNRESERVED "a-zA-Z0-9._~% -" #define QS_URL_GEN ":/?#\\[\\]@" #define QS_URL_SUB "!$&'()*+,;=" #define QS_URL "["QS_URL_GEN""QS_URL_SUB""QS_URL_UNRESERVED"]" #define QS_2616TOKEN "[\\x21\\x23-\\x27\\x2a-\\x2e0-9A-Z\\x5-\\x60a-z\\x7e]+" #define QS_B64_SP "[a-zA-Z0-9 +/$=:]" #define QS_PIPE "\\|" #define QS_WEAK "(W/)?" #define QS_H_ACCEPT "[a-zA-Z0-9_*+-]+/[a-zA-Z0-9_*+.-]+(;[ ]?[a-zA-Z0-9]+=[0-9]+)?[ ]?(;[ ]?[qv]=[a-z0-9.]+)?" #define QS_H_ACCEPT_C "[a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?" #define QS_H_ACCEPT_E "[a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?" #define QS_H_ACCEPT_L "[a-zA-Z*-]+[0-9]{0,3}(;[ ]?q=[0-9.]+)?" #define QS_H_CACHE "no-cache|no-store|max-age=[0-9]+|max-stale(=[0-9]+)?|min-fresh=[0-9]+|no-transform|only-if-chached" #define QS_H_CONTENT "[\"a-zA-Z0-9*/; =-]+" #define QS_H_COOKIE "["QS_URL_GEN""QS_URL_SUB"\""QS_URL_UNRESERVED"]" #define QS_H_EXPECT "[a-zA-Z0-9= ;.,-]" #define QS_H_PRAGMA "[a-zA-Z0-9= ;.,-]" #define QS_H_FROM "[a-zA-Z0-9=@;.,()-]" #define QS_H_HOST "[a-zA-Z0-9.-]+(:[0-9]+)?" #define QS_H_IFMATCH "[a-zA-Z0-9=@;.,*\"-]" #define QS_H_DATE "[a-zA-Z0-9 :,]" #define QS_H_TE "[a-zA-Z0-9*-]+(;[ ]?q=[0-9.]+)?" { "Accept", "^("QS_H_ACCEPT"){1}([ ]?,[ ]?("QS_H_ACCEPT"))*$", QS_FLT_ACTION_DROP, 300 }, { "Accept-Charset", "^("QS_H_ACCEPT_C"){1}([ ]?,[ ]?("QS_H_ACCEPT_C"))*$", QS_FLT_ACTION_DROP, 300 }, { "Accept-Encoding", "^("QS_H_ACCEPT_E"){1}([ ]?,[ ]?("QS_H_ACCEPT_E"))*$", QS_FLT_ACTION_DROP, 500 }, { "Accept-Language", "^("QS_H_ACCEPT_L"){1}([ ]?,[ ]?("QS_H_ACCEPT_L"))*$", QS_FLT_ACTION_DROP, 200 }, { "Access-Control-Request-Method", "^[a-zA-Z]+$", QS_FLT_ACTION_DROP, 10 }, { "Access-Control-Request-Headers", "^([a-zA-Z0-9-]+){1}([ ]?,[ ]?([a-zA-Z0-9-]+))*$", QS_FLT_ACTION_DROP, 500 }, { "Authorization", "^"QS_B64_SP"+$", QS_FLT_ACTION_DROP, 4000 }, { "Cache-Control", "^("QS_H_CACHE"){1}([ ]?,[ ]?("QS_H_CACHE"))*$", QS_FLT_ACTION_DROP, 100 }, { "Connection", "^([teTE]+,[ ]?)?([a-zA-Z0-9-]+){1}([ ]?,[ ]?([teTE]+))?$", QS_FLT_ACTION_DROP, 100 }, { "Content-Encoding", "^[a-zA-Z0-9-]+(,[ ]*[a-zA-Z0-9-]+)*$", QS_FLT_ACTION_DENY, 100 }, { "Content-Language", "^([0-9a-zA-Z]{0,8}(-[0-9a-zA-Z]{0,8})*)(,[ ]*([0-9a-zA-Z]{0,8}(-[0-9a-zA-Z]{0,8})*))*$", QS_FLT_ACTION_DROP, 100 }, { "Content-Length", "^[0-9]+$", QS_FLT_ACTION_DENY, 10 }, { "Content-Location", "^"QS_URL"+$", QS_FLT_ACTION_DENY, 200 }, { "Content-md5", "^"QS_B64_SP"+$", QS_FLT_ACTION_DENY, 50 }, { "Content-Range", "^(bytes[ ]+([0-9]+-[0-9]+)/([0-9]+|\\*))$", QS_FLT_ACTION_DENY, 50 }, { "Content-Type", "^("QS_H_CONTENT"){1}([ ]?,[ ]?("QS_H_CONTENT"))*$", QS_FLT_ACTION_DENY, 200 }, { "Cookie", "^"QS_H_COOKIE"+$", QS_FLT_ACTION_DROP, 3000 }, { "Cookie2", "^"QS_H_COOKIE"+$", QS_FLT_ACTION_DROP, 3000 }, { "DNT", "^[0-9]+$", QS_FLT_ACTION_DROP, 3 }, { "Expect", "^"QS_H_EXPECT"+$", QS_FLT_ACTION_DROP, 200 }, { "From", "^"QS_H_FROM"+$", QS_FLT_ACTION_DROP, 100 }, { "Host", "^"QS_H_HOST"$", QS_FLT_ACTION_DROP, 100 }, { "If-Invalid", "^[a-zA-Z0-9_.:;() /+!-]+$", QS_FLT_ACTION_DROP, 500 }, { "If-Match", "^"QS_WEAK""QS_H_IFMATCH"+$", QS_FLT_ACTION_DROP, 100 }, { "If-Modified-Since", "^"QS_H_DATE"+$", QS_FLT_ACTION_DROP, 100 }, { "If-None-Match", "^"QS_WEAK""QS_H_IFMATCH"+$", QS_FLT_ACTION_DROP, 100 }, { "If-Range", "^"QS_H_IFMATCH"+$", QS_FLT_ACTION_DROP, 100 }, { "If-Unmodified-Since", "^"QS_H_DATE"+$", QS_FLT_ACTION_DROP, 100 }, { "If-Valid", "^[a-zA-Z0-9_.:;() /+!-]+$", QS_FLT_ACTION_DROP, 500 }, { "Keep-Alive", "^[0-9]+$", QS_FLT_ACTION_DROP, 20 }, { "Max-Forwards", "^[0-9]+$", QS_FLT_ACTION_DROP, 20 }, { "Origin", "^"QS_URL"+$", QS_FLT_ACTION_DROP, 2000 }, { "Proxy-Authorization", "^"QS_B64_SP"+$", QS_FLT_ACTION_DROP, 400 }, { "Pragma", "^"QS_H_PRAGMA"+$", QS_FLT_ACTION_DROP, 200 }, { "Range", "^[a-zA-Z0-9=_.:;() /+!-]+$", QS_FLT_ACTION_DROP, 200 }, { "Referer", "^"QS_URL"+$", QS_FLT_ACTION_DROP, 2000 }, { "TE", "^("QS_H_TE"){1}([ ]?,[ ]?("QS_H_TE"))*$", QS_FLT_ACTION_DROP, 100 }, { "Transfer-Encoding", "^(chunked|Chunked|compress|Compress|deflate|Deflate|gzip|Gzip|identity|Identity)([ ]?,[ ]?(chunked|Chunked|compress|Compress|deflate|Deflate|gzip|Gzip|identity|Identity))*$", QS_FLT_ACTION_DENY, 100 }, { "Unless-Modified-Since", "^"QS_H_DATE"+$", QS_FLT_ACTION_DROP, 100 }, { "User-Agent", "^[a-zA-Z0-9]+[a-zA-Z0-9_.:;()\\[\\]@ /+!=,-]+$", QS_FLT_ACTION_DROP, 300 }, { "Upgrade-Insecure-Requests", "^1$", QS_FLT_ACTION_DROP, 1 }, { "Via", "^[a-zA-Z0-9_.:;() /+!-]+$", QS_FLT_ACTION_DROP, 100 }, { "X-Forwarded-For", "^[a-zA-Z0-9_.:-]+(, [a-zA-Z0-9_.:-]+)*$", QS_FLT_ACTION_DROP, 100 }, { "X-Forwarded-Host", "^[a-zA-Z0-9_.:-]+$", QS_FLT_ACTION_DROP, 100 }, { "X-Forwarded-Server", "^[a-zA-Z0-9_.:-]+$", QS_FLT_ACTION_DROP, 100 }, { "X-lori-time-1", "^[0-9]+$", QS_FLT_ACTION_DROP, 20 }, { "X-Do-Not-Track", "^[0-9]+$", QS_FLT_ACTION_DROP, 20 }, { NULL, NULL, 0, 0 } }; /* list of allowed standard response headers */ static const qos_her_t qs_res_header_rules[] = { { "Age", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Accept-Ranges", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Access-Control-Allow-Origin", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Access-Control-Allow-Methods", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Access-Control-Allow-Headers", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Access-Control-Max-Age", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Access-Control-Allow-Credentials", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Access-Control-Expose-Headers", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Allow", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Cache-Control", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-Disposition", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-Encoding", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-Language", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-Length", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-Location", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-MD5", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-Range", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Content-Security-Policy", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 8000 }, { "Content-Type", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Connection", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Date", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "ETag", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Expect", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Expires", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Keep-Alive", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Last-Modified", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Location", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Proxy-Authenticate", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Public-Key-Pins", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Public-Key-Pins-Report-Only", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Retry-After", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Pragma", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Server", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Set-Cookie", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Set-Cookie2", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Strict-Transport-Security", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "Vary", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "WWW-Authenticate", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "X-Content-Security-Policy", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 8000 }, { "X-Content-Type-Options", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "X-Frame-Options", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { "X-XSS-Protection", "^[\\x20-\\xFF]*$", QS_FLT_ACTION_DROP, 4000 }, { NULL, NULL, 0, 0 } }; /************************************************************************ * private functions ***********************************************************************/ static int qos_regexec_len(apr_pool_t *pool, const ap_regex_t *preg, const char *buff, apr_size_t len) { #if (AP_SERVER_MINORVERSION_NUMBER < 4) && defined QS_INTERNAL_TEST // Apache 2.2 is no longer supported (test only) char *data = apr_palloc(pool, len + 1); memcpy(data, buff, len); data[len] = '\0'; return ap_regexec(preg, data, 0, NULL, 0); // won't work for null chars! #else return ap_regexec_len(preg, buff, len, 0, NULL, 0); #endif } /** * Converts an ip long array back to a string representation * * @param pool * @param src Array of two unsigned long * @return String or null for an invalid address */ static char *qos_ip_long2str(apr_pool_t *pool, const void *src) { char *dst = apr_pcalloc(pool, INET6_ADDRSTRLEN); char *ret = (char *)inet_ntop(AF_INET6, src, dst, INET6_ADDRSTRLEN); if(ret) { if((strncmp(ret, QS_IP4IN6, 7) == 0) && strchr(ret, '.')) { ret = &ret[7]; } } return ret; } /** * Converts an ip string to long array (128 bit) representation * * @param src String representation, e.g. 139.12.33.1 or 1::8 * @param dst Pointer to array of unsigned long (2) (contains "{ 0, 0 }" on error) * @return 1 on success, 0 on error */ static int qos_ip_str2long(const char *src, apr_uint64_t *dst) { char str[INET6_ADDRSTRLEN]; const char *convert = src; apr_uint64_t *n = dst; n[0] = 0; n[1] = 0; if(convert == NULL) { return 0; } if((strchr(convert, ':') == NULL) && (strlen(convert) <= 15)) { // looks like an IPv4 address sprintf(str, QS_IP4IN6"%s", src); convert = str; } return inet_pton(AF_INET6, convert, dst); } static int qos_encode64_binary(char *encoded, const char *string, int len) { int i; char *p; p = encoded; for (i = 0; i < len - 2; i += 3) { *p++ = qos_basis_64[(string[i] >> 2) & 0x3F]; *p++ = qos_basis_64[((string[i] & 0x3) << 4) | ((int) (string[i + 1] & 0xF0) >> 4)]; *p++ = qos_basis_64[((string[i + 1] & 0xF) << 2) | ((int) (string[i + 2] & 0xC0) >> 6)]; *p++ = qos_basis_64[string[i + 2] & 0x3F]; } if (i < len) { *p++ = qos_basis_64[(string[i] >> 2) & 0x3F]; if (i == (len - 1)) { *p++ = qos_basis_64[((string[i] & 0x3) << 4)]; *p++ = '='; } else { *p++ = qos_basis_64[((string[i] & 0x3) << 4) | ((int) (string[i + 1] & 0xF0) >> 4)]; *p++ = qos_basis_64[((string[i + 1] & 0xF) << 2)]; } *p++ = '='; } *p++ = '\0'; return (int)(p - encoded); } /** * loads the default header rules into the server configuration (see rules * above). * @param pool To allocate memory * @param outHdrFltTable Table to add rules to * @param hdrFltRuleDefArray built-in header rules * @return error message (NULL on success) */ static char *qos_load_headerfilter(apr_pool_t *pool, apr_table_t *outHdrFltTable, const qos_her_t *hdrFltRuleDefArray) { const qos_her_t* hdrFltRuleDefEntry; for(hdrFltRuleDefEntry = hdrFltRuleDefArray; hdrFltRuleDefEntry->name != NULL ; ++hdrFltRuleDefEntry) { qos_fhlt_r_t *hdrFltElement = apr_pcalloc(pool, sizeof(qos_fhlt_r_t)); hdrFltElement->text = apr_pstrdup(pool, hdrFltRuleDefEntry->pattern); hdrFltElement->preg = ap_pregcomp(pool, hdrFltRuleDefEntry->pattern, AP_REG_DOTALL); hdrFltElement->action = hdrFltRuleDefEntry->action; hdrFltElement->size = hdrFltRuleDefEntry->size; if(hdrFltElement->preg == NULL) { return apr_psprintf(pool, "could not compile regular expression '%s' for %s header", hdrFltElement->text, hdrFltRuleDefEntry->name); } apr_table_setn(outHdrFltTable, hdrFltRuleDefEntry->name, (char *)hdrFltElement); } return NULL; } /** * Returns string representation of filter type (for logging purposes) * @param pool To allocate string * @param type Rule type * @return Name of the directive used to configure the rule */ static char *qos_rfilter_type2text(apr_pool_t *pool, qs_rfilter_type_e type) { if(type == QS_DENY_REQUEST_LINE) return apr_pstrdup(pool, "QS_DenyRequestLine"); if(type == QS_DENY_PATH) return apr_pstrdup(pool, "QS_DenyPath"); if(type == QS_DENY_QUERY) return apr_pstrdup(pool, "QS_DenyQuery"); if(type == QS_DENY_EVENT) return apr_pstrdup(pool, "QS_DenyEvent"); if(type == QS_PERMIT_URI) return apr_pstrdup(pool, "QS_PermitUri"); return apr_pstrdup(pool, "UNKNOWN"); } /** * Sets unique apache instance id (hopefully) to the global m_hostcore variable * @param ptemp Pool to allocate memory from * @param s Base server record */ static void qos_hostcode(apr_pool_t *ptemp, server_rec *s) { char *key = apr_psprintf(ptemp, "%s%s%s%d%s" #ifdef ap_http_scheme /* Apache 2.2 */ "%s" #endif "%s", s->defn_name ? s->defn_name : "", s->server_admin ? s->server_admin : "", s->server_hostname ? s->server_hostname : "", s->addrs ? s->addrs->host_port : 0, s->path ? s->path : "", s->error_fname ? s->error_fname : "" #ifdef ap_http_scheme /* Apache 2.2 */ ,s->server_scheme ? s->server_scheme : "" #endif ); int len = strlen(key); int i; char *p; for(p = key, i = len; i; i--, p++) { m_hostcode = m_hostcode * 33 + *p; } } /** * temp file name for the main/virtual serve * @param pool Pool to allocate the file name from * @param s Server record * @return absolute file name */ static char *qos_tmpnam(apr_pool_t *pool, server_rec *s) { qos_srv_config *sconf = (qos_srv_config*)ap_get_module_config(s->module_config, &qos_module); const char *path = NULL; char *ret; char *file; if(apr_temp_dir_get(&path, pool) != APR_SUCCESS) { path = apr_pstrdup(pool, "/var/tmp"); } if(sconf && sconf->mfile) { path = sconf->mfile; } ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, QOS_LOGD_PFX"temporary directory for semaphores/shared memory: %s" " (use QS_SemMemFile to override it).", path); if(s) { unsigned int scode = 0; char *key = apr_psprintf(pool, "%u%s.%s.%d", m_hostcode, s->is_virtual ? "v" : "b", s->server_hostname == NULL ? "-" : s->server_hostname, s->addrs == NULL ? 0 : s->addrs->host_port); int len = strlen(key); int i; char *p; for(p = key, i = len; i; i--, p++) { scode = scode * 33 + *p; } file = apr_psprintf(pool, "%u", scode); } else { file = apr_psprintf(pool, "%u", m_hostcode); } file[0] += 25; /* non numeric */ apr_filepath_merge(&ret, path, file, APR_FILEPATH_NATIVE, pool); ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, QOS_LOGD_PFX"temporary file: %s", ret); return ret; } /** * QS_LimitRequestBody settings. Environment variable (dynamic) has higher prio than * configuration (static) value. * @param r * @param sconf * @param dconf */ static apr_off_t qos_maxpost(request_rec *r, qos_srv_config *sconf, qos_dir_config *dconf) { if(r->subprocess_env) { const char *bytes = apr_table_get(r->subprocess_env, "QS_LimitRequestBody"); if(bytes) { apr_off_t s; #ifdef ap_http_scheme /* Apache 2.2 */ char *errp = NULL; if(APR_SUCCESS == apr_strtoff(&s, bytes, &errp, 10)) { return s; } #else if((s = apr_atoi64(bytes)) >= 0) { return s; } #endif } } if(dconf->maxpost != -1) { return dconf->maxpost; } return sconf->maxpost; } /** * Similar to strstr but restricting the length of s1 (supports strings which * are not NULL terminated). * * @param s1 String to search in * @param s2 Pattern to ind * @param len Length of s1 * @return pointer to the beginning of the substring s2 within s1, or NULL * if the substring is not found */ static char *qos_strnstr(const char *s1, const char *s2, int len) { const char *e1 = &s1[len-1]; char *p1, *p2; if (*s2 == '\0') { /* an empty s2 */ return((char *)s1); } while(1) { for ( ; (*s1 != '\0') && (s1 <= e1) && (apr_tolower(*s1) != apr_tolower(*s2)); s1++); if (*s1 == '\0' || s1 > e1) { return(NULL); } /* found first character of s2, see if the rest matches */ p1 = (char *)s1; p2 = (char *)s2; for (++p1, ++p2; (apr_tolower(*p1) == apr_tolower(*p2)) && (p1 <= e1); ++p1, ++p2) { if((p1 > e1) && (*p2 != '\0')) { // reached the end without match return NULL; } if (*p2 == '\0') { /* both strings ended together */ return((char *)s1); } } if (*p2 == '\0') { /* second string ended, a match */ break; } /* didn't find a match here, try starting at next character in s1 */ s1++; } return((char *)s1); } /** * Determines, if the client IP shall be excluded from rule enforcement * * @param connection Connection to get the IP * @param exclude_ip Table containing the rules * @return 1 on match otherwise 0 */ static int qos_is_excluded_ip(conn_rec *connection, apr_table_t *exclude_ip) { conn_rec *c = connection; if(apr_table_elts(exclude_ip)->nelts > 0) { int i; apr_table_entry_t *entry = (apr_table_entry_t *)apr_table_elts(exclude_ip)->elts; for(i = 0; i < apr_table_elts(exclude_ip)->nelts; i++) { if(entry[i].val[0] == 'r') { if(strncmp(entry[i].key, QS_CONN_REMOTEIP(c), strlen(entry[i].key)) == 0) { return 1; } } else { if(strcmp(entry[i].key, QS_CONN_REMOTEIP(c)) == 0) { return 1; } } } } return 0; } /** * Comperator (ip search) for the client ip store qos_cc_*() * functions (used by bsearch/qsort) */ static int qos_cc_comp(const void *_pA, const void *_pB) { qos_s_entry_t *pA=*(( qos_s_entry_t **)_pA); qos_s_entry_t *pB=*(( qos_s_entry_t **)_pB); if(pA->ip6[0] > pB->ip6[0]) return 2; if(pA->ip6[0] < pB->ip6[0]) return -2; if(pA->ip6[1] > pB->ip6[1]) return 1; if(pA->ip6[1] < pB->ip6[1]) return -1; return 0; } static int qos_cc_compv4(const void *_pA, const void *_pB) { qos_s_entry_t *pA=*(( qos_s_entry_t **)_pA); qos_s_entry_t *pB=*(( qos_s_entry_t **)_pB); if(pA->ip6[1] > pB->ip6[1]) return 1; if(pA->ip6[1] < pB->ip6[1]) return -1; return 0; } /** * Comperator (time search) for the client ip store qos_cc_*() * functions (used by bsearch/qsort) */ static int qos_cc_comp_time(const void *_pA, const void *_pB) { qos_s_entry_t *pA=*(( qos_s_entry_t **)_pA); qos_s_entry_t *pB=*(( qos_s_entry_t **)_pB); if(pA->time > pB->time) return 1; if(pA->time < pB->time) return -1; return 0; } /** * creates new per client store * @param pool Persistent process pool * @param srec Server rec for sem/mutex * @param size Number of entries * @param limitTable Table of "QS_Limit" events * @return pointer to the per client data array */ static qos_s_t *qos_cc_new(apr_pool_t *pool, server_rec *srec, int size, apr_table_t *limitTable) { char *file = "-"; apr_shm_t *clientMem; // per client memory table apr_shm_t *limitMem; // "limit" memory table apr_status_t res; int limitTableSize = apr_table_elts(limitTable)->nelts; int limitMemSize = 0; int clientMemSize = APR_ALIGN_DEFAULT(sizeof(qos_s_t)) + (APR_ALIGN_DEFAULT(sizeof(qos_s_entry_t)) * size) + (2 * APR_ALIGN_DEFAULT(sizeof(qos_s_entry_t *)) * size); int i; qos_s_t *clientDataArray; qos_s_entry_t *clientDataEntry; qos_s_entry_limit_t *limitTableEntry = NULL; clientMemSize = clientMemSize + 1024; if(limitTableSize > 0) { limitMemSize = APR_ALIGN_DEFAULT(sizeof(qos_s_entry_limit_t)) * limitTableSize * size; limitMemSize = limitMemSize + 1024; } /* use anonymous shm by default */ if(limitTableSize > 0) { apr_shm_create(&limitMem, limitMemSize, NULL, pool); } res = apr_shm_create(&clientMem, clientMemSize, NULL, pool); if(APR_STATUS_IS_ENOTIMPL(res)) { char *lfile = apr_psprintf(pool, "%s_cc_ml.mod_qos", qos_tmpnam(pool, srec)); file = apr_psprintf(pool, "%s_cc_m.mod_qos", qos_tmpnam(pool, srec)); #ifdef ap_http_scheme /* Apache 2.2 */ if(limitTableSize > 0) { apr_shm_remove(lfile, pool); } apr_shm_remove(file, pool); #endif if(limitTableSize > 0) { apr_shm_create(&limitMem, limitMemSize, lfile, pool); } res = apr_shm_create(&clientMem, clientMemSize, file, pool); } ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, srec, QOS_LOGD_PFX"create shared memory (client control)(%s): %d bytes", file, clientMemSize + limitMemSize); if(res != APR_SUCCESS) { char buf[MAX_STRING_LEN]; apr_strerror(res, buf, sizeof(buf)); ap_log_error(APLOG_MARK, APLOG_EMERG, 0, srec, QOS_LOG_PFX(002)"failed to create shared memory (client control)(%s): " "%s (%d bytes)", file, buf, clientMemSize); return NULL; } clientDataArray = apr_shm_baseaddr_get(clientMem); clientDataArray->m = clientMem; clientDataArray->generation_locked = -1; if(limitTableSize > 0) { apr_table_entry_t *te = (apr_table_entry_t *)apr_table_elts(limitTable)->elts; limitTableEntry = apr_shm_baseaddr_get(limitMem); clientDataArray->limitTable = apr_table_make(pool, limitTableSize+10); for(i = 0; i < limitTableSize; i++) { char *eventName = apr_pstrdup(pool, te[i].key); qos_s_entry_limit_conf_t *eventLimitConf = apr_pcalloc(pool, sizeof(qos_s_entry_limit_conf_t)); qos_s_entry_limit_conf_t *src = (qos_s_entry_limit_conf_t*)te[i].val; eventLimitConf->limit = src->limit; eventLimitConf->limitTime = src->limitTime; eventLimitConf->eventClearStr = apr_pstrcat(pool, eventName, QS_LIMIT_CLEAR, NULL); eventLimitConf->eventDecStr = apr_pstrcat(pool, eventName, QS_LIMIT_DEC, NULL); eventLimitConf->condStr = NULL; eventLimitConf->preg = NULL; if(src->condStr) { eventLimitConf->condStr = apr_pstrdup(pool, src->condStr); eventLimitConf->preg = ap_pregcomp(pool, src->condStr, AP_REG_EXTENDED); } apr_table_addn(clientDataArray->limitTable, eventName, (char *)eventLimitConf); } } else { clientDataArray->limitTable = NULL; } clientDataArray->lock_file = apr_psprintf(pool, "%s_ccl.mod_qos", qos_tmpnam(pool, srec)); ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, srec, QOS_LOGD_PFX"create mutex (client control)(%s)", clientDataArray->lock_file); res = apr_global_mutex_create(&clientDataArray->lock, clientDataArray->lock_file, APR_LOCK_DEFAULT, pool); if(res != APR_SUCCESS) { char buf[MAX_STRING_LEN]; apr_strerror(res, buf, sizeof(buf)); ap_log_error(APLOG_MARK, APLOG_EMERG, 0, srec, QOS_LOG_PFX(004)"failed to create mutex (client control)(%s): %s", clientDataArray->lock_file, buf); apr_shm_destroy(clientDataArray->m); return NULL; } #ifdef AP_NEED_SET_MUTEX_PERMS qos_unixd_set_global_mutex_perms(clientDataArray->lock); #endif clientDataEntry = (qos_s_entry_t *)&clientDataArray[1]; clientDataArray->ipd = (qos_s_entry_t **)&clientDataEntry[size]; clientDataArray->timed = (qos_s_entry_t **)&clientDataArray->ipd[size]; clientDataArray->num = 0; clientDataArray->max = size; clientDataArray->msize = clientMemSize; clientDataArray->connections = 0; clientDataArray->html = 0; clientDataArray->cssjs = 0; clientDataArray->img = 0; clientDataArray->other = 0; clientDataArray->notmodified = 0; for(i = 0; i < size; i++) { clientDataArray->ipd[i] = clientDataEntry; clientDataArray->timed[i] = clientDataEntry; if(limitTableSize > 0) { clientDataEntry->limit = limitTableEntry; limitTableEntry += limitTableSize; } else { clientDataEntry->limit = NULL; } clientDataEntry++; } clientDataArray->t = time(NULL); for(i = 0; i < QOS_LOG_MSGCT; i++) { clientDataArray->eventTotal[i] = 0; clientDataArray->eventLast[i] = 0; } return clientDataArray; } /** * Destroys the client data store */ static void qos_cc_free(qos_s_t *s) { /* We don't need to destroy locks or shared memory manually as apr_global_mutex_create() and apr_shm_create() register the cleanup methods themself to the pool we used when allocating the locks/memory. if(s->lock) { apr_global_mutex_destroy(s->lock); } if(s->m) { apr_shm_destroy(s->m); } if(s->lm) { apr_shm_destroy(s->lm); } */ } /** * searches an entry * @param s Client store (locked) * @param pA IP to search * @param now Current time (update access to the entry) * @return client entry or NULL if not available */ static qos_s_entry_t **qos_cc_get0(qos_s_t *s, qos_s_entry_t *pA, time_t now) { qos_s_entry_t **pB; unsigned char *b = (void *)&pA->ip6[1]; int mod = b[7] % m_qos_cc_partition; int max = (s->max / m_qos_cc_partition); int start = mod * max; if(m_ip_type == QS_IP_V4) { pB = bsearch((const void *)&pA, (const void *)&s->ipd[start], max, sizeof(qos_s_entry_t *), qos_cc_compv4); } else { pB = bsearch((const void *)&pA, (const void *)&s->ipd[start], max, sizeof(qos_s_entry_t *), qos_cc_comp); } if(pB) { if(now != 0) { s->t = now; } (*pB)->time = s->t; } return pB; } /** * inserts a new entry to the client data store * @param s Client store (locked) * @param pA IP to insert * @param now Current time (last access) * @return inserted entry */ static qos_s_entry_t **qos_cc_set(qos_s_t *s, qos_s_entry_t *pA, time_t now) { qos_s_entry_t **pB; unsigned char *b = (void *)&pA->ip6[1]; int mod = b[7] % m_qos_cc_partition; int max = (s->max / m_qos_cc_partition); int start = mod * max; s->t = now; qsort(&s->timed[start], max, sizeof(qos_s_entry_t *), qos_cc_comp_time); if(s->num < s->max) { s->num++; } pB = &s->timed[start]; (*pB)->ip6[0] = pA->ip6[0]; (*pB)->ip6[1] = pA->ip6[1]; (*pB)->time = now; if(m_ip_type == QS_IP_V4) { qsort(&s->ipd[start], max, sizeof(qos_s_entry_t *), qos_cc_compv4); } else { qsort(&s->ipd[start], max, sizeof(qos_s_entry_t *), qos_cc_comp); } (*pB)->vip = 0; (*pB)->lowrate = 0; (*pB)->lowratestatus = 0; (*pB)->block = 0; (*pB)->blockMsg = 0; (*pB)->blockTime = 0; if(s->limitTable) { int i; for(i = 0; i < apr_table_elts(s->limitTable)->nelts; i++) { (*pB)->limit[i].limit = 0; (*pB)->limit[i].limitTime = 0; } } (*pB)->interval = now; (*pB)->req = 0; (*pB)->req_per_sec = 0; (*pB)->req_per_sec_block_rate = 0; (*pB)->event_req = 0; (*pB)->serialize = 0; (*pB)->serializeQueue = 0; (*pB)->html = 1; (*pB)->cssjs = 1; (*pB)->img = 1; (*pB)->other = 1; (*pB)->notmodified = 1; (*pB)->events = 0; return pB; } /** * searches or inserts (if not available) an entry from/to the client data store * @param s Client store (locked) * @param pA IP to insert * @param now Current time (last access) * @return inserted entry */ static qos_s_entry_t **qos_cc_getOrSet(qos_s_t *s, qos_s_entry_t *pA, time_t now) { qos_s_entry_t **clientEntry = clientEntry = qos_cc_get0(s, pA, now); if(!clientEntry) { clientEntry = qos_cc_set(s, pA, now != 0 ? now : time(NULL)); } return clientEntry; } static int qos_isnum(const char *x) { const char *p = x; if(x == NULL || x[0] == 0) { return 0; } while(p && p[0]) { if(!apr_isdigit(p[0])) { return 0; } p++; } return 1; } /* 000-255 */ int qos_dec32c(const char *x) { char buf[4]; strncpy(buf, x, 3); buf[3] = '\0'; return atoi(buf); } int qos_dec22c(const char *x) { char buf[4]; strncpy(buf, x, 2); buf[2] = '\0'; return atoi(buf); } /** * hex value for the char * @param x * @return hex value */ int qos_hex2c(const char *x) { int i, ch; ch = x[0]; if (isdigit(ch)) { i = ch - '0'; }else if (isupper(ch)) { i = ch - ('A' - 10); } else { i = ch - ('a' - 10); } i <<= 4; ch = x[1]; if (isdigit(ch)) { i += ch - '0'; } else if (isupper(ch)) { i += ch - ('A' - 10); } else { i += ch - ('a' - 10); } return i; } #define QOS_ISHEX(x) (((x >= '0') && (x <= '9')) || \ ((x >= 'a') && (x <= 'f')) || \ ((x >= 'A') && (x <= 'F'))) /** * url unescaping (%xx, \xHH, '+') * optional decoding: * - uni: MS IIS unicode %uXXXX * - ansi: ansi c esc (\n, \r, ...), not implemented * - char: charset conv, not implemented * - html: (amp/angelbr, &#xHH;, &#DDD;, &#DD;), not implemented ('&' is delimiter) */ static int qos_unescaping(char *x, int mode, int *error) { /* start with standard url decoding*/ int i, j, ch; if(x == 0) { return 0; } if(x[0] == '\0') { return 0; } for(i = 0, j = 0; x[i] != '\0'; i++, j++) { ch = x[i]; if(ch == '%') { if(QOS_ISHEX(x[i + 1]) && QOS_ISHEX(x[i + 2])) { /* url %xx */ ch = qos_hex2c(&x[i + 1]); i += 2; } else if((mode & QOS_DEC_MODE_FLAGS_UNI) && ((x[i + 1] == 'u') || (x[i + 1] == 'U')) && QOS_ISHEX(x[i + 2]) && QOS_ISHEX(x[i + 3]) && QOS_ISHEX(x[i + 4]) && QOS_ISHEX(x[i + 5])) { /* unicode %uXXXX */ ch = qos_hex2c(&x[i + 4]); if((ch > 0x00) && (ch < 0x5f) && ((x[i + 2] == 'f') || (x[i + 2] == 'F')) && ((x[i + 3] == 'f') || (x[i + 3] == 'F'))) { ch += 0x20; } i += 5; } else { (*error)++; } } else if((ch == '\\') && (mode & QOS_DEC_MODE_FLAGS_UNI) && ((x[i + 1] == 'u') || (x[i + 1] == 'U'))) { if(QOS_ISHEX(x[i + 2]) && QOS_ISHEX(x[i + 3]) && QOS_ISHEX(x[i + 4]) && QOS_ISHEX(x[i + 5])) { /* unicode \uXXXX */ ch = qos_hex2c(&x[i + 4]); if((ch > 0x00) && (ch < 0x5f) && ((x[i + 2] == 'f') || (x[i + 2] == 'F')) && ((x[i + 3] == 'f') || (x[i + 3] == 'F'))) { ch += 0x20; } i += 5; } else { (*error)++; } } else if(ch == '\\' && (x[i + 1] == 'x')) { if(QOS_ISHEX(x[i + 2]) && QOS_ISHEX(x[i + 3])) { /* url \xHH */ ch = qos_hex2c(&x[i + 2]); i += 3; } else { (*error)++; } } else if(ch == '+') { ch = ' '; } x[j] = ch; } x[j] = '\0'; return j; } /** * returns the request id from mod_unique_id (if available) */ static const char *qos_unique_id(request_rec *r, const char *eid) { const char *uid = apr_table_get(r->subprocess_env, "UNIQUE_ID"); if(eid) { apr_table_set(r->notes, "error-notes", eid); apr_table_set(r->subprocess_env, QS_ErrorNotes, eid); } if(uid == NULL) { /* generate simple id if mod_unique_id has not been not loaded */ qos_unique_id_t id; char *uidstr; int len; m_unique_id.unique_id_counter++; id.request_time = r->request_time; id.in_addr = m_unique_id.in_addr; #if APR_HAS_THREADS id.tid = apr_os_thread_current(); #endif id.conn = r->connection->id; id.unique_id_counter = m_unique_id.unique_id_counter; uidstr = (char *)apr_pcalloc(r->pool, apr_base64_encode_len(sizeof(qos_unique_id_t))); len = qos_encode64_binary(uidstr, (const char *)&id, sizeof(qos_unique_id_t)); uidstr[len-2] = (id.unique_id_counter%8)+50; uid = uidstr; apr_table_set(r->subprocess_env, "UNIQUE_ID", uid); } return uid; } static void qos_log_env(request_rec *r, const char *handler) { char *msg = ""; int i; apr_table_entry_t *e = (apr_table_entry_t *) apr_table_elts(r->subprocess_env)->elts; for (i = 0; i < apr_table_elts(r->subprocess_env)->nelts; ++i) { msg = apr_psprintf(r->pool, "%s=%s;%s", e[i].key, e[i].val, msg); } ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_NOTICE, 0, r, QOS_LOG_PFX(210)"ENV %s %s %s", handler, msg, qos_unique_id(r, NULL)); return; } static char *qos_ipv6_hash(request_rec *r, const char *var) { char *md = ap_md5_binary(r->pool, (unsigned char *)var, strlen(var)); char *hash = apr_pcalloc(r->pool, 64); char *d = hash; int c = 0; while(md[0]) { d[0] = md[0]; d++; c++; md++; if(c == 4 && md[0]) { c=0; d[0] = ':'; d++; } } d[0] = '\0'; return hash; } static const char *qos_forwardedfor_fromHeader(request_rec *r, const char *header) { const char *forwardedfor = apr_table_get(r->headers_in, header); if(forwardedfor == NULL && r->prev) { // internal redirect? forwardedfor = apr_table_get(r->prev->headers_in, header); } if(forwardedfor == NULL && r->main) { // internal redirect? forwardedfor = apr_table_get(r->main->headers_in, header); } return forwardedfor; } static const char *qos_forwardedfor_fromSSL(request_rec *r) { if(qos_ssl_var) { const char *dn = qos_ssl_var(r->pool, r->server, r->connection, r, "SSL_CLIENT_S_DN"); const char *issuer = qos_ssl_var(r->pool, r->server, r->connection, r, "SSL_CLIENT_I_DN"); char *header = apr_pstrcat(r->pool, dn, issuer, NULL); if(header && header[0]) { return header; } } return NULL; } static const char *qos_pseudoip(request_rec *r, const char *header) { const char *forwardedfor = NULL; if(strcmp("SSL_CLIENT_S_DN", header) == 0) { forwardedfor = qos_forwardedfor_fromSSL(r); } else { forwardedfor = qos_forwardedfor_fromHeader(r, header); } if(forwardedfor && forwardedfor[0]) { return qos_ipv6_hash(r, forwardedfor); } return NULL; } static const char *qos_forwardedfor(request_rec *r, const char *header) { const char *forwardedfor = NULL; if(header[0] == '#') { forwardedfor = qos_pseudoip(r, &header[1]); } else { forwardedfor = qos_forwardedfor_fromHeader(r, header); } return forwardedfor; } /** * Returns the client IP, either from the connection * of from the forwarded-for header if configured * * @param r Request to get the IP from the header * @param sconf * @param cconf (if available) to get the real IP from * @param caller Which caller of the method * @param ip6 The client's IP address to be used (pointer to array of unsigned long (2)) * @return The client's IP address as a string (for logging) */ static const char *qos_get_clientIP(request_rec *r, qos_srv_config *sconf, qs_conn_ctx *cconf, const char *caller, apr_uint64_t *ip6) { const char *forwardedForLogIP; if(sconf->qos_cc_forwardedfor) { const char *forwardedfor = qos_forwardedfor(r, sconf->qos_cc_forwardedfor); if(forwardedfor) { if(qos_ip_str2long(forwardedfor, ip6) == 0) { if(apr_table_get(r->notes, "QOS_LOG_PFX069") == NULL) { ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r, QOS_LOG_PFX(069)"no valid IP header found (@%s):" " invalid header value '%s'," " fallback to connection's IP %s, id=%s", caller, forwardedfor, QS_CONN_REMOTEIP(r->connection) == NULL ? "-" : QS_CONN_REMOTEIP(r->connection), qos_unique_id(r, "069")); apr_table_set(r->notes, "QOS_LOG_PFX069", "log once"); QS_INC_EVENT(sconf, 69); } } else { // done return forwardedfor; } } else { if(apr_table_get(r->notes, "QOS_LOG_PFX069") == NULL) { ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, 0, r, QOS_LOG_PFX(069)"no valid IP header found (@%s):" " header '%s' not available," " fallback to connection's IP %s, id=%s", caller, sconf->qos_cc_forwardedfor, QS_CONN_REMOTEIP(r->connection) == NULL ? "-" : QS_CONN_REMOTEIP(r->connection), qos_unique_id(r, "069")); apr_table_set(r->notes, "QOS_LOG_PFX069", "log once"); QS_INC_EVENT(sconf, 69); } } } // use the real IP if(cconf) { forwardedForLogIP = QS_CONN_REMOTEIP(cconf->mc); // works for real connections only (no HTTP/2) ip6[0] = cconf->ip6[0]; ip6[1] = cconf->ip6[1]; } else { // HTTP/2 forwardedForLogIP = QS_CONN_REMOTEIP(r->connection); qos_ip_str2long(forwardedForLogIP, ip6); } return forwardedForLogIP; } /** * returns the version number of mod_qos * @param p Pool to alloc version string from * @return Version string */ static char *qos_revision(apr_pool_t *p) { return apr_pstrdup(p, g_revision); } /** * returns the request context */ static qs_req_ctx *qos_rctx_config_get(request_rec *r) { qs_req_ctx *rctx = ap_get_module_config(r->request_config, &qos_module); if(rctx == NULL) { rctx = apr_pcalloc(r->pool, sizeof(qs_req_ctx)); rctx->entry = NULL; rctx->entry_cond = NULL; rctx->evmsg = NULL; rctx->is_vip = 0; rctx->event_entries = apr_table_make(r->pool, 1); rctx->maxpostcount = 0; rctx->cc_event_req_set = 0; rctx->cc_event_ip[0] = 0; rctx->cc_event_ip[1] = 0; rctx->cc_serialize_set = 0; rctx->cc_serialize_ip[0] = 0; rctx->cc_serialize_ip[1] = 0; rctx->srv_serialize_set = 0; rctx->body_window = NULL; rctx->response_delayed = 0; ap_set_module_config(r->request_config, &qos_module, rctx); } return rctx; } /** * Adds the defined mod_qos_ev id to the request context (creates * the req ctx if necessary). * * @param r * @param id ID to set, e.g. "L;" or "D;" */ static void qs_set_evmsg(request_rec *r, const char *id) { qs_req_ctx *rctx = qos_rctx_config_get(r); if(rctx->evmsg == NULL || (strstr(rctx->evmsg, id) == NULL)) { rctx->evmsg = apr_pstrcat(r->pool, id, rctx->evmsg, NULL); } } /** * Encrypts and base64 encodes the provided buffer * @param r * @param sconf Secret to use (sconf->key) * @param b Buffer to encrypt * @param l Length of the buffer * @return Encrypted string (or NULL on error) */ static char *qos_encrypt(request_rec *r, qos_srv_config *sconf, const unsigned char *b, int l) { #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX cipher_ctx; EVP_CIPHER_CTX *cipher_ctx_p = &cipher_ctx; HMAC_CTX hmac; HMAC_CTX *hmac_p = &hmac; #else EVP_CIPHER_CTX *cipher_ctx_p; HMAC_CTX *hmac_p; #endif unsigned char hash[HMAC_MAX_MD_CBLOCK]; unsigned int hashLen = HMAC_MAX_MD_CBLOCK; int buf_len = 0; int len = 0; unsigned char *buf = apr_pcalloc(r->pool, + EVP_MAX_IV_LENGTH + QOS_HASH_LEN + l + EVP_CIPHER_block_size(EVP_des_ede3_cbc())); #if APR_HAS_RANDOM if(apr_generate_random_bytes(buf, EVP_MAX_IV_LENGTH) != APR_SUCCESS) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, QOS_LOG_PFX(080)"Can't generate random data, id=%s", qos_unique_id(r, NULL)); } #else if(!RAND_bytes(buf, EVP_MAX_IV_LENGTH)) { ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, QOS_LOG_PFX(080)"Can't generate random data, id=%s", qos_unique_id(r, NULL)); } #endif /* checksum */ #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_init(hmac_p); #else hmac_p = HMAC_CTX_new(); #endif #ifndef OPENSSL_NO_MD5 HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_md5(), NULL); #else HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_sha256(), NULL); #endif HMAC_Update(hmac_p, b, l); HMAC_Final(hmac_p, hash, &hashLen); #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_cleanup(hmac_p); #else HMAC_CTX_free(hmac_p); #endif /* sym enc */ #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX_init(cipher_ctx_p); #else cipher_ctx_p = EVP_CIPHER_CTX_new(); #endif EVP_EncryptInit(cipher_ctx_p, EVP_des_ede3_cbc(), sconf->key, (unsigned char *)buf); // skip iv, enc(hash + data) buf_len = EVP_MAX_IV_LENGTH; if(!EVP_EncryptUpdate(cipher_ctx_p, &buf[buf_len], &len, hash, QOS_HASH_LEN)) { goto failed; } buf_len+=len; if(!EVP_EncryptUpdate(cipher_ctx_p, &buf[buf_len], &len, b, l)) { goto failed; } buf_len+=len; if(!EVP_EncryptFinal(cipher_ctx_p, &buf[buf_len], &len)) { goto failed; } buf_len+=len; #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX_cleanup(cipher_ctx_p); #else EVP_CIPHER_CTX_free(cipher_ctx_p); #endif /* b64 encode */ { char *data = (char *)apr_pcalloc(r->pool, 1 + apr_base64_encode_len(buf_len)); len = apr_base64_encode(data, (const char *)buf, buf_len); data[len] = '\0'; return data; } failed: #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX_cleanup(cipher_ctx_p); #else EVP_CIPHER_CTX_free(cipher_ctx_p); #endif if(QS_ISDEBUG(r->server)) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, QOS_LOGD_PFX"qos_encrypt() encryption operation failed, id=%s", qos_unique_id(r, NULL)); } return NULL; } /** * Decryptes the base64 encoded string (see qos_encrypt()). * @param r * @param sconf To access the secret * @param ret_buf Pointer to the decypted data (result), NULL if decyption fails * @param value Base64 encded string to decrypt * @return Length of the decypted data (0 if decyption failed) */ static int qos_decrypt(request_rec *r, qos_srv_config* sconf, unsigned char **ret_buf, const char *value) { #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX cipher_ctx; EVP_CIPHER_CTX *cipher_ctx_p = &cipher_ctx; #else EVP_CIPHER_CTX *cipher_ctx_p; #endif /* decode */ char *dec = (char *)apr_pcalloc(r->pool, 1 + apr_base64_decode_len(value)); int dec_len = apr_base64_decode(dec, value); *ret_buf = NULL; if(dec_len < (EVP_MAX_IV_LENGTH + QOS_HASH_LEN)) { if(QS_ISDEBUG(r->server)) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, QOS_LOGD_PFX"qos_decrypt() base64 decoding failed, id=%s", qos_unique_id(r, NULL)); } return 0; } else { /* decrypt */ #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX hmac; HMAC_CTX *hmac_p = &hmac; #else HMAC_CTX *hmac_p; #endif unsigned char hash[HMAC_MAX_MD_CBLOCK]; unsigned int hashLen = HMAC_MAX_MD_CBLOCK; int len = 0; int buf_len = 0; unsigned char *buf; dec_len -= EVP_MAX_IV_LENGTH; buf = apr_pcalloc(r->pool, dec_len); /* sym dec */ #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX_init(cipher_ctx_p); #else cipher_ctx_p = EVP_CIPHER_CTX_new(); #endif EVP_DecryptInit(cipher_ctx_p, EVP_des_ede3_cbc(), sconf->key, (unsigned char *)dec); if(!EVP_DecryptUpdate(cipher_ctx_p, (unsigned char *)&buf[buf_len], &len, (const unsigned char *)&dec[EVP_MAX_IV_LENGTH], dec_len)) { goto failed; } buf_len+=len; if(!EVP_DecryptFinal(cipher_ctx_p, (unsigned char *)&buf[buf_len], &len)) { goto failed; } buf_len+=len; #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX_cleanup(cipher_ctx_p); #else EVP_CIPHER_CTX_free(cipher_ctx_p); #endif // hash + data if(buf_len < (QOS_HASH_LEN + 1)) { if(QS_ISDEBUG(r->server)) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, QOS_LOGD_PFX"qos_decrypt() misshing hash, id=%s", qos_unique_id(r, NULL)); } return 0; } /* checksum */ buf_len -= QOS_HASH_LEN; #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_init(hmac_p); #else hmac_p = HMAC_CTX_new(); #endif #ifndef OPENSSL_NO_MD5 HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_md5(), NULL); #else HMAC_Init_ex(hmac_p, sconf->rawKey, sconf->rawKeyLen, EVP_sha256(), NULL); #endif HMAC_Update(hmac_p, &buf[QOS_HASH_LEN], buf_len); HMAC_Final(hmac_p, hash, &hashLen); #if OPENSSL_VERSION_NUMBER < 0x10100000L HMAC_CTX_cleanup(hmac_p); #else HMAC_CTX_free(hmac_p); #endif if(hashLen > QOS_HASH_LEN) { // we don't keep more than 16 bytes hashLen = QOS_HASH_LEN; } if(memcmp(hash, buf, hashLen) != 0) { if(QS_ISDEBUG(r->server)) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, QOS_LOGD_PFX"qos_decrypt() invalid hash, id=%s", qos_unique_id(r, NULL)); } return 0; } /* decrypted and valid */ *ret_buf = &buf[QOS_HASH_LEN]; return buf_len; } failed: #if OPENSSL_VERSION_NUMBER < 0x10100000L EVP_CIPHER_CTX_cleanup(cipher_ctx_p); #else EVP_CIPHER_CTX_free(cipher_ctx_p); #endif if(QS_ISDEBUG(r->server)) { ap_log_rerror(APLOG_MARK, APLOG_DEBUG, 0, r, QOS_LOGD_PFX"qos_decrypt() decryption operation failed, id=%s", qos_unique_id(r, NULL)); } return 0; } /** * Adds the user tracking cookie to r->headers_out if QOS_USER_TRACKING_NEW env variable * has been set. * @param r * @param sconf * @param status (302 or other) */ static void qos_send_user_tracking_cookie(request_rec *r, qos_srv_config* sconf, int status) { const char *new_user = apr_table_get(r->subprocess_env, QOS_USER_TRACKING_NEW); if(new_user) { char *setCookieVal; apr_size_t retcode; char timeString[MAX_STRING_LEN]; apr_time_exp_t timeEx; int new_user_len = strlen(new_user); int len = 2 + new_user_len; unsigned char *value = apr_pcalloc(r->pool, len + 1); char *encryptedVal; char *domain = NULL; apr_time_exp_gmt(&timeEx, r->request_time); apr_strftime(timeString, &retcode, sizeof(timeString), "%m", &timeEx); #ifdef QS_INTERNAL_TEST { const char *m = apr_table_get(r->headers_in, "X-TEST-USER-TRACK-MONTH"); if(m) { strcpy(timeString, m); } } #endif memcpy(value, timeString, 2); memcpy(&value[2], new_user, new_user_len); value[len] = '\0'; encryptedVal = qos_encrypt(r, sconf, value, len + 1); if(sconf->user_tracking_cookie_domain != NULL) { domain = apr_pstrcat(r->pool, "; Domain=", sconf->user_tracking_cookie_domain, NULL); } /* set cookie valid for 300 days or for this session only */ setCookieVal = apr_psprintf(r->pool, "%s=%s; Path=/%s%s", sconf->user_tracking_cookie, encryptedVal, sconf->user_tracking_cookie_session < 1 ? "; Max-Age=25920000" : "", domain != NULL ? domain : ""); if(status != HTTP_MOVED_TEMPORARILY) { apr_table_add(r->headers_out, "Set-Cookie", setCookieVal); } else { apr_table_add(r->err_headers_out, "Set-Cookie", setCookieVal); } } return; } /** * Verifies and sets the user tracking cookie * - QOS_USER_TRACKING if the cookie was available * - QOS_USER_TRACKING_NEW if a new cookie needs to be set * - QOS_USER_TRACKING_RENEW if the cookie shall be renewed * * syntax: b64(enc()) * * shall be called after(!) mod_unique_id has created an id * * @param r * @param sconf * @param value Cookie received from the client, possibly null (see qos_get_remove_cookie()) */ static void qos_get_create_user_tracking(request_rec *r, qos_srv_config* sconf, const char *value) { const char *uid = qos_unique_id(r, NULL); const char *verified = NULL; const char *newUID = NULL; if(value != NULL) { int buf_len = 0; unsigned char *buf; buf_len = qos_decrypt(r, sconf, &buf, value); if(buf_len > 0) { verified = (char *)buf; } } if(verified == NULL) { newUID = uid; apr_table_set(r->subprocess_env, QOS_USER_TRACKING_NEW, newUID); qs_set_evmsg(r, "u;"); } else if(strlen(verified) > 2) { apr_size_t retcode; char timeString[MAX_STRING_LEN]; apr_time_exp_t timeEx; apr_time_exp_gmt(&timeEx, r->request_time); apr_strftime(timeString, &retcode, sizeof(timeString), "%m", &timeEx); if(strncmp(timeString, verified, 2) != 0) { /* renew, if not from this month */ apr_table_set(r->subprocess_env, QOS_USER_TRACKING_NEW, &verified[2]); apr_table_set(r->subprocess_env, QOS_USER_TRACKING_RENEW, "1"); } newUID = &verified[2]; } else { newUID = uid; apr_table_set(r->subprocess_env, QOS_USER_TRACKING_NEW, newUID); } apr_table_set(r->subprocess_env, QOS_USER_TRACKING, newUID); return; } /** * Adds new milestone cookie to the response headers if QOS_MILESTONE_COOKIE * has been set. * See qos_verify_milestone() about the syntax. */ static void qos_update_milestone(request_rec *r, qos_srv_config* sconf) { const char *new_ms = apr_table_get(r->subprocess_env, QOS_MILESTONE_COOKIE); if(new_ms) { apr_time_t now = apr_time_sec(r->request_time); int new_ms_len = strlen(new_ms); int len = sizeof(apr_time_t) + new_ms_len; unsigned char *value = apr_pcalloc(r->pool, len + 1); char *encryptedVal; apr_table_unset(r->subprocess_env, QOS_MILESTONE_COOKIE); memcpy(value, &now, sizeof(apr_time_t)); memcpy(&value[sizeof(apr_time_t)], new_ms, new_ms_len); value[len] = '\0'; encryptedVal = qos_encrypt(r, sconf, value, len); apr_table_add(r->headers_out, "Set-Cookie", apr_psprintf(r->pool, "%s=%s; Path=/;", QOS_MILESTONE_COOKIE, encryptedVal)); } return; } /** * Verifies the milestone. Evaluates rule and enforces it. Does also set the * QOS_MILESTONE_COOKIE variable if a new milestone has been reached. * * milestone cookie syntax: b64(enc(