]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
21 years agoUse service id instead of hex id in rendservice.c log messages. Rendcommon and rendc...
Nick Mathewson [Mon, 12 Apr 2004 05:12:50 +0000 (05:12 +0000)] 
Use service id instead of hex id in rendservice.c log messages.  Rendcommon and rendclient will follow tomorrow.

svn:r1591

21 years agoCosmetic patch for arma's fix for The Bug: Don't set the state to
Nick Mathewson [Sun, 11 Apr 2004 17:07:45 +0000 (17:07 +0000)] 
Cosmetic patch for arma's fix for The Bug: Don't set the state to
RESOLVEFAILED if the resolve didn't fail; set it to CONNECTING
instead.

svn:r1590

21 years agoclean/update todo
Roger Dingledine [Sat, 10 Apr 2004 22:13:37 +0000 (22:13 +0000)] 
clean/update todo

svn:r1589

21 years agocontinue beating at pieces of The Bug
Roger Dingledine [Fri, 9 Apr 2004 21:31:09 +0000 (21:31 +0000)] 
continue beating at pieces of The Bug

svn:r1588

21 years agoif dns resolve is valid, but our exit policy rejects it or
Roger Dingledine [Fri, 9 Apr 2004 21:06:14 +0000 (21:06 +0000)] 
if dns resolve is valid, but our exit policy rejects it or
the connect attempt fails immediately, we were trying to
double-remove it from the dns pending list.

i think this might have been The Bug.
(thanks weasel!)

svn:r1587

21 years agogive better instructions than just 'mail arma'
Roger Dingledine [Fri, 9 Apr 2004 20:23:25 +0000 (20:23 +0000)] 
give better instructions than just 'mail arma'

svn:r1586

21 years agoexpire old CIRCUIT_PURPOSE_C_REND_READY circs too
Roger Dingledine [Fri, 9 Apr 2004 20:08:13 +0000 (20:08 +0000)] 
expire old CIRCUIT_PURPOSE_C_REND_READY circs too

svn:r1585

21 years agoDump introduction point status on kill -USR1
Nick Mathewson [Fri, 9 Apr 2004 20:02:16 +0000 (20:02 +0000)] 
Dump introduction point status on kill -USR1

svn:r1584

21 years agoResolve init-services-in-do-hup issue
Nick Mathewson [Fri, 9 Apr 2004 19:37:50 +0000 (19:37 +0000)] 
Resolve init-services-in-do-hup issue

svn:r1583

21 years agodon't call rend_services_init right before we fetch the
Roger Dingledine [Fri, 9 Apr 2004 19:34:55 +0000 (19:34 +0000)] 
don't call rend_services_init right before we fetch the
dir, because we call it right after now.

svn:r1582

21 years agocall directory_has_arrived has arrived every time we get
Roger Dingledine [Fri, 9 Apr 2004 19:30:38 +0000 (19:30 +0000)] 
call directory_has_arrived has arrived every time we get
a new directory, not just the first time

svn:r1581

21 years agoMake comment more sensible. Still uncertain about when to call rend_services_init...
Nick Mathewson [Fri, 9 Apr 2004 17:54:20 +0000 (17:54 +0000)] 
Make comment more sensible. Still uncertain about when to call rend_services_init, though.

svn:r1580

21 years agoset rend exit connection state _before_ calling rend_service_set_connection_addr_port...
Nick Mathewson [Fri, 9 Apr 2004 17:51:57 +0000 (17:51 +0000)] 
set rend exit connection state _before_ calling rend_service_set_connection_addr_port and maybe eventually assert_connection_ok. This solves the other half of the bug weasel found.

svn:r1579

21 years agoReload rendezvous service keys on sighup; otherwise, we wind up with a
Nick Mathewson [Fri, 9 Apr 2004 17:48:09 +0000 (17:48 +0000)] 
Reload rendezvous service keys on sighup; otherwise, we wind up with a
bunch of half-initialized services.  This should solve half of
weasel's current bug.  The crash is the other half.

(arma: should we also call rend_services_init on hup?)

svn:r1578

