aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--driver.c10
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 <brendan@kublai.com>.
+* 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)
{