From e4697a975e136c884e0cf7c9056d8547fd959555 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 15 Dec 1997 03:21:44 +0000 Subject: Hide remotename. svn path=/trunk/; revision=1570 --- NEWS | 2 ++ driver.c | 10 +++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index f337a9ab..a29a329c 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,8 @@ fetchmail-4.3.5 () * Added Kent Robotti's fetchsetup configuration script. * Corrected buggy handling of `expunge 0'. * GSSAPI support from Brendan Cully . +* We no longer reveal the remotename in fetchmail's logname, as this + may be sensitive information. fetchmail-4.3.4 (Fri Dec 5 12:39:31 EST 1997) * Yet another attempt on the Compuserve RPA moving target. diff --git a/driver.c b/driver.c index 61438f91..66d4c619 100644 --- a/driver.c +++ b/driver.c @@ -1184,11 +1184,15 @@ int num; /* index of message */ n = stuffline(ctl, buf); if (n != -1) { - sprintf(buf, "\tby %s (fetchmail-%s %s run for %s)\n", + /* + * We used to include ctl->remotename in this log line, + * but this can be secure information that would be bad + * to reveal. + */ + sprintf(buf, "\tby %s (fetchmail-%s %s)\n", fetchmailhost, RELEASE_ID, - protocol->name, - ctl->remotename); + protocol->name); n = stuffline(ctl, buf); if (n != -1) { -- cgit v1.2.3