diff options
author | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-13 17:22:47 +0900 |
---|---|---|
committer | Yasuhito FUTATSUKI at POEM <futatuki@poem.co.jp> | 2018-06-13 17:22:47 +0900 |
commit | f9ad5c209b47c5b4677f5f6678667049ceea9baf (patch) | |
tree | 07359919522b45c79abe1648fb8e6b995cb7cc7a /Mailman/Cgi/roster.py | |
parent | f4212b4845d8f5d1e3bb1cd5271f49e4641a3051 (diff) | |
parent | d4bf95bd97ebaeebb5291c4f7d9f1d90ff7414fd (diff) | |
download | mailman2-f9ad5c209b47c5b4677f5f6678667049ceea9baf.tar.gz mailman2-f9ad5c209b47c5b4677f5f6678667049ceea9baf.tar.xz mailman2-f9ad5c209b47c5b4677f5f6678667049ceea9baf.zip |
merge lp:mailman/2.1 up to rev 1770
Diffstat (limited to 'Mailman/Cgi/roster.py')
-rw-r--r-- | Mailman/Cgi/roster.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Mailman/Cgi/roster.py b/Mailman/Cgi/roster.py index 739d4fff..02286c09 100644 --- a/Mailman/Cgi/roster.py +++ b/Mailman/Cgi/roster.py @@ -118,6 +118,13 @@ def main(): error_page_doc(doc, _('%(realname)s roster authentication failed.')) doc.AddItem(mlist.GetMailmanFooter()) print doc.Format() + remote = os.environ.get('HTTP_FORWARDED_FOR', + os.environ.get('HTTP_X_FORWARDED_FOR', + os.environ.get('REMOTE_ADDR', + 'unidentified origin'))) + syslog('security', + 'Authorization failed (roster): list=%s: remote=%s', + listname, remote) return # The document and its language |