lkml.org 
[lkml]   [1997]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Very slow listing of ipfwadm
On Fri, 6 Jun 1997, Lauri Tischler wrote:

> I rebooted my routerbox and now if I try to list the firewall rules
> it is really slow. masquerading doesnt seem to work either :(
> It takes minutes to list of about 20 rules to the console.
> Something rotten with /proc ??
> If I do cat /proc/net/ip_input it lists the thing ok.

Nothing to do with /proc. What's happening is that ipfwadm is trying
to reverse DNS lookup all of the entries in your firewall table, and
this takes quite some time. If you use "ipfwadm -I -l -n", it won't
bother looking them up, and just give you numbers.

Cheers,
Matthew.

PS. Bcc'ed to kernel list so that we don't get dozens of replies.

--
Matthew Kirkwood | Mail: weejock@ferret.lmh.ox.ac.uk
LMH JCR, | Web: http://www-jcr.lmh.ox.ac.uk/~weejock/
Oxford OX2 6QA, | PGP: finger weejock@ferret.lmh.ox.ac.uk
England. |



\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.164 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site