aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-12-15 03:21:44 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-12-15 03:21:44 +0000
commite4697a975e136c884e0cf7c9056d8547fd959555 (patch)
tree0b0efc7fc8b2a806dbaec8532c579c8a4c5b6a92
parente36a92e005700a7cbccdf2d5885baf1efb43e4ee (diff)
downloadfetchmail-e4697a975e136c884e0cf7c9056d8547fd959555.tar.gz
fetchmail-e4697a975e136c884e0cf7c9056d8547fd959555.tar.bz2
fetchmail-e4697a975e136c884e0cf7c9056d8547fd959555.zip
Hide remotename.
svn path=/trunk/; revision=1570
-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)
{