Hello, For those of you using this imap server, here is a small patch to obfuscate the version numbers for both imap and pop servers. We could not find any documentation on how to disable the banner version number, so we wrote a small patch to take care of hiding this. This patch was diff'ed for imap-2001a-18drac, but can be easily modified to support another source base. Thanks
Jason ----------------------------------------------------------------------- file:imap-2001a-security.patch ----------------------------------------------------------------------- --- imap-2001a/src/imapd/imapd.c 2004-02-24 11:43:21.000000000 -0600 +++ imap-2001a/src/imapd/imapd.c.orig 2004-02-24 11:43:12.000000000 -0600 @@ -185,7 +185,7 @@ #endif /* DRAC_AUTH */ -char *version = "2001.315"; /* version number of this server */ +char *version = "version"; /* version number of this server */ time_t alerttime = 0; /* time of last alert */ time_t sysalerttime = 0; /* time of last system alert */ time_t useralerttime = 0; /* time of last user alert */ --- imap-2001a/src/ipopd/ipop3d.c.orig 2004-02-24 11:50:21.000000000 -0600 +++ imap-2001a/src/ipopd/ipop3d.c 2004-02-24 11:50:31.000000000 -0600 @@ -69,7 +69,7 @@ #endif /* DRAC_AUTH */ -char *version = "2001.78"; /* server version */ +char *version = "version"; /* server version */ short state = AUTHORIZATION; /* server state */ short critical = NIL; /* non-zero if in critical code */ MAILSTREAM *stream = NIL; /* mailbox stream */ --- imap-2001a/src/ipopd/ipop2d.c.orig 2004-02-24 11:50:01.000000000 -0600 +++ imap-2001a/src/ipopd/ipop2d.c 2004-02-24 11:50:12.000000000 -0600 @@ -51,7 +51,7 @@ ^L /* Global storage */ -char *version = "2001.63"; /* server version */ +char *version = "version"; /* server version */ short state = LISN; /* server state */ short critical = NIL; /* non-zero if in critical code */ MAILSTREAM *stream = NIL; /* mailbox stream */ -- ----------------------------------------------------------------- For information about this mailing list, and its archives, see: http://www.washington.edu/imap/imap-list.html -----------------------------------------------------------------
