2000-02-16 17:32:49 +00:00
|
|
|
/*
|
|
|
|
* Define if you want to have the peer's IP address to be included in a
|
|
|
|
* XTinyproxy header sent to the server.
|
|
|
|
*/
|
2000-09-12 00:18:17 +00:00
|
|
|
#undef XTINYPROXY_ENABLE
|
2000-02-16 17:32:49 +00:00
|
|
|
|
2000-03-11 20:43:25 +00:00
|
|
|
/*
|
|
|
|
* These are the defaults, but they can be changed by configure at compile
|
|
|
|
* time, or on the command line at runtime.
|
|
|
|
*/
|
|
|
|
#define DEFAULT_LOG "/var/log/tinyproxy"
|
|
|
|
#define DEFAULT_PORT 8888
|
|
|
|
#define DEFAULT_USER ""
|
2000-09-12 00:18:17 +00:00
|
|
|
#define DEFAULT_CONF_FILE "/etc/tinyproxy/tinyproxy.conf"
|
2000-02-16 17:32:49 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Define if you would like to include filtering code.
|
|
|
|
*/
|
|
|
|
#undef FILTER_ENABLE
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Define if you want to use the included GNU regex routine
|
|
|
|
*/
|
|
|
|
#undef USE_GNU_REGEX
|
2000-03-11 20:43:25 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Define if you want to include upstream proxy support
|
|
|
|
*/
|
2000-09-12 00:18:17 +00:00
|
|
|
#undef TUNNEL_SUPPORT
|
|
|
|
|
|
|
|
/*
|
|
|
|
* NOTE: for DEFAULT_STATHOST: this controls remote proxy stats display.
|
|
|
|
* for example, the default DEFAULT_STATHOST of "tinyproxy.stats" will
|
|
|
|
* mean that when you use the proxy to access http://tinyproxy.stats/",
|
|
|
|
* you will be shown the proxy stats. Set this to something obscure
|
|
|
|
* if you don't want random people to be able to see them, or set it to
|
|
|
|
* "" to disable. In the future, I figure maybe some sort of auth
|
|
|
|
* might be desirable, but that would involve a major simplicity
|
|
|
|
* sacrifice.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* The "hostname" for getting tinyproxy stats. "" = disabled by default
|
|
|
|
*/
|
|
|
|
#define DEFAULT_STATHOST "tinyproxy.stats"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Define the following for the appropriate datatype, if necessary
|
|
|
|
*/
|
|
|
|
#undef uint8_t
|
|
|
|
#undef int16_t
|
|
|
|
#undef uint16_t
|
|
|
|
#undef int32_t
|
|
|
|
#undef uint32_t
|
|
|
|
#undef in_addr_t
|
|
|
|
#undef size_t
|
|
|
|
#undef ssize_t
|
|
|
|
#undef socklen_t
|