Questions tagged [icap]

The Internet Content Adaptation Protocol (ICAP) is a lightweight HTTP-like protocol used to extend transparent proxy servers, thereby freeing up resources and standardizing the way in which new features are implemented.

The Internet Content Adaptation Protocol (ICAP) is a lightweight HTTP-like protocol specified in RFC 3507. It is used to extend transparent proxy servers, thereby freeing up resources and standardizing the way in which new features are implemented.
ICAP is generally used to implement virus scanning and content filters (including censorware) in transparent HTTP proxy caches.
The name part "Content Adaptation" refers to performing the particular "value added service" (a euphemism for "content manipulation") for the associated client request/response.

23 questions
2
votes
0 answers

can I use System.Net.Http.HttpClient or System.Net.HttpWebRequest for ICAP services

I'm trying to write an ICAP client in .Net C#. The ICAP protocol is described as being "HTTP-like" Has anyone had any success using System.Net.Http.HttpClient or System.Net.HttpWebRequest to invoke ICAP services, or do I have to roll my own layer…
Andy
  • 10,412
  • 13
  • 70
  • 95
2
votes
1 answer

Sending file and receiving response using ICAP and Java

I'm trying to communicate with a Blue Coat anti-virus box using ICAP. I'm fairly new at Java, but i do have experience in other object-oriented languages. I have tested using c-icap-client on Ubuntu and I can confirm that the server I'm testing with…
Mads Y
  • 342
  • 1
  • 4
  • 12
1
vote
0 answers

ICAP RESPMOD hold and block downloading file

I have ICAP server which is scanning files and ICAP client running pyicap library (https://github.com/netom/pyicap) I want to allow users to start downloading files via ICAP client but hold last couple of bytes while there is no response from ICAP…
SystemFailure
  • 67
  • 1
  • 9
1
vote
1 answer

How to link to a shared library using Automake

Having spent most of my development career in IDE I'm currently attempting to extend an Opensource project C-ICAP that uses Autoconf and Automake, so this may be a glaringly obvious answer to those more familiar with this toolset. I'm attempting to…
PeeGee
  • 99
  • 8
1
vote
0 answers

Understanding ICAP Server File Transfer In Java Problem

I am trying to get a Java ICAP server to interface with a blue coat device which is acting as the ICAP client. The ICAP server I am working with is here: icap. Basically I have been getting things working and now I am stuck on why on the server…
djoemart
  • 9
  • 4
1
vote
0 answers

How to control filtering in Apache Traffic Server using C#.NET application?

I need to set rules for filtering via Apache Traffic Server using C#.NET + MySQL. Is it possible to do? Actually, I want to install an ICAP server with client app, for setting filtering rules.
Babaev
  • 13
  • 1
  • 1
  • 5
1
vote
1 answer

Create a custom response to an HTTP request using c-icap

I am using c-icap to modify HTTP transactions. According to the documentation. I should be able to do so by using the following functions. int ci_http_response_create ( ci_request_t * req, int has_reshdr, int has_body ) …
Ahmed Shahid
  • 284
  • 3
  • 14
1
vote
1 answer

Drop a request Using C-icap

I am using the open source c-icap for modifying HTTP transaction, between a client and a server. http://www.firefly.kutc.kansai-u.ac.jp/~k843966/c-icap/doc/structci__service__module.html Is it possible to drop a request completely? I want to be…
Ahmed Shahid
  • 284
  • 3
  • 14
0
votes
0 answers

How to Send a file to ICAP server using python socket and REQMOD?

I am using the python's socket module to make an ICAP REQMOD request for scanning the file for viruses. I am able to establish the connection to the ICAP server and able to send a POST request to using the following code. print("----- REQMOD - POST…
0
votes
0 answers

SQUID + ICAP + SSL BUMP to modify https content

I am trying to insert JS in order to block popups/newtabs with ICAP. I have setup tproxy with squid and it works fine for https connections I can see REQMOD requests but i dont see the RESPMOD. I think my ssl bumping is not setup correctly. If i try…
0
votes
0 answers

ICAP in Wireshark

Serach by port 1344 Hello! Please tell me, how can I find ICAP messages in Wireshark? I know that messages HTTP messages can be transformed to ICAP. I can only find port 1344. But I see nothing in filter "ICAP". Please let me know if anyone has done…
vdevnet
  • 1
  • 1
0
votes
1 answer

How to test ClamAV service for potential threats

As part of an enterprise software project, our application connects to an antivirus service backed by ClamAV, using ICAP as communication protocol. I would like to test the antivirus service response to malicious documents but, of course, I cannot…
Serg M Ten
  • 5,568
  • 4
  • 25
  • 48
0
votes
0 answers

Squid configuration is not sending RESPMOD icap request, how to resolve?

I currently have a squid server (4.10) that I am trying to get icap working correctly on. I have the squid.conf configured with both a REQMOD and RESPMOD service, however I never see squid even requesting the options for the RESPMOD endpoint. I am…
Mike
  • 1,297
  • 2
  • 14
  • 22
0
votes
1 answer

How to log https contents with squid in pfsense?

I setup the squid with "HTTPS/SSL Interception" in pfsense and install the ca for all clients. Now it can log all the https request to access.log file. But it can only log the URLs of https requests, i wanna get to know if it can log the web content…
0
votes
0 answers

Java ICAP File Transfer Problem, File Is Corrupted

I am working with an ICAP github project located here which is based off JBoss Netty codecs. My current problem which likely stems from my inability to properly understand netty handlers and Httpchunks along with lack of programming skills is I do…
djoemart
  • 9
  • 4
1
2