[squid-users] Squid support for CoAP ( Constrained Application Protocol)

From: parashuram <parashuram.l_at_accord-soft.com>
Date: Mon, 06 Feb 2012 16:34:40 +0530

Hello all,

I am using squid as direct as well as transparent proxy, It is working
fine for HTTP(for http:// scheme part) request,
but I want to use squid as transparent caching proxy for HTTP and COAP(
for coap:// scheme part). I am unable to make coap resource request,
when i make coap request it gives fallowing response

</head><body>
<div id="titles">
<h1>ERROR</h1>
<h2>The requested URL could not be retrieved</h2>
</div>
<hr>

<div id="content">
<p>The following error was encountered while trying to retrieve the URL:
<a href="coap://localhost">coap://localhost</a></p>

<blockquote id="error">
<p><b>Invalid URL</b></p>
</blockquote>

<p>Some aspect of the requested URL is incorrect.</p>

<p>Some possible problems are:</p>
<ul>
<li><p>Missing or incorrect access protocol (should be <q>http://</q> or
similar)</p></li>
<li><p>Missing hostname</p></li>
<li><p>Illegal double-escape in the URL-Path</p></li>
<li><p>Illegal character in hostname; underscores are not allowed.</p></li>
</ul>

<p>Your cache administrator is <a
href="mailto:webmaster?subject=CacheErrorInfo%20-%20ERR_INVALID_URL&amp;body=CacheHost%3A%20colinux%0D%0AErrPage%3A%20ERR_INVALID_URL%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Mon,%2006%20Feb%202012%2009%3A38%3A39%20GMT%0D%0A%0D%0AClientIP%3A%20%3A%3A1%0D%0A%0D%0AHTTP%20Request%3A%0D%0A%0D%0A%0D%0A">webmaster</a>.</p>
<br>
</div>

<hr>
<div id="footer">
<p>Generated Mon, 06 Feb 2012 09:38:39 GMT by colinux (squid/3.1.9)</p>
<!-- ERR_INVALID_URL -->
</div>
</body></html>

from response I feel like squid does not support coap protocol( for more
details go throughhttp://tools.ietf.org/html/draft-ietf-core-coap-08)

how do I make squid to support coap protocol.

Thanks for help

-- 
Regards,
Parashuram
Systems Engineer
Accord Software&  systems Pvt Ltd
Division : GNSS&  Systems
www.accord-soft.com
Mobile   : +91-81471 93134
Extn     : 227
##############################################################################################################################################
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete
the material from your system. Accord Software & Systems Pvt. Ltd. (ACCORD) is not responsible for any changes made to the material other
than those made by ACCORD or for the effect of the changes on the meaning of the material.
##############################################################################################################################################
Received on Mon Feb 06 2012 - 11:06:01 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 06 2012 - 12:00:01 MST