lists.torproject.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
April
March
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
tor-commits
July 2012
----- 2025 -----
April 2025
March 2025
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
tor-commits@lists.torproject.org
14 participants
949 discussions
Start a n
N
ew thread
[flashproxy/master] Remove Flash /crossdomain.xml from facilitator.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit 540fda8e1f1f07567accf1972b7cfb39323f2f03 Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 04:12:34 2012 -0700 Remove Flash /crossdomain.xml from facilitator. --- facilitator.py | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/facilitator.py b/facilitator.py index 83de49b..5ab7449 100755 --- a/facilitator.py +++ b/facilitator.py @@ -190,10 +190,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): path =
…
[View More]
urlparse.urlsplit(self.path)[2] - if path == u"/crossdomain.xml": - self.send_crossdomain() - return - reg = REGS.fetch() if reg: log(u"proxy %s gets %s, relay %s (now %d)" % @@ -235,19 +231,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): self.send_response(200) self.end_headers() - def send_crossdomain(self): - crossdomain = """\ -<cross-domain-policy> -<allow-access-from domain="*"/> -</cross-domain-policy> -""" - self.send_response(200) - # Content-Type must be one of a few whitelisted types. - #
http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security.html#_Co…
- self.send_header("Content-Type", "application/xml") - self.end_headers() - self.wfile.write(crossdomain) - def send_error(self, code, message = None): self.send_response(code) self.end_headers()
[View Less]
1
0
0
0
[flashproxy/master] Factor out client reg sending.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit f99c686d4a6ab7296a5023338944b1b88d8a48bc Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 05:10:32 2012 -0700 Factor out client reg sending. --- facilitator.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/facilitator.py b/facilitator.py index 040d189..be3436c 100755 --- a/facilitator.py +++ b/facilitator.py @@ -201,10 +201,9 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): if reg: log(u"proxy %s gets
…
[View More]
%s, relay %s (now %d)" % (safe_str(proxy_addr_s), safe_str(unicode(reg)), options.relay_spec, len(REGS))) - self.send_client(reg) else: log(u"proxy %s gets none" % safe_str(proxy_addr_s)) - self.send_client(None) + self.send_client(reg) def do_POST(self): client_addr_s = format_addr(self.client_address)
[View Less]
1
0
0
0
[flashproxy/master] Remove the "proxy connects" log message.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit 7d047b2e4ad56b1c652c16a1ef76739ee021addb Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 05:10:17 2012 -0700 Remove the "proxy connects" log message. --- facilitator.py | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/facilitator.py b/facilitator.py index ed06301..040d189 100755 --- a/facilitator.py +++ b/facilitator.py @@ -195,8 +195,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): def do_GET(self):
…
[View More]
proxy_addr_s = format_addr(self.client_address) - log(u"proxy %s connects" % safe_str(proxy_addr_s)) - path = urlparse.urlsplit(self.path)[2] reg = REGS.fetch()
[View Less]
1
0
0
0
[flashproxy/master] Don't log anything for a broken pipe.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit 67b1ad61f81ff75e9bc5ee35e73382e4129f7469 Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 05:14:45 2012 -0700 Don't log anything for a broken pipe. --- facilitator.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/facilitator.py b/facilitator.py index be3436c..0a6a018 100755 --- a/facilitator.py +++ b/facilitator.py @@ -292,7 +292,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): raise
…
[View More]
if err_num != errno.EPIPE: raise - log(u"%s broken pipe" % safe_str(format_addr(self.client_address))) return ret handle = catch_epipe(BaseHTTPServer.BaseHTTPRequestHandler.handle) finish = catch_epipe(BaseHTTPServer.BaseHTTPRequestHandler.finish)
[View Less]
1
0
0
0
[flashproxy/master] Get rid of the "resp" log messsages.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit feb36e3a89595cf3c386ea73a34a640df58c5272 Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 05:22:27 2012 -0700 Get rid of the "resp" log messsages. --- facilitator.py | 8 +------- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/facilitator.py b/facilitator.py index 3347624..64de7a6 100755 --- a/facilitator.py +++ b/facilitator.py @@ -242,13 +242,7 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): self.wfile.write(message)
…
[View More]
def log_request(self, code): - addr_s = format_addr(self.client_address) - try: - referer = self.headers["Referer"] - except (AttributeError, KeyError): - referer = "-" - log(u"resp %s %s %d" - % (safe_str(addr_s), repr(self.requestline), code)) + pass def log_message(self, format, *args): msg = format % args
[View Less]
1
0
0
0
[flashproxy/master] Get rid of the "client regs" message.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit 811284b37b3174e5d33aa0d56da2f19b4bdbc7eb Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 05:20:42 2012 -0700 Get rid of the "client regs" message. --- facilitator.py | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/facilitator.py b/facilitator.py index 0a6a018..3347624 100755 --- a/facilitator.py +++ b/facilitator.py @@ -225,8 +225,6 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): self.send_error(400)
…
[View More]
return - log(u"client %s regs %s -> %s" - % (safe_str(client_addr_s), safe_str(repr(client_spec)), safe_str(unicode(reg)))) if REGS.add(reg): log(u"client %s %s (now %d)" % (safe_str(client_addr_s), safe_str(unicode(reg)), len(REGS)))
[View Less]
1
0
0
0
[flashproxy/master] Don't log referrers.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit 65c9abd53c2976d74dcd46e765f60d779d6f656a Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 05:09:32 2012 -0700 Don't log referrers. This is useless anyway because it is either blank or else the URL of the embed.html. --- facilitator.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/facilitator.py b/facilitator.py index 582dbd8..ed06301 100755 --- a/facilitator.py +++ b/facilitator.py @@ -252,8 +252,8 @@ class Handler(
…
[View More]
BaseHTTPServer.BaseHTTPRequestHandler): referer = self.headers["Referer"] except (AttributeError, KeyError): referer = "-" - log(u"resp %s %s %d %s" - % (safe_str(addr_s), repr(self.requestline), code, repr(referer))) + log(u"resp %s %s %d" + % (safe_str(addr_s), repr(self.requestline), code)) def log_message(self, format, *args): msg = format % args
[View Less]
1
0
0
0
[flashproxy/master] Scrub IP addresses by default in the facilitator.
by dcf@torproject.org
04 Jul '12
04 Jul '12
commit 5a58e0c1d9d5da1b0c1983360b88ad8bea13575e Author: David Fifield <david(a)bamsoftware.com> Date: Wed Jul 4 05:08:00 2012 -0700 Scrub IP addresses by default in the facilitator. Add an --unsafe-logging option to retain addresses. --- facilitator.py | 35 +++++++++++++++++++++++------------ 1 files changed, 23 insertions(+), 12 deletions(-) diff --git a/facilitator.py b/facilitator.py index 5ab7449..582dbd8 100755 --- a/facilitator.py +++ b/facilitator.py @@ -27,6 +
…
[View More]
27,7 @@ class options(object): relay_spec = None daemonize = True pid_filename = None + safe_logging = True @staticmethod def set_relay_spec(spec): @@ -45,7 +46,8 @@ and serve them out again with HTTP GET. Listen on HOST and PORT, by default -h, --help show this help. -l, --log FILENAME write log to FILENAME (default \"%(log)s\"). --pidfile FILENAME write PID to FILENAME after daemonizing. - -r, --relay RELAY send RELAY (host:port) to proxies as the relay to use.\ + -r, --relay RELAY send RELAY (host:port) to proxies as the relay to use. + --unsafe-logging don't scrub IP addresses from logs.\ """ % { "progname": sys.argv[0], "addr": DEFAULT_ADDRESS, @@ -53,6 +55,13 @@ and serve them out again with HTTP GET. Listen on HOST and PORT, by default "log": DEFAULT_LOG_FILENAME, } +def safe_str(s): + """Return s if options.safe_logging is true, and "[scrubbed]" otherwise.""" + if options.safe_logging: + return "[scrubbed]" + else: + return s + log_lock = threading.Lock() def log(msg): log_lock.acquire() @@ -186,17 +195,17 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): def do_GET(self): proxy_addr_s = format_addr(self.client_address) - log(u"proxy %s connects" % proxy_addr_s) + log(u"proxy %s connects" % safe_str(proxy_addr_s)) path = urlparse.urlsplit(self.path)[2] reg = REGS.fetch() if reg: log(u"proxy %s gets %s, relay %s (now %d)" % - (proxy_addr_s, unicode(reg), options.relay_spec, len(REGS))) + (safe_str(proxy_addr_s), safe_str(unicode(reg)), options.relay_spec, len(REGS))) self.send_client(reg) else: - log(u"proxy %s gets none" % proxy_addr_s) + log(u"proxy %s gets none" % safe_str(proxy_addr_s)) self.send_client(None) def do_POST(self): @@ -207,7 +216,7 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): client_spec = data.getfirst("client") if client_spec is None: - log(u"client %s missing \"client\" param" % client_addr_s) + log(u"client %s missing \"client\" param" % safe_str(client_addr_s)) self.send_error(400) return @@ -215,18 +224,18 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): reg = Reg.parse(client_spec, self.client_address[0]) except ValueError, e: log(u"client %s syntax error in %s: %s" - % (client_addr_s, repr(client_spec), repr(str(e)))) + % (safe_str(client_addr_s), safe_str(repr(client_spec)), repr(str(e)))) self.send_error(400) return log(u"client %s regs %s -> %s" - % (client_addr_s, repr(client_spec), unicode(reg))) + % (safe_str(client_addr_s), safe_str(repr(client_spec)), safe_str(unicode(reg)))) if REGS.add(reg): log(u"client %s %s (now %d)" - % (client_addr_s, unicode(reg), len(REGS))) + % (safe_str(client_addr_s), safe_str(unicode(reg)), len(REGS))) else: log(u"client %s %s (already present, now %d)" - % (client_addr_s, unicode(reg), len(REGS))) + % (safe_str(client_addr_s), safe_str(unicode(reg)), len(REGS))) self.send_response(200) self.end_headers() @@ -244,7 +253,7 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): except (AttributeError, KeyError): referer = "-" log(u"resp %s %s %d %s" - % (addr_s, repr(self.requestline), code, repr(referer))) + % (safe_str(addr_s), repr(self.requestline), code, repr(referer))) def log_message(self, format, *args): msg = format % args @@ -286,7 +295,7 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): raise if err_num != errno.EPIPE: raise - log(u"%s broken pipe" % format_addr(self.client_address)) + log(u"%s broken pipe" % safe_str(format_addr(self.client_address))) return ret handle = catch_epipe(BaseHTTPServer.BaseHTTPRequestHandler.handle) finish = catch_epipe(BaseHTTPServer.BaseHTTPRequestHandler.finish) @@ -294,7 +303,7 @@ class Handler(BaseHTTPServer.BaseHTTPRequestHandler): REGS = RegSet() opts, args = getopt.gnu_getopt(sys.argv[1:], "dhl:r:", - ["debug", "help", "log=", "pidfile=", "relay="]) + ["debug", "help", "log=", "pidfile=", "relay=", "unsafe-logging"]) for o, a in opts: if o == "-d" or o == "--debug": options.daemonize = False @@ -312,6 +321,8 @@ for o, a in opts: except socket.gaierror, e: print >> sys.stderr, u"Can't resolve relay %s: %s" % (repr(a), str(e)) sys.exit(1) + elif o == "--unsafe-logging": + options.safe_logging = False if not options.relay_spec: print >> sys.stderr, """\
[View Less]
1
0
0
0
[vidalia/alpha] Display node fp in the network map
by chiiph@torproject.org
03 Jul '12
03 Jul '12
commit 4fdc1b330e77f6f878c77a9eb04e748a4ef8e568 Author: Tomás Touceda <chiiph(a)torproject.org> Date: Tue Jul 3 20:18:32 2012 -0300 Display node fp in the network map --- changes/bug2726 | 3 +++ src/vidalia/network/RouterDescriptorView.cpp | 1 + 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/changes/bug2726 b/changes/bug2726 new file mode 100644 index 0000000..fbe2380 --- /dev/null +++ b/changes/bug2726 @@ -0,0 +1,3 @@ + New
…
[View More]
features: + o Display node fingerprint in the details panel in the Network Map. Resolves + ticket 2726. diff --git a/src/vidalia/network/RouterDescriptorView.cpp b/src/vidalia/network/RouterDescriptorView.cpp index 2ef48eb..22116c8 100644 --- a/src/vidalia/network/RouterDescriptorView.cpp +++ b/src/vidalia/network/RouterDescriptorView.cpp @@ -106,6 +106,7 @@ RouterDescriptorView::display(QList<RouterDescriptor> rdlist) /* Add the IP address and router platform information */ html.append(trow(tcol(b(tr("IP Address:"))) + tcol(rd.ip().toString()))); + html.append(trow(tcol(b(tr("Fingerprint:"))) + tcol(rd.id()))); if(!rd.platform().isEmpty()) html.append(trow(tcol(b(tr("Platform:"))) + tcol(rd.platform())));
[View Less]
1
0
0
0
[metrics-web/master] Fix trivial bug in log message.
by karsten@torproject.org
03 Jul '12
03 Jul '12
commit 5ce9401ae218ce664e87856bb9a5e54a5f591ded Author: Karsten Loesing <karsten.loesing(a)gmx.net> Date: Wed Jul 4 01:03:15 2012 +0200 Fix trivial bug in log message. --- src/org/torproject/ernie/cron/GetTorProcessor.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/org/torproject/ernie/cron/GetTorProcessor.java b/src/org/torproject/ernie/cron/GetTorProcessor.java index 34190b6..d561784 100644 --- a/src/org/torproject/ernie/cron/GetTorProcessor.
…
[View More]
java +++ b/src/org/torproject/ernie/cron/GetTorProcessor.java @@ -146,7 +146,7 @@ public class GetTorProcessor { logger.info("Finished processing statistics on Tor packages " + "delivered by GetTor.\nLast date in statistics is " - + data.lastKey() + "."); + + (data.isEmpty() ? "(null)" : data.lastKey()) + "."); } }
[View Less]
1
0
0
0
← Newer
1
...
87
88
89
90
91
92
93
94
95
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Results per page:
10
25
50
100
200