From 493c102e83fa3680db7538491e3c9b5df35c94f5 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 21 Nov 2006 13:12:34 -0800 Subject: [PATCH] Allow tunnelling IMAP and POP by default. darcs-hash:20061121211234-4cc09-dc8c48258c8ad21ee72abc7af62001b4fd448eaf.gz --- http.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/http.c b/http.c index a578db7..40a89c9 100644 --- a/http.c +++ b/http.c @@ -154,10 +154,14 @@ initHttp() do_log(L_ERROR, "Couldn't allocate tunnelAllowedPorts.\n"); exit(1); } - intListCons(22, 22, tunnelAllowedPorts); - intListCons(80, 80, tunnelAllowedPorts); - intListCons(443, 443, tunnelAllowedPorts); - intListCons(873, 873, tunnelAllowedPorts); + intListCons(22, 22, tunnelAllowedPorts); /* ssh */ + intListCons(80, 80, tunnelAllowedPorts); /* HTTP */ + intListCons(109, 110, tunnelAllowedPorts); /* POP 2 and 3*/ + intListCons(143, 143, tunnelAllowedPorts); /* IMAP 2/4 */ + intListCons(443, 443, tunnelAllowedPorts); /* HTTP/SSL */ + intListCons(873, 873, tunnelAllowedPorts); /* rsync */ + intListCons(993, 993, tunnelAllowedPorts); /* IMAP/SSL */ + intListCons(995, 995, tunnelAllowedPorts); /* POP/SSL */ } if(proxyName) -- 2.11.4.GIT