]> git.ipfire.org Git - thirdparty/tor.git/log
thirdparty/tor.git
12 years agopartial libevent open fix
Cristian Toader [Wed, 14 Aug 2013 20:03:38 +0000 (23:03 +0300)] 
partial libevent open fix

12 years agoattempt to add stat64 filename filters; failed due to getaddrinfo..
Cristian Toader [Mon, 12 Aug 2013 18:14:43 +0000 (21:14 +0300)] 
attempt to add stat64 filename filters; failed due to getaddrinfo..

12 years agofixed memory leak, added array filter support
Cristian Toader [Sat, 10 Aug 2013 15:04:48 +0000 (18:04 +0300)] 
fixed memory leak, added array filter support

12 years agoupdated filters to work with orport
Cristian Toader [Fri, 9 Aug 2013 16:07:20 +0000 (19:07 +0300)] 
updated filters to work with orport

12 years agoorport progress (not functional), nickm suggested fixes
Cristian Toader [Wed, 7 Aug 2013 10:13:12 +0000 (13:13 +0300)] 
orport progress (not functional), nickm suggested fixes

12 years agomulti-configuration support using sandbox_t struct
Cristian Toader [Mon, 5 Aug 2013 13:01:31 +0000 (16:01 +0300)] 
multi-configuration support using sandbox_t struct

12 years agoadded execve and multi-configuration support
Cristian Toader [Mon, 5 Aug 2013 12:40:23 +0000 (15:40 +0300)] 
added execve and multi-configuration support

12 years agofixes suggested by nickm
Cristian Toader [Mon, 5 Aug 2013 11:17:46 +0000 (14:17 +0300)] 
fixes suggested by nickm

12 years agoremoved access, set_robust_list, set_thread_area, set_tid_address, uname; added sb_poll
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

12 years agosigprocmask, epoll_ctl, prctl, mprotect, flock, futex, mremap
Cristian Toader [Wed, 31 Jul 2013 08:35:25 +0000 (11:35 +0300)] 
sigprocmask, epoll_ctl, prctl, mprotect, flock, futex, mremap

12 years agoepoll_ctl
Cristian Toader [Tue, 30 Jul 2013 21:27:14 +0000 (00:27 +0300)] 
epoll_ctl

12 years agofcntl64
Cristian Toader [Tue, 30 Jul 2013 20:52:54 +0000 (23:52 +0300)] 
fcntl64

12 years agoclean stable version
Cristian Toader [Tue, 30 Jul 2013 20:43:42 +0000 (23:43 +0300)] 
clean stable version

12 years agofully switched to function pointers; problems with socketcall parameters
Cristian Toader [Tue, 30 Jul 2013 20:20:08 +0000 (23:20 +0300)] 
fully switched to function pointers; problems with socketcall parameters

12 years agoswitched to a design using filters as function pointer arrays
Cristian Toader [Tue, 30 Jul 2013 18:23:30 +0000 (21:23 +0300)] 
switched to a design using filters as function pointer arrays

12 years agoremoved open flags (postponed), added mmap2 flags
Cristian Toader [Tue, 30 Jul 2013 16:37:28 +0000 (19:37 +0300)] 
removed open flags (postponed), added mmap2 flags

12 years agosmall filter changes; openat as separate function
Cristian Toader [Tue, 30 Jul 2013 16:09:28 +0000 (19:09 +0300)] 
small filter changes; openat as separate function

12 years agoadded openat parameter filter
Cristian Toader [Mon, 29 Jul 2013 13:30:39 +0000 (16:30 +0300)] 
added openat parameter filter

12 years agoChanges as suggested by nickm
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

12 years agoInvestigated access4 syscall problem, small changes to filter.
Cristian Toader [Fri, 26 Jul 2013 16:53:05 +0000 (19:53 +0300)] 
Investigated access4 syscall problem, small changes to filter.

12 years agointegrated context for dynamic filters
Cristian Toader [Thu, 25 Jul 2013 11:08:02 +0000 (14:08 +0300)] 
integrated context for dynamic filters

12 years agoinitia stages of runtime dynamic filters
Cristian Toader [Thu, 25 Jul 2013 10:25:20 +0000 (13:25 +0300)] 
initia stages of runtime dynamic filters

12 years agodynamic parameter filter bug fixes
Cristian Toader [Wed, 24 Jul 2013 14:15:57 +0000 (17:15 +0300)] 
dynamic parameter filter bug fixes

12 years agodynamic parameter filter (prototype, not tested)
Cristian Toader [Wed, 24 Jul 2013 14:06:06 +0000 (17:06 +0300)] 
dynamic parameter filter (prototype, not tested)

12 years agoadded support for multiple parameters
Cristian Toader [Tue, 23 Jul 2013 11:22:31 +0000 (14:22 +0300)] 
added support for multiple parameters

12 years agoadded experimental support for open syscall path param
Cristian Toader [Tue, 23 Jul 2013 11:01:53 +0000 (14:01 +0300)] 
added experimental support for open syscall path param

