]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
21 years agoFix compile errors
Nick Mathewson [Sun, 7 Nov 2004 23:11:29 +0000 (23:11 +0000)] 
Fix compile errors

svn:r2708

21 years agoMake set-option functions distinguish between bad keys and bad values, in case the...
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

21 years agoFix up error codes
Nick Mathewson [Sun, 7 Nov 2004 22:58:35 +0000 (22:58 +0000)] 
Fix up error codes

svn:r2706

21 years agoMore tests for split
Nick Mathewson [Sun, 7 Nov 2004 22:58:16 +0000 (22:58 +0000)] 
More tests for split

svn:r2705

21 years agoadd saveconf control command.
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

21 years agoclean up control spec, man page
Roger Dingledine [Sun, 7 Nov 2004 22:36:43 +0000 (22:36 +0000)] 
clean up control spec, man page

svn:r2703

21 years agoAdd missing dereference; stop throwing zeroes around.
Nick Mathewson [Sun, 7 Nov 2004 22:18:00 +0000 (22:18 +0000)] 
Add missing dereference; stop throwing zeroes around.

svn:r2702

21 years agoadd an in-progress python controller to test controlport
Roger Dingledine [Sun, 7 Nov 2004 22:08:20 +0000 (22:08 +0000)] 
add an in-progress python controller to test controlport

svn:r2701

21 years agoDocument control.c
Nick Mathewson [Sun, 7 Nov 2004 21:37:50 +0000 (21:37 +0000)] 
Document control.c

svn:r2700

21 years agoallow unauth control connections for now
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

21 years agoClean up copyrights.
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

21 years agotor --list-fingerprint as a client shouldn't try to print null
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

21 years agofix the next subtle memory-crunching bug
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

21 years agofix subtle bug that was causing logs to not show anything
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

21 years agoonly play the accounting game if it's possible you'll choose to hibernate
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

21 years agoparse_line_from_file is obsolete.
Roger Dingledine [Sat, 6 Nov 2004 05:18:29 +0000 (05:18 +0000)] 
parse_line_from_file is obsolete.

svn:r2693

21 years agoMake options no longer a global variable.
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

21 years agoUpdate log documentation
Nick Mathewson [Fri, 5 Nov 2004 21:22:38 +0000 (21:22 +0000)] 
Update log documentation

svn:r2691

21 years agoMark items completed; clarify items; remove dups
Nick Mathewson [Fri, 5 Nov 2004 18:32:39 +0000 (18:32 +0000)] 
Mark items completed; clarify items; remove dups

svn:r2690

21 years agoWrite hibernation code. Needs docs and tests.
Nick Mathewson [Fri, 5 Nov 2004 17:55:34 +0000 (17:55 +0000)] 
Write hibernation code.  Needs docs and tests.

svn:r2689

21 years agoUnify tor_parse_(numeric); make sure MAX_UINT32 and MAX_UINT64 are defined
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

21 years agoclarify it even better
Roger Dingledine [Fri, 5 Nov 2004 11:58:34 +0000 (11:58 +0000)] 
clarify it even better

svn:r2687

21 years agoresolve misleading torrc comments
Roger Dingledine [Fri, 5 Nov 2004 11:55:35 +0000 (11:55 +0000)] 
resolve misleading torrc comments

svn:r2686

21 years agoNote item status from meeting
Nick Mathewson [Fri, 5 Nov 2004 05:51:13 +0000 (05:51 +0000)] 
Note item status from meeting

svn:r2685

21 years agoUse new log format; convert old format to new format.
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

21 years agomake the default default options.FirewallPorts be the default
Roger Dingledine [Thu, 4 Nov 2004 23:39:57 +0000 (23:39 +0000)] 
make the default default options.FirewallPorts be the default

svn:r2683

21 years agoFinish applying jbash patch to Makefile.am; make dist-rpm work again
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

21 years agoTwiddle header order to compile on OS X again
Nick Mathewson [Thu, 4 Nov 2004 22:33:20 +0000 (22:33 +0000)] 
Twiddle header order to compile on OS X again

svn:r2681

21 years agoMove accounting code into hibernate; start adding logic to track bandwidth-per-second...
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

21 years agoSupport code for resettable options, and option sets. Still needs validate-and-then...
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

21 years agoMake sure control command bodies are always followed by a NUL
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

21 years agoAdjust GETCONFIG/SETCONFIG specification in control-spec
Nick Mathewson [Thu, 4 Nov 2004 22:30:14 +0000 (22:30 +0000)] 
Adjust GETCONFIG/SETCONFIG specification in control-spec

svn:r2677

