Date: Fri, 20 Nov 2020 07:39:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246226] New port: net/trojan An unidentifiable mechanism that helps you bypass GFW. Message-ID: <bug-246226-7788-xqIbOD0jGh@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246226-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-246226-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246226 --- Comment #2 from bhy1924@gmail.com --- Comment on attachment 214158 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214158 shar file # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # trojan # trojan/Makefile # trojan/distinfo # trojan/pkg-descr # trojan/pkg-plist # trojan/trojan.shar # trojan/files # trojan/files/trojan.in # echo c - trojan mkdir -p trojan > /dev/null 2>&1 echo x - trojan/Makefile sed 's/^X//' >trojan/Makefile << '244bfb9783ec4228b921f4941af38f3c' X# $FreeBSD$ X XPORTNAME=3D trojan XDISTVERSIONPREFIX=3D v XDISTVERSION=3D 1.15.1 XCATEGORIES=3D net XMASTER_SITES=3D X XMAINTAINER=3D bhy1924@gmail.com XCOMMENT=3D Unidentifiable mechanism that helps you bypass GFW X XLICENSE=3D GPLv3 XLICENSE_FILE=3D ${WRKSRC}/LICENSE X XLIB_DEPENDS=3D libboost_system.so:devel/boost-libs X XUSES=3D cmake compiler:c11 ssl X XUSE_RC_SUBR=3D trojan X XCMAKE_OFF=3D ENABLE_MYSQL X XUSE_GITHUB=3D yes XGH_ACCOUNT=3D trojan-gfw X XOPTIONS_DEFINE=3D DOCS XOPTIONS_SUB=3D yes X X.include <bsd.port.mk> 244bfb9783ec4228b921f4941af38f3c echo x - trojan/distinfo sed 's/^X//' >trojan/distinfo << 'b1e61ed2f07581e8aaa449ab39d52fee' XTIMESTAMP =3D 1588663340 XSHA256 (trojan-gfw-trojan-v1.15.1_GH0.tar.gz) =3D ab5ed59573085e69164dce677656951d502ee6cdf0890137f6868da7af3c0ffd XSIZE (trojan-gfw-trojan-v1.15.1_GH0.tar.gz) =3D 48121 b1e61ed2f07581e8aaa449ab39d52fee echo x - trojan/pkg-descr sed 's/^X//' >trojan/pkg-descr << '235227292b2ee518327f25e12c03ada7' XAn unidentifiable mechanism that helps you bypass GFW. X XTrojan features multiple protocols over TLS to avoid both active/passive Xdetections and ISP QoS limitations. X XTrojan is not a fixed program or protocol. It's an idea, an idea that imitating Xthe most common service, to an extent that it behaves identically, could h= elp Xyou get across the Great FireWall permanently, without being identified ev= er. XWe are the GreatER Fire; we ship Trojan Horses. X XWWW: https://github.com/trojan-gfw/trojan 235227292b2ee518327f25e12c03ada7 echo x - trojan/pkg-plist sed 's/^X//' >trojan/pkg-plist << '087da27d3be6e2c394e14c7f3066bbef' Xbin/trojan X%%ETCDIR%%/config.json Xman/man1/trojan.1.gz X%%DOCS%%%%DOCSDIR%%/README.md X%%DOCS%%%%DOCSDIR%%/authenticator.md X%%DOCS%%%%DOCSDIR%%/build.md X%%DOCS%%%%DOCSDIR%%/config.md X%%DOCS%%%%DOCSDIR%%/examples/client.json-example X%%DOCS%%%%DOCSDIR%%/examples/forward.json-example X%%DOCS%%%%DOCSDIR%%/examples/nat.json-example X%%DOCS%%%%DOCSDIR%%/examples/server.json-example X%%DOCS%%%%DOCSDIR%%/overview.md X%%DOCS%%%%DOCSDIR%%/protocol.md X%%DOCS%%%%DOCSDIR%%/usage.md 087da27d3be6e2c394e14c7f3066bbef echo x - trojan/trojan.shar sed 's/^X//' >trojan/trojan.shar << '05b59349e346c00464b397adf91ebe43' 05b59349e346c00464b397adf91ebe43 echo c - trojan/files mkdir -p trojan/files > /dev/null 2>&1 echo x - trojan/files/trojan.in sed 's/^X//' >trojan/files/trojan.in << '3ddc0f7c4cf15b995ebcfac4f1cdceb7' X#!/bin/sh X# $FreeBSD: head/net/trojan/files/trojan.in X X# PROVIDE: trojan X# REQUIRE: LOGIN cleanvar X# KEYWORD: shutdown X X# Add the following lines to /etc/rc.conf to enable trojan: X# trojan_enable (bool): Set to "NO" by default. X# Set to "YES" to enable trojan. X# trojan (path): Trojan config file. X# Defaults to "%%PREFIX%%/etc/trojan/config.json" X X X. /etc/rc.subr X Xname=3D"trojan" Xrcvar=3Dtrojan_enable X X Xload_rc_config $name X X: ${trojan_enable:=3D"NO"} X: ${trojan_config=3D"%%PREFIX%%/etc/trojan/config.json"} X Xcommand=3D"%%PREFIX%%/bin/trojan" Xrequired_files=3D"${trojan_config}" X Xcommand_args=3D"-c $trojan_config" X Xrun_rc_command "$1" 3ddc0f7c4cf15b995ebcfac4f1cdceb7 exit --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246226-7788-xqIbOD0jGh>