<div dir="ltr">Hi<div>I wouldn't risk trying to do a production quality one server!</div><div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Robin</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Fri, 7 Feb 2025 at 14:56, Alex Rousskov <<a href="mailto:rousskov@measurement-factory.com">rousskov@measurement-factory.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2025-02-07 05:15, Robin Wood wrote:<br>
<br>
> I want to write my own ICAP server<br>
<br>
FWIW, nearly all attempts to quickly write a production-quality ICAP <br>
server (that I have seen) have failed. The protocol is much more complex <br>
than it seems. In most cases, folks looking for a free ICAP server <br>
should be reusing existing c-icap.<br>
<br>
<br>
> but all the sample code I've found <br>
> is failing, the majority with this error from squidclient:<br>
<br>
squidclient does not really support ICAP.<br>
<br>
<br>
> Does someone have some example server code they know works that I can <br>
> test to help debug it?<br>
<br>
Consider c-icap: <a href="https://c-icap.sourceforge.net/" rel="noreferrer" target="_blank">https://c-icap.sourceforge.net/</a><br>
<br>
<br>
HTH,<br>
<br>
Alex.<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>