Mukund Sivaraman
f613cec7ad
Update the bug-report field
2008-07-30 18:53:55 +05:30
Mukund Sivaraman
fc06880f81
Add missing comma
2008-07-14 18:20:43 +05:30
Mukund Sivaraman
7c1c547fc8
Change bug report address to email address in AC_INIT
2008-07-14 18:17:41 +05:30
Mukund Sivaraman
7751efc218
Remove unused autoconf macro calls
2008-07-14 11:31:13 +05:30
Mukund Sivaraman
1b99c216fe
Remove Id tag from configure.ac
2008-06-19 21:36:46 +05:30
Mukund Sivaraman
7dcb5f9061
Include values.h to use LONG_MAX and LONG_MIN
2008-06-17 13:44:42 +05:30
Robert James Kaes
5ea289d82e
Moved transparent proxy code into its own file
...
Extracted the transparent proxy logic from reqs.c and placed it into a
separate file.
Signed-off-by: Robert James Kaes <rjk@wormbytes.ca>
2008-06-09 10:01:14 +05:30
Mukund Sivaraman
20ad96495c
configure.ac changes
2008-05-24 16:17:29 +05:30
Mukund Sivaraman
bd8f8807ff
Generate RPM spec file from .spec.in file
2008-03-30 17:18:58 -07:00
Mukund Sivaraman
6a6a3b0409
Added Makefile.am in packaging dirs
2008-03-30 17:12:26 -07:00
Mukund Sivaraman
d5472ec0bd
Renamed file to replace underscores in it with dashes
2008-03-13 15:07:37 -07:00
Robert James Kaes
4c58663041
* [Refactor] Moved Reverse Proxy Code
...
Moved the reverse proxy code from reqs.c into it's own files
(reverse_proxy.c). The code in reqs.c is way too complicated, so I
want to move unrelated code into their own files to simplify the main
concepts in reqs.c.
2005-08-16 04:03:19 +00:00
Robert James Kaes
bf172f9242
Replaced all the AC_ARG_ENABLE calls with calls to our own
...
TP_ARG_ENABLE macro. Except for the transparent proxy option, all the
other options remain identical. To enable transparent proxy support
use only --enable-transparent, rather than the old
--enable-transparent-proxy.
2004-08-24 18:43:17 +00:00
Robert James Kaes
ab270dc35c
Moved the autoconf/automake configuration files into the config
...
directory, so inform autoconf of this (the AC_CONFIG_AUX_DIR and
AC_CONFIG_MACRO_DIR macros.)
Also added a bunch of portability tests discovered by autoscan.
2004-08-24 16:41:11 +00:00
Robert James Kaes
7b0f1fe562
Moved the configuration information into it's own directory to avoid
...
cluttering up the root directory.
2004-08-20 16:01:31 +00:00
Robert James Kaes
9f4323a562
Removed the last code relating to the old configuration parsing
...
system. The grammar.y and scanner.l files still need to be removed.
2004-08-14 00:37:51 +00:00
Robert James Kaes
0a8e4e4d8d
Added reverse proxy support from Kim Holviala. His comments regarding
...
this addition follow:
The patch implements a simple reverse proxy (with one funky extra
feature). It has all the regular features: mapping remote servers to local
namespace (ReversePath), disabling forward proxying (ReverseOnly) and HTTP
redirect rewriting (ReverseBaseURL).
The funky feature is this: You map Google to /google/ and the Google front
page opens up fine. Type in stuff and click "Google Search" and you'll get
an error from tinyproxy. Reason for this is that Google's form submits to
"/search" which unfortunately bypasses our /google/ mapping (if they'd
submit to "search" without the slash it would have worked ok). Turn on
ReverseMagic and it starts working....
ReverseMagic "hijacks" one cookie which it sends to the client browser.
This cookie contains the current reverse proxy path mapping (in the above
case /google/) so that even if the site uses absolute links the reverse
proxy still knows where to map the request.
And yes, it works. No, I've never seen this done before - I couldn't find
_any_ working OSS reverse proxies, and the commercial ones I've seen try
to parse the page and fix all links (in the above case changing "/search"
to "/google/search"). The problem with modifying the html is that it might
not be parsable (very common) or it might be encoded so that the proxy
can't read it (mod_gzip or likes).
Hope you like that patch. One caveat - I haven't coded with C in like
three years so my code might be a bit messy.... There shouldn't be any
security problems thou, but you never know. I did all the stuff out of my
memory without reading any RFC's, but I tested everything with Moz, Konq,
IE6, Links and Lynx and they all worked fine.
2004-01-26 19:11:52 +00:00
Robert James Kaes
f2d846d057
Merged in changes from the 1.6.2 release. (Fixes for the filtering code
...
and the HTML installation script.)
2003-10-17 16:11:00 +00:00
Robert James Kaes
d2098f638f
tinyproxy no longer includes a fall-back regular expression library,
...
so these files needed to be modified to only use the system's
installed regular expression library.
2003-08-07 16:32:12 +00:00
Robert James Kaes
7eb4eba381
# Merged in changes from the stable 1.6 branch.
2003-08-07 15:31:20 +00:00
Robert James Kaes
ab02f47a29
# Bumped up the version number because of a maintenance release (to fix
...
a problem with the scanner.c file.
2003-07-24 15:13:00 +00:00
Robert James Kaes
a748265b50
# Bumped up version number.
2003-07-14 17:43:26 +00:00
Robert James Kaes
717be92385
# Bumped up the version number and made sure to only add the debugging
...
flags to flex if it really is flex.
2003-06-26 18:31:16 +00:00
Robert James Kaes
a8798e999b
# Added debugging flags for the flex scanner.
2003-06-26 18:23:01 +00:00
Robert James Kaes
93ac7d8824
# Bumped up the version number.
2003-06-25 18:23:11 +00:00
Robert James Kaes
66fc80e922
# Bumped up the version number.
2003-06-23 21:15:04 +00:00
Robert James Kaes
c2240df616
Remove the -O2 optimization if debugging is enabled. Also, remove the
...
-g option if the code does _not_ have debugging enabled.
2003-06-02 21:57:14 +00:00
Robert James Kaes
983a76ecef
# Bumped up the version number
2003-05-30 16:25:41 +00:00
Robert James Kaes
4a66257e65
# Updated version number
2003-04-16 18:12:45 +00:00
Robert James Kaes
82ce7176f7
Removed duplicate header tests.
2003-04-01 16:50:41 +00:00
Robert James Kaes
5f8a497f0c
Reorganized some of the code, and remove some function tests for which
...
results were never used.
2003-04-01 16:46:45 +00:00
Robert James Kaes
146998ee2b
# Bumped up the version number and added AC_PROG_LIBTOOL to the list
...
of programs searched for by configure. This is needed since libtool
is now a separate program from automake.
2003-03-10 20:07:55 +00:00
Robert James Kaes
1624979f13
Moved the AH_TEMPLATE() macro for the GNU regex library to out from
...
inside an if...fi test. Thanks to James E. Flemer for supplying a
patch.
Bumped up the version number.
2003-01-27 17:48:26 +00:00
Robert James Kaes
fbcff969d1
# Bumped up version number to 1.5.2
2003-01-22 19:46:06 +00:00
Robert James Kaes
05b16a78db
# Bumped up the version number
2002-11-26 21:45:28 +00:00
Robert James Kaes
cf138d7479
# Updated the version number to 1.5.2rc1
2002-11-13 17:23:46 +00:00
Robert James Kaes
3b2be8ae88
Removed all the code supporting the TCP tunnelling feature of
...
tinyproxy. There is really no need for this code, since there are
perfectly good programs out there (like rinetd) which are designed for
TCP tunnelling. tinyproxy should be a good HTTP proxy, nothing more,
and nothing less; therefore, the tunnelling code is gone.
2002-11-03 17:10:33 +00:00
Robert James Kaes
e30971a76c
# Updated the version number to be 1.5.1
2002-08-09 20:28:16 +00:00
Robert James Kaes
632f689209
# Bumped up the version number (rc4)
2002-07-11 18:47:00 +00:00
Robert James Kaes
bf0709cd98
Removed the -D_REENTRANT C flag since tinyproxy is no longer a multi-threaded program.
2002-07-05 03:55:27 +00:00
Robert James Kaes
dad3bb043a
Updated the version number.
2002-06-27 16:30:38 +00:00
Robert James Kaes
cae69592be
Updated the version number.
2002-06-18 20:08:36 +00:00
Robert James Kaes
d2de74a205
Increased the version number.
2002-06-07 18:45:58 +00:00
Robert James Kaes
51bbed6f76
Added the "--enable-transparent-proxy" flag and moved the AH_TEMPLATE() macros to _outside_ the "if" tests.
2002-06-06 20:27:01 +00:00
Robert James Kaes
38b2f73004
Bumped up the version number.
2002-06-05 17:06:05 +00:00
Robert James Kaes
65d8f175b4
Updated the version number.
2002-05-31 18:09:51 +00:00
Robert James Kaes
e8de8a2e8e
Updated the version number.
2002-05-29 20:55:47 +00:00
Robert James Kaes
de782144bd
Bumped up the version number.
2002-05-29 18:15:40 +00:00
Robert James Kaes
df3d88ed4e
Updated the version number (pre 1)
2002-05-27 00:49:06 +00:00
Robert James Kaes
9c28c7dfe2
Removed the pthread related tests and added a test for the sys/mman.h
...
header (needed for shared memory.)
2002-05-26 18:58:19 +00:00
Robert James Kaes
e7b9b558e9
Moved the AC_SUBST macros all together at the end of the file.
2002-05-23 18:29:34 +00:00
Robert James Kaes
8e9fee2e10
Changed the version number to 1.5.0
2002-05-09 17:36:31 +00:00
Robert James Kaes
a25e0a608e
bumped up version number
2002-05-08 19:57:02 +00:00
Robert James Kaes
f58a34ed34
--with-config now supports absolute paths as per James Flemer's request.
2002-05-08 18:42:44 +00:00
Robert James Kaes
14f83aec55
Fixed up the usage of the CFLAGS
2002-05-02 18:22:15 +00:00
Robert James Kaes
42ef3b86b6
Bumped up the version number.
2002-05-02 17:36:46 +00:00
Robert James Kaes
6004eca8c6
Improved the code to install all the files into their properly locations.
2002-05-02 17:35:27 +00:00
Robert James Kaes
82f7a5cba6
Added code to figure out and install the configuration file.
2002-05-02 04:44:03 +00:00
Robert James Kaes
c89813d5d7
Bumped up the version number.
2002-04-29 16:32:20 +00:00
Robert James Kaes
9554989110
Bumped up the version number.
2002-04-26 16:59:44 +00:00
Robert James Kaes
284def7321
Fixed up the test for the c_r library. Also, added the -D_REENTRANT
...
define _always_.
2002-04-25 19:00:03 +00:00
Robert James Kaes
1691feb9bb
Bumped the version number to 1.5.0rc4
2002-04-18 18:48:57 +00:00
Robert James Kaes
dc18888c83
Bumped up the version number to 1.5.0rc3
2002-04-18 17:04:38 +00:00
Robert James Kaes
9fd6a9eaa9
Added a test for pthread_cancel() since it's not available on all
...
platforms.
2002-04-17 20:56:35 +00:00
Robert James Kaes
bdfad7a2dd
Bumped up version number
2002-04-16 00:23:23 +00:00
Robert James Kaes
6c2d7ebaa4
Bumped up version number.
2002-04-13 17:53:55 +00:00
Robert James Kaes
604785be66
Bumped up the pre-version number.
2002-04-11 20:45:56 +00:00
Robert James Kaes
52fa476b21
Replaced calls to AC_LIBOBJ to an ADDITIONAL_OBJECTS variable (since it's
...
not being used with src/Makefile.am). Also, rewrote the REGEX test to
better confirm to the autoconf standard.
2002-04-11 02:57:20 +00:00
Robert James Kaes
448a1b222d
Bumped up the pre-version release number and removed the AC_FUNC_MEMCMP
...
macro.
2002-04-10 19:10:07 +00:00
Robert James Kaes
e3e3020c00
Removed the test for lstat() since it wants to add a lstat.o dependancy.
...
I really need to got through the configure.ac file and figure out what
_really_ needs to be tested for.
2002-04-10 17:30:08 +00:00
Robert James Kaes
607e4c4c6c
Fixed up the problem with the "-lc_r" inclusion code.
...
_Really_ fixed up the problem with compiling under OpenBSD.
Bumped up the version number.
2002-04-09 20:04:05 +00:00
Robert James Kaes
b3a5b17b7d
Bumped up the version number.
2002-04-09 16:32:39 +00:00
Robert James Kaes
3a787ecbfa
Small changes to conform to the new Autoconf standards. Also, added a
...
test for the OpenBSD system which prevents the inclusion of the malloc.h
header (the functions are actually defined in stdlib.h)
I might even remove the malloc.h header altogether since the malloc/free
functions _should_ be in stdlib.h
2002-04-09 16:27:34 +00:00
Robert James Kaes
54a84434fc
Changed the version number to reflect the 1.5.0 pre-releases
2002-04-09 01:45:37 +00:00
Robert James Kaes
c654bc14d9
Changed the version number down to 1.4.4pre1 (from the more ambitious
...
1.5.0pre1)
2002-04-07 21:31:15 +00:00
Robert James Kaes
194435acc1
Patch from James Flemer which:
...
* allows the --disable-* options to work
* prevents -lc_r from being included on FreeBSD machines
2002-04-02 16:58:36 +00:00
Robert James Kaes
ea0d956a57
Removed an unused header.
2001-12-28 22:31:12 +00:00
Robert James Kaes
4916c78ad5
Removed the version test for the bison.
2001-12-17 19:10:06 +00:00
Robert James Kaes
71ad9f439f
Bumped the version number.
2001-12-17 00:28:28 +00:00
Robert James Kaes
3f4a052c85
Addtional function checks.
2001-12-15 20:02:03 +00:00
Robert James Kaes
4a1b2d534a
Fixed a problem with the quoting.
2001-11-26 01:38:28 +00:00
Robert James Kaes
3a67f6a326
Updated the configure.in file to be compliant with the new macros (and
...
coding standard) of autoconf2.5x
2001-11-25 02:18:47 +00:00