Mike@sh.itjust.workstoLinux@lemmy.ml•How do I see what pid/process has modified a linux routing table?
6·
10 months agoThey aren’t asking about changes to a file describing the routing config, rather the actual in-use routing config. Unless the routing rules are modified through a couple of files (which I doubt), this doesn’t answer the question.
Cool commands though.
Well, the routes might manifest somewhere as files, but I don’t expect anyone to be able to viably parse them without commands like
ip
orifconfig
(or know where the files even are).Some devices (like disks for example) are very straightforward to use as files, while some other special files (like USB devices) are so weird/ugly to use that everyone uses tools/libraries to access them (like libusb).
This is very off-topic, but there’s a great talk by Benno Rice that talks about this (among many others): https://youtu.be/9-IWMbJXoLM