[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r13044: bind the email listener to localhost only. (in bridgedb/trunk: . lib/bridgedb)
Author: arma
Date: 2008-01-06 17:44:59 -0500 (Sun, 06 Jan 2008)
New Revision: 13044
Modified:
bridgedb/trunk/bridgedb.conf
bridgedb/trunk/lib/bridgedb/Main.py
Log:
bind the email listener to localhost only.
Modified: bridgedb/trunk/bridgedb.conf
===================================================================
--- bridgedb/trunk/bridgedb.conf 2008-01-06 22:44:39 UTC (rev 13043)
+++ bridgedb/trunk/bridgedb.conf 2008-01-06 22:44:59 UTC (rev 13044)
@@ -82,7 +82,7 @@
# those IPs.
EMAIL_RESTRICT_IPS=[]
# IP and port to listen on for email connections. Debugging only.
-EMAIL_BIND_IP=None
+EMAIL_BIND_IP="127.0.0.1"
EMAIL_PORT=6725
# How many bridges do we give back in an answer?
EMAIL_N_BRIDGES_PER_ANSWER=3
Modified: bridgedb/trunk/lib/bridgedb/Main.py
===================================================================
--- bridgedb/trunk/lib/bridgedb/Main.py 2008-01-06 22:44:39 UTC (rev 13043)
+++ bridgedb/trunk/lib/bridgedb/Main.py 2008-01-06 22:44:59 UTC (rev 13044)
@@ -61,7 +61,7 @@
EMAIL_DOMAIN_RULES = { 'gmail.com' : ["ignore_dots"],
'yahoo.com' : [] },
EMAIL_RESTRICT_IPS=[],
- EMAIL_BIND_IP=None,
+ EMAIL_BIND_IP=127.0.0.1,
EMAIL_PORT=6725,
EMAIL_N_BRIDGES_PER_ANSWER=2,