]>
git.ipfire.org Git - thirdparty/tor.git/log
Roger Dingledine [Thu, 4 Nov 2004 06:41:49 +0000 (06:41 +0000)]
add a ControlPort and control listener conn.
note that print_usage is obsolete.
svn:r2671
Nick Mathewson [Thu, 4 Nov 2004 04:01:19 +0000 (04:01 +0000)]
Fix windows build
svn:r2670
Roger Dingledine [Thu, 4 Nov 2004 03:25:43 +0000 (03:25 +0000)]
clarify the bandwidthburst and bandwidthrate are in bytes
(niels had thought they were in bits, or kb, or something)
svn:r2669
Roger Dingledine [Wed, 3 Nov 2004 23:13:28 +0000 (23:13 +0000)]
better interface for connection_ap_handshake_socks_reply()
make --list-fingerprint print the fingerprint again
svn:r2668
Nick Mathewson [Wed, 3 Nov 2004 21:53:54 +0000 (21:53 +0000)]
fix windows warnings
svn:r2667
Nick Mathewson [Wed, 3 Nov 2004 21:53:12 +0000 (21:53 +0000)]
fix typos
svn:r2666
Nick Mathewson [Wed, 3 Nov 2004 19:57:43 +0000 (19:57 +0000)]
Update control-spec.txt; some minor changes; more thoughts on authentication
svn:r2665
Nick Mathewson [Wed, 3 Nov 2004 19:49:03 +0000 (19:49 +0000)]
Implement two flavors of authentication for control connections: one for trusted FS, one for untrusted FS.
svn:r2664
Nick Mathewson [Wed, 3 Nov 2004 19:15:38 +0000 (19:15 +0000)]
Remove extraneous local
svn:r2663
Nick Mathewson [Wed, 3 Nov 2004 19:02:48 +0000 (19:02 +0000)]
Add a write_bytes_to_file so we can have files with NULs in them.
svn:r2662
Nick Mathewson [Wed, 3 Nov 2004 18:33:07 +0000 (18:33 +0000)]
- Implement all of control interface except authentication, setconfig,
and actually making the sockets.
- Make sure that identity-based nicknames start with $.
- Use new string_join interface.
svn:r2661
Nick Mathewson [Wed, 3 Nov 2004 18:29:29 +0000 (18:29 +0000)]
Add function to generate/copy the config_lines, given the name of an option
svn:r2660
Nick Mathewson [Wed, 3 Nov 2004 18:28:00 +0000 (18:28 +0000)]
Add a slightly trickier string-join interface for making NUL-terminated string messages
svn:r2659
Nick Mathewson [Wed, 3 Nov 2004 18:27:19 +0000 (18:27 +0000)]
Add a callback log handler type
svn:r2658
Nick Mathewson [Wed, 3 Nov 2004 16:38:04 +0000 (16:38 +0000)]
Streamline the two redundant "Has the second rolled over?" checks in prepare_for_poll and connection_bucket_refill; also, generate BANDWIDTH control events
svn:r2657
Roger Dingledine [Wed, 3 Nov 2004 10:18:31 +0000 (10:18 +0000)]
connection_read_bucket_decrement() has a side-effect that
we need to get even if we just read 0 bytes
svn:r2656
Roger Dingledine [Wed, 3 Nov 2004 10:08:44 +0000 (10:08 +0000)]
lay the groundwork for a default value for each config option.
tolerate null exitnodes, entrynodes, etc config options.
svn:r2655
Roger Dingledine [Wed, 3 Nov 2004 07:29:44 +0000 (07:29 +0000)]
my gcc has never heard of -Wendif-labels
feel free to add it back in if you can make it only used by gcc's
that know about it
svn:r2654
Roger Dingledine [Wed, 3 Nov 2004 07:29:03 +0000 (07:29 +0000)]
my assert.h takes extra pains to be certain to _re-include_
itself if you include it twice. this is dumb, but hey.
svn:r2653
Nick Mathewson [Wed, 3 Nov 2004 01:32:26 +0000 (01:32 +0000)]
Start implementing control interface.
svn:r2652
Nick Mathewson [Wed, 3 Nov 2004 01:31:42 +0000 (01:31 +0000)]
Fix another typo
svn:r2651
Nick Mathewson [Wed, 3 Nov 2004 00:02:17 +0000 (00:02 +0000)]
The spelling is "d-e-f-i-n-e".
svn:r2650
Nick Mathewson [Tue, 2 Nov 2004 23:47:32 +0000 (23:47 +0000)]
First attempt at hibernation code. It needs more work around the XXXXs, but first I want arma to review the basic approach while I meditate on how to fix them.
svn:r2649
Nick Mathewson [Tue, 2 Nov 2004 22:14:34 +0000 (22:14 +0000)]
Add compatibility macros for printf and scanf-ing 64-bit unsigned ints
svn:r2648
Nick Mathewson [Tue, 2 Nov 2004 19:25:52 +0000 (19:25 +0000)]
Handle strlcat/strlcpy correctly on platforms that have them.
svn:r2647
Nick Mathewson [Tue, 2 Nov 2004 03:11:01 +0000 (03:11 +0000)]
untabify. This should hold it.
svn:r2646
Nick Mathewson [Tue, 2 Nov 2004 03:02:17 +0000 (03:02 +0000)]
Use a stricter set of warnings; make them all pass.
svn:r2645
Roger Dingledine [Tue, 2 Nov 2004 02:28:51 +0000 (02:28 +0000)]
canonicalize "src" and "dest" arg order in crypto.c (and others)
svn:r2644
Nick Mathewson [Mon, 1 Nov 2004 22:41:32 +0000 (22:41 +0000)]
Fix signed/unsigned comparison warning
svn:r2643
Roger Dingledine [Mon, 1 Nov 2004 21:54:12 +0000 (21:54 +0000)]
util.c needs ctype.h for tolower and isspace
svn:r2642
Roger Dingledine [Mon, 1 Nov 2004 21:46:27 +0000 (21:46 +0000)]
Hidden service operators had a bug in version 1 style INTRODUCE cells
that made them fail. Fix the bug, and revert clients to use version 0
until 0.0.9pre4 is obsolete.
svn:r2641
Nick Mathewson [Mon, 1 Nov 2004 20:41:47 +0000 (20:41 +0000)]
Split util into util (general utilities), container (smartlist and strmap), and compat (cross-platform compatability).
svn:r2640
Roger Dingledine [Mon, 1 Nov 2004 20:01:01 +0000 (20:01 +0000)]
make the tarball build
svn:r2639
Roger Dingledine [Mon, 1 Nov 2004 08:24:34 +0000 (08:24 +0000)]
make sure options.MaxConn can be reached
svn:r2638
Roger Dingledine [Mon, 1 Nov 2004 08:23:45 +0000 (08:23 +0000)]
hunt for getrlimit setrlimit sys/time.h sys/resource.h
svn:r2637
Roger Dingledine [Mon, 1 Nov 2004 08:09:59 +0000 (08:09 +0000)]
change min required number of fd's to 1024
svn:r2636
Roger Dingledine [Mon, 1 Nov 2004 06:40:49 +0000 (06:40 +0000)]
make our autogen.sh work on ksh as well as bash
svn:r2635
Roger Dingledine [Sun, 31 Oct 2004 21:19:28 +0000 (21:19 +0000)]
clean up confusing instruction
svn:r2634
Roger Dingledine [Sun, 31 Oct 2004 21:16:09 +0000 (21:16 +0000)]
fix 'make dist' so it works again
svn:r2633
Roger Dingledine [Sun, 31 Oct 2004 21:15:16 +0000 (21:15 +0000)]
stop trying to maintain two separate doc sections
now README points to tor-doc.html
svn:r2632
Roger Dingledine [Sun, 31 Oct 2004 20:29:25 +0000 (20:29 +0000)]
oh, and add the actual file too
svn:r2631
Roger Dingledine [Sun, 31 Oct 2004 20:28:41 +0000 (20:28 +0000)]
implement first piece of hibernation
still need to track bandwidth, and make decisions based on bandwidth
svn:r2630
Nick Mathewson [Sat, 30 Oct 2004 19:27:06 +0000 (19:27 +0000)]
Only tor and test binaries need to link against openssl and zlib; tor-resolve can be smaller.
svn:r2629
Nick Mathewson [Sat, 30 Oct 2004 19:26:31 +0000 (19:26 +0000)]
Move all util functions that need openssl into crypto.c; make non-openssl functions that util needs into util. Now openssl can be separated.
svn:r2628
Nick Mathewson [Sat, 30 Oct 2004 19:18:37 +0000 (19:18 +0000)]
tor --list-fingerprint to print fingerprint and exit
svn:r2627
Roger Dingledine [Sat, 30 Oct 2004 19:00:29 +0000 (19:00 +0000)]
add a note to the doc telling openbsd folks that their fd limit is
too low
svn:r2626
Nick Mathewson [Sat, 30 Oct 2004 18:54:31 +0000 (18:54 +0000)]
Add TODO item: gripe early when fd limits are low, rather than blowing up when we run out
svn:r2625
Roger Dingledine [Sat, 30 Oct 2004 05:04:52 +0000 (05:04 +0000)]
Fix paul gardner's assert bug. Turns out when circuit_launch_by_nickname()
failed at the first hop, it would try to relaunch another circ right
then, even though the first circuit hadn't been populated yet with its
pending_final_cpath.
svn:r2624
Nick Mathewson [Thu, 28 Oct 2004 20:31:15 +0000 (20:31 +0000)]
Link tools directory into rest of build system
svn:r2623
Nick Mathewson [Thu, 28 Oct 2004 20:30:56 +0000 (20:30 +0000)]
Note item completion
svn:r2622
Nick Mathewson [Thu, 28 Oct 2004 20:30:10 +0000 (20:30 +0000)]
Rename Python tor-resolve to tor-resolve.py; stop installing it; move tor-resolve manpage to doc directory
svn:r2621
Nick Mathewson [Thu, 28 Oct 2004 20:28:13 +0000 (20:28 +0000)]
Add a pure-C tor-resolve implementation
svn:r2620
Nick Mathewson [Thu, 28 Oct 2004 18:40:21 +0000 (18:40 +0000)]
Mark item completed
svn:r2619
Nick Mathewson [Thu, 28 Oct 2004 18:37:52 +0000 (18:37 +0000)]
Tweaks to prevent obsolete restarting tors from hammering the dirservers. (1) Cache a received directory as soon as the signature checks out. (2) Treat a cached directory as "recent" based on its mtime. (3) If we have a recent directory, we dont need to fetch a newer one for DirFetchPostPeriod. This needs review!
svn:r2618
Nick Mathewson [Wed, 27 Oct 2004 21:54:44 +0000 (21:54 +0000)]
Fix in warning fix
svn:r2617
Nick Mathewson [Wed, 27 Oct 2004 21:30:47 +0000 (21:30 +0000)]
Check return of tor_snprintf
svn:r2616
Nick Mathewson [Wed, 27 Oct 2004 21:14:11 +0000 (21:14 +0000)]
Tricksy compiler warnings! We hates them, hates them forever, my precious!
svn:r2615
Nick Mathewson [Wed, 27 Oct 2004 18:16:37 +0000 (18:16 +0000)]
Pass with -Wstrict-prototypes
svn:r2614
Nick Mathewson [Wed, 27 Oct 2004 18:14:38 +0000 (18:14 +0000)]
Fix windows build
svn:r2613
Nick Mathewson [Wed, 27 Oct 2004 17:37:01 +0000 (17:37 +0000)]
Add ability for some-but-not-all abbrevs to work in config file. Add a bunch of singular/plural abbrevs suggested by arma
svn:r2612
Roger Dingledine [Wed, 27 Oct 2004 12:34:02 +0000 (12:34 +0000)]
stop freeing arbitrary memory
fix a couple of memory leaks
svn:r2611
Nick Mathewson [Wed, 27 Oct 2004 06:48:16 +0000 (06:48 +0000)]
Use strlcpy, not strcpy.
svn:r2610
Nick Mathewson [Wed, 27 Oct 2004 06:37:34 +0000 (06:37 +0000)]
Use tor_snprintf, not snprintf
svn:r2609
Roger Dingledine [Wed, 27 Oct 2004 06:30:17 +0000 (06:30 +0000)]
clean up todo file some more
svn:r2608
Roger Dingledine [Wed, 27 Oct 2004 06:29:11 +0000 (06:29 +0000)]
document dirpolicy config option
svn:r2607
Nick Mathewson [Wed, 27 Oct 2004 06:26:23 +0000 (06:26 +0000)]
snprintf wrapper with consistant (though not C99) overflow behavior
svn:r2606
Nick Mathewson [Wed, 27 Oct 2004 06:25:29 +0000 (06:25 +0000)]
Avoid strcat; use snprintf or strlcat instead
svn:r2605
Roger Dingledine [Wed, 27 Oct 2004 06:24:16 +0000 (06:24 +0000)]
setting up your own tor network is much simpler now
svn:r2604
Nick Mathewson [Wed, 27 Oct 2004 06:03:28 +0000 (06:03 +0000)]
Use strlcpy, not strncpy
svn:r2603
Nick Mathewson [Wed, 27 Oct 2004 05:53:07 +0000 (05:53 +0000)]
Replace sprintf with snprintf
svn:r2602
Nick Mathewson [Wed, 27 Oct 2004 05:34:57 +0000 (05:34 +0000)]
Tenatively break items down for "launch" version
svn:r2601
Nick Mathewson [Wed, 27 Oct 2004 03:42:09 +0000 (03:42 +0000)]
Make it compile on Linux
svn:r2600
Nick Mathewson [Wed, 27 Oct 2004 03:38:42 +0000 (03:38 +0000)]
Add cvsignore in win32 directory
svn:r2599
Nick Mathewson [Wed, 27 Oct 2004 03:14:54 +0000 (03:14 +0000)]
Clean TODO indentation
svn:r2598
Nick Mathewson [Wed, 27 Oct 2004 03:08:43 +0000 (03:08 +0000)]
Mark item completed
svn:r2597
Nick Mathewson [Wed, 27 Oct 2004 03:08:04 +0000 (03:08 +0000)]
Document new config code
svn:r2596
Nick Mathewson [Wed, 27 Oct 2004 03:07:53 +0000 (03:07 +0000)]
document configuration options with InitialCaps
svn:r2595
Nick Mathewson [Wed, 27 Oct 2004 02:30:28 +0000 (02:30 +0000)]
Re-write configuration option lookup code: use a table, not a big if( || || || ||). Deprecate unoffical abbrevs and abbrevs not on the command line.
svn:r2594
Nick Mathewson [Wed, 27 Oct 2004 01:10:18 +0000 (01:10 +0000)]
Mark some items completed
svn:r2593
Nick Mathewson [Wed, 27 Oct 2004 00:48:51 +0000 (00:48 +0000)]
Add and document router-status line using new unified liveness/verifiedness format; continue to generate running-routers; continue to parse running-routers when no router-status line is found
svn:r2592
Nick Mathewson [Tue, 26 Oct 2004 21:48:41 +0000 (21:48 +0000)]
Add SysLog option to direct log messages to the system log instead of a FILE*.
svn:r2591
Nick Mathewson [Mon, 25 Oct 2004 21:29:27 +0000 (21:29 +0000)]
Add a couple of items to TODO
svn:r2590
Roger Dingledine [Mon, 25 Oct 2004 06:16:26 +0000 (06:16 +0000)]
quick-and-dirty dir policy since the dirservers are getting hammered
nick, could you abstract this sometime so we don't repeat the
sockspolicy code twice?
svn:r2589
Roger Dingledine [Sun, 24 Oct 2004 23:14:00 +0000 (23:14 +0000)]
update the rendezvous spec to be less wrong (but still wrong)
svn:r2588
Roger Dingledine [Sun, 24 Oct 2004 23:09:48 +0000 (23:09 +0000)]
fix a memory leak
svn:r2587
Roger Dingledine [Sun, 24 Oct 2004 19:08:07 +0000 (19:08 +0000)]
start generating new version of introduce1 cells
svn:r2586
Roger Dingledine [Sun, 24 Oct 2004 17:11:44 +0000 (17:11 +0000)]
fix wrong comment
svn:r2585
Nick Mathewson [Sun, 24 Oct 2004 01:50:33 +0000 (01:50 +0000)]
Document the swiss-army-knife that retry_listeners has become
svn:r2584
Nick Mathewson [Sun, 24 Oct 2004 01:29:01 +0000 (01:29 +0000)]
Many non-native speakers use Tor. It is our duty to ensure that our log messages set an example of good English spelling.
svn:r2583
Nick Mathewson [Sun, 24 Oct 2004 01:28:04 +0000 (01:28 +0000)]
Mark item completed
svn:r2582
Nick Mathewson [Sun, 24 Oct 2004 01:22:40 +0000 (01:22 +0000)]
Every 60 seconds, check whether the listeners are still alive, and relaunch the dead ones.
svn:r2581
Nick Mathewson [Sun, 24 Oct 2004 00:58:29 +0000 (00:58 +0000)]
Fix typo in last windows patch
svn:r2580
Nick Mathewson [Sun, 24 Oct 2004 00:55:18 +0000 (00:55 +0000)]
Handle more errnos from accept() without closing the connection. This may fix a bug that could close OR listeners when (a) TCP connections were hung up before accept() could be called, or (b) during FD exhaustion.
svn:r2579
Nick Mathewson [Sun, 24 Oct 2004 00:52:10 +0000 (00:52 +0000)]
Make windows fall back to CWD if SHGetSpecialFolderLocation is borked
svn:r2578
Roger Dingledine [Sat, 23 Oct 2004 17:06:25 +0000 (17:06 +0000)]
pay attention to the return value of do_hup, and exit
when it fails
svn:r2577
Roger Dingledine [Thu, 21 Oct 2004 00:49:17 +0000 (00:49 +0000)]
ship src/win32/ in the tarball
svn:r2576
Nick Mathewson [Wed, 20 Oct 2004 23:30:38 +0000 (23:30 +0000)]
Check for low _MSC_VER, not high. On windows, always use winsock.
svn:r2575
Roger Dingledine [Wed, 20 Oct 2004 23:28:11 +0000 (23:28 +0000)]
bump version to pre5-cvs
svn:r2574
Roger Dingledine [Wed, 20 Oct 2004 23:23:53 +0000 (23:23 +0000)]
add winsock if you've got it, regardless of whether you're msv
svn:r2573
Nick Mathewson [Wed, 20 Oct 2004 23:15:49 +0000 (23:15 +0000)]
Use bitwise masking to turn off bits, not compare-and-subtract
svn:r2572