I'm running RedHat Linux 7.2
The "iptables -L" takes quite a bit of time to actually show the rules list. I have a requirement that I've to answer snmp requests by the iptables list data from my snmp agent. But by the time I get the list, the snmp request times out. Caching the list is a way to work around this, but I'd like to know if I can get the list faster. I've heard some DNS lookup issues are making it slow. Any help is greatly appreciated.
Thanks in advance.
Ajit.
-- The current implementation is non-obvious and may need to be improved.