Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-11-01 | [BB#115] Drop supplementary groups | Gaudenz Steinlin | 1 | -0/+10 | |
Supplementary groups are inherited from the calling process. Drop all supplementary groups if the "Group" configuration directive is set to change to a different user. Otherwise the process may have more rights than expected. Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2011-02-28 | Update URLs of Tinyproxy | Mukund Sivaraman | 1 | -1/+1 | |
2010-06-02 | [BB#74] Create log and pid files after we drop privs | Mukund Sivaraman | 1 | -12/+14 | |
2010-06-02 | Remove excessive code | Mukund Sivaraman | 1 | -10/+5 | |
2010-06-01 | [BB#89] Don't recompile regular expressions | John van der Kamp | 1 | -0/+5 | |
This is a modification of a patch originally written by John van der Kamp <john@kirika.demon.nl> at <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579427#12> The modification was done by the committer. | |||||
2010-04-21 | Revert "main: drop privileges right after reading the config" | Mukund Sivaraman | 1 | -8/+7 | |
This reverts commit 7a9abc2a04dd8ed1f113aa9c803af24adfb22773. It should fix the issue in bug #87. | |||||
2010-03-28 | Just fix the support URLs | Mukund Sivaraman | 1 | -1/+1 | |
2010-03-28 | Revert "Update Tinyproxy website URLs" | Mukund Sivaraman | 1 | -1/+1 | |
This reverts commit b108162dfb408b4818a6ea8b2a148ddaf1506bbe. | |||||
2010-03-27 | Update Tinyproxy website URLs | Mukund Sivaraman | 1 | -1/+1 | |
2010-03-02 | change the default pid file location to ↵ | Michael Adam | 1 | -1/+1 | |
"@LOCALSTATEDIR@/run/tinyproxy/tinyproxy.pid" I.e., add a tinyproxy subdirectory. This is meant to ease running tinyproxy as non-root user. The subdirectory can be used to give the tinyproxy user write permission. Michael | |||||
2010-03-02 | change the default log file location to ↵ | Michael Adam | 1 | -1/+1 | |
"@LOCALSTATEDIR@/log/tinyproxy/tinyproxy.log" i.e. add a tinyproxy subdirectory. This is meant to ease running tinyproxy as non-root user the subdirectory can be used to give the tinyproxy user write permission. Michael | |||||
2010-03-02 | main: some tabs->spaces | Michael Adam | 1 | -2/+2 | |
2010-03-02 | main: move a log message. | Michael Adam | 1 | -2/+2 | |
2010-03-02 | main: drop privileges right after reading the config | Michael Adam | 1 | -7/+8 | |
This is the second part of fixing bug #74. I lets tinyproxy create its log and pid files as the user as which it is running, so that later on at SIGHUP, the log file can successfully be reopened. Michael | |||||
2010-03-02 | main: separate loading of config and setup_logging at startup | Michael Adam | 1 | -1/+8 | |
This is the first part of a fix for bug #74 (making reloading of config work if running as non-privileged user) Michael | |||||
2010-02-17 | Display upstream proxy support in usage message | Mukund Sivaraman | 1 | -0/+5 | |
2010-02-17 | Update help text a little | Mukund Sivaraman | 1 | -1/+1 | |
2010-01-19 | Change to for loop | Mukund Sivaraman | 1 | -8/+3 | |
2010-01-18 | Show authors and documenters when license is requested | Mukund Sivaraman | 1 | -1/+25 | |
2010-01-13 | conf: add a default for PidFile: LOCALSTATEDIR/run/tinyproxy.pid | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2010-01-13 | conf: set default LogFile to LOCALSTATEDIR/log/tinyproxy.log | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2010-01-10 | Happy new year 2010! | Michael Adam | 1 | -4/+4 | |
2009-12-23 | Use shutdown_logging() in main(). | Michael Adam | 1 | -4/+1 | |
Michael | |||||
2009-12-23 | Use reload_config() in main() to load config and init logging. | Michael Adam | 1 | -7/+1 | |
Michael | |||||
2009-12-23 | enhance reload_config to correctly re-initialize the logging subsystem. | Michael Adam | 1 | -0/+9 | |
This includes reopening the log file (in append mode). Also switching from syslog to logfile and visa versa are included when called from the SIGHUP handler. Michael | |||||
2009-12-23 | main: remove global bool processed_config_file. | Michael Adam | 1 | -3/+0 | |
This seemed out of place. Now the information is stored in the correct places (as log.c:logging_initialized). This way, we will be able to cleanly re-initialize logging during config reload (SIGHUP) in subsequent commits. Michael | |||||
2009-12-23 | log: call send_stored_logs in setup_logging instead of in main(). | Michael Adam | 1 | -1/+0 | |
This is where it actually belongs. Michael | |||||
2009-12-22 | main: add convenience wrapper reload_config() for reload_config_file() | Michael Adam | 1 | -0/+13 | |
Michael | |||||
2009-12-22 | conf: rename reload_config --> reload_config_file | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-12-07 | Use reload_config() in main. | Michael Adam | 1 | -24/+5 | |
Michael | |||||
2009-12-07 | main: Move setup_logging to after the config post-processing checks. | Michael Adam | 1 | -8/+8 | |
Michael | |||||
2009-12-07 | Don't make config_file const in the config struct. | Michael Adam | 1 | -1/+8 | |
Michael | |||||
2009-12-06 | main/conf: add maxidletimeout to initialize_config_defaults | Michael Adam | 1 | -0/+1 | |
But keep the resetting check after processing the conf file. Michael | |||||
2009-12-06 | main: fix tab -> spaces | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-12-06 | conf: move setting of default stathost to initialize_config_defaults() | Michael Adam | 1 | -6/+1 | |
Michael | |||||
2009-12-06 | main: use safestrdup instead of strdup in process_cmdline | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-11-14 | conf: refactor loading of config file out into load_config_file() | Michael Adam | 1 | -14/+2 | |
and make config_compile and config_parse static to conf.c Michael | |||||
2009-11-14 | main: add a config struct argument to process_cmdline. | Michael Adam | 1 | -5/+5 | |
Michael | |||||
2009-11-14 | main: put initialization of config defaults into a function of its own | Michael Adam | 1 | -9/+14 | |
Michael | |||||
2009-11-14 | extract setup of the logging subsystem into a function of its own. | Michael Adam | 1 | -17/+3 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-11-14 | main: move initialization of default config values closer together | Michael Adam | 1 | -5/+4 | |
Michael | |||||
2009-10-25 | Change child_kill_children() to take the signal as an argument. | Michael Adam | 1 | -1/+1 | |
2009-10-07 | add muks' and my (C) to the main.c boilerplate comment. | Michael Adam | 1 | -0/+3 | |
Michael | |||||
2009-10-07 | main: add muks and me to the license output (tinyproxy -l) | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-09-27 | Modify usage help text shown when Tinyproxy is run with -h | Mukund Sivaraman | 1 | -7/+26 | |
2009-09-27 | strdup() the default stathost in config struct as it can be freed | Mukund Sivaraman | 1 | -1/+1 | |
2009-09-21 | Rename conffile.[ch] to conf.[ch] | Mukund Sivaraman | 1 | -1/+1 | |
2009-09-20 | build: Remove use of the obsolete AC_TYPE_SIGNAL macro | Mukund Sivaraman | 1 | -1/+1 | |
C89 compilers use void return type for signal handler functions. | |||||
2009-09-20 | build: Rename autoconf variable | Mukund Sivaraman | 1 | -2/+2 | |
2009-09-20 | Remove the target system information when the version is displayed | Mukund Sivaraman | 1 | -1/+1 | |
If we require information about the runtime environment, it can be found using the uname program. And binutils can tell about what the tinyproxy binary contains. Tinyproxy doesn't have to report this information. |