12 years agoadded support for numeric parameters, tested with rt_sigaction
Cristian Toader [Tue, 23 Jul 2013 07:49:56 +0000 (10:49 +0300)] 
added support for numeric parameters, tested with rt_sigaction

12 years agochanged paramfilter type to intptr_t
Cristian Toader [Tue, 23 Jul 2013 07:14:25 +0000 (10:14 +0300)] 
changed paramfilter type to intptr_t

12 years ago(undo) git test..
Cristian Toader [Thu, 18 Jul 2013 15:28:55 +0000 (18:28 +0300)] 
(undo) git test..

12 years agogit test..
Cristian Toader [Thu, 18 Jul 2013 15:28:10 +0000 (18:28 +0300)] 
git test..

12 years agoAdded getter for protected parameter
Cristian Toader [Thu, 18 Jul 2013 15:11:47 +0000 (18:11 +0300)] 
Added getter for protected parameter

12 years agoRepair of some of the lost parameter filters history
Cristian Toader [Thu, 18 Jul 2013 15:03:10 +0000 (18:03 +0300)] 
Repair of some of the lost parameter filters history

12 years agocosmetic cleanups
Roger Dingledine [Sun, 14 Jul 2013 06:49:34 +0000 (02:49 -0400)] 
cosmetic cleanups

12 years agoput sandbox.h in the tarball, so the tarball builds
Roger Dingledine [Sun, 14 Jul 2013 00:31:18 +0000 (20:31 -0400)] 
put sandbox.h in the tarball, so the tarball builds

12 years agoMerge remote-tracking branch 'public/gsoc-ctoader-cap-phase1-squashed'
Nick Mathewson [Fri, 12 Jul 2013 21:12:43 +0000 (17:12 -0400)] 
Merge remote-tracking branch 'public/gsoc-ctoader-cap-phase1-squashed'

12 years agoRemove a bogus semicolon spotted by Gisle Vanem
Nick Mathewson [Thu, 11 Jul 2013 19:53:35 +0000 (15:53 -0400)] 
Remove a bogus semicolon spotted by Gisle Vanem

