-
Notifications
You must be signed in to change notification settings - Fork 69
californium-proxy needs re-implementation #1
Comments
Hello Matthias, I'm currently working on a solution:
But I'm facing some problems:
WDYT, is above possible? Do you have any idea how? |
Hi @vvalchev, I am not about Matthias' original intention behind his comment
I don't think it was meant to imply that Californium (and thus Leshan) should be able to speak CoAP over HTTP (which wouldn't make much sense from my point of view since CoAP is basically meant to be a UDP based, lightweight replacement for HTTP) but was instead meant to express his opinion regarding a better way of implementing the proxy component. What you are trying to achieve would require changes in leshan, i.e. supporting HTTP instead of CoAP as the transport protocol for LWM2M. However, that is a question you should raise with the leshan project. My understanding of your problem is that you are trying to run leshan in Cloud Foundry's elastic runtime but are limited to communicate with the outside world via HTTP on port 80 because of Cloud Foundry's router component that does not support UDP routing, correct? I do not think that translating between CoAP and HTTP hence and forth is the solution to that problem. UDP support is already in the back log for Cloud Foundry's go router, until then you should deploy leshan to another execution environment than th elastic runtime. You already mentioned Docker yourself which I consider a viable option. |
I am also quite confused about the plan to proxy CoAP to HTTP and then extend Leshan with HTTP to connect devices... you can try this as personal work around, but this will never go into the project (+1 to what Kai said). The plan for this issue is to rethink the HTTP integration once we tackle alternative transports. CoAP-over-TCP uses Netty, which we could also use for an HTTP endpoint that is attached to a translator. |
Hi @vvalchev, Thanks. |
Hi @GiacomoGenovese, Regards. |
Ok, Thanks. Regards, |
…nknown_ciphers Fix for bug eclipse-archived#1
…atching. CoapEndpoint uses a MessageCallback for obtaining DTLS session parameters from an underlying DTLS based Connector. The Matcher then uses this information to check whether a Response with a matching token has been received within the same DTLS session the Request has been sent in.
removed the question as not relevant for this thread |
Please, consider that COAP and HTTP are both REST. |
This issue is not about general design questions around proxying hence and forth between CoAP and HTTP. Please use the mailing list for such questions. |
Is there a plan to implement DTLS into the proxy? I'm currently using the cf client to directly connect to my target via DTLS/PSK but I would rather use a normal HTTP REST client... |
To get it to work, you can simply replace the CoAP connectors with Scandium DTLS connectors. |
Hello How can I see all packet in burp suite? |
Please, this repository is not longer active! |
The HTTP cross-proxy is currently broken.
HTTP needs to become an Endpoint implementation and requires integration into the Exchange concept.
The text was updated successfully, but these errors were encountered: