Logs unsecure tossed echomail

This commit is contained in:
Michiel Broek 2003-02-05 20:56:05 +00:00
parent 6bb31a56a7
commit 54095a6d9f
3 changed files with 10 additions and 0 deletions

View File

@ -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

7
TODO
View File

@ -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.

View File

@ -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);