--- socat-1.6.0.0.orig/doc/socat.1 +++ socat-1.6.0.0/doc/socat.1 @@ -91,7 +91,7 @@ Writes messages to syslog instead of stderr; severity as defined with -d option\&. With optional , the syslog type can be selected, default is "daemon"\&. -.IP "\fB\f(CW-lf\fP\fP\f(CW \fP" +.IP "\fB\f(CW-lf\fP\fP" Writes messages to [filename] instead of stderr\&. .IP "\fB\f(CW-ls\fP\fP" @@ -1929,8 +1929,8 @@ keeps the parent process attempting to produce more connections, either by listening or by connecting in a loop (example)\&. .br -SSL-CONNECT and SSL-LISTEN differ in when they actually fork off the child: -SSL-LISTEN forks \fIbefore\fP the SSL handshake, while SSL-CONNECT forks +OPENSSL-CONNECT and OPENSSL-LISTEN differ in when they actually fork off the child: +OPENSSL-LISTEN forks \fIbefore\fP the SSL handshake, while OPENSSL-CONNECT forks \fIafterwards\fP\&. RETRY and FOREVER options are not inherited by the child process\&. .br @@ -2662,7 +2662,7 @@ .br The first address (\'-\') can be replaced by almost any other socat address\&. .IP -.IP "\fB\f(CWsocat SSL-LISTEN:4443,reuseaddr,pf=ip4,fork,cert=server\&.pem,cafile=client\&.crt PIPE\fP\fP" +.IP "\fB\f(CWsocat OPENSSL-LISTEN:4443,reuseaddr,pf=ip4,fork,cert=server\&.pem,cafile=client\&.crt PIPE\fP\fP" .IP is an OpenSSL server that accepts TCP connections, presents the certificate from the file server\&.pem and forces the client to present a certificate that is @@ -2689,7 +2689,7 @@ connected to the TCP socket (nofork)\&. The shell starts filan and lets it print the socket addresses to stderr (your terminal window)\&. .IP -.IP "\fB\f(CWecho -e "\e0\e14\e0\e0\ec" |socat -u - file:/usr/bin/squid\&.exe,seek=0x00074420\fP\fP" +.IP "\fB\f(CWecho -en '\\e0\\e14\\e0\\e0' |socat -u - file:/usr/bin/squid\&.exe,seek=0x00074420\fP\fP" .IP functions as primitive binary editor: it writes the 4 bytes 000 014 000 000 to the executable /usr/bin/squid at offset 0x00074420 (this is a real world patch --- socat-1.6.0.0.orig/debian/control +++ socat-1.6.0.0/debian/control @@ -0,0 +1,23 @@ +Source: socat +Section: net +Priority: extra +Maintainer: Thomas Seyrat +Build-Depends: debhelper (>= 5.0.0), libreadline5-dev, libssl-dev, libwrap0-dev +Standards-Version: 3.7.2 + +Package: socat +Architecture: any +Depends: ${shlibs:Depends} +Description: multipurpose relay for bidirectional data transfer + Socat (for SOcket CAT) establishes two bidirectional byte streams + and transfers data between them. Data channels may be files, pipes, + devices (terminal or modem, etc.), or sockets (Unix, IPv4, IPv6, raw, + UDP, TCP, SSL). It provides forking, logging and tracing, different + modes for interprocess communication and many more options. + . + It can be used, for example, as a TCP relay (one-shot or daemon), + as an external socksifier, as a shell interface to Unix sockets, + as an IPv6 relay, as a netcat and rinetd replacement, to redirect + TCP-oriented programs to a serial line, or to establish a relatively + secure environment (su and chroot) for running client or server shell + scripts inside network connections. --- socat-1.6.0.0.orig/debian/copyright +++ socat-1.6.0.0/debian/copyright @@ -0,0 +1,35 @@ +This package was debianized by Thomas Seyrat on +Wed, 8 May 2002 00:35:51 +0200. + +It was downloaded from + +Upstream Author: Gerhard Rieger + +Copyright: + +socat is distributed under the terms of the GNU GPL; +except for install-sh, which is copyright MIT, with its own license; + +In addition, as a special exception, the copyright holder +gives permission to link the code of this program with +any version of the OpenSSL library which is distributed +under a license identical to that listed in the included +COPYING.OpenSSL file, and distribute linked combinations +including the two. You must obey the GNU General Public +License in all respects for all of the code used other +than OpenSSL. If you modify this file, you may extend this +exception to your version of the file, but you are not +obligated to do so. If you do not wish to do so, delete +this exception statement from your version. + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2 of the License, or (at your +option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +see /usr/share/common-licenses/GPL for more details --- socat-1.6.0.0.orig/debian/docs +++ socat-1.6.0.0/debian/docs @@ -0,0 +1,11 @@ +BUGREPORTS +DEVELOPMENT +EXAMPLES +FAQ +PORTING +README +README.FIPS +SECURITY +doc/*.html +doc/*.css +doc/xio.help --- socat-1.6.0.0.orig/debian/rules +++ socat-1.6.0.0/debian/rules @@ -0,0 +1,50 @@ +#!/usr/bin/make -f + +config.status: + dh_testdir + ./configure --prefix=/usr \ + --mandir=\$${prefix}/share/man + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + -$(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs usr/bin usr/share/man/man1 + + $(MAKE) install prefix=$(CURDIR)/debian/socat/usr + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installexamples + dh_installmenu + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- socat-1.6.0.0.orig/debian/compat +++ socat-1.6.0.0/debian/compat @@ -0,0 +1 @@ +5 --- socat-1.6.0.0.orig/debian/links +++ socat-1.6.0.0/debian/links @@ -0,0 +1,2 @@ +usr/share/man/man1/socat.1 usr/share/man/man1/filan.1 +usr/share/man/man1/socat.1 usr/share/man/man1/procan.1 --- socat-1.6.0.0.orig/debian/changelog +++ socat-1.6.0.0/debian/changelog @@ -0,0 +1,155 @@ +socat (1.6.0.0-1) unstable; urgency=low + + * New upstream release (closes: #386748) + * Fixed some manpage issues (closes: #372158, #408412), thanks + Daniel Kahn Gillmor + * Bumped Standards-Version to 3.7.2 + + -- Thomas Seyrat Sat, 21 Jul 2007 16:18:31 +0200 + +socat (1.4.3.1-1) unstable; urgency=low + + * New upstream release + + -- Thomas Seyrat Thu, 13 Apr 2006 15:54:50 +0200 + +socat (1.4.3.0-1) unstable; urgency=low + + * New upstream release (closes: #340557) + - manpage was fixed upstream some time ago (closes: #187443) + * Build against libreadline5-dev (closes: #326296) + * Fixed manpage example (closes: #311064), thanks Daniel Kahn + Gillmor + * Bumped Standards-Version to 3.6.2 + + -- Thomas Seyrat Wed, 7 Dec 2005 11:32:27 +0100 + +socat (1.4.2.0-1) unstable; urgency=low + + * New upstream release + + -- Thomas Seyrat Mon, 4 Apr 2005 17:32:49 +0200 + +socat (1.4.1.0-1) unstable; urgency=low + + * New upstream release + + -- Thomas Seyrat Tue, 14 Dec 2004 10:13:57 +0100 + +socat (1.4.0.3-1) unstable; urgency=low + + * New upstream release + - fixes format string vulnerability + + -- Thomas Seyrat Wed, 24 Nov 2004 11:14:36 +0100 + +socat (1.4.0.1-1) unstable; urgency=low + + * New upstream release + - socks4a client code fixed (closes: #258902) + + -- Thomas Seyrat Thu, 2 Sep 2004 15:42:21 +0200 + +socat (1.4.0.0-1) unstable; urgency=low + + * New upstream release + - socks4 fixed on platforms where long does not have 32 bits + (closes: #248814) + + -- Thomas Seyrat Tue, 22 Jun 2004 16:28:25 +0200 + +socat (1.3.2.2-1) unstable; urgency=low + + * New upstream release + * Removed bashisms from ftp.sh and mail.sh ("function" keyword) + * Bumped Standards-Version to 3.6.1 + + -- Thomas Seyrat Fri, 31 Oct 2003 16:52:48 +0100 + +socat (1.3.2.1-1) unstable; urgency=medium + + * New upstream release + - Version 1.3.2.1 fixes a major bug which had been introduced by a + last minute change during 1.3.2.0 release. This bug had made the + new "nofork" option useless. + + -- Thomas Seyrat Sun, 20 Jul 2003 13:37:08 +0200 + +socat (1.3.2.0-1) unstable; urgency=low + + * New upstream release + + -- Thomas Seyrat Thu, 10 Jul 2003 09:44:54 +0200 + +socat (1.3.1.0-1) unstable; urgency=low + + * New upstream release + - Adds Wietse Venema's tcpwrapper library (libwrap) support. + * Added a build dependency on libwrap0-dev to compile tcpwrap option + support. + * Bumped Standards-Version to 3.5.10. + + -- Thomas Seyrat Wed, 4 Jun 2003 00:27:12 +0200 + +socat (1.3.0.1-2) unstable; urgency=low + + * Rebuild against libssl0.9.7 + * Bumped Standards-Version to 3.5.8. + + -- Thomas Seyrat Tue, 11 Feb 2003 13:20:40 +0100 + +socat (1.3.0.1-1) unstable; urgency=low + + * New upstream release + + -- Thomas Seyrat Wed, 13 Nov 2002 14:44:25 +0100 + +socat (1.3.0.0-2) unstable; urgency=low + + * Minor description update in debian/control + * Ship mail.sh script as an example + + -- Thomas Seyrat Thu, 10 Oct 2002 11:39:18 +0200 + +socat (1.3.0.0-1) unstable; urgency=low + + * New upstream release + * Readded build dependency on libssl-dev to reenable OpenSSL + address type support : upstream has updated license. + * Updated debian/copyright + + -- Thomas Seyrat Sat, 5 Oct 2002 15:33:03 +0200 + +socat (1.2.0.0-2) unstable; urgency=low + + * Removed build dependency on libssl-dev and disabled OpenSSL + address type support in debian/control : upstream has not updated + license yet, and this package should go into testing. (closes: #153525) + * Bumped Standards-Version to 3.5.7. + + -- Thomas Seyrat Sat, 21 Sep 2002 12:05:24 +0200 + +socat (1.2.0.0-1) unstable; urgency=low + + * New upstream release + * Added a build dependency on libreadline4-dev to compile READLINE + address type support. (closes: #152963) + * Added a build dependency on libssl-dev to compile OPENSSL + address type support. + * Updated description to mention SSL sockets support. + + -- Thomas Seyrat Sun, 14 Jul 2002 23:51:36 +0200 + +socat (1.1.0.0-1) unstable; urgency=low + + * New upstream release + * Removed debian-provided man page. + + -- Thomas Seyrat Mon, 3 Jun 2002 11:09:53 +0200 + +socat (1.0.4.2-1) unstable; urgency=low + + * Initial Release. (closes: #146161) + + -- Thomas Seyrat Wed, 8 May 2002 00:36:08 +0200 + --- socat-1.6.0.0.orig/debian/examples +++ socat-1.6.0.0/debian/examples @@ -0,0 +1,10 @@ +mail.sh +daemon.sh +ftp.sh +proxy.sh +proxyecho.sh +readline-test.sh +readline.sh +socks4echo.sh +socks4a-echo.sh +test.sh