]>
gitweb.fluxo.info Git - puppet-tor.git/log
Silvio Rhatto [Wed, 17 Jul 2024 20:56:50 +0000 (17:56 -0300)]
Fix: fully specify Tor's Debian repo key
Silvio Rhatto [Thu, 28 Oct 2021 14:22:16 +0000 (11:22 -0300)]
Upgrade default hidden_service_version
Silvio Rhatto [Wed, 9 Jan 2019 22:05:25 +0000 (20:05 -0200)]
Support for HiddenServiceVersion
Silvio Rhatto [Wed, 11 Jul 2018 13:57:55 +0000 (10:57 -0300)]
Fix SafeLoggin config
Silvio Rhatto [Mon, 5 Jun 2017 22:07:40 +0000 (19:07 -0300)]
Changes for puppet 4 compatibility
Micah [Fri, 11 Mar 2016 20:53:08 +0000 (20:53 +0000)]
Merge branch 'master' into 'master'
Fix deprecated variable references
See merge request !3
Micah Anderson [Fri, 11 Mar 2016 17:08:39 +0000 (12:08 -0500)]
Fix deprecated variable references
Micah [Fri, 9 Oct 2015 18:58:11 +0000 (18:58 +0000)]
Merge branch 'bugfix/issue-1-unset_outbound_bindaddresses' into 'master'
tor::daemon::relay: set $real_outbound_bindaddresses to [] when $outbound_bindad…
…dresses is not explicitly set.
Closes: #1
See merge request !2
intrigeri [Fri, 17 Jul 2015 13:11:30 +0000 (13:11 +0000)]
tor::daemon::relay: set $real_outbound_bindaddresses to [] when $outbound_bindaddresses is not explicitly set.
Closes: #1
Micah [Fri, 27 Mar 2015 18:50:01 +0000 (18:50 +0000)]
Merge branch 'improvements' into 'master'
Improvements
These are a bunch of improvements I got on my github profile in the past.
Interested in merging them?
Summary:
* adds tor repo management
* removes a workaround for a fixed bug
* adds tor-arm support
* support for safe logging
* puppet 3 ready templates.
It's merged on top of the current master.
See merge request !1
mh [Sat, 30 Aug 2014 14:37:58 +0000 (16:37 +0200)]
bug is fixed
mh [Fri, 13 Jun 2014 18:21:37 +0000 (20:21 +0200)]
fix variable
mh [Fri, 13 Jun 2014 07:41:34 +0000 (09:41 +0200)]
Merge remote-tracking branch 'github/master'
Conflicts:
templates/torrc.global.erb
duritong [Fri, 13 Jun 2014 06:59:00 +0000 (08:59 +0200)]
Merge pull request #13 from pataquets/add-safe-logging
Add safe_logging parameter.
mh [Fri, 18 Apr 2014 09:10:47 +0000 (11:10 +0200)]
Merge remote-tracking branch 'shared/master'
mh [Fri, 18 Apr 2014 09:10:29 +0000 (11:10 +0200)]
Merge remote-tracking branch 'githubmirror/master'
mh [Fri, 18 Apr 2014 09:10:16 +0000 (11:10 +0200)]
address puppet 3.x deprecation warnings
duritong [Thu, 20 Mar 2014 15:51:06 +0000 (16:51 +0100)]
Merge pull request #10 from pataquets/add-tor-repo-class
Add tor::repo class with apt::source from torproject.org.
amontero-referup [Thu, 20 Mar 2014 15:43:38 +0000 (16:43 +0100)]
Add safe_logging parameter.
amontero-referup [Mon, 17 Mar 2014 09:10:19 +0000 (10:10 +0100)]
Improve tor::repo and add tor::repo::debian classes.
duritong [Fri, 14 Mar 2014 16:14:48 +0000 (17:14 +0100)]
Merge pull request #11 from pataquets/add-arm-class
Add tor::arm class.
amontero-referup [Fri, 14 Mar 2014 12:44:04 +0000 (13:44 +0100)]
Add tor::arm class.
amontero-referup [Fri, 14 Mar 2014 12:40:33 +0000 (13:40 +0100)]
Rename source name parameter.
amontero-referup [Thu, 13 Mar 2014 14:57:51 +0000 (15:57 +0100)]
Add tor::repo class with apt::source from torproject.org .
micah [Wed, 12 Mar 2014 14:26:06 +0000 (10:26 -0400)]
Merge pull request #1 from irregulator/bug/5241
DirPortFrontPage should serve the 'tor-exit-notice' static page
irregulator [Wed, 12 Mar 2014 01:17:34 +0000 (03:17 +0200)]
DirPortFrontPage should serve the 'tor-exit-notice' static page
rather than tor's man page.
duritong [Mon, 22 Jul 2013 10:01:08 +0000 (03:01 -0700)]
Merge pull request #9 from pataquets/remove-unneeded-default-values
Don't add config entries to torrc if value is default
amontero [Mon, 15 Jul 2013 18:13:24 +0000 (20:13 +0200)]
Fix ExitPolicyRejectPrivate not being omitted if set to 1. ( duritong/puppet-tor#5 )
amontero [Tue, 2 Jul 2013 00:17:29 +0000 (02:17 +0200)]
Don't add config entries to torrc if value is default. ( duritong/puppet-tor#5 )
duritong [Sun, 30 Jun 2013 19:47:05 +0000 (12:47 -0700)]
Merge pull request #6 from pataquets/add-PortForwarding
Add PortForwarding to allow UPnP firewall pf configuration.
amontero [Fri, 28 Jun 2013 01:05:52 +0000 (03:05 +0200)]
Add PortForwarding to allow UPnP firewall pf configuration.
duritong [Tue, 25 Jun 2013 06:57:14 +0000 (23:57 -0700)]
Merge pull request #4 from micah/outbound_bindaddresses
Outbound bindaddresses
Micah Anderson [Mon, 24 Jun 2013 19:49:04 +0000 (15:49 -0400)]
add upgrade notice to the README to detail the outbound_bindaddress change
amontero [Sun, 28 Apr 2013 21:35:01 +0000 (23:35 +0200)]
Empty template variable for OutboundBindAddress if parameter is an empty array.
Silvio Rhatto [Fri, 25 Jan 2013 20:50:51 +0000 (18:50 -0200)]
Another variable scope fix
Silvio Rhatto [Fri, 25 Jan 2013 17:18:47 +0000 (15:18 -0200)]
Fixing variable scope assingment
Silvio Rhatto [Fri, 25 Jan 2013 16:21:23 +0000 (14:21 -0200)]
Fixing scope lookup at global template
Silvio Rhatto [Wed, 23 Jan 2013 13:26:16 +0000 (11:26 -0200)]
Setting hasstatus and pattern for tor::polipo::debian
Silvio Rhatto [Mon, 21 Jan 2013 01:38:27 +0000 (23:38 -0200)]
Fix missing delimiter
Silvio Rhatto [Mon, 21 Jan 2013 01:09:20 +0000 (23:09 -0200)]
Merge branch 'master' of ssh://labs.riseup.net/shared-tor
Conflicts:
manifests/daemon.pp
mh [Wed, 2 Jan 2013 13:16:11 +0000 (14:16 +0100)]
fix typo on 2.6
mh [Wed, 2 Jan 2013 13:14:28 +0000 (14:14 +0100)]
manage a dedicated control port for munin
mh [Wed, 2 Jan 2013 12:59:50 +0000 (13:59 +0100)]
use the deploy mechanism of the munin module
mh [Wed, 2 Jan 2013 12:54:57 +0000 (13:54 +0100)]
refactor daemon and main class for better design
By extracting the resources to their own class we can avoid a bug
in puppet that makes it hard to deal with inherited parametrized
classes.
mh [Wed, 2 Jan 2013 12:41:56 +0000 (13:41 +0100)]
split out defines into their own files
mh [Wed, 2 Jan 2013 12:05:57 +0000 (13:05 +0100)]
make it working on 2.6 - can't end with a , on 2.6
intrigeri [Wed, 2 Jan 2013 11:30:55 +0000 (12:30 +0100)]
Linting.
intrigeri [Sun, 11 Nov 2012 21:49:15 +0000 (22:49 +0100)]
Cleanup: remove now useless variable.
intrigeri [Sun, 11 Nov 2012 21:46:25 +0000 (22:46 +0100)]
Specify file modes as single-quoted strings.
Puppet style guide "9.6. File Modes" reads:
In addition, file modes should be specified as single-quoted strings instead
of bare word numbers.
intrigeri [Sun, 11 Nov 2012 21:42:23 +0000 (22:42 +0100)]
Move ensure attributes to the first place.
Puppet style guide "9.3. Attribute Ordering" reads:
If a resource declaration includes an ensure attribute, it should be the first
attribute specified.
intrigeri [Sun, 11 Nov 2012 21:26:31 +0000 (22:26 +0100)]
Use the concat module instead of the obsolete concatenated_file define.
... and cleanup the now unused spool_dir.
intrigeri [Sun, 11 Nov 2012 21:15:08 +0000 (22:15 +0100)]
Give the debian-tor user /bin/false as a shell.
This is the Debian package default, and I've never seen the need to give it
a real shell.
intrigeri [Sun, 11 Nov 2012 21:10:54 +0000 (22:10 +0100)]
Indentation fixes.
intrigeri [Sun, 11 Nov 2012 20:53:10 +0000 (21:53 +0100)]
Align all fat arrows in resource’s attribute/value list.
Puppet style guide "9.2. Arrow Alignment" reads: "All of the fat comma arrows
(=>) in a resource’s attribute/value list should be aligned. The arrows should
be placed one space ahead of the longest attribute name."
intrigeri [Sun, 11 Nov 2012 20:48:58 +0000 (21:48 +0100)]
Quote and enclose in braces variables in strings.
Puppet style guide "8. Quoting" reads: "Double quotes should be used when
variable interpolation is required. [...] All variables should be enclosed in
braces when interpolated in a string."
intrigeri [Sun, 11 Nov 2012 20:43:03 +0000 (21:43 +0100)]
Use single-quotes for strings that do not contain variables.
Puppet style guide, section "8. Quoting", reads: "All strings that do not
contain variables should be enclosed in single quotes."
intrigeri [Sun, 11 Nov 2012 19:57:33 +0000 (20:57 +0100)]
Get a lost part of the fix for outbound_bindaddresses back.
The fix was implemented in
8e0dbb0 , but apparently I've managed to lose it as
part of one of the numerous merge conflicts I've dealt with when merging
everyone's branch.
intrigeri [Fri, 9 Nov 2012 20:54:58 +0000 (21:54 +0100)]
Migrate to parameterized classes, drop global variables.
intrigeri [Fri, 9 Nov 2012 20:40:21 +0000 (21:40 +0100)]
Remove useless comment.
intrigeri [Fri, 9 Nov 2012 20:27:54 +0000 (21:27 +0100)]
Merge remote-tracking branch 'immerda/master'
Conflicts:
manifests/init.pp
manifests/polipo.pp
manifests/polipo/base.pp
manifests/torsocks.pp
intrigeri [Wed, 29 Aug 2012 09:49:11 +0000 (11:49 +0200)]
Add support for including arbitrary snippet into torrc.
intrigeri [Sat, 4 Aug 2012 14:49:53 +0000 (16:49 +0200)]
Merge remote-tracking branch 'shared/master'
Conflicts:
manifests/daemon.pp
intrigeri [Sat, 4 Aug 2012 14:29:37 +0000 (16:29 +0200)]
Merge remote-tracking branch 'riseup/master' into shared-master
Micah Anderson [Fri, 3 Aug 2012 19:08:43 +0000 (15:08 -0400)]
fix template syntax error
Micah Anderson [Fri, 3 Aug 2012 19:00:32 +0000 (15:00 -0400)]
add $cookie_authentication, $cookie_auth_file and $cookie_auth_file_group_readable variables
Micah Anderson [Fri, 3 Aug 2012 18:39:08 +0000 (14:39 -0400)]
change location of control port in munin graphs, now that
/usr/share/tor/tor-service-defaults-torrc exists and contains:
CookieAuthentication 1
CookieAuthFileGroupReadable 1
CookieAuthFile /var/run/tor/control.authcookie
Micah Anderson [Tue, 31 Jul 2012 02:08:50 +0000 (22:08 -0400)]
add README, including information about the transition information regarding the bandwidth parameters
Micah Anderson [Tue, 31 Jul 2012 02:08:30 +0000 (22:08 -0400)]
switch bandwidth_rate and bandwidth_burst to be relay_bandwidth_rate and
relay_bandwidth_burst so we can use those variables for their proper tor
configuration variables
intrigeri [Sat, 7 Jul 2012 17:02:34 +0000 (19:02 +0200)]
Remove trailing whitespace from newly added lines.
Silvio Rhatto [Thu, 21 Jun 2012 02:24:30 +0000 (23:24 -0300)]
Adding support for MapAddress tor option
Silvio Rhatto [Thu, 21 Jun 2012 02:24:30 +0000 (23:24 -0300)]
Adding support for MapAddress tor option
intrigeri [Tue, 19 Jun 2012 02:48:26 +0000 (04:48 +0200)]
Add support for AutomapHostsOnResolve.
intrigeri [Tue, 19 Jun 2012 02:07:31 +0000 (04:07 +0200)]
Add support for using bridges.
intrigeri [Tue, 19 Jun 2012 02:02:13 +0000 (04:02 +0200)]
Add support for TransPort and TransListenAddress.
intrigeri [Tue, 19 Jun 2012 01:59:20 +0000 (03:59 +0200)]
Add support for DNSPort and DNSListenAddress.
Silvio Rhatto [Mon, 18 Jun 2012 15:16:15 +0000 (12:16 -0300)]
Not managing the top level folder of a hidden service anymore: this can be done in a custom module
Silvio Rhatto [Mon, 11 Jun 2012 22:59:37 +0000 (19:59 -0300)]
Changing data dir permission for a hidden service
Silvio Rhatto [Sun, 10 Jun 2012 20:02:30 +0000 (17:02 -0300)]
Managing the top level folder of a hidden service
intrigeri [Fri, 8 Jun 2012 15:49:54 +0000 (17:49 +0200)]
The torsocks package does not need the Tor data directory.
mh [Fri, 28 Oct 2011 14:55:19 +0000 (16:55 +0200)]
add a compact class
mainly to give a way to have the old behavior
intrigeri [Fri, 8 Jun 2012 15:37:05 +0000 (17:37 +0200)]
Move Polipo configuration files to a dedicated directory.
intrigeri [Fri, 8 Jun 2012 15:34:13 +0000 (17:34 +0200)]
Factor out Polipo into base and Debian -specific classes.
intrigeri [Fri, 8 Jun 2012 15:27:59 +0000 (17:27 +0200)]
Decouple torsocks into its own class.
immerda's big decoupling commit (
8f1d1c4 ) is too hard to apply in one shot in
the current state of the shared branch, so let's pick bits of it one after
the other.
mh [Tue, 5 Jun 2012 21:05:25 +0000 (18:05 -0300)]
new style for 2.7
intrigeri [Thu, 26 Apr 2012 15:22:15 +0000 (17:22 +0200)]
Merge branch 'bugfix/outbound_bindaddresses-default'
intrigeri [Thu, 26 Apr 2012 14:56:35 +0000 (16:56 +0200)]
Fix the relay define's outbound_bindaddresses default value setting.
Apparently, we have no guarantee $outbound_bindaddresses's value is set *after*
$listen_addresses is, so (at least on my setup) it ends up being undef,
and then the template parsing fails:
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed
to parse template tor/torrc.relay.erb: undefined method `each' for :undef:Symbol
at /etc/puppet/modules/tor/manifests/daemon.pp:117
So, let's set $real_outbound_bindaddresses to $listen_addresses in the define
body, as needed.
mh [Fri, 28 Oct 2011 14:36:00 +0000 (16:36 +0200)]
enable service on boot
Conflicts:
manifests/init.pp
mh [Fri, 28 Oct 2011 14:33:28 +0000 (16:33 +0200)]
this file should be deployed after the package have been installed, as it replaces the file from the cronjob
Conflicts:
manifests/init.pp
intrigeri [Wed, 11 Apr 2012 13:09:42 +0000 (15:09 +0200)]
Don't manage /etc/polipo: it's shipped by the polipo package.
mh [Fri, 28 Oct 2011 14:16:28 +0000 (16:16 +0200)]
Do not ensure the privoxy package is uninstalled.
this should be done in a seperate module and is not really needed here
Conflicts:
manifests/init.pp
intrigeri [Wed, 14 Mar 2012 19:36:22 +0000 (20:36 +0100)]
Merge remote-tracking branch 'riseup/master'
Micah Anderson [Wed, 14 Mar 2012 19:35:52 +0000 (15:35 -0400)]
fix torc.relay.erb outboundaddress/outboundaddresses confusion
Micah Anderson [Wed, 14 Mar 2012 19:33:28 +0000 (15:33 -0400)]
fix duplicate definition of torssocks
Micah Anderson [Wed, 14 Mar 2012 19:29:35 +0000 (15:29 -0400)]
outbound_bindaddress should be outbound_bindaddresses and $outbound_bindaddresses = $listen_addresses
Micah Anderson [Wed, 14 Mar 2012 19:27:17 +0000 (15:27 -0400)]
enable different version ensure for torssocks, it doesn't share the same version number as tor and tor-geoipdb, so if you set $tor_ensure_version, you will have an error with torsocks
Micah Anderson [Wed, 14 Mar 2012 19:26:14 +0000 (15:26 -0400)]
fix package name for tor-geoipdb
Micah Anderson [Wed, 14 Mar 2012 19:17:45 +0000 (15:17 -0400)]
add missing munin plugins that should have been added when the munin.pp was created
Micah Anderson [Wed, 14 Mar 2012 17:05:14 +0000 (13:05 -0400)]
add ExitPolicyRejectPrivate option to exit_policy define
Micah Anderson [Wed, 14 Mar 2012 16:45:59 +0000 (12:45 -0400)]
add OutboundBindAddress, default set to $listen_address
intrigeri [Wed, 14 Mar 2012 13:06:29 +0000 (14:06 +0100)]
Remove useless import (closes Redmine #3855).