| Commit message (Expand) | Author | Age |
... | |
* | Fix bug #5097: remove bogus envvar from managed proxies' environment | Robert Ransom | 2012-02-12 |
* | Use the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32•••This commit is completely mechanical; I used this perl script to make it:
#!/usr/bin/perl -w -i.bak -p
if (/^\s*\#/) {
s/MS_WINDOWS/_WIN32/g;
s/\bWIN32\b/_WIN32/g;
}
| Nick Mathewson | 2012-01-31 |
* | Rename nonconformant identifiers.•••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;
| Nick Mathewson | 2012-01-18 |
* | Merge remote-tracking branch 'asn-mytor/bug4751' | Nick Mathewson | 2012-01-16 |
|\ |
|
| * | Improve names of some pluggable transport-related functions. | George Kadianakis | 2012-01-13 |
* | | Try to use smartlist_add_asprintf consistently•••(To ensure correctness, in every case, make sure that the temporary
variable is deleted, renamed, or lowered in scope, so we can't have
any bugs related to accidentally relying on the no-longer-filled
variable.)
| Nick Mathewson | 2012-01-16 |
|/ |
|
* | Merge remote-tracking branch 'asn-mytor/bug4725_take2' | Nick Mathewson | 2011-12-20 |
|\ |
|
| * | Server transports should be instructed to bind on INADDR_ANY by default. | George Kadianakis | 2011-12-18 |
* | | Doxygenize the file-level documentation of transports.c. | George Kadianakis | 2011-12-16 |
|/ |
|
* | Fix warnings.•••Remove environ declaration.
Use ORPort->value. And it's a string.
Make tmp a char *.
| Linus Nordberg | 2011-12-01 |
* | Initial hacking for proposal 186.•••This code handles the new ORPort options, and incidentally makes all
remaining port types use the new port configuration systems.
There are some rough edges! It doesn't do well in the case where your
Address says one thing but you say to Advertise another ORPort. It
doesn't handle AllAddrs. It doesn't actually advertise anything besides
the first listed advertised IPv4 ORPort and DirPort. It doesn't do
port forwarding to them either.
It's not tested either, it needs more documentation, and it probably
forgets to put the milk back in the refrigerator.
| Nick Mathewson | 2011-11-30 |
* | Make the pt/transports test not crash. | Nick Mathewson | 2011-11-25 |
* | Make process_handle_t private and fix some unit tests•••Let's *not* expose more cross-platform-compatibility structures, or
expect code to use them right.
Also, don't fclose() stdout_handle and stdin_handle until we do
tor_process_handle_destroy, or we risk a double-fclose.
| Nick Mathewson | 2011-11-25 |
* | Merge remote-tracking branch 'asn/bug3472_act2' | Nick Mathewson | 2011-11-25 |
|\ |
|
| * | Tell the bridge operator on what ports his transports spawned.•••- Add a LOG_WARN message when registering the transports of a server
managed proxy, so that the bridge operator can see in what ports the
transports spawned and notify his/her clients.
| George Kadianakis | 2011-11-02 |
| * | Rename tor_process_destroy() to tor_process_handle_destroy(). | George Kadianakis | 2011-10-24 |
| * | Improve general code quality.•••- Add a tor_process_get_pid() function that returns the PID of a
process_handle_t.
- Conform to make check-spaces.
- Add some more documentation.
- Improve some log messages.
| George Kadianakis | 2011-10-24 |
| * | Add PT_PROTO_FAILED_LAUNCH managed proxy state.•••We used to try to terminate the managed proxy process even if it
failed while launching. We introduce a new managed proxy state, to
represent a *broken* and *not launched* proxy.
| George Kadianakis | 2011-10-24 |
| * | Make set_managed_proxy_environment() work on Windows. | George Kadianakis | 2011-10-24 |
| * | Port managed proxy launching code to the new subprocess API. | George Kadianakis | 2011-10-17 |
* | | Fix names of functions that convert strings to addrs•••Now let's have "lookup" indicate that there can be a hostname
resolution, and "parse" indicate that there wasn't. Previously, we
had one "lookup" function that did resolution; four "parse" functions,
half of which did resolution; and a "from_str()" function that didn't
do resolution. That's confusing and error-prone!
The code changes in this commit are exactly the result of this perl
script, run under "perl -p -i.bak" :
s/tor_addr_port_parse/tor_addr_port_lookup/g;
s/parse_addr_port(?=[^_])/addr_port_lookup/g;
s/tor_addr_from_str/tor_addr_parse/g;
This patch leaves aton and pton alone: their naming convention and
behavior is is determined by the sockets API.
More renaming may be needed.
| Nick Mathewson | 2011-10-11 |
|/ |
|
* | Merge remote-tracking branch 'asn2/bug3656'•••Conflicts:
src/common/util.c
src/common/util.h
src/or/config.h
src/or/main.c
src/test/test_util.c
| Nick Mathewson | 2011-10-07 |
* | Make it compile on Windows™. | George Kadianakis | 2011-10-07 |
* | Support multiple transports in a single transport line.•••Support multiple comma-separated transpotrs in a single
{Client,Server}TransportPlugin line.
| George Kadianakis | 2011-10-07 |
* | Improve wording in some comments and log messages. | George Kadianakis | 2011-09-23 |
* | Put some sense into our logging.•••Transform our logging severities to something more sensible.
Remove sneaky printf()s.
| George Kadianakis | 2011-09-12 |
* | Constification. | George Kadianakis | 2011-09-11 |
* | Make check-spaces happy. | George Kadianakis | 2011-09-11 |
* | Enforce transport names being C identifiers.•••Introduce string_is_C_identifier() and use it to enforce transport
names according to the 180 spec.
| George Kadianakis | 2011-09-11 |
* | Trivial fixes around the code.•••* C90-fy.
* Remove ASN comments.
* Don't smartlist_clear() before smartlist_free().
* Plug a mem. leak.
| George Kadianakis | 2011-09-11 |
* | Allow interwined {Client,Server}TransportPlugin lines. | George Kadianakis | 2011-09-11 |
* | Update the transports.c documentation based on the new data. | George Kadianakis | 2011-09-11 |
* | Update transports.[ch] to support SIGHUPs. | George Kadianakis | 2011-09-11 |
* | Replaced some leftover assert()s with tor_assert()s. | George Kadianakis | 2011-09-10 |
* | Improve the code a tad.•••* Use strcmpstart() instead of strcmp(x,y,strlen(y)).
* Warn the user if the managed proxy failed to launch.
* Improve function documentation.
* Use smartlist_len() instead of n_unconfigured_proxies.
* Split managed_proxy_destroy() to managed_proxy_destroy()
and managed_proxy_destroy_with_transports().
* Constification.
| George Kadianakis | 2011-08-15 |
* | Spawn multiple protocols using a single managed proxy.•••If multiple torrc transport lines have the same argv, tor instructs a
single managed proxy to launch multiple protocols.
| George Kadianakis | 2011-08-12 |
* | Server transport proxies should bind on the same port each time, if possible. | George Kadianakis | 2011-08-07 |
* | Changed a printf() to a log_debug(). | George Kadianakis | 2011-07-18 |
* | Reuse get_string_from_pipe() in log_from_pipe(). | George Kadianakis | 2011-07-18 |
* | Let's be smarter while parsing {Client,Server}TransportPlugin lines. | George Kadianakis | 2011-07-18 |
* | Replaced ST_* enum prefix for stream status with IO_STREAM_*. | George Kadianakis | 2011-07-18 |
* | Updated #includes etc. to use transports.[ch]. | George Kadianakis | 2011-07-18 |
* | Renamed pluggable_transports.[ch] to transports.[ch]. | George Kadianakis | 2011-07-18 |