Re: [squid-users] test ICAP server

2025-02-07 Thread Robin Wood
I'm more looking at things like always adding extra headers such as auth tokens. I want to create some scripts that will go and get things like JWTs so I can run dumb tools through them and not have to worry about doing it by hand and then getting the tool to accept extra headers. And I know there

Re: [squid-users] test ICAP server

2025-02-07 Thread Amos Jeffries
On 8/02/25 04:35, Robin Wood wrote: 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 thr

Re: [squid-users] test ICAP server

2025-02-07 Thread Robin Wood
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

Re: [squid-users] test ICAP server

2025-02-07 Thread Alex Rousskov
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 b

Re: [squid-users] test ICAP server

2025-02-07 Thread Robin Wood
I've got a bit further with this and I'm starting to understand ICAP talk. I've got a Go server working which I can talk to through netcat: $ nc localhost 1344 REQMOD icap://192.168.0.7/ ICAP/1.0 GET / HTTP/1.1 Host: dvwa.test Accept: text/html, text/plain, image/gif Accept-Encoding: gzip, compre

[squid-users] test ICAP server

2025-02-07 Thread Robin Wood
Hi I want to write my own ICAP server, but all the sample code I've found is failing, the majority with this error from squidclient: squidclient -h 192.168.0.7 -p 1344 icap://192.168.0.7:1344/request_mod ICAP/1.0 400 Bad Request And this error when accessed through Squid itself: ICAP protocol er