Fabian Keil [Fri, 29 Dec 2006 17:38:57 +0000 (17:38 +0000)]
Fixed gcc43 conversion warnings.
Fabian Keil [Thu, 28 Dec 2006 19:21:23 +0000 (19:21 +0000)]
Fixed gcc43 warning and enabled list_is_valid()'s loop
detection again. It was ineffective since the removal of
the arbitrary list length limit two years ago.
Fabian Keil [Thu, 28 Dec 2006 18:25:53 +0000 (18:25 +0000)]
Fixed gcc43 compiler warning.
Fabian Keil [Thu, 28 Dec 2006 18:16:41 +0000 (18:16 +0000)]
Fixed gcc43 compiler warnings, zero out cgi_send_user_manual's
body memory before using it, replaced sprintf calls with snprintf.
Fabian Keil [Thu, 28 Dec 2006 18:04:25 +0000 (18:04 +0000)]
Fixed gcc43 conversion warnings.
Fabian Keil [Thu, 28 Dec 2006 17:54:22 +0000 (17:54 +0000)]
Fixed gcc43 conversion warnings and replaced sprintf
calls with snprintf to give OpenBSD's gcc one less reason
to complain.
Fabian Keil [Thu, 28 Dec 2006 17:15:42 +0000 (17:15 +0000)]
Fix gcc43 conversion warning.
hal9 [Thu, 28 Dec 2006 11:23:43 +0000 (11:23 +0000)]
Several updates from recent SF activity.
Fabian Keil [Wed, 27 Dec 2006 18:52:02 +0000 (18:52 +0000)]
Fix -pedantic ISO C warning about converting
from function pointer to object pointer.
Fabian Keil [Wed, 27 Dec 2006 18:44:52 +0000 (18:44 +0000)]
Stop shadowing string.h's index().
Fabian Keil [Tue, 26 Dec 2006 17:38:50 +0000 (17:38 +0000)]
Silence compiler warning I introduced with my last commit.
Fabian Keil [Tue, 26 Dec 2006 17:31:41 +0000 (17:31 +0000)]
Mutex protect rand() if POSIX threading
is used, warn the user if that's not possible
and stop using it on _WIN32 where it could
cause crashes.
Fabian Keil [Tue, 26 Dec 2006 17:19:20 +0000 (17:19 +0000)]
Bringing back the "useless" localtime() call
I removed in revision 1.67. On some platforms
it's necessary to prevent time zone offsets.
Fabian Keil [Sun, 24 Dec 2006 17:37:38 +0000 (17:37 +0000)]
Adjust comment in pcrs_filter_response()
to recent pcrs changes. Hohoho.
Fabian Keil [Sun, 24 Dec 2006 17:34:20 +0000 (17:34 +0000)]
Add pcrs_strerror() message for PCRE_ERROR_MATCHLIMIT
and give a hint why an error code might be unknown.
Catch NULL subjects early in pcrs_execute().
Fabian Keil [Sun, 24 Dec 2006 17:27:37 +0000 (17:27 +0000)]
Increase pcrs error code offset to prevent overlaps
with pcre versions newer than our own.
Fabian Keil [Sat, 23 Dec 2006 16:15:06 +0000 (16:15 +0000)]
Don't prevent core dumps by catching SIGABRT.
It's rude and makes debugging unreasonable painful.
Fabian Keil [Sat, 23 Dec 2006 16:01:02 +0000 (16:01 +0000)]
Don't crash if pcre returns an error code
that pcrs didn't expect. Fixes BR
1621173.
Fabian Keil [Fri, 22 Dec 2006 19:14:11 +0000 (19:14 +0000)]
Add some new entries.
Fabian Keil [Fri, 22 Dec 2006 19:06:56 +0000 (19:06 +0000)]
Added contributor Daniel Griscom who suggested to give a
reason when generating new trust entries (FR
1097611).
Fabian Keil [Fri, 22 Dec 2006 18:52:53 +0000 (18:52 +0000)]
Modified is_untrusted_url to complain in case of
write errors and to give a reason when adding new
entries to the trustfile. Closes FR
1097611.
Fabian Keil [Fri, 22 Dec 2006 14:24:52 +0000 (14:24 +0000)]
Skip empty filter files in pcrs_filter_response,
but don't ignore the ones that come afterwards.
Fixes parts of BR
1619208.
Fabian Keil [Fri, 22 Dec 2006 14:19:27 +0000 (14:19 +0000)]
Removed checks whether or not AF_FILES have
data structures associated with them in cgi_show_status.
It doesn't matter as we're only interested in the file names.
For the action files the checks were always true,
but they prevented empty filter files from being
listed. Fixes parts of BR
1619208.
Fabian Keil [Thu, 21 Dec 2006 13:01:03 +0000 (13:01 +0000)]
Prepare for "split-large-forms".
Mention that redirect{} now also understands
a single pcrs job as argument.
Add some table summaries and remove useless validator link.
Fabian Keil [Thu, 21 Dec 2006 12:57:48 +0000 (12:57 +0000)]
Add config option "split-large-forms"
to work around the browser bug reported
in BR #
1570678.
Fabian Keil [Thu, 21 Dec 2006 12:28:12 +0000 (12:28 +0000)]
Escaping special characters in filter descriptions is no
longer necessary, it's done by Privoxy now.
Fabian Keil [Thu, 21 Dec 2006 12:22:22 +0000 (12:22 +0000)]
html_encode filter descriptions.
Have "Ignoring job ..." error messages
print the filter file name correctly.
hal9 [Mon, 18 Dec 2006 11:35:04 +0000 (11:35 +0000)]
Remove block from dw.com.com. Put a webbug block on dw.com.com/clear.
+fast_redirects then for dw.com.com per tracker report #
1617829.
Fabian Keil [Sun, 17 Dec 2006 19:35:19 +0000 (19:35 +0000)]
Escape ampersand in Privoxy menu.
Fabian Keil [Sun, 17 Dec 2006 19:15:26 +0000 (19:15 +0000)]
Added ./configure switch for FEATURE_GRACEFUL_TERMINATION.
Fabian Keil [Sun, 17 Dec 2006 17:57:56 +0000 (17:57 +0000)]
- Added FEATURE_GRACEFUL_TERMINATION to the
"conditional #defines" section
- Escaped ampersands in generated HTML.
- Renamed re-filter-filename to re-filter-filenames
Fabian Keil [Sun, 17 Dec 2006 17:53:39 +0000 (17:53 +0000)]
Suppress the toggle link if remote toggling is disabled.
Fabian Keil [Sun, 17 Dec 2006 17:50:55 +0000 (17:50 +0000)]
Add white space workaround for tables
in show-status CGI page.
Fabian Keil [Sun, 17 Dec 2006 17:49:27 +0000 (17:49 +0000)]
- Fixed markup
- Cleaned up comments
- Added FEATURE_GRACEFUL_TERMINATION to the
"conditional #defines" section
- Renamed @re-filter-filename@ to @re-filter-filenames@
- Removed useless W3C validator link
Fabian Keil [Sun, 17 Dec 2006 17:13:02 +0000 (17:13 +0000)]
Call "the proxy software" by name and use semantically correct HTML.
Fabian Keil [Sun, 17 Dec 2006 17:04:51 +0000 (17:04 +0000)]
Move the <br> in the generated HTML for the config
options from the beginning of the string to its end.
Keeps the white space in balance.
hal9 [Sat, 16 Dec 2006 13:39:10 +0000 (13:39 +0000)]
Added Justin and Adam Piggott to sgml authors.
hal9 [Sat, 16 Dec 2006 13:25:55 +0000 (13:25 +0000)]
Several additions all from recent SF tracker postings. Most for privacy and JS
blocking.
anonymous [Wed, 13 Dec 2006 14:53:51 +0000 (14:53 +0000)]
Include any existing LDFLAGS environment when linking so that a MacOS X Universal Binary can be created.
anonymous [Wed, 13 Dec 2006 14:52:53 +0000 (14:52 +0000)]
Fix build failure on MacOS X. Global symbols can be either static or extern, but not both.
Fabian Keil [Tue, 12 Dec 2006 17:32:23 +0000 (17:32 +0000)]
Added id mbEnd to google filter, it's now and then
used for the sponsored links.
Have js-annoyances try to prevent status bar
modifications where the status bar text is
inside another variable. Fixes
1605710.
hal9 [Mon, 11 Dec 2006 11:18:25 +0000 (11:18 +0000)]
Add unblock pattern for an Amazon gift url.
hal9 [Sun, 10 Dec 2006 23:42:48 +0000 (23:42 +0000)]
Fix various typos reported by Adam P. Thanks.
Roland Rosenfeld [Sat, 9 Dec 2006 17:20:13 +0000 (17:20 +0000)]
Merge in Debian changes from Debian packages 3.0.5-beta-3 and 3.0.6-1.
Fabian Keil [Sat, 9 Dec 2006 13:49:16 +0000 (13:49 +0000)]
Fix configure option --disable-toggle.
Thanks to Peter Thoenen for reporting this.
Fabian Keil [Sat, 9 Dec 2006 13:33:15 +0000 (13:33 +0000)]
Added some sanity checks for get_last_url().
Fixed possible segfault caused by my last commit.
Fabian Keil [Fri, 8 Dec 2006 14:45:32 +0000 (14:45 +0000)]
Don't lose the FORCE_PREFIX in case of
connection problems. Fixes #612235.
Fabian Keil [Fri, 8 Dec 2006 13:27:42 +0000 (13:27 +0000)]
Sync with CVS changes since the last release.
Fabian Keil [Fri, 8 Dec 2006 12:39:13 +0000 (12:39 +0000)]
Let get_last_url() catch https URLs as well.
Fabian Keil [Thu, 7 Dec 2006 18:44:26 +0000 (18:44 +0000)]
Rebuild request URL in get_destination_from_headers()
to make sure redirect{pcrs command} works as expected
for intercepted requests.
hal9 [Thu, 7 Dec 2006 11:25:46 +0000 (11:25 +0000)]
Add Fabian's nice new addition for intercepting.
Fabian Keil [Wed, 6 Dec 2006 19:52:25 +0000 (19:52 +0000)]
Added get_destination_from_headers().
Fabian Keil [Wed, 6 Dec 2006 19:50:54 +0000 (19:50 +0000)]
parse_http_url() now handles intercepted
HTTP request lines as well. Moved parts
of parse_http_url()'s code into
init_domain_components() so that it can
be reused in chat().
Fabian Keil [Wed, 6 Dec 2006 19:41:40 +0000 (19:41 +0000)]
Privoxy is now able to run as intercepting
proxy in combination with any packet filter
that does the port redirection. The destination
is extracted from the "Host:" header which
should be available for nearly all requests.
Moved HTTP snipplets into jcc.c.
Added error message for gopher proxy requests.
Fabian Keil [Wed, 6 Dec 2006 19:26:29 +0000 (19:26 +0000)]
Moved HTTP snipplets into jcc.c. They aren't
used anywhere else.
Fabian Keil [Wed, 6 Dec 2006 19:14:23 +0000 (19:14 +0000)]
Added prototype for get_destination_from_headers().
Fabian Keil [Wed, 6 Dec 2006 19:12:43 +0000 (19:12 +0000)]
Added prototype for init_domain_components().
Fabian Keil [Tue, 5 Dec 2006 14:45:48 +0000 (14:45 +0000)]
Make sure get_last_url() behaves like advertised
and fast-redirects{} can be combined with redirect{}.
hal9 [Sun, 3 Dec 2006 21:23:33 +0000 (21:23 +0000)]
Two minor updates per SF tracker items.
hal9 [Thu, 30 Nov 2006 01:08:55 +0000 (01:08 +0000)]
Fix problem with variable declarations in the Slackware section. Thanks to higuita.
Fabian Keil [Tue, 28 Nov 2006 15:38:51 +0000 (15:38 +0000)]
Only unlink the pidfile if it's actually used.
Change order of interception checks to make
it possible to block or redirect requests for
the cgi pages.
Fabian Keil [Tue, 28 Nov 2006 15:31:52 +0000 (15:31 +0000)]
Fix memory leak in case of config file reloads.
Fabian Keil [Tue, 28 Nov 2006 15:29:50 +0000 (15:29 +0000)]
Define LOG_LEVEL_REDIRECTS independently of
FEATURE_FAST_REDIRECTS. It is used by redirect{}
as well.
Fabian Keil [Tue, 28 Nov 2006 15:25:15 +0000 (15:25 +0000)]
Only unlink the pidfile if it's actually used.
Fabian Keil [Tue, 28 Nov 2006 15:19:43 +0000 (15:19 +0000)]
Implemented +redirect{s@foo@bar@} to generate
a redirect based on a rewritten version of the
original URL.
hal9 [Tue, 28 Nov 2006 11:34:35 +0000 (11:34 +0000)]
Fix the prep section per Support request so it actually builds.
Fabian Keil [Thu, 23 Nov 2006 14:08:47 +0000 (14:08 +0000)]
Update to recent version as of November 2006.
hal9 [Thu, 23 Nov 2006 13:27:39 +0000 (13:27 +0000)]
Actionsfile feedback item #
1597034, espace.netavenir.com popups
Fabian Keil [Thu, 23 Nov 2006 10:26:16 +0000 (10:26 +0000)]
Added Toby Lyward to the list of contributors
(reported a Slackware rc script problem).
hal9 [Wed, 22 Nov 2006 15:06:08 +0000 (15:06 +0000)]
Add /js/slider.js per Actions file tracker request.
hal9 [Tue, 21 Nov 2006 18:32:46 +0000 (18:32 +0000)]
Setting version to 3.0.7 UNRELEASED for lack of a better setting.
hal9 [Tue, 21 Nov 2006 18:30:56 +0000 (18:30 +0000)]
Just getting it ready for next time.
Fabian Keil [Tue, 21 Nov 2006 15:43:12 +0000 (15:43 +0000)]
Add special treatment for WIN32 to make sure
cgi_send_user_manual opens the files in binary mode.
Fixes BR
1600411 and unbreaks image delivery.
Remove outdated comment.
hal9 [Tue, 21 Nov 2006 12:39:11 +0000 (12:39 +0000)]
Updated with post 3.0.6 commentary.
hal9 [Tue, 21 Nov 2006 12:36:31 +0000 (12:36 +0000)]
Taking out the http 1.0/1.1 commentary per Fabians comments
hal9 [Sat, 18 Nov 2006 17:36:53 +0000 (17:36 +0000)]
Ooops, bumping version to 3.0.6
Fabian Keil [Sat, 18 Nov 2006 14:42:51 +0000 (14:42 +0000)]
Mark as stable.
Fabian Keil [Sat, 18 Nov 2006 14:37:12 +0000 (14:37 +0000)]
Bump version to 3.0.6.
Fabian Keil [Sat, 18 Nov 2006 14:06:14 +0000 (14:06 +0000)]
Added warning that this script isn't supposed
to be sourced in other rc scripts. Should prevent
bug reports like #
1542947.
Changed command line order to make sure
the config file is the last argument.
Thanks to William for reporting this.
hal9 [Sat, 18 Nov 2006 10:36:17 +0000 (10:36 +0000)]
Adding kontera.com per Actions file tracker report
Fabian Keil [Thu, 16 Nov 2006 17:10:43 +0000 (17:10 +0000)]
Removed webbugs debugging comment again.
The apostrophe could break JavaScript and
the comment itself could mess up existing
comments.
hal9 [Tue, 14 Nov 2006 02:56:32 +0000 (02:56 +0000)]
Version stamp current changes.
hal9 [Tue, 14 Nov 2006 02:08:59 +0000 (02:08 +0000)]
Setting version string to 3.0.6 UNRELEASED. This needs to be reset to 3.0.6
stable just before CVS is tagged for release.
hal9 [Tue, 14 Nov 2006 02:06:20 +0000 (02:06 +0000)]
All HTML docs for 3.0.6 release.
hal9 [Tue, 14 Nov 2006 02:04:46 +0000 (02:04 +0000)]
PDF docs for 3.0.6 release.
hal9 [Tue, 14 Nov 2006 02:02:26 +0000 (02:02 +0000)]
All text docs for 3.0.6.
hal9 [Tue, 14 Nov 2006 01:57:47 +0000 (01:57 +0000)]
Dump all docs prior to 3.0.6 release. Various minor changes to faq and user
manual.
hal9 [Tue, 14 Nov 2006 01:54:36 +0000 (01:54 +0000)]
Re-generate in preparation for release.
Fabian Keil [Mon, 13 Nov 2006 19:05:51 +0000 (19:05 +0000)]
Make pthread mutex locking more generic. Instead of
checking for OSX and OpenBSD, check for FEATURE_PTHREAD
and use mutex locking unless there is an _r function
available. Better safe than sorry.
Fixes "./configure --disable-pthread" and should result
in less threading-related problems on pthread-using platforms,
but it still doesn't fix BR#
1122404.
hal9 [Sun, 12 Nov 2006 15:14:02 +0000 (15:14 +0000)]
Adding two rules.
Fabian Keil [Fri, 10 Nov 2006 18:04:04 +0000 (18:04 +0000)]
Have no-ping print the ping warning in red.
Modified yahoo to keep in sync with recent
CSS changes and to suppress a useless horizontal
scrollbar.
msn now makes sure that the continue-link boxes
act as links (the original CSS just changes the cursor).
Changed fun filter regex to leave microsoft links alone.
Fixes BR
1019996.
hal9 [Tue, 7 Nov 2006 23:24:44 +0000 (23:24 +0000)]
Remove ign.com per Actions file tracker
1592118. Adding one too.
Fabian Keil [Tue, 7 Nov 2006 12:46:43 +0000 (12:46 +0000)]
Silence compiler warning on NetBSD 3.1.
Fabian Keil [Mon, 6 Nov 2006 19:58:23 +0000 (19:58 +0000)]
Move pthread.h inclusion from jcc.c to jcc.h.
Fixes build on x86-freebsd1 (FreeBSD 5.4-RELEASE).
Fabian Keil [Mon, 6 Nov 2006 14:26:02 +0000 (14:26 +0000)]
Don't exit after receiving the second SIGHUP on Solaris.
Fixes BR
1052235, but the same problem may exist on other
systems. Once 3.0.6 is out we should use sigset()
where available and see if it breaks anything.
Fabian Keil [Sun, 5 Nov 2006 17:22:23 +0000 (17:22 +0000)]
Don't let "reloadframe" trigger the "adframe" block. Fixes BR
1064466.
Disable referrer blocking for schneegans.de/sv/?url=referer.
Redirect privoxy.org/config to config.privoxy.org. Fixes BR
1474657.
hal9 [Sun, 5 Nov 2006 16:46:06 +0000 (16:46 +0000)]
Various updates, mostly minor, in prep for 3.0.6
Fabian Keil [Wed, 25 Oct 2006 11:59:06 +0000 (11:59 +0000)]
Added Darel Henman to the contributor section
(reported a GNUmakefile.in bug).
Fabian Keil [Wed, 25 Oct 2006 11:55:45 +0000 (11:55 +0000)]
Fix sed regexes for rewriting "confdir ." and "logdir .".
Thanks to Darel Henman for reporting this.
hal9 [Tue, 24 Oct 2006 11:16:44 +0000 (11:16 +0000)]
Add new filters.