We are still actively working on the spam issue.

Difference between revisions of "Talk:DNSCrypt"

From InstallGentoo Wiki
Jump to: navigation, search
Line 16: Line 16:
  
 
:It has 2 services for systemd, which is dnscrypt.service and dnscrypt.socket, maybe it depends on systemd for the sake of simplicity. <small>[[User:Morpheus|<span style="border:1px solid black;color:black; padding:1px;background:#fff">&nbsp;Morpheus&nbsp;]][[User talk:Morpheus|<span style="border:1px solid black;color:white; padding:1px;background:#000">talk</span></span>]]</small> 21:04, 30 December 2015 (EST)
 
:It has 2 services for systemd, which is dnscrypt.service and dnscrypt.socket, maybe it depends on systemd for the sake of simplicity. <small>[[User:Morpheus|<span style="border:1px solid black;color:black; padding:1px;background:#fff">&nbsp;Morpheus&nbsp;]][[User talk:Morpheus|<span style="border:1px solid black;color:white; padding:1px;background:#000">talk</span></span>]]</small> 21:04, 30 December 2015 (EST)
 +
 +
:It doesn't *need* it, but the source includes a unit.service and unit.socket file for the sake of simplicity when setting things up, since unfortunately, most distros rely on systemcancer. [[User:Galactus|— Galactus]] ([[User talk:Galactus|talk]]) 13:10, 1 January 2016 (EST)

Revision as of 19:10, 1 January 2016

Category:DNS maybe? It should be a subcategory of Software I guess. WubTheCaptain (talk) 19:25, 13 February 2014 (EST)

systemd

It would be nice if someone experienced with systemd could write about how to run DNSCrypt as another (isolated) user, for security reasons. Normally, to do something like that, one would run sudo -H --user=dnscrypt bash -c '/usr/local/sbin/dnscrypt-proxy -R dnscrypt.eu-nl'.

Thanks.

-- Galactus (talk) 19:42, 16 December 2015 (EST)

dnscrypt-proxy has a -u flag that drops privileges and chroots to the user's home directory; otherwise systemd service files have some User= flag or some dogshit like that. Keboler (talk) 11:55, 27 December 2015 (EST)
Oh, you're right. That will make things easier. (OpenRC has that too, DNSCRYPT_USER, in conf.d) — Galactus (talk) 17:38, 27 December 2015 (EST)

Hang on, does DNSCrypt really depend on systemd or is it just in the configure script? I have ran DNSCrypt on both this Void Lunix system and on OpenBSD without troubles. Keboler (talk) 11:26, 30 December 2015 (EST)

It has 2 services for systemd, which is dnscrypt.service and dnscrypt.socket, maybe it depends on systemd for the sake of simplicity.  Morpheus talk 21:04, 30 December 2015 (EST)
It doesn't *need* it, but the source includes a unit.service and unit.socket file for the sake of simplicity when setting things up, since unfortunately, most distros rely on systemcancer. — Galactus (talk) 13:10, 1 January 2016 (EST)