On 12/13/2016 12:07 PM, Lukasz Nowak wrote:
Sorry it took a while, but I finally posted a set of patches
yesterday, which implement the per-interface routing through
sessions. I added the following:
1. A session config field which filters on interface name
This allows an application to start a session and attach it
to a specific interface.
2. Another session config field enabling source ip address
rule in iptables, and the required fwmark rule in iproute.
This allows the application to do a bind before connect
for each socket, and have the traffic routed through the
3. Fixed a bug where ppp sessions would not create a
per-session routing table due to having no gateway.
Let me know if this makes sense.
Thanks, will do a review now :)