Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2014 02:19:55 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372508 - in head: . security security/tcpcrypt security/tcpcrypt/files
Message-ID:  <201411130219.sAD2JtaO044827@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg (src committer)
Date: Thu Nov 13 02:19:55 2014
New Revision: 372508
URL: https://svnweb.freebsd.org/changeset/ports/372508
QAT: https://qat.redports.org/buildarchive/r372508/

Log:
  add the tcpcrypt port...  This provides an implementation of the
  tcpcrypt protocol which tries to encrypt your tcp traffic w/o
  modification...
  
  www.tcpcrypt.org for more info..
  
  Approved by:	bdrewery

Added:
  head/security/tcpcrypt/
  head/security/tcpcrypt/Makefile   (contents, props changed)
  head/security/tcpcrypt/distinfo   (contents, props changed)
  head/security/tcpcrypt/files/
  head/security/tcpcrypt/files/patch-unix.c   (contents, props changed)
  head/security/tcpcrypt/pkg-descr   (contents, props changed)
  head/security/tcpcrypt/pkg-plist   (contents, props changed)
Modified:
  head/GIDs
  head/UIDs
  head/security/Makefile

Modified: head/GIDs
==============================================================================
--- head/GIDs	Wed Nov 12 23:43:52 2014	(r372507)
+++ head/GIDs	Thu Nov 13 02:19:55 2014	(r372508)
@@ -223,6 +223,7 @@ dotlrn:*:821:
 polw:*:825:
 statsd:*:826:
 netdisco:*:840:
+tcpcryptd:*:841:
 munin:*:842:
 dahdi:*:843:asterisk
 fossy:*:901:www

Modified: head/UIDs
==============================================================================
--- head/UIDs	Wed Nov 12 23:43:52 2014	(r372507)
+++ head/UIDs	Thu Nov 13 02:19:55 2014	(r372508)
@@ -229,6 +229,7 @@ dotlrn:*:821:821::0:0:.LRN Daemon User:/
 polw:*:825:825::0:0:Policyd-weight Cache Owner:/nonexistent:/sbin/nologin
 statsd:*:826:826::0:0:Statsd Daemon:/nonexistent:/sbin/nologin
 netdisco:*:840:840::0:0:netdisco daemon:/nonexistent:/usr/sbin/nologin
+tcpcryptd:*:841:841::0:0:tcpcrypt daemon:/nonexistent:/usr/sbin/nologin
 munin:*:842:842::0:0:Munin:/var/munin:/usr/sbin/nologin
 fossy:*:901:901::0:0:FOSSology user:/usr/local/share/fossology:/usr/local/bin/bash
 scanlogd:*:902:902::0:0:scanlogd user:/nonexistent:/usr/sbin/nologin

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Wed Nov 12 23:43:52 2014	(r372507)
+++ head/security/Makefile	Thu Nov 13 02:19:55 2014	(r372508)
@@ -981,6 +981,7 @@
     SUBDIR += switzerland
     SUBDIR += symbion-sslproxy
     SUBDIR += tclsasl
+    SUBDIR += tcpcrypt
     SUBDIR += tinc
     SUBDIR += tinyca
     SUBDIR += tlswrap

Added: head/security/tcpcrypt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tcpcrypt/Makefile	Thu Nov 13 02:19:55 2014	(r372508)
@@ -0,0 +1,26 @@
+# Created by: John-Mark Gurney <jmg@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	tcpcrypt
+DISTVERSION=	0.3.rc1
+CATEGORIES=	security net
+
+MAINTAINER=	jmg@FreeBSD.org
+COMMENT=	TCPCrypt userland divert daemon
+
+LICENSE=	BSD2CLAUSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	scslab
+GH_TAGNAME=	v0.3-rc1
+GH_COMMIT=	b110e7e
+
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+USES=		autoreconf libtool
+INSTALL_TARGET=	install-strip
+
+USERS=		tcpcryptd
+GROUPS=		tcpcryptd
+
+.include <bsd.port.mk>

Added: head/security/tcpcrypt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tcpcrypt/distinfo	Thu Nov 13 02:19:55 2014	(r372508)
@@ -0,0 +1,2 @@
+SHA256 (tcpcrypt-0.3.rc1.tar.gz) = da184da7b702cadeaec670f09e34af8d41be84d81ad253f4d977aaaa576da865
+SIZE (tcpcrypt-0.3.rc1.tar.gz) = 183047

Added: head/security/tcpcrypt/files/patch-unix.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tcpcrypt/files/patch-unix.c	Thu Nov 13 02:19:55 2014	(r372508)
@@ -0,0 +1,17 @@
+--- src/unix.c.orig	2014-09-10 16:22:26.000000000 -0700
++++ src/unix.c	2014-10-31 23:59:29.000000000 -0700
+@@ -57,7 +57,13 @@
+         s_in.sin_addr   = ip->ip_dst;
+         s_in.sin_port   = tcp->th_dport;
+ 
+-#if defined(__FreeBSD__) || defined(__DARWIN_UNIX03)
++#if defined(__FreeBSD__)
++#include <osreldate.h>
++#if __FreeBSD_version < 1000022
++	#define HO_LEN
++#endif
++#endif
++#ifdef __DARWIN_UNIX03
+ 	#define HO_LEN
+ #endif
+ #ifdef HO_LEN

Added: head/security/tcpcrypt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tcpcrypt/pkg-descr	Thu Nov 13 02:19:55 2014	(r372508)
@@ -0,0 +1,11 @@
+Tcpcrypt is a protocol that attempts to encrypt (almost) all of your
+network traffic. Unlike other security mechanisms, Tcpcrypt works out
+of the box: it requires no configuration, no changes to applications,
+and your network connections will continue to work even if the remote
+end does not support Tcpcrypt, in which case connections will
+gracefully fall back to standard clear-text TCP. Install Tcpcrypt and
+you'll feel no difference in your every day user experience, but yet
+your traffic will be more secure and you'll have made life much harder
+for hackers. 
+
+WWW: http://www.tcpcrypt.org/

Added: head/security/tcpcrypt/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/tcpcrypt/pkg-plist	Thu Nov 13 02:19:55 2014	(r372508)
@@ -0,0 +1,10 @@
+bin/tcnetstat
+bin/tcpcryptd
+include/tcpcrypt/socket_address.h
+include/tcpcrypt/tcpcrypt.h
+lib/libtcpcrypt.a
+lib/libtcpcrypt.so
+lib/libtcpcrypt.so.0
+lib/libtcpcrypt.so.0.0.0
+man/man8/tcnetstat.8.gz
+man/man8/tcpcryptd.8.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411130219.sAD2JtaO044827>