21 years agoUpdate cvsignores
Peter Palfrader [Fri, 9 Apr 2004 13:14:52 +0000 (13:14 +0000)] 
Update cvsignores

svn:r1577

21 years agoget more serious about hunting The Bug
Roger Dingledine [Fri, 9 Apr 2004 09:39:42 +0000 (09:39 +0000)] 
get more serious about hunting The Bug
(it has been haunting us since the days of 0.0.2preX)

svn:r1576

21 years agoremove a stray printf
Nick Mathewson [Thu, 8 Apr 2004 20:59:48 +0000 (20:59 +0000)] 
remove a stray printf

svn:r1575

21 years agoFix base32 implementation; make base32 implementation follow standard; add more tests...
Nick Mathewson [Thu, 8 Apr 2004 20:56:33 +0000 (20:56 +0000)] 
Fix base32 implementation; make base32 implementation follow standard; add more tests for base32

svn:r1574

21 years agoFix unit tests (now that platform code works differently)
Nick Mathewson [Thu, 8 Apr 2004 20:22:01 +0000 (20:22 +0000)] 
Fix unit tests (now that platform code works differently)

svn:r1573

21 years agowhen rend_cache_store warns, give more detail
Roger Dingledine [Thu, 8 Apr 2004 20:13:28 +0000 (20:13 +0000)] 
when rend_cache_store warns, give more detail

svn:r1572

21 years agonote which preexisting or connection we found.
Nick Mathewson [Thu, 8 Apr 2004 19:49:55 +0000 (19:49 +0000)] 
note which preexisting or connection we found.

svn:r1571

21 years agocircuit-level sendmes weren't working, because the exit
Roger Dingledine [Thu, 8 Apr 2004 09:41:28 +0000 (09:41 +0000)] 
circuit-level sendmes weren't working, because the exit
thought it was an exit.

i overhauled the edge_type mechanism. hopefully this will help.

svn:r1570

21 years agowe added more AP conns, oops
Roger Dingledine [Thu, 8 Apr 2004 07:25:54 +0000 (07:25 +0000)] 
we added more AP conns, oops

svn:r1569

21 years agoadd 'Do you want to run a hidden service?' section
Roger Dingledine [Thu, 8 Apr 2004 07:09:48 +0000 (07:09 +0000)] 
add 'Do you want to run a hidden service?' section

svn:r1568

21 years agoDocument rest of hiddenservice config options; still needs example or tutorial maybe.
Nick Mathewson [Thu, 8 Apr 2004 06:30:15 +0000 (06:30 +0000)] 
Document rest of hiddenservice config options; still needs example or tutorial maybe.

svn:r1567

21 years agostop being so eager to have rend_cache_store reject the
Roger Dingledine [Thu, 8 Apr 2004 05:08:27 +0000 (05:08 +0000)] 
stop being so eager to have rend_cache_store reject the
service descriptor

svn:r1566

21 years agoBe endianly-correct for rendezvous functionality
Nick Mathewson [Thu, 8 Apr 2004 04:47:39 +0000 (04:47 +0000)] 
Be endianly-correct for rendezvous functionality

svn:r1565

21 years agolog which intro points we picked
Roger Dingledine [Thu, 8 Apr 2004 04:36:13 +0000 (04:36 +0000)] 
log which intro points we picked

svn:r1564

21 years agoservers don't need other people to be able to resolve their Address anymore
Roger Dingledine [Thu, 8 Apr 2004 04:35:51 +0000 (04:35 +0000)] 
servers don't need other people to be able to resolve their Address anymore

svn:r1563

21 years agoLaunch intro services after launching connections; allow ORs to build circuits throug...
Nick Mathewson [Thu, 8 Apr 2004 03:53:39 +0000 (03:53 +0000)] 
Launch intro services after launching connections; allow ORs to build circuits through as-yet-unconnectd ORs

svn:r1562

21 years agodon't try to circuit_log_path if you're at the exit edge of a circ
Roger Dingledine [Thu, 8 Apr 2004 03:30:47 +0000 (03:30 +0000)] 
don't try to circuit_log_path if you're at the exit edge of a circ

svn:r1561

