You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rainer Scherg <Ra...@t-online.de> on 1999/02/07 17:29:39 UTC
apache-api/3854: apache lacks hook for output stream "filter" modules in api
>Number: 3854
>Category: apache-api
>Synopsis: apache lacks hook for output stream "filter" modules in api
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Sun Feb 7 08:30:00 PST 1999
>Last-Modified:
>Originator: Rainer.Scherg@t-online.de
>Organization:
apache
>Release: 1.3.4
>Environment:
any
>Description:
Right now it's very difficult to implement a filter module in the
(http) output stream of apache. Developing a third party module, which
is able to examine - e.g. the proxy http content stream, can only be developed
by providing a simple - but version dependend - patch to the orig.
apache source code.
E.g.: a school (minors) is using apache proxy to connect to their network
to the internet. There may be a demand of filtering software to prevend
kids of viewing "harzardous" contents. The ProxyBlock directive cannot handle
the contents of html pages, only some servers in the internet.
By providing a hook into the datastream this could be handled by a better way.
IMO, the hook should call a filter function, which should be able to handle
the stream (buffer) in partial steps. The funtion should return a code which
indicates the server whether stream was modified, unmodified, or the server
has to cancel the request (blocked & reason).
I know this is a request which could lead to a very controverse discussion,
but IMO it's very usefull and will enhance apache by a powerfull feature
(e.g. build in virus scanner for proxies on exe files, etc.).
Rainer
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]