Nick Mathewson
92f5eaa235
Whitespace tweaks
2012-07-31 17:08:13 -04:00
Andrea Shepard
96c7612679
Unit tests for new rend_intro_cell_t parser
2012-07-31 17:08:13 -04:00
Andrea Shepard
048c128f93
Add replaycache.h to noinst_HEADERS in src/or/Makefile.am
2012-07-31 17:08:12 -04:00
Andrea Shepard
471ab34032
Refactor INTRODUCE2 parsing code in rend_service_introduce()
2012-07-31 17:08:12 -04:00
Andrea Shepard
36c968491f
Use new replaycache_t structure for replay detection in rend_service_introduce()
2012-07-31 17:08:12 -04:00
Andrea Shepard
8f63ef10ad
Implement replaycache_t for bug 6177, and unit tests for the preceding
2012-07-31 17:08:05 -04:00
Nick Mathewson
43b81325b5
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-31 11:49:32 -04:00
Nick Mathewson
ae75fb13e1
changelog for bug6043
2012-07-31 11:49:20 -04:00
Ondrej Mikle
eeb81b5bb1
Fixes/beautification of RPM spec. Tiny improvements in RPM build docs.
2012-07-31 11:41:40 -04:00
Ondrej Mikle
a7fc797edf
Fixed creating _tor user in RPM-based installs.
2012-07-31 11:41:40 -04:00
Ondrej Mikle
0e778ac604
Workaround for building EL5 RPMs by specifying rpmbuild-md5. Updated old note about using static libevent when building RPMs.
2012-07-31 11:41:40 -04:00
Ondrej Mikle
72260cfa68
Cleanup of RPM build process - no more .git in tarball, use automake's dist-gzip to create the tarball.
...
Signed-off-by: Ondrej Mikle <ondrej.mikle@gmail.com>
2012-07-31 11:41:40 -04:00
Ondrej Mikle
cf20fac37f
Dependencies for RPM building with mock should work now
2012-07-31 11:41:40 -04:00
Nick Mathewson
5919e8e561
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-31 10:29:34 -04:00
Nick Mathewson
aed93f8ad9
Merge branch 'bug6490_v2' into maint-0.2.3
2012-07-31 10:28:43 -04:00
Nick Mathewson
2bd45213c9
Warn when accounting is used in a way likely to link hidden services
...
Fix for 6490.
2012-07-31 10:28:16 -04:00
Nick Mathewson
e6d61ee594
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-31 10:18:05 -04:00
Nick Mathewson
d9bd0de062
Fix some manpage typos
...
This is based on a pair of patches from A. Costa. I couldn't apply
those directly, since they changed the generated *roff files, not
the asciidoc source.
Fixes Tor bug 6500 and Debian bug 683359.
2012-07-31 10:16:03 -04:00
Roger Dingledine
1049d315d7
Merge branch 'maint-0.2.3'
2012-07-31 05:10:23 -04:00
Roger Dingledine
1004489354
trivial grammar fix
2012-07-31 05:10:05 -04:00
Nick Mathewson
08e65ce04f
Fix small memleak introduced in recent patch; fixe 6455.
2012-07-24 10:20:00 -04:00
Nick Mathewson
20b625a0fd
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-23 12:36:04 -04:00
Nick Mathewson
692005b38d
Merge remote-tracking branch 'asn/bug6274_take3' into maint-0.2.3
2012-07-23 12:35:23 -04:00
Nick Mathewson
952f562691
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-23 12:31:24 -04:00
Nick Mathewson
6cf8e38eca
changes file for bug 6436.
2012-07-20 09:50:19 -04:00
Steven Murdoch
5b853612fb
Clarify how to build asciidoc files using homebrew on Mac OS X
2012-07-20 09:49:02 -04:00
Nick Mathewson
a4995d1507
Merge branch 'tickets_5529_5534_5974_6406'
2012-07-19 17:52:21 -04:00
Linus Nordberg
fff842a47c
Add config option AuthDirPublishIPv6.
...
Test for config option AuthDirPublishIPv6 == 1 rather than for running
as a bridge authority when deciding whether to care or not about IPv6
OR ports in descriptors.
Implements enhancement #6406 .
2012-07-19 17:51:15 -04:00
Nick Mathewson
6208106c18
Try to re-approximate the older semantics of nodelist_add_routerinfo
2012-07-19 17:51:15 -04:00
Linus Nordberg
dee4f068ee
Don't shadow 'buf'.
2012-07-19 18:21:23 +02:00
Linus Nordberg
0fe6dde4b2
Add changes file for #5534 .
2012-07-19 18:21:22 +02:00
Linus Nordberg
044da1bf0f
Add configure option AuthDirHasIPv6Connectivity.
...
Implements enhancement 5974.
2012-07-19 18:21:22 +02:00
Linus Nordberg
cdef2b181a
Rename routers_have_same_or_addr() to reflect the fact that it now checks both OR ports.
2012-07-19 18:21:22 +02:00
Linus Nordberg
7c80a4502c
Include IPv6 OR ports in status documents only if we're a bridge authority.
2012-07-19 18:21:21 +02:00
Linus Nordberg
6d99c51f15
Don't put unreachable IPv6 OR port in routerstatus.
...
To have only reachable ports in "a" lines.
2012-07-19 18:21:21 +02:00
Linus Nordberg
dda177b19e
Add "a" line to status document.
2012-07-19 18:21:21 +02:00
Linus Nordberg
4cce8ab742
Add last_reachable and testing_since for IPv6 OR port.
2012-07-19 18:21:20 +02:00
Linus Nordberg
c1ff07440e
Don't assume that a node has routerinfo.
...
We can end up in dirserv_orconn_tls_done() with a node missing
routerinfo in at least two cases -- command_process_certs_cell() and
connection_or_check_valid_tls_handshake() -- and probably more.
2012-07-19 18:21:20 +02:00
Linus Nordberg
631ec5c4fe
Move last_reachable and testing_since from routerinfo_t to node_t.
2012-07-19 18:21:20 +02:00
Nick Mathewson
24451e6f7d
Avoid double-typedef of transport_t.
...
You can say "struct foo_t" as much as you want, but you'd better not
have "typedef struct foo_t foo_t" more than once.
Fix for bug 6416. Bug not in any released version of Tor.
2012-07-19 09:06:11 -04:00
George Kadianakis
a1d060a68f
Better handling of server managed proxies when Tor is not a relay.
2012-07-18 20:01:02 +02:00
Nick Mathewson
f8c9cc713d
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-18 10:14:40 -04:00
Nick Mathewson
b355ddb20f
Merge branch 'smartlist_shorten' into maint-0.2.3
2012-07-18 10:14:14 -04:00
Nick Mathewson
78dec94307
Tweaks to 6400 changes file and docs as suggested by arma
2012-07-18 10:12:19 -04:00
Nick Mathewson
ec8bdc5da8
Merge remote-tracking branch 'asn/bug3589'
2012-07-17 12:05:08 -04:00
Nick Mathewson
f9478b7a79
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-17 12:03:10 -04:00
Nick Mathewson
4cac5df554
Improve message on spurious SOCKSListenAddress
2012-07-17 12:02:55 -04:00
Nick Mathewson
efdf6c7118
Fix the remaining instances of nexted SMARTLIST_FOREACH
2012-07-17 10:41:24 -04:00
Nick Mathewson
7faf115dff
Change all SMARTLIST_FOREACH loops of >=10 lines to use BEGIN/END
...
The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when
you have a nice short loop body, but using it for long bodies makes
your preprocessor tell the compiler that all the code is on the same
line. That causes grief, since compiler warnings and debugger lines
will all refer to that one line.
So, here's a new style rule: SMARTLIST_FOREACH blocks need to be
short.
2012-07-17 10:34:08 -04:00
Nick Mathewson
0b6fb5ebcd
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-17 09:50:18 -04:00