I'm working on adding transparent proxying support to our application based on Boost ASIO. To achieve this, Linux supports IP_TRANSPARENT socket option (option number 19). Based on docs, there is no current support for this in ASIO. Can you recommend some workaround (maybe using SettableSocketOption?) or are you planning to add this in the future?
Hello,
I'm working on adding transparent proxying support to our application based on Boost ASIO. To achieve this, Linux supports IP_TRANSPARENT socket option (option number 19). Based on docs, there is no current support for this in ASIO. Can you recommend some workaround (maybe using SettableSocketOption?) or are you planning to add this in the future?
Inspiration from this repo: https://github.com/cloudflare/mmproxy/
EDIT: Found inspiration in tcp_delay code which makes it clear how to implement this.