12 years agoAdd a basic seccomp2 syscall filter on Linux
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.

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 8 Jul 2013 15:35:48 +0000 (11:35 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge branch 'bug9200' into 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

12 years agoAdd a comment and a check for why flag indices will be <= 63
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

12 years agoMerge remote-tracking branch 'karsten/geoip-manual-update-jul2013'
Nick Mathewson [Mon, 8 Jul 2013 13:23:39 +0000 (09:23 -0400)] 
Merge remote-tracking branch 'karsten/geoip-manual-update-jul2013'

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 8 Jul 2013 13:23:09 +0000 (09:23 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into 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

12 years agoMerge remote-tracking branch 'origin/maint-0.2.2' into maint-0.2.3
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

12 years agoUpdate to the July 2013 GeoIP database.
Karsten Loesing [Mon, 8 Jul 2013 08:21:28 +0000 (10:21 +0200)] 
Update to the July 2013 GeoIP database.

12 years agoAdd 2 new manual A1 substitutions.
Karsten Loesing [Mon, 8 Jul 2013 08:14:42 +0000 (10:14 +0200)] 
Add 2 new manual A1 substitutions.

12 years agoFIx undefined behavior in dirvote.c
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.

12 years agoMerge remote-tracking branch 'linus/bug8530'
Nick Mathewson [Sat, 29 Jun 2013 20:02:13 +0000 (16:02 -0400)] 
Merge remote-tracking branch 'linus/bug8530'

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Sat, 29 Jun 2013 07:51:53 +0000 (03:51 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge branch 'bug9147' into 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

12 years agoGive a warning when bufferevents are enabled.
Nick Mathewson [Sat, 29 Jun 2013 07:45:40 +0000 (03:45 -0400)] 
Give a warning when bufferevents are enabled.

Ticket 9147.

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Mon, 24 Jun 2013 16:55:29 +0000 (12:55 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoFix bug 9122: don't allow newdefaultoptions to be NULL
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.

12 years agoFix #5584 - raise awareness of safer logging - warn about potentially unsafe config...
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

12 years agoForward-port the 0.2.4.14-alpha changelog
Nick Mathewson [Tue, 18 Jun 2013 20:25:56 +0000 (16:25 -0400)] 
Forward-port the 0.2.4.14-alpha changelog

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 18 Jun 2013 18:47:15 +0000 (14:47 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into 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

12 years agoCheck more return values in the unit tests
Nick Mathewson [Tue, 18 Jun 2013 16:31:03 +0000 (12:31 -0400)] 
Check more return values in the unit tests

12 years agoFix some problems with the bug9002 fix.
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.

12 years agoAttempt to un-confuse coverity about (false) double-free in bench_onion_ntor.
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.

12 years agoFix a couple of resource leaks in test_config.c
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.

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Tue, 18 Jun 2013 14:25:30 +0000 (10:25 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoTweak bug9063_redux patch: {n_p}_chan_cells, not {n,p}_conn_cells
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

12 years agoMerge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4
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

12 years agoMerge branch 'bug9063_redux_023_squashed' into maint-0.2.3
Nick Mathewson [Tue, 18 Jun 2013 14:16:47 +0000 (10:16 -0400)] 
Merge branch 'bug9063_redux_023_squashed' into maint-0.2.3

12 years agoImplement a real OOM-killer for too-long circuit queues.
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.

12 years agoInvoke binaries in $PATH rather than by absolute path.
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.

12 years agoMerge remote-tracking branch 'public/bug9082'
Nick Mathewson [Mon, 17 Jun 2013 15:57:55 +0000 (11:57 -0400)] 
Merge remote-tracking branch 'public/bug9082'

12 years agoFix bug 9082: avoid leak when freeing destroy cell queues
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.

12 years agoLimit hidden service descriptors to at most 10 guard nodes.
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).

12 years agoforward-port 0.2.4.13-alpha changelog
Roger Dingledine [Sun, 16 Jun 2013 19:12:23 +0000 (15:12 -0400)] 
forward-port 0.2.4.13-alpha changelog

12 years agoMerge branch 'bug9072-024' into bug9072-025
Andrea Shepard [Sat, 15 Jun 2013 09:27:23 +0000 (02:27 -0700)] 
Merge branch 'bug9072-024' into bug9072-025

12 years agoMerge branch 'bug9072-023' into bug9072-024
Andrea Shepard [Sat, 15 Jun 2013 09:20:19 +0000 (02:20 -0700)] 
Merge branch 'bug9072-023' into bug9072-024

12 years agoDisable middle relay queue overfill detection code due to possible guard discovery...
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

12 years agoInstead of testing for __GNUC__, use CHECK_SCANF, like CHECK_PRINTF.
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.

12 years agoUse CHUTNEY_PATH to find Chutney.
Linus Nordberg [Wed, 5 Jun 2013 13:48:57 +0000 (15:48 +0200)] 
Use CHUTNEY_PATH to find Chutney.

12 years agoMerge branch 'circuit_queue_cap-0.2.5-squashed'
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

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
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

12 years agoMerge branch 'circuit_queue_cap-0.2.4-squashed' into maint-0.2.4
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

12 years agoMerge remote-tracking branch 'origin/maint-0.2.3' 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.

12 years agoMerge branch 'circuit_queue_cap-0.2.3-squashed' into maint-0.2.3
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

12 years agoFix signed/unsigned comparison warning
Nick Mathewson [Fri, 14 Jun 2013 05:41:53 +0000 (01:41 -0400)] 
Fix signed/unsigned comparison warning

12 years agoIncrease the limit so leaky pipe might work
Nick Mathewson [Fri, 14 Jun 2013 05:40:35 +0000 (01:40 -0400)] 
Increase the limit so leaky pipe might work

12 years agoIncrease 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

12 years agoIncrease 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

12 years agoDon't queue more cells as a middle relay than the spec allows to be in flight
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

12 years agoDon'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

12 years agoDon'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

12 years agoMerge remote-tracking branch 'origin/maint-0.2.4'
Nick Mathewson [Fri, 14 Jun 2013 01:59:27 +0000 (21:59 -0400)] 
Merge remote-tracking branch 'origin/maint-0.2.4'

12 years agoMerge branch 'bug9047' into 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

12 years agoDefine SEEK_SET for platforms that lack it.
Nick Mathewson [Fri, 14 Jun 2013 01:56:35 +0000 (21:56 -0400)] 
Define SEEK_SET for platforms that lack it.

12 years agoRename networkstatus_dl_interval() -> networkstatus_dl_check_interval()
Nick Mathewson [Thu, 13 Jun 2013 16:44:46 +0000 (12:44 -0400)] 
Rename networkstatus_dl_interval() -> networkstatus_dl_check_interval()

12 years agoMerge remote-tracking branch 'linus/bug8532'
Nick Mathewson [Thu, 13 Jun 2013 16:42:49 +0000 (12:42 -0400)] 
Merge remote-tracking branch 'linus/bug8532'

12 years agoIf we write the annotation but not the microdescriptor, rewind.
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.

12 years agoAdd make target test-network running traffic tests in a Chutney network.
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.

12 years agoMerge remote-tracking branch 'public/bug7912_squashed'
Nick Mathewson [Thu, 13 Jun 2013 14:31:02 +0000 (10:31 -0400)] 
Merge remote-tracking branch 'public/bug7912_squashed'

12 years agoFix compile warnings wrt printf formating of int64_t
Nick Mathewson [Thu, 13 Jun 2013 14:30:34 +0000 (10:30 -0400)] 
Fix compile warnings wrt printf formating of int64_t

12 years agoAdd a changes file for bug 7912
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.

12 years agoAdd destroy balance tracking and logging to circuitmux
Andrea Shepard [Thu, 13 Jun 2013 05:22:21 +0000 (22:22 -0700)] 
Add destroy balance tracking and logging to circuitmux

12 years agoImplementation of a fix for bug 7912
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.