On Tue, 5 Apr 2011 23:21:45 +0200, dario p wrote:
> Hello!
> I'm dario, from italy!
> I was looking to squid because i need a proxy that can filter request
> to my server.
> I need a proxy to filter web-service request like soap message
> (tcp-http-soap-xml).
> The request body of http is a xml.
> I want something like count the number of the tag inside the xml and
> filter is the number is > X.
> Then i would like to change the value of X on the feedback of the
> server CPU. (dynamic behaviour)
> I don't know if squid is what i need, but maybe you can suggest a
> solution, even if i have to create a plugin o something like this.
>
> Thanks for your time.
None of this is relevant operations for any proxy/relay to be doing.
Body data validation is a basic security measure that MUST be performed
properly by each application. Squid will validate that the transfered
body is the right size or the right encoding. Whether the background
application can handle the request is a matter for that application to
say.
If you are stuck with a dud web-app you could write yourself a wrapper
script or program for it which did all this and passed the results to
the other app. That would also allow you to do things like split the
request body into sections for action across several calls to the SOAP
app.
Amos
Received on Wed Apr 06 2011 - 00:29:46 MDT
This archive was generated by hypermail 2.2.0 : Wed Apr 06 2011 - 12:00:03 MDT