2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchgit, buildGoModule }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "obfs4";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.0.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "https://git.torproject.org/pluggable-transports/obfs4.git";
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "a564bc3840bc788605e1a8155f4b95ce0d70c6db"; # not tagged
|
|
|
|
sha256 = "0hqk540q94sh4wvm31jjcvpdklhf8r35in4yii7xnfn58a7amfkc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
vendorSha256 = "0yjanv5piygffpdfysviijl7cql2k0r05bsxnlj4hbamsriz9xqy";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-11-21 17:40:18 +00:00
|
|
|
description = "Circumvents censorship by transforming Tor traffic between clients and bridges";
|
|
|
|
longDescription = ''
|
|
|
|
Obfs4proxy is a tool that attempts to circumvent censorship by
|
|
|
|
transforming the Tor traffic between the client and the bridge.
|
|
|
|
This way censors, who usually monitor traffic between the client
|
|
|
|
and the bridge, will see innocent-looking transformed traffic
|
|
|
|
instead of the actual Tor traffic. obfs4proxy implements the
|
|
|
|
obfsucation protocols obfs2, obfs3, and obfs4. It is written in
|
|
|
|
Go and is compliant with the Tor pluggable transports
|
|
|
|
specification, and its modular architecture allows it to support
|
|
|
|
multiple pluggable transports.
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.torproject.org/projects/obfsproxy";
|
2021-12-21 02:18:32 +00:00
|
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
2022-05-18 14:49:53 +00:00
|
|
|
mainProgram = "obfs4proxy";
|
2022-11-21 17:40:18 +00:00
|
|
|
changelog = "https://gitweb.torproject.org/pluggable-transports/obfs4.git/plain/ChangeLog";
|
|
|
|
downloadPage = "https://gitweb.torproject.org/pluggable-transports/obfs4.git/";
|
|
|
|
license = with lib.licenses; [ bsd2 bsd3 gpl3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|