FS#49759 - [openbsd-netcat] Rebase source files from libressl

Attached to Project: Community Packages
Opened by Alif (alive4ever) - Saturday, 18 June 2016, 08:02 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 17 November 2016, 14:39 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Since version 5.9, OpenBSD has added TLS support on netcat (nc) tool, using -c switch (http://man.openbsd.org/OpenBSD-current/man1/nc.1). The 'nc' tool is now bundled with libressl and will use libressl's libtls.so.11, libcrypto.so.38, and libssl.so.39 to provide TLS functionality.

I've provided an aur package 'libressl-netcat' to show the new OpenBSD's netcat capability. I've attached my PKGBUILD as reference to utilize nc from libressl portable sources.

Additional info:

* version: openbsd-netcat 1.105_7-7


Steps to reproduce:
The old netcat doesn't have -c switch to connect to TLS servers.

The new OpenBSD's netcat should be able to connect to TLS servers using -c switch.
$ printf "GET / HTTP/1.1\r\nHost: www.google.com\r\nUser-Agent: netcat\r\n\r\n" | nc -w 1 -v -c www.google.com 443
   PKGBUILD (1.5 KiB)
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 17 November 2016, 14:39 GMT
Reason for closing:  Won't implement
Additional comments about closing:  let's wait and maybe move libressl-netcat to community as separate package.
Comment by Alif (alive4ever) - Saturday, 18 June 2016, 13:48 GMT
I've edited the PKGBUILD to build a static nc, so that libtls, libcrypto, and libssl are embedded within nc executable.
   PKGBUILD (1.2 KiB)
Comment by Sergej Pupykin (sergej) - Thursday, 17 November 2016, 14:39 GMT
I think we need 10 votes for https://aur.archlinux.org/packages/libressl-netcat/ to do it.

Loading...