21 years agoInvert strcasecmp check for supports-rendezvous
Nick Mathewson [Thu, 8 Apr 2004 03:21:15 +0000 (03:21 +0000)] 
Invert strcasecmp check for supports-rendezvous

svn:r1560

21 years agobugfix: alice would crash if bob advertised 0 intro points
Roger Dingledine [Thu, 8 Apr 2004 03:18:03 +0000 (03:18 +0000)] 
bugfix: alice would crash if bob advertised 0 intro points

svn:r1559

21 years agoForce tor_malloc(0) to always be sane
Nick Mathewson [Thu, 8 Apr 2004 03:05:08 +0000 (03:05 +0000)] 
Force tor_malloc(0) to always be sane

svn:r1558

21 years agoAllow service descriptors with no intro points
Nick Mathewson [Thu, 8 Apr 2004 03:02:50 +0000 (03:02 +0000)] 
Allow service descriptors with no intro points

svn:r1557

21 years agoNothing is good enough for you, is it?
Nick Mathewson [Thu, 8 Apr 2004 02:50:34 +0000 (02:50 +0000)] 
Nothing is good enough for you, is it?

svn:r1556

21 years agoUse CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath
Nick Mathewson [Thu, 8 Apr 2004 02:24:06 +0000 (02:24 +0000)] 
Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath

svn:r1555

21 years agoonly call circuit_build_failed when we're circ's origin
Roger Dingledine [Thu, 8 Apr 2004 02:22:26 +0000 (02:22 +0000)] 
only call circuit_build_failed when we're circ's origin

svn:r1554

21 years agomake the max buf size 10 megabytes, not 1 megabyte
Roger Dingledine [Thu, 8 Apr 2004 02:19:35 +0000 (02:19 +0000)] 
make the max buf size 10 megabytes, not 1 megabyte
need to implement flexible buffer sizes soon

svn:r1553

21 years agoclean up rend_client_get_random_intro
Roger Dingledine [Thu, 8 Apr 2004 02:11:49 +0000 (02:11 +0000)] 
clean up rend_client_get_random_intro

svn:r1552

21 years agoSet rend_query on exiting streams
Nick Mathewson [Thu, 8 Apr 2004 02:10:43 +0000 (02:10 +0000)] 
Set rend_query on exiting streams

svn:r1551

21 years agomore todo items marked off
Roger Dingledine [Thu, 8 Apr 2004 02:08:23 +0000 (02:08 +0000)] 
more todo items marked off

svn:r1550

21 years agospec change: bob is allowed to advertise zero intro points
Roger Dingledine [Thu, 8 Apr 2004 02:07:53 +0000 (02:07 +0000)] 
spec change: bob is allowed to advertise zero intro points

svn:r1549

21 years agodon't log info when we asked for log warn
Roger Dingledine [Thu, 8 Apr 2004 01:59:31 +0000 (01:59 +0000)] 
don't log info when we asked for log warn

svn:r1548

21 years agoSplit out major functionality of circuit_get_best; rephrase a few booleans
Nick Mathewson [Thu, 8 Apr 2004 01:55:21 +0000 (01:55 +0000)] 
Split out major functionality of circuit_get_best; rephrase a few booleans

svn:r1547

21 years agoDo not crash when no desc is found
Nick Mathewson [Thu, 8 Apr 2004 01:54:02 +0000 (01:54 +0000)] 
Do not crash when no desc is found

svn:r1546

21 years agoallow for directories >8192 bytes
Roger Dingledine [Thu, 8 Apr 2004 01:47:33 +0000 (01:47 +0000)] 
allow for directories >8192 bytes

svn:r1545

21 years agoallow 90 minutes of clock skew, not 30
Roger Dingledine [Thu, 8 Apr 2004 01:08:56 +0000 (01:08 +0000)] 
allow 90 minutes of clock skew, not 30

svn:r1544

21 years agoclean up torrc.sample more
Roger Dingledine [Thu, 8 Apr 2004 00:49:28 +0000 (00:49 +0000)] 
clean up torrc.sample more

svn:r1543

21 years agoclean up choose_good_exit_server()
Roger Dingledine [Wed, 7 Apr 2004 23:31:29 +0000 (23:31 +0000)] 
clean up choose_good_exit_server()

