iptables -n -L

Should do the trick.

-----Original Message-----
From: Ajit Bhat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 16 May 2002 5:06 PM
To: [EMAIL PROTECTED]
Subject: slow "iptables -L"


Hi,
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.

Attachment: smime.p7s
Description: application/pkcs7-signature

Reply via email to