21 years agoAdd code to read configuration lines from a string as well as a file
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

21 years agofix problems introduced by rpm spec patch.
Nick Mathewson [Thu, 4 Nov 2004 15:34:04 +0000 (15:34 +0000)] 
fix problems introduced by rpm spec patch.

svn:r2675

21 years agoMerge RPM spec patch from jbash
Nick Mathewson [Thu, 4 Nov 2004 15:17:22 +0000 (15:17 +0000)] 
Merge RPM spec patch from jbash

svn:r2674

21 years agobreak out validate_options
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

21 years agomake free_options() and init_options() use the big array.
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

21 years agoadd a ControlPort and control listener conn.
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

21 years agoFix windows build
Nick Mathewson [Thu, 4 Nov 2004 04:01:19 +0000 (04:01 +0000)] 
Fix windows build

svn:r2670

21 years agoclarify the bandwidthburst and bandwidthrate are in bytes
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

21 years agobetter interface for connection_ap_handshake_socks_reply()
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

21 years agofix windows warnings
Nick Mathewson [Wed, 3 Nov 2004 21:53:54 +0000 (21:53 +0000)] 
fix windows warnings

svn:r2667

21 years agofix typos
Nick Mathewson [Wed, 3 Nov 2004 21:53:12 +0000 (21:53 +0000)] 
fix typos

svn:r2666

21 years agoUpdate control-spec.txt; some minor changes; more thoughts on authentication
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

21 years agoImplement two flavors of authentication for control connections: one for trusted...
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

21 years agoRemove extraneous local
Nick Mathewson [Wed, 3 Nov 2004 19:15:38 +0000 (19:15 +0000)] 
Remove extraneous local

svn:r2663

21 years agoAdd a write_bytes_to_file so we can have files with NULs in them.
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

21 years ago- Implement all of control interface except authentication, setconfig,
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

21 years agoAdd function to generate/copy the config_lines, given the name of an option
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

21 years agoAdd a slightly trickier string-join interface for making NUL-terminated string messages
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

21 years agoAdd a callback log handler type
Nick Mathewson [Wed, 3 Nov 2004 18:27:19 +0000 (18:27 +0000)] 
Add a callback log handler type

svn:r2658

21 years agoStreamline the two redundant "Has the second rolled over?" checks in prepare_for_poll...
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

21 years agoconnection_read_bucket_decrement() has a side-effect that
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

21 years agolay the groundwork for a default value for each config option.
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

21 years agomy gcc has never heard of -Wendif-labels
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

21 years agomy assert.h takes extra pains to be certain to _re-include_
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

21 years agoStart implementing control interface.
Nick Mathewson [Wed, 3 Nov 2004 01:32:26 +0000 (01:32 +0000)] 
Start implementing control interface.

svn:r2652

21 years agoFix another typo
Nick Mathewson [Wed, 3 Nov 2004 01:31:42 +0000 (01:31 +0000)] 
Fix another typo

svn:r2651

21 years agoThe spelling is "d-e-f-i-n-e".
Nick Mathewson [Wed, 3 Nov 2004 00:02:17 +0000 (00:02 +0000)] 
The spelling is "d-e-f-i-n-e".

svn:r2650

21 years agoFirst attempt at hibernation code. It needs more work around the XXXXs, but first...
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

21 years agoAdd compatibility macros for printf and scanf-ing 64-bit unsigned ints
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

21 years agoHandle strlcat/strlcpy correctly on platforms that have them.
Nick Mathewson [Tue, 2 Nov 2004 19:25:52 +0000 (19:25 +0000)] 
Handle strlcat/strlcpy correctly on platforms that have them.

svn:r2647

21 years agountabify. This should hold it.
Nick Mathewson [Tue, 2 Nov 2004 03:11:01 +0000 (03:11 +0000)] 
untabify.  This should hold it.

svn:r2646

21 years agoUse a stricter set of warnings; make them all pass.
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

21 years agocanonicalize "src" and "dest" arg order in crypto.c (and others)
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

21 years agoFix signed/unsigned comparison warning
Nick Mathewson [Mon, 1 Nov 2004 22:41:32 +0000 (22:41 +0000)] 
Fix signed/unsigned comparison warning

svn:r2643

21 years agoutil.c needs ctype.h for tolower and isspace
Roger Dingledine [Mon, 1 Nov 2004 21:54:12 +0000 (21:54 +0000)] 
util.c needs ctype.h for tolower and isspace

svn:r2642

21 years agoHidden service operators had a bug in version 1 style INTRODUCE cells
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

21 years agoSplit util into util (general utilities), container (smartlist and strmap), and compa...
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