svn:r1542

21 years agodon't try to build intro circs until you've fetched the directory
Roger Dingledine [Wed, 7 Apr 2004 22:48:06 +0000 (22:48 +0000)] 
don't try to build intro circs until you've fetched the directory

svn:r1541

21 years agoif the rend desc cache entry was fetched more than 15 mins ago,
Roger Dingledine [Wed, 7 Apr 2004 22:41:00 +0000 (22:41 +0000)] 
if the rend desc cache entry was fetched more than 15 mins ago,
then try to fetch a new one. but if the new fetch fails, use the
old one.

svn:r1540

21 years agoFreeing the same variable twice in rapid succession can sometimes cause a double...
Nick Mathewson [Wed, 7 Apr 2004 22:25:37 +0000 (22:25 +0000)] 
Freeing the same variable twice in rapid succession can sometimes cause a double-free

svn:r1539

21 years agoInsert a *copy* of our routerinfo into the routerlist.
Nick Mathewson [Wed, 7 Apr 2004 22:18:57 +0000 (22:18 +0000)] 
Insert a *copy* of our routerinfo into the routerlist.

svn:r1538

21 years agoRebuild and re-upload service descriptors every 15 minutes
Nick Mathewson [Wed, 7 Apr 2004 22:06:54 +0000 (22:06 +0000)] 
Rebuild and re-upload service descriptors every 15 minutes

svn:r1537

21 years agoRemember when we received which service desc.
Nick Mathewson [Wed, 7 Apr 2004 22:00:54 +0000 (22:00 +0000)] 
Remember when we received which service desc.

svn:r1536

21 years agoMake sure we have our own keys before we initialize our routerlist
Nick Mathewson [Wed, 7 Apr 2004 21:44:46 +0000 (21:44 +0000)] 
Make sure we have our own keys before we initialize our routerlist

svn:r1535

21 years agoGenerating data does no good if you make no use of it
Nick Mathewson [Wed, 7 Apr 2004 21:44:24 +0000 (21:44 +0000)] 
Generating data does no good if you make no use of it

svn:r1534

21 years agoDon't use Tor version 0.0.5 for intro/rendezvous points. (We don't need
Nick Mathewson [Wed, 7 Apr 2004 21:36:03 +0000 (21:36 +0000)] 
Don't use Tor version 0.0.5 for intro/rendezvous points.  (We don't need
to worry about 0.0.4 or earlier, because nobody is running them any more.)

svn:r1533

21 years agobump cvs to 0.0.6pre1
Roger Dingledine [Wed, 7 Apr 2004 21:35:38 +0000 (21:35 +0000)] 
bump cvs to 0.0.6pre1

svn:r1532

21 years agodon't pick myself or my twins as hops when building circuits
Roger Dingledine [Wed, 7 Apr 2004 21:12:54 +0000 (21:12 +0000)] 
don't pick myself or my twins as hops when building circuits

svn:r1531

21 years agoCarefully increment failure counts when appropriate
Nick Mathewson [Wed, 7 Apr 2004 20:59:38 +0000 (20:59 +0000)] 
Carefully increment failure counts when appropriate

svn:r1530

21 years agoIdentify some finished stuff
Nick Mathewson [Wed, 7 Apr 2004 20:49:37 +0000 (20:49 +0000)] 
Identify some finished stuff

svn:r1529

21 years agolet bob replenish his intro points and republish service desc
Roger Dingledine [Wed, 7 Apr 2004 20:47:50 +0000 (20:47 +0000)] 
let bob replenish his intro points and republish service desc
as necessary

svn:r1528

21 years agoa few more todo thoughts
Roger Dingledine [Wed, 7 Apr 2004 20:46:58 +0000 (20:46 +0000)] 
a few more todo thoughts

svn:r1527

21 years agoexpire open-but-not-yet-acked circs if they're too old
Roger Dingledine [Wed, 7 Apr 2004 20:38:23 +0000 (20:38 +0000)] 
expire open-but-not-yet-acked circs if they're too old

svn:r1526

