On Mon, Jan 29, 2001 at 02:54:10AM -0500, Scott Gifford wrote:
> ipmeprint shows this. Here's qmail's normal ipme:
>
> [sgifford@sghome qmail-1.03]$ ./ipmeprint
> 127.0.0.1
> 10.0.0.8
>
> here it is with Adi's patch:
>
> [sgifford@sghome qmail-1.03-adi]$ ./ipmeprint
> 0.0.0.0
> 0.0.0.0
Arggh.. thanks again!
Our mailserver currently being attack by navidad.exe ;-(
I didn't received your patch, yet. Anyway, I think this patch would
be more correct than previous one :-)
% ./ipmeprint
127.0.0.1
10.0.7.21
10.0.7.20
10.0.100.1
10.0.100.2
10.0.100.3
10.0.100.4
10.0.100.5
0.0.0.0
Regards,
P.Y. Adi Prasaja
--- ipme.c Mon Jun 15 17:53:16 1998
+++ /usr/local/src/qmail-1.03/ipme.c Mon Jan 29 16:09:15 2001
@@ -89,6 +89,8 @@
#endif
x += len;
}
+ ip_scan("0.0.0.0", &ix.ip);
+ if (!ipalloc_append(&ipme,&ix)) { close(s); return 0; }
close(s);
ipmeok = 1;
return 1;