"the real reason to switch from ifconfig and netstat to ip and ss is that ifconfig reads from /proc, which is not efficient"
just. update ifconfig. to use netlink sockets. if it's so important??
https://utcc.utoronto.ca/~cks/space/blog/linux/ReplacingNetstatNotBad
@wxcafe
I gotta say `ifconfig` is way easier than `ip`
@wxcafe I'd say implement `ifconfig` as a compatible/friendly interface to `ip` and include them both
@wxcafe Actually, implementing it the way you described (use netlink sockets) would be even better I'm just tired
@wxcafe but idk why a configuration tool needs to be fast, it's not like you have to reconfigure your interfaces at light speed
@wxcafe Also regarding scripts, I think the article says it best " you're parsing ifconfig output on my machine to generate a list of all of the local IP addresses, you're already wrong"
@wxcafe imagine that quote started with "if"
@jordyd there are some use cases on servers with 100s of interfaces
@wxcafe oh that's scary please say no more
@jordyd
it's like a human having hundreds of mouths, really
@jordyd I don't see the point of IP if ifconfig works as it should, honestly