Change route interface if set by custom app via SO_BINDTODEVICE

ra9ftm

New Member
Joined
Aug 25, 2023
Messages
1
Reaction score
0
Credits
14
I have a compiled binary linux application that selects particualar network interface by system call setsockopt(.., SO_BINDTODEVICE,.. ).

I want to change interface.

As for me there can be this options:
  • App reverse engineering, patch the binary.
  • Patch the linux kernel so it will not pay attention for SO_BINDTODEVICE.
  • May be some routing trick with iptables patch-o-matic.

Is it possible to change route interface?
 

Members online


Top