You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for developing this software! It has helped me tremendously with some Kubernetes-related things.
On modern Linux distros however, ifconfig has been replaced with iproute2 for the most part; usage of n2n on these distros fails due to this. It would be great if the ifconfig calls could be replaced with their ip counterparts.
The text was updated successfully, but these errors were encountered:
pojntfx
changed the title
n2n relies on ifconfig
n2n relies on deprecated ifconfig on Linux
Sep 17, 2019
@fengdaolong Sure, but isn't it already using the system function here for example? I'm sorry, I'm not a C developer by any means so I might be wrong here ...
I agree that using a system API (C api / linux api) to configure the interface is better, the system() call as it is now is a dirty way to invoke a system cli tool to do the job.
First of all, thanks for developing this software! It has helped me tremendously with some Kubernetes-related things.
On modern Linux distros however,
ifconfig
has been replaced withiproute2
for the most part; usage of n2n on these distros fails due to this. It would be great if theifconfig
calls could be replaced with theirip
counterparts.The text was updated successfully, but these errors were encountered: