Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80b58229dd |
No files matched your search
@@ -1,14 +1,3 @@
|
|||||||
2002-05-08 Robert James Kaes <rjkaes@flarenet.com>
|
|
||||||
|
|
||||||
* configure.ac: The --with-config option now supports absolute
|
|
||||||
paths. If an absolute path is given, the full directory path and
|
|
||||||
file name are extracted into their appropriate parts.
|
|
||||||
|
|
||||||
2002-05-07 Robert James Kaes <rjkaes@flarenet.com>
|
|
||||||
|
|
||||||
* src/reqs.c (connect_to_tunnel): Removed request logging code in
|
|
||||||
the tunnel method since it breaks the "tunnel" concept.
|
|
||||||
|
|
||||||
2002-05-02 Robert James Kaes <rjkaes@flarenet.com>
|
2002-05-02 Robert James Kaes <rjkaes@flarenet.com>
|
||||||
|
|
||||||
* configure.ac: Added code to figure out exactly where to install
|
* configure.ac: Added code to figure out exactly where to install
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
|
||||||
|
NEWS
|
||||||
|
====
|
||||||
|
|
||||||
|
It's been a few months since I release the 1.4.3 version. That's
|
||||||
|
a bit longer than I want to take with this release (which I originally
|
||||||
|
thought would be released a week after the 1.4.3 release in November
|
||||||
|
21, 2001 :), but my real life kind of intruded on the project.
|
||||||
|
Anyway, this release doesn't add any new features or functions; it's
|
||||||
|
basically a bug fix and standard compliance release. A few
|
||||||
|
portability bugs have been fixed, and I've rewritten a few request
|
||||||
|
processing functions to make them more compliant with the HTTP
|
||||||
|
standard.
|
||||||
|
|
||||||
|
Now, I've tested the request related code personally with all the
|
||||||
|
configurations I can think of, but I can't claim that it will work
|
||||||
|
perfectly with _every_ configuration and _every_ site. So, please
|
||||||
|
give these pre-releases a thorough testing and let me know if there
|
||||||
|
any problems you've noticed.
|
||||||
|
|
||||||
|
Robert James Kaes
|
||||||
|
April 8, 2002
|
||||||
@@ -34,7 +34,12 @@ against the current tree and I'll integrate it if possible.
|
|||||||
|
|
||||||
* Enable an option for chroot() jailing tinyproxy.
|
* Enable an option for chroot() jailing tinyproxy.
|
||||||
|
|
||||||
|
* Add an option which allows the blocking of connections to certain
|
||||||
|
ports (like 25, 110, etc.) that might be used for "bad" things. :)
|
||||||
|
|
||||||
* Come up with a more consistent (and elegant) way of logging errors
|
* Come up with a more consistent (and elegant) way of logging errors
|
||||||
for the administrators. Right now it's more a hodge-podge
|
for the administrators. Right now it's more a hodge-podge
|
||||||
collections of error messages without a _real_ standard. I would
|
collections of error messages without a _real_ standard. I would
|
||||||
prefer a more uniform look.
|
prefer a more uniform look.
|
||||||
|
|
||||||
|
* All selective binding, rather than the default wildcard system.
|
||||||
+10
-20
@@ -1,4 +1,4 @@
|
|||||||
dnl $Id: configure.ac,v 2.30 2002-05-09 17:36:31 rjkaes Exp $
|
dnl $Id: configure.ac,v 2.27 2002-05-02 18:22:15 rjkaes Exp $
|
||||||
|
|
||||||
dnl Devlopers, please strive to achieve this order:
|
dnl Devlopers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@@ -14,7 +14,7 @@ dnl 8. System services
|
|||||||
dnl
|
dnl
|
||||||
dnl Read the Autoconf manual for details.
|
dnl Read the Autoconf manual for details.
|
||||||
|
|
||||||
AC_INIT([tinyproxy], [1.5.0], [rjkaes@users.sourceforge.net])
|
AC_INIT([tinyproxy], [1.5.0rc8], [rjkaes@users.sourceforge.net])
|
||||||
AC_CONFIG_SRCDIR([src/tinyproxy.c])
|
AC_CONFIG_SRCDIR([src/tinyproxy.c])
|
||||||
AC_PREREQ(2.52)
|
AC_PREREQ(2.52)
|
||||||
|
|
||||||
@@ -50,33 +50,23 @@ AC_ARG_WITH(stathost,
|
|||||||
dnl Set the default configuration file location
|
dnl Set the default configuration file location
|
||||||
test "$prefix" = "NONE" && prefix=/usr/local
|
test "$prefix" = "NONE" && prefix=/usr/local
|
||||||
|
|
||||||
AH_TEMPLATE([DEFAULT_CONF_FILE],
|
|
||||||
[This is the default file name for the configuration file.])
|
|
||||||
AC_ARG_WITH(config,
|
|
||||||
[AC_HELP_STRING([--with-config=FILE],
|
|
||||||
[Set the default location of the config file])],
|
|
||||||
[tp_config_file="$withval"],
|
|
||||||
[tp_config_file="tinyproxy.conf"])
|
|
||||||
|
|
||||||
# If the first character is a slash, it's an absolute path
|
|
||||||
if [[ `echo $tp_config_file | cut -c1` = "/" ]]; then
|
|
||||||
TINYPROXY_CONFIG_DIR=`echo "$tp_config_file" | sed 's/^\(.*\)\/[[^\/]]*$/\1/'`
|
|
||||||
TINYPROXY_CONFIG_FILE=`echo "$tp_config_file" | sed 's/^.*\/\([[^\/]]*\)$/\1/'`
|
|
||||||
else
|
|
||||||
# If sysconfdir is /usr/etc, change it to /etc (since /usr/etc doesn't exist)
|
# If sysconfdir is /usr/etc, change it to /etc (since /usr/etc doesn't exist)
|
||||||
if [[ "/usr/etc" = `eval echo $sysconfdir` -a "/usr" = "$prefix" ]]; then
|
if [[ "/usr/etc" = `eval echo $sysconfdir` -a "/usr" = "$prefix" ]]; then
|
||||||
TINYPROXY_CONFIG_DIR="/etc/tinyproxy"
|
TINYPROXY_CONFIG_DIR="/etc/tinyproxy"
|
||||||
else
|
else
|
||||||
TINYPROXY_CONFIG_DIR=`eval echo $sysconfdir/tinyproxy`
|
TINYPROXY_CONFIG_DIR=`eval echo $sysconfdir/tinyproxy`
|
||||||
fi
|
fi
|
||||||
TINYPROXY_CONFIG_FILE="$tp_config_file"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(TINYPROXY_CONFIG_DIR)
|
AC_SUBST(TINYPROXY_CONFIG_DIR)
|
||||||
AC_SUBST(TINYPROXY_CONFIG_FILE)
|
|
||||||
|
|
||||||
|
AH_TEMPLATE([DEFAULT_CONF_FILE],
|
||||||
|
[This is the default file name for the configuration file.])
|
||||||
|
AC_ARG_WITH(config,
|
||||||
|
[AC_HELP_STRING([--with-config=FILE],
|
||||||
|
[Set the default location of the config file])],
|
||||||
|
[TINYPROXY_CONFIG_FILE="$withval"],
|
||||||
|
[TINYPROXY_CONFIG_FILE="tinyproxy.conf"])
|
||||||
AC_DEFINE_UNQUOTED(DEFAULT_CONF_FILE, "$TINYPROXY_CONFIG_DIR/$TINYPROXY_CONFIG_FILE")
|
AC_DEFINE_UNQUOTED(DEFAULT_CONF_FILE, "$TINYPROXY_CONFIG_DIR/$TINYPROXY_CONFIG_FILE")
|
||||||
|
AC_SUBST(TINYPROXY_CONFIG_FILE)
|
||||||
AC_MSG_NOTICE([Default config location and file is: $TINYPROXY_CONFIG_DIR/$TINYPROXY_CONFIG_FILE])
|
AC_MSG_NOTICE([Default config location and file is: $TINYPROXY_CONFIG_DIR/$TINYPROXY_CONFIG_FILE])
|
||||||
|
|
||||||
dnl Add compiler-specific optimization flags
|
dnl Add compiler-specific optimization flags
|
||||||
|
|||||||
+1
-16
@@ -1,4 +1,4 @@
|
|||||||
/* $Id: reqs.c,v 1.71 2002-05-08 03:29:23 rjkaes Exp $
|
/* $Id: reqs.c,v 1.70 2002-04-28 20:03:18 rjkaes Exp $
|
||||||
*
|
*
|
||||||
* This is where all the work in tinyproxy is actually done. Incoming
|
* This is where all the work in tinyproxy is actually done. Incoming
|
||||||
* connections have a new thread created for them. The thread then
|
* connections have a new thread created for them. The thread then
|
||||||
@@ -1107,19 +1107,6 @@ connect_to_upstream(struct conn_s *connptr, struct request_s *request)
|
|||||||
static int
|
static int
|
||||||
connect_to_tunnel(struct conn_s *connptr)
|
connect_to_tunnel(struct conn_s *connptr)
|
||||||
{
|
{
|
||||||
|
|
||||||
#if 0
|
|
||||||
/*
|
|
||||||
* NOTE: This must be fixed
|
|
||||||
*
|
|
||||||
* Needed to remove this for right now since it breaks the semantics
|
|
||||||
* of the "tunnel" concept since the information from the remote host
|
|
||||||
* wasn't being sent until _after_ data was sent by the client. This
|
|
||||||
* is not correct since we should be sending the data regardless of
|
|
||||||
* who sent it first.
|
|
||||||
*
|
|
||||||
* I'll have to look into this for the next release.
|
|
||||||
*/
|
|
||||||
char *request_buf;
|
char *request_buf;
|
||||||
ssize_t len;
|
ssize_t len;
|
||||||
int pos;
|
int pos;
|
||||||
@@ -1135,8 +1122,6 @@ connect_to_tunnel(struct conn_s *connptr)
|
|||||||
|
|
||||||
safefree(request_buf);
|
safefree(request_buf);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
log_message(LOG_INFO, "Redirecting to %s:%d",
|
log_message(LOG_INFO, "Redirecting to %s:%d",
|
||||||
config.tunnel_name, config.tunnel_port);
|
config.tunnel_name, config.tunnel_port);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user