21 years agoconvince ourselves that circuit_failed doesn't have to be any smarter
Roger Dingledine [Wed, 7 Apr 2004 20:23:59 +0000 (20:23 +0000)] 
convince ourselves that circuit_failed doesn't have to be any smarter

svn:r1525

21 years agoThere is no need to cast void* to other pointer types.
Nick Mathewson [Wed, 7 Apr 2004 20:11:28 +0000 (20:11 +0000)] 
There is no need to cast void* to other pointer types.

svn:r1524

21 years agoRepair whitespace in windows orconfig.h
Nick Mathewson [Wed, 7 Apr 2004 20:01:51 +0000 (20:01 +0000)] 
Repair whitespace in windows orconfig.h

svn:r1523

21 years agoDelete trailing whitespace and expand tabs; remove unused aes decrypt code
Nick Mathewson [Wed, 7 Apr 2004 19:57:40 +0000 (19:57 +0000)] 
Delete trailing whitespace and expand tabs; remove unused aes decrypt code

svn:r1522

21 years agoPut ourself in router list; act accordingly.
Nick Mathewson [Wed, 7 Apr 2004 19:46:27 +0000 (19:46 +0000)] 
Put ourself in router list; act accordingly.

svn:r1521

21 years agowe were uploading our server descriptor to each the dirservers
Roger Dingledine [Wed, 7 Apr 2004 19:30:22 +0000 (19:30 +0000)] 
we were uploading our server descriptor to each the dirservers
when we boot, and then also on the first iteration of the main loop

svn:r1520

21 years agolet alice reuse recent rendjoin circs
Roger Dingledine [Wed, 7 Apr 2004 19:22:55 +0000 (19:22 +0000)] 
let alice reuse recent rendjoin circs

svn:r1519

21 years agomark a rend circ dirty when you attach to it
Roger Dingledine [Wed, 7 Apr 2004 19:14:45 +0000 (19:14 +0000)] 
mark a rend circ dirty when you attach to it

svn:r1518

21 years agowhen counting how many being-built circs will handle a stream,
Roger Dingledine [Wed, 7 Apr 2004 19:14:33 +0000 (19:14 +0000)] 
when counting how many being-built circs will handle a stream,
don't count ones that are too old

svn:r1517

21 years agomore todo action, and a spec note
Roger Dingledine [Wed, 7 Apr 2004 06:40:06 +0000 (06:40 +0000)] 
more todo action, and a spec note

svn:r1516

21 years agorouterinfo->addr is host order
Roger Dingledine [Wed, 7 Apr 2004 06:17:27 +0000 (06:17 +0000)] 
routerinfo->addr is host order

svn:r1515

21 years agoSet routerinfo->addr properly for own routerinfo; do casei routerinfo compare
Nick Mathewson [Tue, 6 Apr 2004 22:23:12 +0000 (22:23 +0000)] 
Set routerinfo->addr properly for own routerinfo; do casei routerinfo compare

svn:r1514

21 years agoSet correct address and port mappings on outgoing rendezvous connections
Nick Mathewson [Tue, 6 Apr 2004 22:05:49 +0000 (22:05 +0000)] 
Set correct address and port mappings on outgoing rendezvous connections

svn:r1513

21 years agoalice just fetched bob's hidden webpage.
Roger Dingledine [Tue, 6 Apr 2004 21:52:01 +0000 (21:52 +0000)] 
alice just fetched bob's hidden webpage.
yay.

svn:r1512

21 years agoset the circ windows on the middle hop of the rend circs
Roger Dingledine [Tue, 6 Apr 2004 21:25:11 +0000 (21:25 +0000)] 
set the circ windows on the middle hop of the rend circs

svn:r1511

21 years agorouter_choose_random_node wants a smartlist of routers, not of nicknames.
Nick Mathewson [Tue, 6 Apr 2004 21:19:59 +0000 (21:19 +0000)] 
router_choose_random_node wants a smartlist of routers, not of nicknames.

svn:r1510

21 years agoForce hybrid encryption on for key negotiation
Nick Mathewson [Tue, 6 Apr 2004 20:55:46 +0000 (20:55 +0000)] 
Force hybrid encryption on for key negotiation

