]>
git.ipfire.org Git - thirdparty/tor.git/log
Nick Mathewson [Sun, 7 Nov 2004 23:11:29 +0000 (23:11 +0000)]
Fix compile errors
svn:r2708
Nick Mathewson [Sun, 7 Nov 2004 22:59:30 +0000 (22:59 +0000)]
Make set-option functions distinguish between bad keys and bad values, in case the caller cares
svn:r2707
Nick Mathewson [Sun, 7 Nov 2004 22:58:35 +0000 (22:58 +0000)]
Fix up error codes
svn:r2706
Nick Mathewson [Sun, 7 Nov 2004 22:58:16 +0000 (22:58 +0000)]
More tests for split
svn:r2705
Roger Dingledine [Sun, 7 Nov 2004 22:37:59 +0000 (22:37 +0000)]
add saveconf control command.
allow authentication by localhost, but if tor demands more, require more.
svn:r2704
Roger Dingledine [Sun, 7 Nov 2004 22:36:43 +0000 (22:36 +0000)]
clean up control spec, man page
svn:r2703
Nick Mathewson [Sun, 7 Nov 2004 22:18:00 +0000 (22:18 +0000)]
Add missing dereference; stop throwing zeroes around.
svn:r2702
Roger Dingledine [Sun, 7 Nov 2004 22:08:20 +0000 (22:08 +0000)]
add an in-progress python controller to test controlport
svn:r2701
Nick Mathewson [Sun, 7 Nov 2004 21:37:50 +0000 (21:37 +0000)]
Document control.c
svn:r2700
Roger Dingledine [Sun, 7 Nov 2004 11:33:04 +0000 (11:33 +0000)]
allow unauth control connections for now
let control connections recognize eof
svn:r2699
Roger Dingledine [Sun, 7 Nov 2004 01:33:06 +0000 (01:33 +0000)]
Clean up copyrights.
Break connection_consider_empty_buckets() out of
connection_read_bucket_decrement().
svn:r2698
Roger Dingledine [Sat, 6 Nov 2004 09:22:08 +0000 (09:22 +0000)]
tor --list-fingerprint as a client shouldn't try to print null
svn:r2697
Roger Dingledine [Sat, 6 Nov 2004 08:55:22 +0000 (08:55 +0000)]
fix the next subtle memory-crunching bug
now hup works
svn:r2696
Roger Dingledine [Sat, 6 Nov 2004 07:40:20 +0000 (07:40 +0000)]
fix subtle bug that was causing logs to not show anything
svn:r2695
Roger Dingledine [Sat, 6 Nov 2004 06:56:28 +0000 (06:56 +0000)]
only play the accounting game if it's possible you'll choose to hibernate
svn:r2694
Roger Dingledine [Sat, 6 Nov 2004 05:18:29 +0000 (05:18 +0000)]
parse_line_from_file is obsolete.
svn:r2693
Roger Dingledine [Sat, 6 Nov 2004 05:18:11 +0000 (05:18 +0000)]
Make options no longer a global variable.
Now we can try setting an option but back out if it fails to parse, or
if it's disallowed (e.g. changing RunAsDaemon from 1 to 0).
Use parse_line_from_str rather than parse_line_from_file.
svn:r2692
Nick Mathewson [Fri, 5 Nov 2004 21:22:38 +0000 (21:22 +0000)]
Update log documentation
svn:r2691
Nick Mathewson [Fri, 5 Nov 2004 18:32:39 +0000 (18:32 +0000)]
Mark items completed; clarify items; remove dups
svn:r2690
Nick Mathewson [Fri, 5 Nov 2004 17:55:34 +0000 (17:55 +0000)]
Write hibernation code. Needs docs and tests.
svn:r2689
Nick Mathewson [Fri, 5 Nov 2004 17:54:50 +0000 (17:54 +0000)]
Unify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are defined
svn:r2688
Roger Dingledine [Fri, 5 Nov 2004 11:58:34 +0000 (11:58 +0000)]
clarify it even better
svn:r2687
Roger Dingledine [Fri, 5 Nov 2004 11:55:35 +0000 (11:55 +0000)]
resolve misleading torrc comments
svn:r2686
Nick Mathewson [Fri, 5 Nov 2004 05:51:13 +0000 (05:51 +0000)]
Note item status from meeting
svn:r2685
Nick Mathewson [Fri, 5 Nov 2004 05:50:35 +0000 (05:50 +0000)]
Use new log format; convert old format to new format.
svn:r2684
Roger Dingledine [Thu, 4 Nov 2004 23:39:57 +0000 (23:39 +0000)]
make the default default options.FirewallPorts be the default
svn:r2683
Nick Mathewson [Thu, 4 Nov 2004 22:46:38 +0000 (22:46 +0000)]
Finish applying jbash patch to Makefile.am; make dist-rpm work again
svn:r2682
Nick Mathewson [Thu, 4 Nov 2004 22:33:20 +0000 (22:33 +0000)]
Twiddle header order to compile on OS X again
svn:r2681
Nick Mathewson [Thu, 4 Nov 2004 22:33:06 +0000 (22:33 +0000)]
Move accounting code into hibernate; start adding logic to track bandwidth-per-seconds-active
svn:r2680
Nick Mathewson [Thu, 4 Nov 2004 22:31:50 +0000 (22:31 +0000)]
Support code for resettable options, and option sets. Still needs validate-and-then-replace logic
svn:r2679
Nick Mathewson [Thu, 4 Nov 2004 22:30:49 +0000 (22:30 +0000)]
Make sure control command bodies are always followed by a NUL
svn:r2678
Nick Mathewson [Thu, 4 Nov 2004 22:30:14 +0000 (22:30 +0000)]
Adjust GETCONFIG/SETCONFIG specification in control-spec
svn:r2677
Nick Mathewson [Thu, 4 Nov 2004 22:29:45 +0000 (22:29 +0000)]
Add code to read configuration lines from a string as well as a file
svn:r2676
Nick Mathewson [Thu, 4 Nov 2004 15:34:04 +0000 (15:34 +0000)]
fix problems introduced by rpm spec patch.
svn:r2675
Nick Mathewson [Thu, 4 Nov 2004 15:17:22 +0000 (15:17 +0000)]
Merge RPM spec patch from jbash
svn:r2674
Roger Dingledine [Thu, 4 Nov 2004 10:23:30 +0000 (10:23 +0000)]
break out validate_options
leave options.FirewallPorts NULL if it's NULL
svn:r2673
Roger Dingledine [Thu, 4 Nov 2004 08:26:34 +0000 (08:26 +0000)]
make free_options() and init_options() use the big array.
also remove obsolete config_assign_defaults().
svn:r2672
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