From 54095a6d9fe9bbdcc1420c02e0f2c4340b983d5c Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Wed, 5 Feb 2003 20:56:05 +0000 Subject: [PATCH] Logs unsecure tossed echomail --- ChangeLog | 2 ++ TODO | 7 +++++++ mbfido/postecho.c | 1 + 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 74c6685b..84f96546 100644 --- a/ChangeLog +++ b/ChangeLog @@ -53,6 +53,8 @@ v0.37.01 14-Jan-2003. In areamgr/filemgr lists the messages are forced splitted when the force limit is reached in the middle of a group listing. The nodes statistocs are expanded with flow counters. + If echomail is accepted in a unsecure area or the unsecure + commandline option is set, a violation is logged as warning. mbsetup: Added protection against wrong database sizes depending on diff --git a/TODO b/TODO index ce9457e8..f396cf17 100644 --- a/TODO +++ b/TODO @@ -39,8 +39,15 @@ mbsebbs: N: If a new mailcheck takes longer then the idle timeout, the user is disconnected as soon as the mailcheck is ready. + N: Only count posted messages in local mail areas. mbfido: + N: The elist rules files are named (8.3) areaname.rul where areaname + is the first 8 characters of the area name and we use the full name + only. Make sure both namings are accepted? + + N: Count posted messages during mailscan. + U: Code cleanup and make a structure in this program. Remove duplicate or similar functions. diff --git a/mbfido/postecho.c b/mbfido/postecho.c index b7a9854e..ccdb8dc5 100644 --- a/mbfido/postecho.c +++ b/mbfido/postecho.c @@ -170,6 +170,7 @@ int postecho(faddr *p_from, faddr *f, faddr *t, char *orig, char *subj, time_t m if (bad && (msgs.UnSecure || do_unsec)) { bad = FALSE; memset(&Link, 0, sizeof(Link)); + Syslog('!', "Warning, unsecure echomail from %s accepted in area %s", ascfnode(p_from, 0x1f), msgs.Tag); } if (bad) { Syslog('+', "Node %s not connected to area %s", ascfnode(p_from, 0x1f), msgs.Tag);