Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:p_conrad:branches
ucspi-tcp
ucspi-tcp-0.88-ipv6-man.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ucspi-tcp-0.88-ipv6-man.patch of Package ucspi-tcp
(C) 2012 Peter Conrad <conrad@quisquis.de> Licensed under the terms and conditions of the GNU General Public License (version 2). See http://www.gnu.org/licenses/old-licenses/gpl-2.0 . diff -rNU3 ucspi-tcp-0.88/ucspi-tcp-0.88-man/tcpclient.8 ucspi-tcp-0.88.ipv6/ucspi-tcp-0.88-man/tcpclient.8 --- ucspi-tcp-0.88/ucspi-tcp-0.88-man/tcpclient.8 2000-06-29 17:57:03.000000000 +0200 +++ ucspi-tcp-0.88.ipv6/ucspi-tcp-0.88-man/tcpclient.8 2012-02-17 10:00:03.000000000 +0100 @@ -92,6 +92,18 @@ \fB-t\fR n Give up on the \fI$TCPREMOTEINFO\fR connection attempt after n seconds. Default: 26. +.TP +\fB-4\fR +Attempt IPv4 connections only. Default is to use what's available (see +.B AI_ADDRCONFIG +in +.BR getaddrinfo(3) ). +.TP +\fB-6\fR +Attempt IPv6 connections only. Default is to use what's available (see +.B AI_ADDRCONFIG +in +.BR getaddrinfo(3) ). .SH SEE ALSO tcp-environ(5), tcp-qualify(5), diff -rNU3 ucspi-tcp-0.88/ucspi-tcp-0.88-man/tcpserver.8 ucspi-tcp-0.88.ipv6/ucspi-tcp-0.88-man/tcpserver.8 --- ucspi-tcp-0.88/ucspi-tcp-0.88-man/tcpserver.8 2000-06-29 06:55:07.000000000 +0200 +++ ucspi-tcp-0.88.ipv6/ucspi-tcp-0.88-man/tcpserver.8 2012-02-17 10:02:11.000000000 +0100 @@ -135,6 +135,19 @@ .TP \fB-t\fR n Give up on the \fI$TCPREMOTEINFO\fR connection attempt after n seconds. Default: 26. +.TP +\fB-4\fR +Listen on an IPv4 socket only. Default is to use what's available (see +.B AI_ADDRCONFIG +in +.BR getaddrinfo(3) ). +.TP +\fB-6\fR +Listen on an IPv6 socket only. Default is to use what's available (see +.B AI_ADDRCONFIG +in +.BR getaddrinfo(3) ). + .SH SEE ALSO tcp-environ(5), tcprules(8), --- ucspi-tcp-0.88/ucspi-tcp-0.88-man/tcprules.8 2000-06-29 08:01:45.000000000 +0200 +++ ucspi-tcp-0.88.systemd/ucspi-tcp-0.88-man/tcprules.8 2012-02-22 12:58:49.000000000 +0100 @@ -36,6 +36,12 @@ .PP \fBAddresses:\fR .PP +In the following, \fI$TCPREMOTEIP\fR contains either an IPv4 address in +dotted quad notation, or an IPv6 address written as 32 lowercase hex digits. +The environment variable \fI$TCPREMOTEIP\fR typically contains IPv6 addresses +in standard notation, which is automatically translated to the hex +representation for looking up rules. +.PP \fBtcpserver\fR looks for rules with various addresses: .TP \fB$TCPREMOTEINFO@$TCPREMOTEIP\fR, @@ -49,7 +55,11 @@ \fB=$TCPREMOTEHOST\fR, if \fI$TCPREMOTEHOST\fR is set; .PP -shorter and shorter prefixes of \fI$TCPREMOTEIP\fR ending with a dot; +shorter and shorter prefixes of \fI$TCPREMOTEIP\fR ending with a dot if +\fI$TCPREMOTEIP\fR is an IPv4 address; +.PP +shorter and shorter prefixes of \fI$TCPREMOTEIP\fR if +\fI$TCPREMOTEIP\fR is an IPv6 address; .PP shorter and shorter suffixes of \fI$TCPREMOTEHOST\fR starting with a dot, preceded by =>, if \fI$TCPREMOTEHOST\fR is set; @@ -68,6 +78,9 @@ 18.23.0.32:second :third 127.:fourth + 0000000000000000000000000000001:fifth + 00:sixth + 200100bf:seventh .PP If \fI$TCPREMOTEIP\fR is 10.119.75.38, \fBtcpserver\fR will follow the third instructions. @@ -81,6 +94,16 @@ If \fI$TCPREMOTEIP\fR is 127.0.0.1 and \fI$TCPREMOTEINFO\fR is joe, \fBtcpserver\fR will follow the first instructions. .PP +If \fI$TCPREMOTEIP\fR is ::1, \fBtcpserver\fR will follow the +fifth instruction. +.PP +If \fI$TCPREMOTEIP\fR is ::2, \fBtcpserver\fR will follow the +sixth instruction. +.PP +If \fI$TCPREMOTEIP\fR is 2001:bf:1234::2525, \fBtcpserver\fR will follow the +seventh instruction. +.PP +.PP You can use \fBtcprulescheck\fR to see how \fBtcpserver\fR will interpret rules in \fIcdb\fR. .PP
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor