mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 23:42:34 +00:00
version 1.7.0.0
This commit is contained in:
parent
3d41d1db9d
commit
4645166fcd
4 changed files with 45 additions and 35 deletions
49
CHANGES
49
CHANGES
|
@ -1,11 +1,13 @@
|
||||||
|
|
||||||
|
####################### V 1.7.0.0:
|
||||||
|
|
||||||
new features:
|
new features:
|
||||||
new address types SCTP-CONNECT and SCTP-LISTEN implement SCTP stream
|
new address types SCTP-CONNECT and SCTP-LISTEN implement SCTP stream
|
||||||
mode for IPv4 and IPv6; new address options sctp-maxseg and
|
mode for IPv4 and IPv6; new address options sctp-maxseg and
|
||||||
sctp-nodelay (suggested by David A. Madore; thanks to Jonathan Brennan
|
sctp-nodelay (suggested by David A. Madore; thanks to Jonathan Brannan
|
||||||
for providing an initial patch)
|
for providing an initial patch)
|
||||||
|
|
||||||
new address "interface" for transparent network interface handling
|
new address "INTERFACE" for transparent network interface handling
|
||||||
(suggested by Stuart Nicholson)
|
(suggested by Stuart Nicholson)
|
||||||
|
|
||||||
added generic socket addresses: SOCKET-CONNECT, SOCKET-LISTEN,
|
added generic socket addresses: SOCKET-CONNECT, SOCKET-LISTEN,
|
||||||
|
@ -17,14 +19,14 @@ new features:
|
||||||
ioctl-bin for generic ioctl() calls.
|
ioctl-bin for generic ioctl() calls.
|
||||||
|
|
||||||
added address options setsockopt-int, setsockopt-bin, and
|
added address options setsockopt-int, setsockopt-bin, and
|
||||||
setsockopt-string
|
setsockopt-string for generic setsockopt() calls
|
||||||
|
|
||||||
so-type now only affect the socket() and socketpair() calls, not the
|
option so-type now only affects the socket() and socketpair() calls,
|
||||||
name resolution. so-type and so-prototype can be applied to all socket
|
not the name resolution. so-type and so-prototype can now be applied to
|
||||||
based addresses.
|
all socket based addresses.
|
||||||
|
|
||||||
new address option "escape" allows to break a socat instance even when
|
new address option "escape" allows to break a socat instance even when
|
||||||
raw terminal mode prevents ^C etc.
|
raw terminal mode prevents ^C etc. (feature suggested by Guido Trotter)
|
||||||
|
|
||||||
socat sets environment variables SOCAT_VERSION, SOCAT_PID, SOCAT_PPID
|
socat sets environment variables SOCAT_VERSION, SOCAT_PID, SOCAT_PPID
|
||||||
for use in executed scripts
|
for use in executed scripts
|
||||||
|
@ -40,22 +42,22 @@ new features:
|
||||||
|
|
||||||
socat provides the contents of ancillary messages received on RECVFROM
|
socat provides the contents of ancillary messages received on RECVFROM
|
||||||
addresses in appropriate environment variables:
|
addresses in appropriate environment variables:
|
||||||
SOCAT_IP_PKTINFO_DSTADDR, SOCAT_IP_PKTINFO_IF, SOCAT_IP_PKTINFO_LOCADDR
|
SOCAT_TIMESTAMP, SOCAT_IP_DSTADDR, SOCAT_IP_IF, SOCAT_IP_LOCADDR,
|
||||||
(not on BSD); SOCAT_IP_RECVDSTADDR, SOCAT_IP_RECVIF (BSD);
|
SOCAT_IP_OPTIONS, SOCAT_IP_TOS, SOCAT_IP_TTL, SOCAT_IPV6_DSTADDR,
|
||||||
SOCAT_SCM_TIMESTAMP, SOCAT_IP_OPTIONS, SOCAT_IP_TOS, SOCAT_IP_TTL,
|
SOCAT_IPV6_HOPLIMIT, SOCAT_IPV6_TCLASS
|
||||||
SOCAT_IPV6_HOPLIMIT, SOCAT_IPV6_TCLASS, SOCAT_IPV6_PKTINFO_DSTADDR
|
|
||||||
|
|
||||||
the following address options were added to enable ancillary messages:
|
the following address options were added to enable ancillary messages:
|
||||||
so-timestamp, ip-pktinfo, ip-recvdstaddr, ip-recverr, ip-recvif,
|
so-timestamp, ip-pktinfo (not BSD), ip-recvdstaddr (BSD), ip-recverr,
|
||||||
ip-recvopts, ip-recvtos, ip-recvttl, ipv6-recvdstopts, ipv6-recverr,
|
ip-recvif (BSD), ip-recvopts, ip-recvtos, ip-recvttl, ipv6-recvdstopts,
|
||||||
ipv6-recvhoplimit, ipv6-recvhopopts, ipv6-recvpathmtu,
|
ipv6-recverr, ipv6-recvhoplimit, ipv6-recvhopopts, ipv6-recvpathmtu,
|
||||||
ipv6-recvpktinfo, ipv6-recvrthdr, ipv6-recvtclass
|
ipv6-recvpktinfo, ipv6-recvrthdr, ipv6-recvtclass
|
||||||
|
|
||||||
new address options ipv6-tclass and ipv6-unicast-hops set the related
|
new address options ipv6-tclass and ipv6-unicast-hops set the related
|
||||||
socket options.
|
socket options.
|
||||||
|
|
||||||
STREAMS (UNIX System V STREAMS) can be configured with the new address
|
STREAMS (UNIX System V STREAMS) can be configured with the new address
|
||||||
options i-pop-all and i-push
|
options i-pop-all and i-push (thanks to Michal Rysavy for providing a
|
||||||
|
patch)
|
||||||
|
|
||||||
corrections:
|
corrections:
|
||||||
some raw IP and UNIX datagram modes failed on BSD systems
|
some raw IP and UNIX datagram modes failed on BSD systems
|
||||||
|
@ -73,6 +75,7 @@ corrections:
|
||||||
packet. test: UDP4RECVFROM_FORK
|
packet. test: UDP4RECVFROM_FORK
|
||||||
|
|
||||||
corrected a few mistakes that caused compiler warnings on 64bit hosts
|
corrected a few mistakes that caused compiler warnings on 64bit hosts
|
||||||
|
(thanks to Jonathan Brannan e.a. for providing a patch)
|
||||||
|
|
||||||
EXEC and SYSTEM with stderr injected socat messages into the data
|
EXEC and SYSTEM with stderr injected socat messages into the data
|
||||||
stream. test: EXECSTDERRLOG
|
stream. test: EXECSTDERRLOG
|
||||||
|
@ -94,15 +97,23 @@ corrections:
|
||||||
replaced the select() calls by poll() to cleanly fix the problems with
|
replaced the select() calls by poll() to cleanly fix the problems with
|
||||||
many file descriptors already open
|
many file descriptors already open
|
||||||
|
|
||||||
|
socat option -lf did not log to file but to stderr
|
||||||
|
|
||||||
socat did not compile on Solaris when configured without termios
|
socat did not compile on Solaris when configured without termios
|
||||||
feature (thanks to Pavan Gadi for reporting this bug)
|
feature (thanks to Pavan Gadi for reporting this bug)
|
||||||
|
|
||||||
porting:
|
porting:
|
||||||
socat should now build under MacOS X 10.4 (thanks to Camillo Lugaresi
|
socat compiles and runs on AIX with gcc (thanks to Andi Mather for his
|
||||||
for providing the patch)
|
help)
|
||||||
|
|
||||||
socat compiles and runs on AIX (thanks to Andi Mather for testing and
|
socat compiles and runs on Cygwin (thanks to Jan Just Keijser for his
|
||||||
patching)
|
help)
|
||||||
|
|
||||||
|
socat compiles and runs on HP-UX with gcc (thanks to Michal Rysavy for
|
||||||
|
his help)
|
||||||
|
|
||||||
|
socat compiles and runs on MacOS X (thanks to Camillo Lugaresi for his
|
||||||
|
help)
|
||||||
|
|
||||||
further changes:
|
further changes:
|
||||||
filan -s prefixes output with FD number if more than one FD
|
filan -s prefixes output with FD number if more than one FD
|
||||||
|
|
25
README
25
README
|
@ -48,25 +48,24 @@ platforms
|
||||||
socat 1.7.0 was compiled and more or less successfully tested under the
|
socat 1.7.0 was compiled and more or less successfully tested under the
|
||||||
following operating systems:
|
following operating systems:
|
||||||
|
|
||||||
SuSE Linux 10.1 on x86
|
Debian lenny/sid on x86, kernel 2.6.24
|
||||||
AIX 5.3 on PPC with gcc
|
|
||||||
Solaris 9 on Sparc with gcc
|
|
||||||
FreeBSD 6.1 on x86
|
FreeBSD 6.1 on x86
|
||||||
HP-UX B 11.11 on PA-RISC with gcc
|
NetBSD4.0 on x86
|
||||||
|
OpenBSD 4.3 on x86
|
||||||
|
OpenSolaris 10 on x86 with gcc
|
||||||
|
Mac OS X 10.5.5 on iMac G5, with libreadline
|
||||||
|
HP-UX 11.23
|
||||||
|
AIX 5.3 on 64bit Power4 with gcc
|
||||||
|
Cygwin 1.5.25 on i686
|
||||||
|
|
||||||
tests on Tru64 can no longer be performed because HP testdrive has taken down
|
tests on Tru64 can no longer be performed because HP testdrive has taken down
|
||||||
these hosts.
|
these hosts.
|
||||||
|
|
||||||
tests on Mac OS X can no longer be performed because the Sourceforge
|
|
||||||
compilefarm was discontinued.
|
|
||||||
|
|
||||||
tests on NetBSD and OpenBSD can no longer be performed for the above reasons.
|
|
||||||
|
|
||||||
Some versions of socat have been reported to successfully compile under older
|
Some versions of socat have been reported to successfully compile under older
|
||||||
Linux versions back to RedHat 2.1 (kernel 1.2.13, gcc 2.7.0), under AIX 4.1 and
|
Linux versions back to RedHat 2.1 (kernel 1.2.13, gcc 2.7.0), under AIX 4.1 and
|
||||||
4.3, SunOS 5.7-5.8, FreeBSD 4.2 - 4.9, MacOS X 10.1, Cygwin, Solaris 8 on x86,
|
4.3, SunOS 5.7-5.8, FreeBSD 4.2 - 4.9, MacOS X 10.1, Cygwin, Solaris 8 on x86,
|
||||||
OSR 5.0.6, NetBSD 1.6.1 and 2.0.2, OpenBSD 3.4 and 3.8, Tru64 5.1B, and Mac OS
|
OSR 5.0.6, NetBSD 1.6.1 and 2.0.2, OpenBSD 3.4 and 3.8, Tru64 5.1B, Mac OS X
|
||||||
X 10.1-10.2.
|
10.1-10.2, and HP-UX 11
|
||||||
|
|
||||||
It might well compile and run under other UNIX like operating systems.
|
It might well compile and run under other UNIX like operating systems.
|
||||||
|
|
||||||
|
@ -76,7 +75,7 @@ install
|
||||||
|
|
||||||
Get the tarball and extract it:
|
Get the tarball and extract it:
|
||||||
gtar xzf socat.tar.gz
|
gtar xzf socat.tar.gz
|
||||||
cd socat-1.6.0.1
|
cd socat-1.7.0.0
|
||||||
./configure
|
./configure
|
||||||
make
|
make
|
||||||
su
|
su
|
||||||
|
@ -197,7 +196,7 @@ msghdr but disables struct cmsghdr. Please contact socat development if you
|
||||||
know a solution.
|
know a solution.
|
||||||
|
|
||||||
Shutting down the write channel of a UNIX domain socket does not seem to
|
Shutting down the write channel of a UNIX domain socket does not seem to
|
||||||
trigger an EOF on the other socket. This makes problems with the exec and
|
trigger an EOF on the peer socket. This makes problems with the exec and
|
||||||
system addresses.
|
system addresses.
|
||||||
|
|
||||||
This OS provides the type "long long", but not the strtoll() function to read
|
This OS provides the type "long long", but not the strtoll() function to read
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
"1.7.0-rc0"
|
"1.7.0.0"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
%define majorver 1.6
|
%define majorver 1.7
|
||||||
%define minorver 0.1
|
%define minorver 0.0
|
||||||
|
|
||||||
Summary: socat - multipurpose relay
|
Summary: socat - multipurpose relay
|
||||||
Name: socat
|
Name: socat
|
||||||
|
|
Loading…
Reference in a new issue