aboutsummaryrefslogtreecommitdiff
path: root/src/or/Makefile.am
AgeCommit message (Collapse)Author
2011-11-24Handle build-trees better.Peter Palfrader
Properly create git revision and source file sha1sums include files when building tor not in its source tree but in a dedicated build tree.
2011-10-07Merge remote-tracking branch 'asn2/bug3656'Nick Mathewson
Conflicts: src/common/util.c src/common/util.h src/or/config.h src/or/main.c src/test/test_util.c
2011-08-01Initial patch to build Tor with msvc and nmakeNick Mathewson
We'll still need to tweak it so that it looks for includes and libraries somewhere more sensible than "where we happened to find them on Erinn's system"; so that tests and tools get built too; so that it's a bit documented; and so that we actually try running the output. Work done with Erinn Clark.
2011-07-18Updated #includes etc. to use transports.[ch].George Kadianakis
2011-07-13Create the pluggable_transports.[ch] source files responsible for talking ↵George Kadianakis
the 180 talk.
2011-07-11Merge remote-tracking branch 'rransom-tor/bug3427'Nick Mathewson
2011-06-18Put hashes of all tor source files into or_sha1.iRobert Ransom
2011-05-06Link to libevent_openssl statically when requestedSebastian Hahn
When configure tor with --enable-bufferevents and --enable-static-libevent, libevent_openssl would still be linked dynamically. Fix this and refactor src/or/Makefile.am along the way.
2011-02-22Implement more heartbeat message stuff.George Kadianakis
(This squashes multiple commits: * Adds uptime monitoring support. * Adds circuit counting code. * Trivially tweaks the documentation. * Trivial run_scheduled_events() code tweaking. * Adds a status.h to export functions. * Added bandwidth monitoring code. * Added consensus presense detection code. * Restricts the precision of the bandwidth output. * Various fixes. * Fixed style and spacing problems. * Tidied up src/or/Makefile.am * Couple of minor fixes on status.c functions. * 'Implemented' client heartbeat support )
2011-02-22Initial heartbeat subsystem commit.Sebastian Hahn
Sets: * Documentation * Logging domain * Configuration option * Scheduled event * Makefile It also creates status.c and the log_heartbeat() function. All code was written by Sebastian Hahn. Commit message was written by me (George Kadianakis).
2010-11-11Split long lines in configure.in and Makefile.am filesNick Mathewson
Having very long single lines with lots and lots of things in them tends to make files hard to diff and hard to merge. Since our tools are one-line-at-a-time, we should try to construct lists that way too, within reason. This incidentally turned up a few headers in configure.in that we were for some reason searching for twice.
2010-10-01Implement a basic node and nodelist typeNick Mathewson
The node_t type is meant to serve two key functions: 1) Abstracting difference between routerinfo_t and microdesc_t so that clients can use microdesc_t instead of routerinfo_t. 2) Being a central place to hold mutable state about nodes formerly held in routerstatus_t and routerinfo_t. This patch implements a nodelist type that holds a node for every router that we would consider using.
2010-09-27Fix build with automake 1.6Nick Mathewson
automake 1.6 doesn't like using a conditional += to add stuff to foo_LDADD. Instead you need to conditionally define a variable, then non-conditionally put that variable in foo_LDADD.
2010-09-27Get SSL connections and linked connections working with bufferevents.Nick Mathewson
Clients are now verified to work and build circuits correctly. There are still a few warnings given here and there that I need to look into.
2010-08-03Fix 'make distcheck'Sebastian Hahn
We were leaving doc/config.log and src/or/micro-revision.i in place during a make clean. Fix that.
2010-07-27Add the new header files to noinst_HEADERSSebastian Hahn
Also add a changes/ file.
2010-04-14Add --enable-static-zlib optionSebastian Hahn
Works like the --enable-static-openssl/libevent options. Requires --with-zlib-dir to be set. Note that other dependencies might still pull in a dynamicly linked zlib, if you don't link them in statically too.
2010-01-24Merge commit 'origin/maint-0.2.1'Nick Mathewson
Resolved conflicts in: configure.in src/or/Makefile.am src/tools/Makefile.am
2010-01-24Add --enable-static-(openssl|libevent) optionsNick Mathewson
These options only work when using --with-(openssl|libevent)-dir to explicitly pick a libevent or openssl location.
2009-10-15Code to generate, store, and parse microdescriptors and consensuses.Nick Mathewson
The consensus documents are not signed properly, not served, and not exchanged yet.
2009-09-23Move testing code into new src/test directory.Nick Mathewson
2009-09-23Refactor unit tests to use the tinytest framework.Nick Mathewson
"Tinytest" is a minimalist C unit testing framework I wrote for Libevent. It supports some generally useful features, like being able to run separate unit tests in their own processes. I tried to do the refactoring to change test.c as little as possible. Thus, we mostly don't call the tinytest macros directly. Instead, the test.h header is now a wrapper on tinytest.h to make our existing test_foo() macros work. The next step(s) here will be: - To break test.c into separate files, each with its own test group. - To look into which things we can test - To refactor the more fiddly tests to use the tinytest macros directly and/or run forked. - To see about writing unit tests for things we couldn't previously test without forking.
2009-09-16Implement the pareto fitting and timeout calculating bits.Mike Perry
2009-08-21Add the first 8 bytes of the git commit digest to our versions.Nick Mathewson
Note that unlike subversion revision numbers, it isn't meaningful to compare these for anything but equality. We define a sort-order anyway, in case one of these accidentally slips into a recommended-versions list.
2009-06-12Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson
This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920).
2009-05-08Include the *_sha1.i files in their own *_codedigest.c files.Nick Mathewson
This way we do not need to rebuild util.c and/or config.c whenever any unrelated source file in src/common or src/or has changed.
2009-04-29Command-line option to dump SHA1 digests of all source files.Nick Mathewson
Now, when you call tor --digests, it dumps the SHA1 digest of each source file that Tor was built with. We support both 'sha1sum' and 'openssl sha1'. If the user is building from a tarball and they haven't edited anything, they don't need any program that calculates SHA1. If they _have_ modified a file but they don't have a program to calculate SHA1, we try to build so we do not output digests.
2008-12-11Add experimental support for learning svn revision number in git-svn based ↵Nick Mathewson
repositories. Fancy. svn:r17581
2008-06-11consolidate all our edge/circ/orconn reason-to-foo-or-back functionsRoger Dingledine
svn:r15115
2008-03-11 r18730@catbus: nickm | 2008-03-11 00:47:04 -0400Nick Mathewson
Forward-port: Fix the SVK version detection logic to work right on a branch: tolerate multiple "copied from" tags and only look at the first. svn:r13959
2007-12-17 r15530@tombo: nickm | 2007-12-17 16:54:03 -0500Nick Mathewson
First wodge of geoip code so bridges can figure out which countries are blocking them. svn:r12845
2007-11-04 r14702@tombo: nickm | 2007-11-04 15:48:56 -0500Nick Mathewson
Define SHARE_DATADIR, LOCALSTATEDIR, and BINDIR in Makefile.am as autoconf recommends. Do not move CONFDIR yet, since we seem to support overriding it in a weird way. Resolves bug 542. svn:r12376
2007-10-08for once, it was "no-tab man" that struck again.Roger Dingledine
svn:r11793
2007-10-08 r14802@Kushana: nickm | 2007-10-08 17:21:30 -0400Nick Mathewson
Refactor out about a third of routerlist.c into a new networkstatus.c. I\m not sure that I got everything that needed to move, but so far so good. svn:r11791
2007-09-15 r15077@catbus: nickm | 2007-09-15 14:04:19 -0400Nick Mathewson
Oops; make Makefile.am work on mingw again. svn:r11445
2007-09-12 r15056@catbus: nickm | 2007-09-12 13:15:19 -0400Nick Mathewson
Try to fix an automake problem by renaming a variable. svn:r11432
2007-09-06 r14940@catbus: nickm | 2007-09-06 13:22:26 -0400Nick Mathewson
Move NT services code into its own C file. Probably will not build happily on win32 yet; more hacking needed. svn:r11388
2007-08-14 r14006@kushana: nickm | 2007-08-14 09:34:28 -0400Nick Mathewson
re-enable version checking svn:r11101
2007-08-08 r13953@Kushana: nickm | 2007-08-08 07:40:46 -0700Nick Mathewson
Fix osx compilation. svn:r11065
2007-08-08 r14093@catbus: nickm | 2007-08-08 01:49:54 -0400Nick Mathewson
Include fewer redundant headers; use the compiler search paths better. svn:r11060
2007-06-13 r13386@catbus: nickm | 2007-06-13 14:15:20 -0400Nick Mathewson
New helper file for test.c: contains 3 generated certs, signing keys, and id_keys svn:r10586
2007-06-07 r13292@catbus: nickm | 2007-06-06 17:34:15 -0400Nick Mathewson
Check for non-standard SVK directories properly. Inspired by debian bug #420899 and related discussion on SVK list. svn:r10522
2007-06-03 r13166@catbus: nickm | 2007-06-02 23:02:40 -0400Nick Mathewson
First cut at code to parse and validate v3 networkstatus votes. svn:r10461
2007-06-02 r13158@catbus: nickm | 2007-06-02 11:40:05 -0400Nick Mathewson
On systems with svk, do not clobber micro-revision.i when building from a tarball. svn:r10452
2007-06-01 r13139@catbus: nickm | 2007-06-01 14:02:40 -0400Nick Mathewson
Add some ;trues, and tabify. svn:r10441
2007-06-01 r13137@catbus: nickm | 2007-06-01 13:49:34 -0400Nick Mathewson
Ah. Of course. You spell "is there an svn" as 'test -x "`which svn 2>&1`"'. Perfectly reasonable. Don't know why I didn't think of it in the first place. svn:r10440
2007-06-01 r13131@catbus: nickm | 2007-06-01 06:20:29 -0400Nick Mathewson
Test for ~/.svk/local, not ~/.svk. Eschew use of test -a and test -o. Bulletproof more against odd shells. svn:r10439
2007-05-24 r12942@catbus: nickm | 2007-05-24 16:31:22 -0400Nick Mathewson
Well, that was easier than I thought it would be. Tor is now a DNS proxy as well as a socks proxy. Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit. svn:r10317
2007-05-07 r12676@catbus: nickm | 2007-05-07 13:11:38 -0400Nick Mathewson
When we cannot find a micro-revision number, do not overwrite an already-present micro-revision.i. svn:r10134
2007-05-02 r12634@catbus: nickm | 2007-05-02 15:13:13 -0400Nick Mathewson
Shell tweaks suggested by weasel. svn:r10094