aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-07-10Remove addr_port_lookup.Nick Mathewson
This lets us cut the dependency from address.c to resolve.c: the address.c module now has no paths to the libc resolver in it.
2018-07-10Remove all users of addr_port_lookup outside of address.cNick Mathewson
This function has a nasty API, since whether or not it invokes the resolver depends on whether one of its arguments is NULL. That's a good way for accidents to happen. This patch incidentally makes tor-resolve support socks hosts on IPv6.
2018-07-10Move tor_addr_{,port_}lookup to resolve.cNick Mathewson
2018-07-10Refactor ipv[46].[ch]Nick Mathewson
These are now combined into an inaddr.[ch], since their purpose is to implement functions for struct in_addr and struct in6_addr. The definitions for in6_addr and its allies are now in a separate header, inaddr_st.h. Closes ticket 26532.
2018-07-10Document the headers in src/app/config/Nick Mathewson
2018-07-10File-level summary documentation for src/lib/*/*.[ch]Nick Mathewson
2018-07-09Fix some lingering windows compilation issues from Jenkins.Nick Mathewson
These were caused by the recent refactoring.
2018-07-09strcasecmp should not take a size_t argumentNick Mathewson
2018-07-09Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-09Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-07-09Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-07-09Merge remote-tracking branch 'github/bug26269_031' into maint-0.3.2Nick Mathewson
2018-07-09Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-09Changes file and comment for 25928.Nick Mathewson
2018-07-09Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-07-09Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-07-09Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-07-09Merge branch 'bug26269_029' into maint-0.2.9Nick Mathewson
2018-07-09Merge remote-tracking branch 'gsomlo/gls-single-da'Nick Mathewson
2018-07-09Merge branch 'bug26488'Nick Mathewson
2018-07-09Validate that DirAuthority address is IPv4rl1987
2018-07-09Merge remote-tracking branch 'rl1987/bug26525'Nick Mathewson
2018-07-09Bump to 0.3.3.8Nick Mathewson
2018-07-09Bump to 0.3.3.4-rcNick Mathewson
2018-07-09Clear all control.c flags on control_free_all()Nick Mathewson
Fixes bug 25512. (Cherry-picked from 3519d0c8086ede
2018-07-09Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-09Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-07-09Merge remote-tracking branch 'catalyst-github/bug26455_033' into maint-0.3.3Nick Mathewson
2018-07-09Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-09Merge branch 'maint-0.2.9' into maint-0.3.2Nick Mathewson
2018-07-09Merge branch 'maint-0.3.3' into maint-0.3.4Nick Mathewson
2018-07-09Merge branch 'maint-0.3.2' into maint-0.3.3Nick Mathewson
2018-07-09Merge remote-tracking branch 'mikeperry/bug25705_v3_033' into maint-0.3.3Nick Mathewson
2018-07-09Make Tor compile with --disable-memory-sentinels againNick Mathewson
2018-07-06Update geoip and geoip6 to the July 3 2018 database.Karsten Loesing
2018-07-06Move ntmain.c into libtor-app againNick Mathewson
It's needed by main.c Fixes bug 26662; bug not in any released Tor.
2018-07-05Actually sort the lines in src/core/include.amNick Mathewson
2018-07-05Whoops. Protover.[ch] belong in src/core/orNick Mathewson
2018-07-05Fix everything that previously referred to src/orNick Mathewson
2018-07-05Fix our build system to know the new locations of the src/or stuffNick Mathewson
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-05Move literally everything out of src/orNick Mathewson
This commit won't build yet -- it just puts everything in a slightly more logical place. The reasoning here is that "src/core" will hold the stuff that every (or nearly every) tor instance will need in order to do onion routing. Other features (including some necessary ones) will live in "src/feature". The "src/app" directory will hold the stuff needed to have Tor be an application you can actually run. This commit DOES NOT refactor the former contents of src/or into a logical set of acyclic libraries, or change any code at all. That will have to come in the future. We will continue to move things around and split them in the future, but I hope this lays a reasonable groundwork for doing so.
2018-07-05Start splitting src/orNick Mathewson
This is a very gentle commit that just lays the groundwork in the build system: it puts the include files to build libtor-app.a into src/core, and to build the tor executable into src/app. The executable is now "src/app/tor".
2018-07-05And tell build.rs to stop looking in src/commonNick Mathewson
2018-07-05Fix build.rs to handle removed common.Nick Mathewson
2018-07-05Fix up .may_includes for evloop.Nick Mathewson
2018-07-05Add a missing include.Nick Mathewson
2018-07-05Clean up include paths for libtor-evloop (automated)Nick Mathewson
2018-07-05All remaining files in src/common belong to the event loop.Nick Mathewson
2018-07-05Move openbsd-malloc responsibility to lib/mallocNick Mathewson
(Note that this is not believed to work, but we may as well have it in the right place till we remove it)