21 years agomake the tarball build
Roger Dingledine [Mon, 1 Nov 2004 20:01:01 +0000 (20:01 +0000)] 
make the tarball build

svn:r2639

21 years agomake sure options.MaxConn can be reached
Roger Dingledine [Mon, 1 Nov 2004 08:24:34 +0000 (08:24 +0000)] 
make sure options.MaxConn can be reached

svn:r2638

21 years agohunt for getrlimit setrlimit sys/time.h sys/resource.h
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

21 years agochange min required number of fd's to 1024
Roger Dingledine [Mon, 1 Nov 2004 08:09:59 +0000 (08:09 +0000)] 
change min required number of fd's to 1024

svn:r2636

21 years agomake our autogen.sh work on ksh as well as bash
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

21 years agoclean up confusing instruction
Roger Dingledine [Sun, 31 Oct 2004 21:19:28 +0000 (21:19 +0000)] 
clean up confusing instruction

svn:r2634

21 years agofix 'make dist' so it works again
Roger Dingledine [Sun, 31 Oct 2004 21:16:09 +0000 (21:16 +0000)] 
fix 'make dist' so it works again

svn:r2633

21 years agostop trying to maintain two separate doc sections
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

21 years agooh, and add the actual file too
Roger Dingledine [Sun, 31 Oct 2004 20:29:25 +0000 (20:29 +0000)] 
oh, and add the actual file too

svn:r2631

21 years agoimplement first piece of hibernation
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

21 years agoOnly tor and test binaries need to link against openssl and zlib; tor-resolve can...
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

21 years agoMove all util functions that need openssl into crypto.c; make non-openssl functions...
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

21 years agotor --list-fingerprint to print fingerprint and exit
Nick Mathewson [Sat, 30 Oct 2004 19:18:37 +0000 (19:18 +0000)] 
tor --list-fingerprint to print fingerprint and exit

svn:r2627

21 years agoadd a note to the doc telling openbsd folks that their fd limit is
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

21 years agoAdd TODO item: gripe early when fd limits are low, rather than blowing up when we...
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

21 years agoFix paul gardner's assert bug. Turns out when circuit_launch_by_nickname()
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

21 years agoLink tools directory into rest of build system
Nick Mathewson [Thu, 28 Oct 2004 20:31:15 +0000 (20:31 +0000)] 
Link tools directory into rest of build system

svn:r2623

21 years agoNote item completion
Nick Mathewson [Thu, 28 Oct 2004 20:30:56 +0000 (20:30 +0000)] 
Note item completion

svn:r2622

21 years agoRename Python tor-resolve to tor-resolve.py; stop installing it; move tor-resolve...
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

21 years agoAdd a pure-C tor-resolve implementation
Nick Mathewson [Thu, 28 Oct 2004 20:28:13 +0000 (20:28 +0000)] 
Add a pure-C tor-resolve implementation

svn:r2620

21 years agoMark item completed
Nick Mathewson [Thu, 28 Oct 2004 18:40:21 +0000 (18:40 +0000)] 
Mark item completed

svn:r2619

21 years agoTweaks to prevent obsolete restarting tors from hammering the dirservers. (1) Cache...
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

21 years agoFix in warning fix
Nick Mathewson [Wed, 27 Oct 2004 21:54:44 +0000 (21:54 +0000)] 
Fix in warning fix

svn:r2617

21 years agoCheck return of tor_snprintf
Nick Mathewson [Wed, 27 Oct 2004 21:30:47 +0000 (21:30 +0000)] 
Check return of tor_snprintf

svn:r2616

21 years agoTricksy compiler warnings! We hates them, hates them forever, my precious!
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

21 years agoPass with -Wstrict-prototypes
Nick Mathewson [Wed, 27 Oct 2004 18:16:37 +0000 (18:16 +0000)] 
Pass with -Wstrict-prototypes

svn:r2614

21 years agoFix windows build
Nick Mathewson [Wed, 27 Oct 2004 18:14:38 +0000 (18:14 +0000)] 
Fix windows build

svn:r2613

21 years agoAdd ability for some-but-not-all abbrevs to work in config file. Add a bunch of...
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

21 years agostop freeing arbitrary memory
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

21 years agoUse strlcpy, not strcpy.
Nick Mathewson [Wed, 27 Oct 2004 06:48:16 +0000 (06:48 +0000)] 
Use strlcpy, not strcpy.

svn:r2610

21 years agoUse tor_snprintf, not snprintf
Nick Mathewson [Wed, 27 Oct 2004 06:37:34 +0000 (06:37 +0000)] 
Use tor_snprintf, not snprintf

svn:r2609