Stewart Smith
2606c8b289
Fix up make distcheck and greatly simplify docs dependencies (although it's still a bit odd)
2012-08-09 11:03:48 -04:00
Stewart Smith
2e80ae895d
fix circular dependency for generating code digests
2012-08-09 11:03:48 -04:00
Stewart Smith
8f466a1c60
fix TESTS to include full path to src/test/test
2012-08-09 11:03:48 -04:00
Stewart Smith
7bb04f111a
fix dependencies for some generated files
2012-08-09 11:03:47 -04:00
Stewart Smith
2a4a149624
Move to non-recursive make
...
This gives us a few benefits:
1) make -j clean all
this will start working, as it should. It currently doesn't.
2) increased parallel build
recursive make will max out at number of files in a directory,
non-recursive make doesn't have such a limitation
3) Removal of duplicate information in make files,
less error prone
I've also slightly updated how we call AM_INIT_AUTOMAKE, as the way
that was used was not only deprecated but will be *removed* in the next
major automake release (1.13).... so probably best that we can continue
to bulid tor without requiring old automake.
(see http://www.gnu.org/software/automake/manual/html_node/Public-Macros.html )
For more reasons why, see resources such as:
http://miller.emu.id.au/pmiller/books/rmch/
2012-08-09 11:03:47 -04:00
Nick Mathewson
ca90aea5eb
Temporarily make spurious sendmes warn louder at arma's suggestion.
2012-08-09 10:55:33 -04:00
Nick Mathewson
0b21170085
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-08-09 10:52:45 -04:00
Nick Mathewson
91b52a259a
Merge remote-tracking branch 'public/bug6252_again' into maint-0.2.3
2012-08-09 10:50:11 -04:00
Nick Mathewson
d373922217
Speak not the name of INT_MIN; it can upset older compilers
...
And more to the point, some GCCs will warn that you can't say it
before C90.
Bug not in any released version of Tor.
2012-08-03 13:54:12 -04:00
Nick Mathewson
aa584fd3a3
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-08-03 12:04:36 -04:00
Nick Mathewson
93be3a8822
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
...
Conflicts:
src/or/routerlist.c
2012-08-03 12:04:11 -04:00
Robert Ransom
308f6dad20
Mitigate a side-channel leak of which relays Tor chooses for a circuit
...
Tor's and OpenSSL's current design guarantee that there are other leaks,
but this one is likely to be more easily exploitable, and is easy to fix.
2012-08-03 11:49:51 -04:00
Nick Mathewson
860c4fc811
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-08-03 11:46:03 -04:00
Robert Ransom
82c5e385cb
Remove bogus comment claiming that an assertion is triggerable by consensus
2012-08-03 11:45:33 -04:00
Nick Mathewson
6c64681879
Fix a bunch of "implicit 64->32" warnings from introduce refactoring
2012-08-03 11:31:04 -04:00
Nick Mathewson
babf8e2a85
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-08-03 11:23:06 -04:00
Nick Mathewson
1040afb242
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
2012-08-03 11:18:40 -04:00
Nick Mathewson
57e35ad3d9
Avoid possible segfault when handling networkstatus vote with bad flavor
...
Fix for 6530; fix on 0.2.2.6-alpha.
2012-08-03 10:53:00 -04:00
Matthew Finkel
b50eb14bbf
Updated docs for new connections.
2012-08-02 16:15:23 -04:00
Nick Mathewson
65d8448209
Merge remote-tracking branch 'sysrqb/bug6518'
2012-08-02 15:45:10 -04:00
Matthew Finkel
a47e4343de
Constify struct sockaddr *sa parameter for check
...
The values are only being checked, not modified.
2012-08-02 15:29:38 -04:00
Matthew Finkel
d91bbf376c
Removed redundant check_sockaddr_family_match call
2012-08-02 15:13:34 -04:00
Nick Mathewson
c49975a2b8
Merge remote-tracking branch 'origin/maint-0.2.3'
2012-07-31 17:20:36 -04:00
Nick Mathewson
62637fa224
Avoid hard (impossible?)-to-trigger double-free in dns_resolve()
...
Fixes 6480; fix on 0.2.0.1-alpha; based on pseudonymous patch.
2012-07-31 17:19:17 -04:00
Nick Mathewson
3763959ef0
test_assert is always in affect: no need for extra gotos
2012-07-31 17:08:13 -04:00
Nick Mathewson
3c30417339
Remove duplicate code in test_introduce.c
...
Two of the do_*_test functions were actually prefixes of the third,
which suggests a trivial code elimination step
2012-07-31 17:08:13 -04:00
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
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
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
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
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