Hi there,

On Tue, 16 Feb 2010 Matus UHLAR wrote:

> > On Tue, 9 Feb 2010 beshoo wrote:
> >
> > > i need to scan the post data , not the POST uploaded files
>
> On 09.02.10 11:27, G.W. Haywood wrote:
> >
> > man clamd
> >
> > Look for 'INSTREAM'.
>
> he is apparently searching for http server module that would scan POST data
> for viruses...

Yes, of course he is, and if he'd told us which Web server he's using
he might have received more feedback about that.  But he doesn't really
need anything as complex as, say, an Apache module.  A simple CGI script
could send the POST data to clamd, read the result, and decide what to
do about it.

These references may help:

perldoc perlipc

http://www.google.com/#hl=en&num=100&q=%22unix+socket%22+example&meta=&aq=&oq=%22unix+socket%22+example

This may be a start:

[r...@mail3 ~]# echo "PING" | socat unix-connect:/var/run/clam/clamd.sock stdio
PONG

--

73,
Ged.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to