How to find out which process or program changes IPtables (deletes one of it's chains)?
I run Fedora 23 server. I use it, among the others, to share Internet connection and enforce fair, dynamic traffic shaping. For the last I use Niceshaper. It adds it's chains to IPtables.
Recently I have discovered my server was compromised. It was used as DNS server on IPv6. IP6tables were changed. I have cleared all. Proved all /etc/ settings are unmodified. Verify all installed packages and proved they are unmodified.
Unluckily there is still something wrong. Despite the fact the server's configuration didn't changed for months and Niceshaper worked fine, it now started to exit after detecting it's ns_upload chain was removed.
I would like to find out which process removes the chain to fix it.
I will be thankful for your help.