Age | Commit message (Collapse) | Author |
|
Fix some XXX020s in command.c, and make it not-allowed to negotiate v1 using the v2 connection protocol: it is too hard to test, and pointless to support.
svn:r13460
|
|
Remove some deadcode.
svn:r13459
|
|
Merge connection_or_act_on_netinfo into command.c; remove some fields from or_handshake_state().
svn:r13458
|
|
svn:r13453
|
|
svn:r13450
|
|
svn:r13449
|
|
oh, and this should be backported too.
svn:r13444
|
|
svn:r13443
|
|
at IP address X and he says we look like we're coming from IP address X.
svn:r13442
|
|
svn:r13440
|
|
karsten.
svn:r13439
|
|
svn:r13437
|
|
More protocol negotiation work. Make the negotiation actually complete and set the state to open. Fix a crash bug that occured when we forcibly stopped the connection from writing.
svn:r13434
|
|
Fix a new segfault when poisoning a non-present socks request.
svn:r13433
|
|
Remove spurious log stmt
svn:r13432
|
|
Bugfix from Karsten Loesing: Retry v2 rend descriptors on intro point failure.
svn:r13431
|
|
Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections.
svn:r13430
|
|
Change DNs in x509 certificates to be harder to fingerprint. Raise common code. Refactor random hostname generation into crypto.c
svn:r13429
|
|
Add a couple of (currently disabled) strategies for trying to avoid using too much ram in memory pools: prefer putting new cells in almost-full chunks, and be willing to free the last empty chunk if we have not needed it for a while. Also add better output to mp_pool_log_status to track how many mallocs a given memory pool strategy is saving us, so we can tune the mempool parameters.
svn:r13428
|
|
Fix warning in onion.c
svn:r13427
|
|
downgrade xxxs in test.c
svn:r13426
|
|
Clean up IPv6-testing code in test.c; resolve a bunch of XXX020s.
svn:r13425
|
|
Fix some warnings identified by building with -D_FORTIFY_SOURCE=2. Remove a redundant (and nuts) definition of _FORTIFY_SOURCE from eventdns.c.
svn:r13424
|
|
Fix bug in last patch that made secret_to_key crash.
svn:r13415
|
|
Be more thorough about memory poisoning and clearing. Add an in-place version of aes_crypt in order to remove a memcpy from relay_crypt_one_payload.
svn:r13414
|
|
svn:r13412
|
|
The SSL portion of the revised handshake now seems to work: I just finally got a client and a server to negotiate versions. Now to make sure certificate verification is really happening, connections are getting opened, etc.
svn:r13409
|
|
Implement a better means for testing for renegotiation.
svn:r13408
|
|
Add more documentation; change the behavior of read_to_buf_tls to be more consistent. Note a longstanding problem with current read/write interfaces.
svn:r13407
|
|
Fix bandwidth bucked calculations again, I think. Bugfix on 0.1.2.x. Backport candidate.
svn:r13406
|
|
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
svn:r13403
|
|
even when the local resolv.conf file is missing, broken, or contains
only unusable nameservers.
Now I can run a local network on my laptop when I'm on an airplane.
svn:r13402
|
|
complain to the user and demand that they upgrade to one of "".
svn:r13401
|
|
otherwise i'll keep asking other authorities for it, which probably
isn't the best way to get it. this made bootstrapping a new network
very hard.
svn:r13400
|
|
don't declare that we're ready to build circuits yet. we're not.
svn:r13399
|
|
authorities
svn:r13398
|
|
Fix/downgrade some more XXX020s.
svn:r13397
|
|
Add typechecking cast functions for typed digestmap variants.
svn:r13396
|
|
Stamp out a bunch of atoi users; make more tor_parse_long() users check their outputs.
svn:r13395
|
|
Initial attempts to track down bug 600, and refactor possibly offending code. 1) complain early if circuit state is set to OPEN when an onionskin is pending. 2) refactor onionskin field into one only used when n_conn is pending, and a separate onionskin field waiting for attention by a cpuworker. This might even fix the bug. More likely, it will make it fail with a more useful core.
svn:r13394
|
|
Fix or downgrade a few XXX020 items.
svn:r13393
|
|
Remove a few #if-0d items.
svn:r13392
|
|
Oops; fix compilation of control.c
svn:r13391
|
|
Fix some XXX020 items in control.c: add a maximum line length and note that the number of versioning authorities is no longer apparent to clients.
svn:r13390
|
|
Remove a dead function.
svn:r13389
|
|
Remove or downgrade some XXX020 items.
svn:r13388
|
|
Correctly register failures in connection_add() in dnsserv_launch_request()
svn:r13387
|
|
Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened.
svn:r13385
|
|
Check for correctness of AuthDir* options in options_validate; check for possible bugs where options_validate() is happy but parse_policies_from_options() is sad.
svn:r13384
|