svn:r1509

21 years agoStupid sizeof operator!
Nick Mathewson [Tue, 6 Apr 2004 20:45:44 +0000 (20:45 +0000)] 
Stupid sizeof operator!

svn:r1508

21 years agoRemove vestigial variable
Nick Mathewson [Tue, 6 Apr 2004 20:42:25 +0000 (20:42 +0000)] 
Remove vestigial variable

svn:r1507

21 years agocheckpoint commit: rend closer to working, still not there yet
Roger Dingledine [Tue, 6 Apr 2004 20:25:18 +0000 (20:25 +0000)] 
checkpoint commit: rend closer to working, still not there yet

svn:r1506

21 years agoSet handshake_state to NULL before appending cpath hops
Nick Mathewson [Tue, 6 Apr 2004 20:23:58 +0000 (20:23 +0000)] 
Set handshake_state to NULL before appending cpath hops

svn:r1505

21 years agoContinue attack on magic numbers; use new crypto wrappers where possible
Nick Mathewson [Tue, 6 Apr 2004 20:16:12 +0000 (20:16 +0000)] 
Continue attack on magic numbers; use new crypto wrappers where possible

svn:r1504

21 years agoRemove the last tab in non-contributed code
Nick Mathewson [Tue, 6 Apr 2004 03:46:37 +0000 (03:46 +0000)] 
Remove the last tab in non-contributed code

svn:r1503

21 years agoDocument stuff, reduce magic numbers, add emacs magic
Nick Mathewson [Tue, 6 Apr 2004 03:44:36 +0000 (03:44 +0000)] 
Document stuff, reduce magic numbers, add emacs magic

svn:r1502

21 years agoDocument :n-m exit policy
Peter Palfrader [Tue, 6 Apr 2004 01:00:26 +0000 (01:00 +0000)] 
Document :n-m exit policy

svn:r1501

21 years agofinish off a bunch of rend todo, add more
Roger Dingledine [Tue, 6 Apr 2004 00:56:24 +0000 (00:56 +0000)] 
finish off a bunch of rend todo, add more

svn:r1500

21 years agofix the bob-can't-decode-relays bug
Roger Dingledine [Mon, 5 Apr 2004 23:40:59 +0000 (23:40 +0000)] 
fix the bob-can't-decode-relays bug

now alice can send the begin and bob can receive it.

svn:r1499

21 years agodon't detach-and-retry rendezvous streams
Roger Dingledine [Mon, 5 Apr 2004 22:43:01 +0000 (22:43 +0000)] 
don't detach-and-retry rendezvous streams

svn:r1498

21 years agomake router_get_by_nickname consider this router.
Nick Mathewson [Mon, 5 Apr 2004 22:22:42 +0000 (22:22 +0000)] 
make router_get_by_nickname consider this router.

svn:r1497

21 years agomake rend apconn send to the right cpath layer
Roger Dingledine [Mon, 5 Apr 2004 22:01:35 +0000 (22:01 +0000)] 
make rend apconn send to the right cpath layer

and fix circuit_log_path to know about rend circs

svn:r1496

21 years agoMore symbolic constants for checking rendezvous1 cell lengths
Nick Mathewson [Mon, 5 Apr 2004 21:40:22 +0000 (21:40 +0000)] 
More symbolic constants for checking rendezvous1 cell lengths

svn:r1495

21 years agoUse correct payload lengths when sending RENDEZVOUS1 cells
Nick Mathewson [Mon, 5 Apr 2004 21:39:47 +0000 (21:39 +0000)] 
Use correct payload lengths when sending RENDEZVOUS1 cells

svn:r1494

21 years agoSpec conformance: KH|"INTRODUCE" is only for establishing intro pt
Nick Mathewson [Mon, 5 Apr 2004 21:39:18 +0000 (21:39 +0000)] 
Spec conformance: KH|"INTRODUCE" is only for establishing intro pt

svn:r1493

21 years agoAdd a missing offset
Nick Mathewson [Mon, 5 Apr 2004 21:31:53 +0000 (21:31 +0000)] 
Add a missing offset

svn:r1492