1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=https
://github.com
/hackerschoice
/gsocket
/releases
/download
/v
$(PKG_VERSION
)/
9 PKG_HASH
:=4f64f71a7d6b8be79754e7bf2109675ffc8a3e37a4a55b08c95a1b1d25e458e5
11 PKG_MAINTAINER
:=Ralf Kaiser
<skyper@thc.org
>
12 PKG_LICENSE
:=BSD-2-Clause
13 PKG_LICENSE_FILES
:=LICENSE
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/gsocket
21 TITLE
:=Connect like there is no firewall
22 URL
:=https
://gsocket.io
25 define Package
/gsocket
/description
26 Global Socket allows two workstations on different private networks to
27 communicate with each other. Through firewalls and through NAT
- like
30 The TCP connection is secured with AES-256 and using OpenSSL
's SRP
31 protocol (RFC 5054). It does not require a PKI and has forward
32 secrecy and (optional) TOR support.
34 The gsocket tools derive temporary session keys and IDs and connect
35 two TCP pipes through the Global Socket Relay Network (GSRN). This is
36 done regardless and independent of the local IP Address or geographical
39 The session keys (secrets) never leave the workstation. The GSRN sees only
40 the encrypted traffic.
42 The workhorse is 'gs-netcat
' which opens a ssh-like interactive PTY
43 command shell to a remote workstation (which resides on a private and
44 remote network and/or behind a firewall).
47 define Build/Configure
48 $(call Build/Configure/Default,--with-linux-headers=$(LINUX_DIR) --libdir=$(STAGING_DIR)/usr/lib --includedir=$(STAGING_DIR)/usr/include)
52 $(MAKE) -C $(PKG_BUILD_DIR) \
57 define Package/gsocket/install
58 $(INSTALL_DIR) $(1)/bin
59 $(INSTALL_DIR) $(1)/share/gsocket
60 $(INSTALL_DIR) $(1)/lib
61 $(INSTALL_DIR) $(1)/etc
62 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/gs-sftp $(1)/bin/
63 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/gs-mount $(1)/bin/
64 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/blitz $(1)/bin/
65 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/gsocket $(1)/bin/
66 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/gs-netcat $(1)/bin/
67 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/gs_funcs $(1)/share/gsocket/
68 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/gsocket_uchroot_dso.so.0 $(1)/lib/
69 $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/gsocket_dso.so.0 $(1)/lib/
70 $(INSTALL_CONF) $(PKG_BUILD_DIR)/tools/gsocket.conf $(1)/etc/
73 $(eval $(call BuildPackage,gsocket))