]>
git.ipfire.org Git - thirdparty/tor.git/log
Cristian Toader [Wed, 14 Aug 2013 20:03:38 +0000 (23:03 +0300)]
partial libevent open fix
Cristian Toader [Mon, 12 Aug 2013 18:14:43 +0000 (21:14 +0300)]
attempt to add stat64 filename filters; failed due to getaddrinfo..
Cristian Toader [Sat, 10 Aug 2013 15:04:48 +0000 (18:04 +0300)]
fixed memory leak, added array filter support
Cristian Toader [Fri, 9 Aug 2013 16:07:20 +0000 (19:07 +0300)]
updated filters to work with orport
Cristian Toader [Wed, 7 Aug 2013 10:13:12 +0000 (13:13 +0300)]
orport progress (not functional), nickm suggested fixes
Cristian Toader [Mon, 5 Aug 2013 13:01:31 +0000 (16:01 +0300)]
multi-configuration support using sandbox_t struct
Cristian Toader [Mon, 5 Aug 2013 12:40:23 +0000 (15:40 +0300)]
added execve and multi-configuration support
Cristian Toader [Mon, 5 Aug 2013 11:17:46 +0000 (14:17 +0300)]
fixes suggested by nickm
Cristian Toader [Wed, 31 Jul 2013 09:05:10 +0000 (12:05 +0300)]
removed access, set_robust_list, set_thread_area, set_tid_address, uname; added sb_poll
Cristian Toader [Wed, 31 Jul 2013 08:35:25 +0000 (11:35 +0300)]
sigprocmask, epoll_ctl, prctl, mprotect, flock, futex, mremap
Cristian Toader [Tue, 30 Jul 2013 21:27:14 +0000 (00:27 +0300)]
epoll_ctl
Cristian Toader [Tue, 30 Jul 2013 20:52:54 +0000 (23:52 +0300)]
fcntl64
Cristian Toader [Tue, 30 Jul 2013 20:43:42 +0000 (23:43 +0300)]
clean stable version
Cristian Toader [Tue, 30 Jul 2013 20:20:08 +0000 (23:20 +0300)]
fully switched to function pointers; problems with socketcall parameters
Cristian Toader [Tue, 30 Jul 2013 18:23:30 +0000 (21:23 +0300)]
switched to a design using filters as function pointer arrays
Cristian Toader [Tue, 30 Jul 2013 16:37:28 +0000 (19:37 +0300)]
removed open flags (postponed), added mmap2 flags
Cristian Toader [Tue, 30 Jul 2013 16:09:28 +0000 (19:09 +0300)]
small filter changes; openat as separate function
Cristian Toader [Mon, 29 Jul 2013 13:30:39 +0000 (16:30 +0300)]
added openat parameter filter
Cristian Toader [Mon, 29 Jul 2013 11:46:47 +0000 (14:46 +0300)]
Changes as suggested by nickm
- char* to const char* and name refactoring
- workaround for accept4 syscall
Cristian Toader [Fri, 26 Jul 2013 16:53:05 +0000 (19:53 +0300)]
Investigated access4 syscall problem, small changes to filter.
Cristian Toader [Thu, 25 Jul 2013 11:08:02 +0000 (14:08 +0300)]
integrated context for dynamic filters
Cristian Toader [Thu, 25 Jul 2013 10:25:20 +0000 (13:25 +0300)]
initia stages of runtime dynamic filters
Cristian Toader [Wed, 24 Jul 2013 14:15:57 +0000 (17:15 +0300)]
dynamic parameter filter bug fixes
Cristian Toader [Wed, 24 Jul 2013 14:06:06 +0000 (17:06 +0300)]
dynamic parameter filter (prototype, not tested)
Cristian Toader [Tue, 23 Jul 2013 11:22:31 +0000 (14:22 +0300)]
added support for multiple parameters
Cristian Toader [Tue, 23 Jul 2013 11:01:53 +0000 (14:01 +0300)]
added experimental support for open syscall path param
Cristian Toader [Tue, 23 Jul 2013 07:49:56 +0000 (10:49 +0300)]
added support for numeric parameters, tested with rt_sigaction
Cristian Toader [Tue, 23 Jul 2013 07:14:25 +0000 (10:14 +0300)]
changed paramfilter type to intptr_t
Cristian Toader [Thu, 18 Jul 2013 15:28:55 +0000 (18:28 +0300)]
(undo) git test..
Cristian Toader [Thu, 18 Jul 2013 15:28:10 +0000 (18:28 +0300)]
git test..
Cristian Toader [Thu, 18 Jul 2013 15:11:47 +0000 (18:11 +0300)]
Added getter for protected parameter
Cristian Toader [Thu, 18 Jul 2013 15:03:10 +0000 (18:03 +0300)]
Repair of some of the lost parameter filters history
Roger Dingledine [Sun, 14 Jul 2013 06:49:34 +0000 (02:49 -0400)]
cosmetic cleanups
Roger Dingledine [Sun, 14 Jul 2013 00:31:18 +0000 (20:31 -0400)]
put sandbox.h in the tarball, so the tarball builds
Nick Mathewson [Fri, 12 Jul 2013 21:12:43 +0000 (17:12 -0400)]
Merge remote-tracking branch 'public/gsoc-ctoader-cap-phase1-squashed'
Nick Mathewson [Thu, 11 Jul 2013 19:53:35 +0000 (15:53 -0400)]
Remove a bogus semicolon spotted by Gisle Vanem
Cristian Toader [Mon, 17 Jun 2013 10:07:14 +0000 (13:07 +0300)]
Add a basic seccomp2 syscall filter on Linux
It's controlled by the new Sandbox argument. Right now, it's rather
coarse-grained, it's Linux-only, and it may break some features.
Nick Mathewson [Mon, 8 Jul 2013 15:35:48 +0000 (11:35 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 8 Jul 2013 15:35:25 +0000 (11:35 -0400)]
Merge branch 'bug9200' into maint-0.2.4
Nick Mathewson [Mon, 8 Jul 2013 15:35:06 +0000 (11:35 -0400)]
Add a comment and a check for why flag indices will be <= 63
Nick Mathewson [Mon, 8 Jul 2013 13:23:39 +0000 (09:23 -0400)]
Merge remote-tracking branch 'karsten/geoip-manual-update-jul2013'
Nick Mathewson [Mon, 8 Jul 2013 13:23:09 +0000 (09:23 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 8 Jul 2013 13:22:49 +0000 (09:22 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Mon, 8 Jul 2013 13:22:00 +0000 (09:22 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
Karsten Loesing [Mon, 8 Jul 2013 08:21:28 +0000 (10:21 +0200)]
Update to the July 2013 GeoIP database.
Karsten Loesing [Mon, 8 Jul 2013 08:14:42 +0000 (10:14 +0200)]
Add 2 new manual A1 substitutions.
Nick Mathewson [Wed, 3 Jul 2013 16:01:37 +0000 (12:01 -0400)]
FIx undefined behavior in dirvote.c
Fix a bug in the voting algorithm that could yield incorrect results
when a non-naming authority declared too many flags. Fixes bug 9200;
bugfix on 0.2.0.3-alpha.
Found by coverity scan.
Nick Mathewson [Sat, 29 Jun 2013 20:02:13 +0000 (16:02 -0400)]
Merge remote-tracking branch 'linus/bug8530'
Nick Mathewson [Sat, 29 Jun 2013 07:51:53 +0000 (03:51 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Sat, 29 Jun 2013 07:50:37 +0000 (03:50 -0400)]
Merge branch 'bug9147' into maint-0.2.4
Nick Mathewson [Sat, 29 Jun 2013 07:45:40 +0000 (03:45 -0400)]
Give a warning when bufferevents are enabled.
Ticket 9147.
Nick Mathewson [Mon, 24 Jun 2013 16:55:29 +0000 (12:55 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 24 Jun 2013 13:56:25 +0000 (09:56 -0400)]
Fix bug 9122: don't allow newdefaultoptions to be NULL
(This caused a crash that was reported as bug 9122, but the underlying
behavior has been wrong for a while.)
Fix on 0.2.3.9-alpha.
Marek Majkowski [Thu, 13 Jun 2013 16:29:14 +0000 (17:29 +0100)]
Fix #5584 - raise awareness of safer logging - warn about potentially unsafe config options
Nick Mathewson [Tue, 18 Jun 2013 20:25:56 +0000 (16:25 -0400)]
Forward-port the 0.2.4.14-alpha changelog
Nick Mathewson [Tue, 18 Jun 2013 18:47:15 +0000 (14:47 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 18 Jun 2013 18:45:29 +0000 (14:45 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Nick Mathewson [Tue, 18 Jun 2013 16:31:03 +0000 (12:31 -0400)]
Check more return values in the unit tests
Nick Mathewson [Tue, 18 Jun 2013 15:54:57 +0000 (11:54 -0400)]
Fix some problems with the bug9002 fix.
Fixes bug 9090; bug not in any released Tor.
Nick Mathewson [Tue, 18 Jun 2013 15:33:15 +0000 (11:33 -0400)]
Attempt to un-confuse coverity about (false) double-free in bench_onion_ntor.
Nick Mathewson [Tue, 18 Jun 2013 15:28:30 +0000 (11:28 -0400)]
Fix a couple of resource leaks in test_config.c
Spotted by Coverity Scan. Not in any released Tor.
Nick Mathewson [Tue, 18 Jun 2013 14:25:30 +0000 (10:25 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 18 Jun 2013 14:25:10 +0000 (10:25 -0400)]
Tweak bug9063_redux patch: {n_p}_chan_cells, not {n,p}_conn_cells
Nick Mathewson [Tue, 18 Jun 2013 14:23:03 +0000 (10:23 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Conflicts:
src/or/config.c
src/or/relay.c
Nick Mathewson [Tue, 18 Jun 2013 14:16:47 +0000 (10:16 -0400)]
Merge branch 'bug9063_redux_023_squashed' into maint-0.2.3
Nick Mathewson [Sun, 16 Jun 2013 13:55:44 +0000 (09:55 -0400)]
Implement a real OOM-killer for too-long circuit queues.
This implements "algorithm 1" from my discussion of bug #9072: on OOM,
find the circuits with the longest queues, and kill them. It's also a
fix for #9063 -- without the side-effects of bug #9072.
The memory bounds aren't perfect here, and you need to be sure to
allow some slack for the rest of Tor's usage.
This isn't a perfect fix; the rest of the solutions I describe on
codeable.
Linus Nordberg [Wed, 5 Jun 2013 13:48:57 +0000 (15:48 +0200)]
Invoke binaries in $PATH rather than by absolute path.
That security measure costs more than it gives.
So, keep your PATH sane and we can run this script on more than
one system.
Nick Mathewson [Mon, 17 Jun 2013 15:57:55 +0000 (11:57 -0400)]
Merge remote-tracking branch 'public/bug9082'
Nick Mathewson [Mon, 17 Jun 2013 15:30:56 +0000 (11:30 -0400)]
Fix bug 9082: avoid leak when freeing destroy cell queues
In my #7912 fix, there wasn't any code to remove entries from the
(channel, circuit ID)->circuit map corresponding to queued but un-sent
DESTROYs.
Spotted by skruffy. Fixes bug 9082; bug not in any released Tor.
Nick Mathewson [Mon, 17 Jun 2013 00:23:33 +0000 (20:23 -0400)]
Limit hidden service descriptors to at most 10 guard nodes.
Fixes bug 9002; bugfix on 0.1.1.11-alpha (which introduced guard
nodes), or on 0.0.6pre1 (which introduced hidden services).
Roger Dingledine [Sun, 16 Jun 2013 19:12:23 +0000 (15:12 -0400)]
forward-port 0.2.4.13-alpha changelog
Andrea Shepard [Sat, 15 Jun 2013 09:27:23 +0000 (02:27 -0700)]
Merge branch 'bug9072-024' into bug9072-025
Andrea Shepard [Sat, 15 Jun 2013 09:20:19 +0000 (02:20 -0700)]
Merge branch 'bug9072-023' into bug9072-024
Andrea Shepard [Sat, 15 Jun 2013 09:16:00 +0000 (02:16 -0700)]
Disable middle relay queue overfill detection code due to possible guard discovery attack
dana koch [Thu, 13 Jun 2013 12:04:01 +0000 (22:04 +1000)]
Instead of testing for __GNUC__, use CHECK_SCANF, like CHECK_PRINTF.
This lets us have the possibility of fine-tuning the check in the tor_sscanf test cases at a later date.
Linus Nordberg [Wed, 5 Jun 2013 13:48:57 +0000 (15:48 +0200)]
Use CHUTNEY_PATH to find Chutney.
Nick Mathewson [Fri, 14 Jun 2013 05:50:17 +0000 (01:50 -0400)]
Merge branch 'circuit_queue_cap-0.2.5-squashed'
Conflicts:
src/or/relay.c
Nick Mathewson [Fri, 14 Jun 2013 05:48:16 +0000 (01:48 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Using "ours" strategy to avoid taking commits
Nick Mathewson [Fri, 14 Jun 2013 05:45:46 +0000 (01:45 -0400)]
Merge branch 'circuit_queue_cap-0.2.4-squashed' into maint-0.2.4
Nick Mathewson [Fri, 14 Jun 2013 05:45:35 +0000 (01:45 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
Using "ours" strategy to avoid taking changes.
Nick Mathewson [Fri, 14 Jun 2013 05:44:46 +0000 (01:44 -0400)]
Merge branch 'circuit_queue_cap-0.2.3-squashed' into maint-0.2.3
Nick Mathewson [Fri, 14 Jun 2013 05:41:53 +0000 (01:41 -0400)]
Fix signed/unsigned comparison warning
Nick Mathewson [Fri, 14 Jun 2013 05:40:35 +0000 (01:40 -0400)]
Increase the limit so leaky pipe might work
Nick Mathewson [Fri, 14 Jun 2013 05:37:22 +0000 (01:37 -0400)]
Increase the limit so leaky pipe might work
Nick Mathewson [Fri, 14 Jun 2013 05:35:21 +0000 (01:35 -0400)]
Increase the limit so leaky pipe might work
Andrea Shepard [Fri, 14 Jun 2013 03:32:31 +0000 (20:32 -0700)]
Don't queue more cells as a middle relay than the spec allows to be in flight
Andrea Shepard [Fri, 14 Jun 2013 03:49:01 +0000 (20:49 -0700)]
Don't queue more cells as a middle relay than the spec allows to be in flight
Andrea Shepard [Fri, 14 Jun 2013 03:41:00 +0000 (20:41 -0700)]
Don't queue more cells as a middle relay than the spec allows to be in flight
Nick Mathewson [Fri, 14 Jun 2013 01:59:27 +0000 (21:59 -0400)]
Merge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 14 Jun 2013 01:58:36 +0000 (21:58 -0400)]
Merge branch 'bug9047' into maint-0.2.4
Nick Mathewson [Fri, 14 Jun 2013 01:56:35 +0000 (21:56 -0400)]
Define SEEK_SET for platforms that lack it.
Nick Mathewson [Thu, 13 Jun 2013 16:44:46 +0000 (12:44 -0400)]
Rename networkstatus_dl_interval() -> networkstatus_dl_check_interval()
Nick Mathewson [Thu, 13 Jun 2013 16:42:49 +0000 (12:42 -0400)]
Merge remote-tracking branch 'linus/bug8532'
Nick Mathewson [Thu, 13 Jun 2013 16:29:01 +0000 (12:29 -0400)]
If we write the annotation but not the microdescriptor, rewind.
This fixes bug 9047 (and some parts of 9031, 8922, 8883 that weren't
fixed in 8822). Bugfix on 0.2.2.6-alpha.
Linus Nordberg [Wed, 5 Jun 2013 13:48:57 +0000 (15:48 +0200)]
Add make target test-network running traffic tests in a Chutney network.
This implements ticket #8530.
Nick Mathewson [Thu, 13 Jun 2013 14:31:02 +0000 (10:31 -0400)]
Merge remote-tracking branch 'public/bug7912_squashed'
Nick Mathewson [Thu, 13 Jun 2013 14:30:34 +0000 (10:30 -0400)]
Fix compile warnings wrt printf formating of int64_t
Nick Mathewson [Thu, 13 Jun 2013 14:20:30 +0000 (10:20 -0400)]
Add a changes file for bug 7912
I'm calling it a bugfix on 0.2.0.1-alpha, since that's where cell
queues were first introduced.
Andrea Shepard [Thu, 13 Jun 2013 05:22:21 +0000 (22:22 -0700)]
Add destroy balance tracking and logging to circuitmux
Nick Mathewson [Thu, 21 Mar 2013 18:51:27 +0000 (14:51 -0400)]
Implementation of a fix for bug 7912
I added the code to pass a destroy cell to a queueing function rather
than writing it immediately, and the code to remember that we
shouldn't reuse the circuit id until the destroy is actually sent, and
the code to release the circuit id once the destroy has been sent...
and then I finished by hooking destroy_cell_queue into the rest of
Tor.