Search squid archive

Re: test ICAP server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
I wouldn't risk trying to do a production quality one server!

I'm a security tester and I want a way to automatically modify traffic that I'm sending to and from sites. I've got plenty of other ways to do it, but as all my testing traffic already goes through a Squid box I just wanted to have a play to see if I could get it to do simple things like add a new header or something like that.  When I saw some really simple servers written in Python and Go I thought it would be a fun bit of learning.

I've just grabbed a copy of c-icap, the build instructions could do with some work, I've got it built, but it wasn't obvious what needed doing. I'll have a play, it won't be as flexible as I wanted, but I'll hopefully learn something, and that might help debug the other servers.

Robin

On Fri, 7 Feb 2025 at 14:56, Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On 2025-02-07 05:15, Robin Wood wrote:

> I want to write my own ICAP server

FWIW, nearly all attempts to quickly write a production-quality ICAP
server (that I have seen) have failed. The protocol is much more complex
than it seems. In most cases, folks looking for a free ICAP server
should be reusing existing c-icap.


> but all the sample code I've found
> is failing, the majority with this error from squidclient:

squidclient does not really support ICAP.


> Does someone have some example server code they know works that I can
> test to help debug it?

Consider c-icap: https://c-icap.sourceforge.net/


HTH,

Alex.

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux