aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendservice.c
Commit message (Collapse)AuthorAge
* Add and use and unlikely-to-be-eliminated memwipe()Nick Mathewson2012-11-08
| | | | | | | | | | Apparently some compilers like to eliminate memset() operations on data that's about to go out-of-scope. I've gone with the safest possible replacement, which might be a bit slow. I don't think this is critical path in any way that will affect performance, but if it is, we can work on that in 0.2.4. Fixes bug 7352.
* Fix the remaining instances of nexted SMARTLIST_FOREACHNick Mathewson2012-07-17
|
* Merge remote-tracking branch 'public/bug3311'Nick Mathewson2012-06-18
|\
| * Clarify some messages about publishing hidden service descriptorsNick Mathewson2012-06-15
| | | | | | | | Fix for bug 3311.
* | Triage the XXX023 and XXX022 comments: postpone many.Nick Mathewson2012-06-15
|/
* Update copyright dates to 2012; add a few missing copyright statementsNick Mathewson2012-06-04
|
* Don't reset intro-point creation rate-limiting timerRobert Ransom2012-04-20
| | | | | | | | Previously, we would reset it at the drop of a hat -- every time a second passes without any of the intro-point circs already launched for the service failing. Fixes bug 4607.
* Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-04-18
|\ | | | | | | | | | | | | | | Conflicts: src/or/rendservice.c Conflicts were due to new NON_ANONYMOUS_MODE_ENABLED tor2web code; I think I resolved them correctly.
| * rend_service_introduce(): do protocol violation check before anything else.George Kadianakis2012-04-18
| | | | | | | | (Cherry-picked from 6ba13e4 by nickm)
* | Rename nonconformant identifiers.Nick Mathewson2012-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 4893. These changes are pure mechanical, and were generated with this perl script: /usr/bin/perl -w -i.bak -p s/crypto_pk_env_t/crypto_pk_t/g; s/crypto_dh_env_t/crypto_dh_t/g; s/crypto_cipher_env_t/crypto_cipher_t/g; s/crypto_digest_env_t/crypto_digest_t/g; s/aes_free_cipher/aes_cipher_free/g; s/crypto_free_cipher_env/crypto_cipher_free/g; s/crypto_free_digest_env/crypto_digest_free/g; s/crypto_free_pk_env/crypto_pk_free/g; s/_crypto_dh_env_get_dh/_crypto_dh_get_dh/g; s/_crypto_new_pk_env_rsa/_crypto_new_pk_from_rsa/g; s/_crypto_pk_env_get_evp_pkey/_crypto_pk_get_evp_pkey/g; s/_crypto_pk_env_get_rsa/_crypto_pk_get_rsa/g; s/crypto_new_cipher_env/crypto_cipher_new/g; s/crypto_new_digest_env/crypto_digest_new/g; s/crypto_new_digest256_env/crypto_digest256_new/g; s/crypto_new_pk_env/crypto_pk_new/g; s/crypto_create_crypto_env/crypto_cipher_new/g; s/connection_create_listener/connection_listener_new/g; s/smartlist_create/smartlist_new/g; s/transport_create/transport_new/g;
* | Merge branch 'feature3457-v4-nm-squashed'Nick Mathewson2012-01-11
|\ \ | | | | | | | | | | | | Conflicts: src/or/rendclient.c
| * | Log whenever a circuit's purpose is changedRobert Ransom2011-11-24
| | |
* | | Chop out the intro point calculation until it is simple enough for nickm to grokNick Mathewson2012-01-10
| | |
* | | Use my original formula for number of replacements for an intro pointRobert Ransom2012-01-10
| | | | | | | | | | | | | | | A fixup commit which was intended to make this formula easier to read broke it instead.
* | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2012-01-09
|\ \ \ | | |/ | |/|
| * | Fix a trivial log message error in renservice.cNick Mathewson2012-01-09
| | | | | | | | | | | | | | | | | | Fixes bug 4856; bugfix on 0.0.6 This bug was introduced in 79fc5217, back in 2004.
* | | Merge remote-tracking branch 'rransom-tor/bug4842'Nick Mathewson2012-01-09
|\ \ \
| * | | Don't remove rend cpath element from relaunched service-side rend circsRobert Ransom2012-01-06
| | | | | | | | | | | | | | | | Fixes bug 4842, not in any release.
* | | | clean up a comment that confused arturoRoger Dingledine2012-01-07
|/ / /
* | | Don't close HS service-side rend circs on timeoutRobert Ransom2011-12-27
| | |
* | | Add explicit cast to make gcc happyNick Mathewson2011-12-20
| | |
* | | Adjust n_intro_points_wanted when a service's intro points are closedRobert Ransom2011-12-20
| | |
* | | Extract function to determine how many intros an intro point has handledRobert Ransom2011-12-20
| | |
* | | Don't segfault when checking whether a not-yet-used intro point should expireRobert Ransom2011-12-01
| | | | | | | | | | | | Found by katmagic. Bugfix on the #3460 branch, not yet in any release.
* | | Merge branch 'feature2553-v4-rebased'Nick Mathewson2011-11-30
|\ \ \
| * | | Add ifdefs to disable #3332 assertionsRobert Ransom2011-11-30
| | |/ | |/|
* | | appease "make check-spaces"Nick Mathewson2011-11-30
| | |
* | | First chunk of support for bridges on IPv6Linus Nordberg2011-11-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comments below focus on changes, see diff for added code. New type tor_addr_port_t holding an IP address and a TCP/UDP port. New flag in routerinfo_t, ipv6_preferred. This should go in the node_t instead but not now. Replace node_get_addr() with - node_get_prim_addr() for primary address, i.e. IPv4 for now - node_get_pref_addr() for preferred address, IPv4 or IPv6. Rename node_get_addr_ipv4h() node_get_prim_addr_ipv4h() for consistency. The primary address will not allways be an IPv4 address. Same for node_get_orport() -> node_get_prim_orport(). Rewrite node_is_a_configured_bridge() to take all OR ports into account. Extend argument list to extend_info_from_node and extend_info_from_router with a flag indicating if we want to use the routers primary address or the preferred address. Use the preferred address in as few situtations as possible for allowing clients to connect to bridges over IPv6.
* | | Merge remote-tracking branch 'rransom-tor/bug3460-v4'Nick Mathewson2011-11-29
|\ \ \ | |/ / |/| | | | | | | | Conflicts: src/or/rendservice.c
| * | Correct documentation comments for fields formerly named accepted_introsRobert Ransom2011-11-27
| | |
| * | Rename accepted_intros fieldsRobert Ransom2011-11-27
| | |
| * | Ignore timestamps of INTRODUCE2 cellsRobert Ransom2011-10-31
| | |
| * | Move the real INTRODUCE2 replay-detection cache into rend_intro_point_tRobert Ransom2011-10-30
| | |
| * | Make introduction points expireRobert Ransom2011-10-30
| | |
| * | Allow intro points to expire somewhat gracefullyRobert Ransom2011-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Right Way to expire an intro point is to establish a new one to replace it, publish a new descriptor that doesn't list any expiring intro points, and *then*, once our upload attempts for the new descriptor have ended (whether in success or failure), close the expiring intro points. Unfortunately, we can't find out when the new descriptor has actually been uploaded, so we'll have to settle for a five-minute timer. There should be no significant behaviour changes due to this commit (only a log-message change or two), despite the rather massive overhaul, so this commit doesn't include a changes/ file. (The commit that teaches intro_point_should_expire_now to return non-zero gets a changes/ file, though.)
| * | Use SMARTLIST_FOREACH_BEGIN and _END, not a for loopRobert Ransom2011-10-30
| | |
| * | Correct bogus commentsRobert Ransom2011-10-30
| | | | | | | | | | | | | | | The behaviour of rend_services_introduce here is likely as bogus as the comments were.
| * | Use a more meaningful variable nameRobert Ransom2011-10-30
| | |
| * | Determine whether an intro point was in the last HS desc in a sane wayRobert Ransom2011-10-30
| | |
| * | Record which intro points were listed in the last HS descRobert Ransom2011-10-30
| | |
| * | Record the number of INTRODUCE2 cells each intro point has receivedRobert Ransom2011-10-30
| | |
| * | Correct a log messageRobert Ransom2011-10-30
| | |
| * | Record the time at which each intro point was first publishedRobert Ransom2011-10-30
| | |
| * | Improve a commentRobert Ransom2011-10-30
| | |
| * | Allow different HSes to maintain different numbers of intro pointsRobert Ransom2011-10-30
| | |
* | | Fix a couple of memory leaks in rend_add_service spotted by coverityNick Mathewson2011-11-17
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-11-09
|\ \ \ | | |/ | |/|
| * | Include HiddenServiceDir in some warning messagesRobert Ransom2011-11-07
| | |
* | | Merge remote-tracking branch 'origin/maint-0.2.2'Nick Mathewson2011-10-20
|\| |
| * | Free rend_data and intro_key when extra intro circs become general-purposeRobert Ransom2011-10-18
| |/