]>
git.ipfire.org Git - thirdparty/tor.git/log
Cristian Toader [Tue, 10 Sep 2013 11:35:11 +0000 (14:35 +0300)]
added filter protection for string parameter memory
Cristian Toader [Mon, 9 Sep 2013 21:42:36 +0000 (00:42 +0300)]
fixed socket syscall bug
Cristian Toader [Mon, 9 Sep 2013 21:04:43 +0000 (00:04 +0300)]
fixed compilation error on i386 linux by moving sandbox_cfg_t definition
Nick Mathewson [Mon, 9 Sep 2013 20:00:40 +0000 (16:00 -0400)]
Fix check-spaces
Nick Mathewson [Mon, 9 Sep 2013 19:59:41 +0000 (15:59 -0400)]
Fix compilation on OSX
Nick Mathewson [Mon, 9 Sep 2013 19:37:45 +0000 (15:37 -0400)]
Do not try to add non-existent syscalls.
Nick Mathewson [Mon, 9 Sep 2013 19:29:19 +0000 (15:29 -0400)]
Build correctly with older libevents
Nick Mathewson [Mon, 9 Sep 2013 19:18:54 +0000 (15:18 -0400)]
Split libevent AC_CHECK_FUNCS call into multiple lines
Nick Mathewson [Mon, 9 Sep 2013 19:16:30 +0000 (15:16 -0400)]
Fix a warning related to SCMP_CMP definition in header.
SCMP_CMP(a,b,c) leaves the fourth field of the structure undefined,
giving a missing-initializer error. All of our uses are
three-argument, so I'm overriding the default.
Nick Mathewson [Mon, 9 Sep 2013 19:14:50 +0000 (15:14 -0400)]
Fix most of the --enable-gcc-warnings warnings in the sandbox code
Nick Mathewson [Mon, 9 Sep 2013 18:58:15 +0000 (14:58 -0400)]
Remove a usage of free()
Nick Mathewson [Mon, 9 Sep 2013 18:55:47 +0000 (14:55 -0400)]
Basic compilation fixes.
Cristian Toader [Fri, 6 Sep 2013 18:41:45 +0000 (21:41 +0300)]
added missing documentation for sandbox functions
Cristian Toader [Fri, 6 Sep 2013 09:39:56 +0000 (12:39 +0300)]
passing hints as a const pointer to sandbox_getaddrinfo(), also one tor_free macro fails to compile..
Cristian Toader [Fri, 6 Sep 2013 09:30:01 +0000 (12:30 +0300)]
replaced strdup with tor_strdup
Cristian Toader [Fri, 6 Sep 2013 09:29:15 +0000 (12:29 +0300)]
replaced malloc/free with tor_malloc/tor_free
Cristian Toader [Fri, 6 Sep 2013 09:26:50 +0000 (12:26 +0300)]
switched string lengths from int to size_t in prot_strings()
Cristian Toader [Tue, 3 Sep 2013 13:37:12 +0000 (16:37 +0300)]
fixed bug where sandbox_getaddrinfo() would fail when -Sandbox is 0
Cristian Toader [Mon, 2 Sep 2013 10:54:43 +0000 (13:54 +0300)]
switched to a more generic way of handling the sandbox configuration
Cristian Toader [Mon, 2 Sep 2013 09:16:02 +0000 (12:16 +0300)]
added contingency message to test for sandbox_getaddrinfo
Cristian Toader [Mon, 2 Sep 2013 08:45:09 +0000 (11:45 +0300)]
make check-spaces fix
Cristian Toader [Mon, 2 Sep 2013 08:44:04 +0000 (11:44 +0300)]
changed how sb getaddrinfo works such that it supports storing multiple results
Cristian Toader [Thu, 29 Aug 2013 13:53:12 +0000 (16:53 +0300)]
make check-spaces fix
Cristian Toader [Thu, 29 Aug 2013 13:51:05 +0000 (16:51 +0300)]
switched from multiple mmap to one
Cristian Toader [Thu, 29 Aug 2013 12:44:01 +0000 (15:44 +0300)]
documentation update for _array functions
Cristian Toader [Thu, 29 Aug 2013 12:42:30 +0000 (15:42 +0300)]
_array filter functions now rely on final NULL parameter
Cristian Toader [Thu, 29 Aug 2013 12:22:14 +0000 (15:22 +0300)]
supporting /dev/urandom instead of /dev/random
Cristian Toader [Thu, 29 Aug 2013 12:19:49 +0000 (15:19 +0300)]
replaced boolean char with int
Cristian Toader [Thu, 29 Aug 2013 09:41:17 +0000 (12:41 +0300)]
small fixes in documentation and sandbox_getaddrinfo()
Cristian Toader [Wed, 28 Aug 2013 17:01:52 +0000 (20:01 +0300)]
Added doxygen struct doc and replaced func() with funct(void)
Cristian Toader [Wed, 28 Aug 2013 16:56:42 +0000 (19:56 +0300)]
removed PARAM_LEN
Cristian Toader [Mon, 26 Aug 2013 18:28:30 +0000 (21:28 +0300)]
make check-spaces fix
Cristian Toader [Mon, 26 Aug 2013 18:19:22 +0000 (21:19 +0300)]
updated open syscall strings
Cristian Toader [Mon, 26 Aug 2013 17:06:46 +0000 (20:06 +0300)]
fix: accept4 for 64 bit
Cristian Toader [Wed, 21 Aug 2013 16:01:01 +0000 (19:01 +0300)]
small open syscall modification (just in case)
Cristian Toader [Wed, 21 Aug 2013 14:57:15 +0000 (17:57 +0300)]
make check-spaces fixes
Cristian Toader [Wed, 21 Aug 2013 10:43:44 +0000 (13:43 +0300)]
fix: sandbox_intern_string log clean up
Cristian Toader [Wed, 21 Aug 2013 10:38:00 +0000 (13:38 +0300)]
fix: flock filter update
Cristian Toader [Tue, 20 Aug 2013 10:10:07 +0000 (13:10 +0300)]
fixed openssl open syscall, fixed sandbox_getaddrinfo
Cristian Toader [Mon, 19 Aug 2013 10:56:50 +0000 (13:56 +0300)]
fix for getaddrinfo open syscall
Cristian Toader [Mon, 19 Aug 2013 08:41:46 +0000 (11:41 +0300)]
finalised fix on libevent open string issue
Cristian Toader [Thu, 15 Aug 2013 22:43:09 +0000 (01:43 +0300)]
updated filters
Cristian Toader [Wed, 14 Aug 2013 21:23:51 +0000 (00:23 +0300)]
received feedback and fixed (partly) the socket filters
Cristian Toader [Wed, 14 Aug 2013 21:09:07 +0000 (00:09 +0300)]
added comments for sandbox.h
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'