IPSec's ESP !
The graphic you point to seems to depict the transport mode.
I guess there are hooks to do what this requires but I can't help you,
wait for Simon or someone with more internal knowledge of the stack.
I'll stay lurking in listen-mode as I'm curious on how to do this.
On 11.09.2018 12:29, dhosa wrote:
Hi, I'm trying to add & delete custom header *ESP header* 8 bytes
before IP header, I used *pbuf_header(p,8)* in *ip_output_if_opt*
before /if (pbuf_header(p, IP_HLEN))/
* |room for new header
*
\
Yup, It's transport mode.
> I'll stay lurking in listen-mode as I'm curious on how to do this.
Thanks
--
Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailm
That doesn't seem completely correct. Per your later image, it seems you need
the IP header to contain proto = ESP, not proto = TCP...
Yes , i did change proto to 50, IPH_PROTO_SET(iphdr, proto);
But you must also check it, not only remove it, don't you?
Sure, Currently I'm Just trying to add/remo