Commit Graph

297 Commits

Author SHA1 Message Date
Peter Palfrader
9d19e55390 Merge r13822: New upstream version
svn:r13824
2008-03-03 13:39:53 +00:00
Peter Palfrader
9b582af28a Run --verify-config before start/reload/restart as root. No longer su - to
debian-tor tor run it.  Given that we now even start Tor as root (it setuids
later on) this should be fine (closes: #468566).


svn:r13788
2008-03-01 00:51:37 +00:00
Peter Palfrader
36edb85ebd New upstream version
svn:r13726
2008-02-25 13:27:46 +00:00
Peter Palfrader
e25683fe3d Start Tor as root.
Change the init script to start Tor as root so we can bind to low ports.


svn:r13686
2008-02-23 12:59:59 +00:00
Peter Palfrader
c6a7ab729c Update debian defaults in preparation for starting as root.
Previously the debian defaults were only loaded when we started Tor as
the debian-tor user.  Now they are also loaded when started as root.
In addition to logging, pidfile, datadir and runasdaemon we also change
the User and Group options from their NULL default to "debian-tor" so that
Tor correctly setuids/setgids to the role user the package created.

This will allow us to start the daemon as root.


svn:r13685
2008-02-23 12:59:52 +00:00
Peter Palfrader
ba977ed4f1 I wonder what color it will be
svn:r13628
2008-02-20 22:39:06 +00:00
Peter Palfrader
c92c5733d6 if you have more than 40k FDs on your system let Tor use up to 16k of them by default
svn:r13627
2008-02-20 22:34:44 +00:00
Peter Palfrader
644452a62f Change the default for MAX_FILEDESCRIPTORS in our init script to depend on the
number of system-wide available file descriptors: /proc/sys/fs/file-max is
bigger than 100k, set ulimit -n to 32k, if it's smaller than 20k set it to
1024.  Big servers at the moment regularly use more than 10k FDs, so our old
default of 8k no longer is sufficient.  On the other hand we don't want lower
end systems to run out of FDs on Tor's account.


svn:r13625
2008-02-20 22:28:09 +00:00
Peter Palfrader
8a7c4e6b62 New upstream version
svn:r13455
2008-02-10 00:13:41 +00:00
Peter Palfrader
4327263f83 Forward port patches/03_tor_manpage_in_section_8.dpatch
svn:r13454
2008-02-10 00:13:22 +00:00
Peter Palfrader
66292f279c Copyright file update
svn:r13366
2008-02-03 20:51:14 +00:00
Peter Palfrader
a06b6c7a61 Fix postinst find command that chowns stuff to the right user. Find does weird things in the presence of !.
svn:r13364
2008-02-03 17:18:35 +00:00
Peter Palfrader
583bb548b0 Update pointer for gs bug from #321435 to #457568
svn:r13358
2008-02-02 14:13:51 +00:00
Peter Palfrader
b1f9c87db3 Work around fig2dev failing to build the images on mipsel like we do on sparc
and s390.


svn:r13357
2008-02-02 14:11:25 +00:00
Peter Palfrader
7875218194 New upstream version
svn:r13308
2008-01-27 13:13:13 +00:00
Peter Palfrader
a4a802d31f Create logfiles in logrotate so that they come into the world with the correct
mode (o-r).


svn:r13209
2008-01-21 15:03:33 +00:00
Peter Palfrader
17d711e258 postinst: if we reboot between unpacking and configuring on some smart systems
this will mean that we just lost /var/run/tor - creating it in the maintainer
script if it doesn't exist.


svn:r13208
2008-01-21 15:00:34 +00:00
Peter Palfrader
d98d1ea0d9 postinst: We were only fixing the permissions of /var/{lib,run,log}/tor when we
were not upgrading.  Unfortunately the check doesn't work all that well usually
in cases where the package was removed (not purged) and then later re-installed
again.  Now we ensure proper ownership and modes for all the directories and
files below /var/{lib,run,log}/tor (the dirs themselves included) every time we
run postinst.


svn:r13207
2008-01-21 14:58:20 +00:00
Peter Palfrader
3d3dbe90ab Change wording if debian-tor's homedir is wrong, do not print anything if it is ok.
Whitespace nazi found out about debian/tor.postinst.

svn:r13206
2008-01-21 14:46:49 +00:00
Peter Palfrader
aa4f86dafa postinst: Remove the check that requires the debian-tor user to have a uid
between 100 and 999.  There is no good reason to require this.  If the local
admin moves the system users/uid-space to some other range then they probably
have a good reason for that.


svn:r13205
2008-01-21 14:44:56 +00:00
Peter Palfrader
272428727e New upstream version
svn:r13168
2008-01-17 21:15:07 +00:00
Peter Palfrader
92e4cfdeb4 Merge in 0.1.2.1[89]-1 changelog
svn:r13166
2008-01-17 20:36:29 +00:00
Peter Palfrader
f6072c36c8 New upstream version
svn:r12965
2007-12-25 08:39:53 +00:00
Peter Palfrader
e08582118c * New upstream version.
* Work around fig2dev failing to build the images on sparc like we do on s390.


svn:r12942
2007-12-23 14:04:38 +00:00
Peter Palfrader
03f64638cb Remove 13_r12907-fix-unit-tests.dpatch (Fix unit tests from HEAD) again - it's
included upstream.


svn:r12941
2007-12-23 09:46:38 +00:00
Peter Palfrader
57c26115fc * New upstream version.
* Fix unit tests from HEAD (13_r12907-fix-unit-tests.dpatch).


svn:r12909
2007-12-21 12:23:23 +00:00
Peter Palfrader
22cd3a4baa Seems I forgot to commit the 0.2.0.12-alpha-1 changelog. I do that often.
svn:r12552
2007-11-22 10:21:21 +00:00
Peter Palfrader
6c6d27186a New upstream version
svn:r12503
2007-11-15 10:07:37 +00:00
Peter Palfrader
0b9cdfd2f5 Build a 0.2.0.9-alpha-2 with r12235: do not crash with a myfamily setting
svn:r12236
2007-10-27 22:36:17 +00:00
Peter Palfrader
ad37ad7508 Do not separate required lsb facilities with commas in the init script (closes:
#448001).


svn:r12231
2007-10-27 16:36:28 +00:00
Peter Palfrader
40970ccdaa New upstream version
svn:r12198
2007-10-26 13:14:54 +00:00
Peter Palfrader
bacbf984ca Only create pid dir if we are about to start Tor (Luca Capello, closes: #447508)
svn:r12085
2007-10-21 22:12:24 +00:00
Peter Palfrader
be04b53f30 New upstream version
svn:r11908
2007-10-13 15:29:47 +00:00
Peter Palfrader
24a87ebb81 New upstream version
svn:r11619
2007-09-25 00:24:25 +00:00
Peter Palfrader
04fcaf5f06 Forward port 0.1.2.17-1 changelog
svn:r11327
2007-08-31 01:20:34 +00:00
Peter Palfrader
0608ec71fd New upstream version
svn:r11285
2007-08-27 14:06:30 +00:00
Peter Palfrader
41776d7b42 New upstream version
svn:r11203
2007-08-19 20:31:59 +00:00
Peter Palfrader
0b7d7ef4a6 Forward port 0.1.2.16-1 changelog
svn:r11034
2007-08-02 06:57:26 +00:00
Peter Palfrader
a7fa01965a New upstream version
svn:r11028
2007-08-02 06:49:54 +00:00
Peter Palfrader
bc4cbf19d9 Forward port 0.1.2.15-1 changelog
svn:r11009
2007-07-31 09:39:40 +00:00
Peter Palfrader
c991b8b2d6 New upstream version
svn:r11005
2007-07-31 09:34:34 +00:00
Peter Palfrader
2273f01939 New upstream version
svn:r10458
2007-06-03 01:09:09 +00:00
Peter Palfrader
57cdf4ee46 Remove editing artefacts from changelog
svn:r10448
2007-06-02 13:46:48 +00:00
Peter Palfrader
52e67dc7fd New upstream version
svn:r10446
2007-06-02 13:20:55 +00:00
Peter Palfrader
76c40c4d72 teTeX is no more
svn:r10434
2007-06-01 01:10:02 +00:00
Peter Palfrader
02b9ed2455 Merge 10037:10432 into trunk, also brings in a newer trunk changelog with no real news
svn:r10433
2007-06-01 00:42:13 +00:00
Peter Palfrader
c9b947d89b Forward port 06_add_compile_time_defaults
svn:r10064
2007-04-30 15:05:51 +00:00
Peter Palfrader
8dd603616e Merge branches/tor-0_1_2-patches/debian (from 9860 on) to trunk. This includes 0.1.2.13-1 and 0.1.2.13-2.
svn:r10039
2007-04-27 13:28:07 +00:00
Peter Palfrader
194e0ae104 merge r9859: debian changelog for 0.1.2.12-rc-1
svn:r9860
2007-03-17 12:39:06 +00:00
Peter Palfrader
d26a587309 Merge r9777 into trunk
svn:r9779
2007-03-09 10:14:55 +00:00
Peter Palfrader
83e6aef50d Forward port r9754: It only is a single |, not two
svn:r9755
2007-03-07 09:21:24 +00:00
Peter Palfrader
754811fbec Change recommends on privoxy to privoxy || polipo (>= 1) (closes: #413728).
svn:r9746
2007-03-06 20:01:01 +00:00
Peter Palfrader
ebf1862382 New upstream version
svn:r9675
2007-02-28 16:22:22 +00:00
Peter Palfrader
c3281759ba New upstream version
svn:r9579
2007-02-13 18:22:59 +00:00
Peter Palfrader
a728629051 The spec files have moved. This requires updating the debian rules file
svn:r9447
2007-01-27 20:50:09 +00:00
Peter Palfrader
9947190df7 Commit 0.1.2.6-alpha-1 changelog
svn:r9445
2007-01-27 20:49:23 +00:00
Peter Palfrader
bd4daf3a67 Commit 0.1.2.5-alpha-1 changelog
svn:r9443
2007-01-27 20:48:38 +00:00
Peter Palfrader
8717d8127a Merge 0.1.1.26-1 changelog into trunk
svn:r9127
2006-12-15 19:53:56 +00:00
Peter Palfrader
32f37b3fb0 Pick a version number more to dpkg-deb's liking
svn:r9059
2006-12-09 16:25:12 +00:00
Peter Palfrader
5e31de031e Disable 02_add_debian_files_in_manpage.dpatch for now
svn:r9058
2006-12-09 15:47:34 +00:00
Peter Palfrader
4a3586bba5 New upstream version
svn:r9019
2006-12-03 23:17:11 +00:00
Peter Palfrader
b7b97088a1 Merge changelog change into trunk
svn:r8917
2006-11-07 00:55:09 +00:00
Peter Palfrader
81b7882473 New upstream version
svn:r8865
2006-10-30 10:09:33 +00:00
Peter Palfrader
ff487020ab Commit debian 0.1.2.2-alpha-1 changelog
svn:r8695
2006-10-12 23:51:03 +00:00
Peter Palfrader
8ba5471de3 r10009@danube: weasel | 2006-10-07 01:41:48 +0200
Merge 0.1.1.24-1 changelog into trunk


svn:r8621
2006-10-06 23:41:53 +00:00
Peter Palfrader
4b8f9780be r9648@danube: weasel | 2006-09-03 19:54:42 +0200
Document minor update of debian/copyright by arma in debian changelog


svn:r8320
2006-09-03 20:19:35 +00:00
Peter Palfrader
122c7a8e5d r9569@galaxy: weasel | 2006-08-29 22:38:54 +0200
Change Standards-Version to 3.7.2.  No changes required.


svn:r8302
2006-08-29 20:44:17 +00:00
Peter Palfrader
a25b73aa6d r9568@galaxy: weasel | 2006-08-29 22:34:36 +0200
Upload target is experimental, not unstable


svn:r8301
2006-08-29 20:44:11 +00:00
Peter Palfrader
29514b6d92 r9567@galaxy: weasel | 2006-08-29 22:32:46 +0200
Prepare 0.1.2.1-alpha-1


svn:r8300
2006-08-29 20:44:05 +00:00
Peter Palfrader
dd12c12809 r8290@danube: weasel | 2006-08-13 01:26:01 +0200
Merge local r8289 into trunk: Update debian/copyright


svn:r7036
2006-08-12 23:26:54 +00:00
Peter Palfrader
b2c42635f0 r8207@galaxy: weasel | 2006-08-03 03:22:17 +0200
Merge in local revisions 7944, 8205, and 8206: Forward port 0.1.1.x changelog to trunk


svn:r6968
2006-08-03 01:50:10 +00:00
Peter Palfrader
59561b1bed Tell users about the init script when they try to run Tor as root.
Should we also do this when they try to run their Tor as any other
(non root, non debian-tor) user? - add 11_tor_as_root_more_helpful


svn:r6822
2006-07-24 03:38:26 +00:00
Peter Palfrader
f968d38f3e Previously our defaults for DataDirectory, PidFile, RunAsDaemon, and
Log differed from upstreams.  Now Tor behaves just like before (with
our own DataDirectory and all) only when run as the debian-tor user.
If invoked as any other user, Tor will behave just like the pristine
upstream version.


svn:r6821
2006-07-24 03:24:25 +00:00
Peter Palfrader
fb6d4855ba Fix 07_log_to_file_by_default in debian head
svn:r6674
2006-06-21 22:13:03 +00:00
Peter Palfrader
068876eb36 Forward port 07_log_to_file_by_default.dpatch
svn:r6630
2006-06-15 23:20:50 +00:00
Peter Palfrader
686ba0e193 Forward port changelog
svn:r6603
2006-06-12 00:49:07 +00:00
Peter Palfrader
346cc24f40 Forward port changelog
svn:r6486
2006-05-23 18:19:36 +00:00
Peter Palfrader
e8e113c6f7 Merge differences between debian_version_0_1_1_18-rc-1 and debian_version_0_1_1_19-rc-1 from tor-0_1_1-patches into head
svn:r6443
2006-05-05 15:40:54 +00:00
Peter Palfrader
c26e72a359 New upstream version
svn:r6362
2006-04-10 10:03:47 +00:00
Peter Palfrader
52cb456a19 no longer ship INSTALL and README files, they are useless now.
svn:r6268
2006-03-28 13:29:13 +00:00
Peter Palfrader
4f0d7b7424 Forward port patches/07_log_to_file_by_default
svn:r6263
2006-03-28 07:48:30 +00:00
Peter Palfrader
5798bf03e0 Commit 0.1.1.16 debian changelog
svn:r6207
2006-03-21 15:47:00 +00:00
Peter Palfrader
941fa7b7d9 Apparently passing --host to configure when not cross-compiling is evil now and
greatly confuses configure.  So don't do it unless it actually differs from
the --build host.


svn:r6129
2006-03-11 19:05:06 +00:00
Peter Palfrader
d99ae6c27a New upstream version
svn:r6128
2006-03-11 19:03:56 +00:00
Peter Palfrader
358e635d57 bump to 0.1.1.14-alpha-cvs-0
svn:r6065
2006-02-21 04:19:36 +00:00
Peter Palfrader
1386765419 New upstream version
svn:r6063
2006-02-21 04:18:44 +00:00
Peter Palfrader
49ed6a1f40 forward port 0.1.0.17 changelog
svn:r6038
2006-02-18 07:03:08 +00:00
Peter Palfrader
5fc99a8416 and set distribution to unreleased
svn:r5958
2006-02-10 15:22:10 +00:00
Peter Palfrader
36a9e07da0 bump to 0.1.1.13-alpha-cvs
svn:r5957
2006-02-10 15:21:44 +00:00
Peter Palfrader
c03cf41ca5 New alpha release
svn:r5955
2006-02-10 13:56:37 +00:00
Peter Palfrader
20183cf559 Lasse and Paul's attack has a CVE: CVE-2006-0414
svn:r5868
2006-01-25 20:51:04 +00:00
Peter Palfrader
de9b59a2ef Mention that 0.1.1.11-alpha-1 closes #349283
svn:r5867
2006-01-25 12:30:08 +00:00
Peter Palfrader
17e0d9f238 The reading-arbitrary-memory bug in June had a CVE too
svn:r5866
2006-01-25 12:26:21 +00:00
Peter Palfrader
ef8787b7ee Add CVE number for the crypto handshake bug from August to changelogs
svn:r5865
2006-01-25 12:19:23 +00:00
Peter Palfrader
5521b5de3e Print that we're raising the ulimit to stdout in the init script.
svn:r5853
2006-01-23 15:04:03 +00:00
Peter Palfrader
979c71632d * Create /var/run/tor on init script start if it does not exist already.
* Set default ulimit -n to 8k instead of 4k in /etc/default/tor.


svn:r5852
2006-01-23 14:02:03 +00:00
Peter Palfrader
4eb9dc7bc3 Forward port patches/02_add_debian_files_in_manpage and patches/03_tor_manpage_in_section_8.
svn:r5822
2006-01-12 02:19:40 +00:00
Peter Palfrader
20bcce490a Forward port patches/02_add_debian_files_in_manpage.
svn:r5819
2006-01-12 02:05:11 +00:00
Peter Palfrader
ba3fdfb8ee Prepare 0.1.1.12
svn:r5809
2006-01-11 22:50:54 +00:00
Peter Palfrader
856546925a Fix debian changelog: 0.1.1.11-alpha was a release, not a CVS snapshot
svn:r5802
2006-01-11 16:43:30 +00:00