[Pkg-privacy-commits] [onioncat] 304/340: man page updated. unidirectional mode set to default.
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:51 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository onioncat.
commit 102b4f1e995eda20c973872ee6c1e0d8d32d0166
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date: Mon May 20 16:56:03 2013 +0000
man page updated. unidirectional mode set to default.
git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@556 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
configure | 22 +++++++++++-----------
man/ocat.1 | 12 ++++++++++++
src/ocat.c | 4 ++--
src/ocatsetup.c | 2 +-
4 files changed, 26 insertions(+), 14 deletions(-)
diff --git a/configure b/configure
index 535c824..c74852c 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for onioncat 0.2.2.r555.
+# Generated by GNU Autoconf 2.68 for onioncat 0.2.2.r556.
#
# Report bugs to <rahra at cypherpunk.at>.
#
@@ -559,8 +559,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='onioncat'
PACKAGE_TARNAME='onioncat'
-PACKAGE_VERSION='0.2.2.r555'
-PACKAGE_STRING='onioncat 0.2.2.r555'
+PACKAGE_VERSION='0.2.2.r556'
+PACKAGE_STRING='onioncat 0.2.2.r556'
PACKAGE_BUGREPORT='rahra at cypherpunk.at'
PACKAGE_URL=''
@@ -1221,7 +1221,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures onioncat 0.2.2.r555 to adapt to many kinds of systems.
+\`configure' configures onioncat 0.2.2.r556 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1291,7 +1291,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of onioncat 0.2.2.r555:";;
+ short | recursive ) echo "Configuration of onioncat 0.2.2.r556:";;
esac
cat <<\_ACEOF
@@ -1384,7 +1384,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-onioncat configure 0.2.2.r555
+onioncat configure 0.2.2.r556
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@@ -1694,7 +1694,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by onioncat $as_me 0.2.2.r555, which was
+It was created by onioncat $as_me 0.2.2.r556, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@@ -2509,7 +2509,7 @@ fi
# Define the identity of the package.
PACKAGE='onioncat'
- VERSION='0.2.2.r555'
+ VERSION='0.2.2.r556'
cat >>confdefs.h <<_ACEOF
@@ -2553,7 +2553,7 @@ ac_config_headers="$ac_config_headers config.h"
-$as_echo "#define SVN_REVISION \"555\"" >>confdefs.h
+$as_echo "#define SVN_REVISION \"556\"" >>confdefs.h
@@ -5086,7 +5086,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by onioncat $as_me 0.2.2.r555, which was
+This file was extended by onioncat $as_me 0.2.2.r556, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -5152,7 +5152,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-onioncat config.status 0.2.2.r555
+onioncat config.status 0.2.2.r556
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"
diff --git a/man/ocat.1 b/man/ocat.1
index 7dec1b3..ffbe7ca 100644
--- a/man/ocat.1
+++ b/man/ocat.1
@@ -137,6 +137,9 @@ connections. If you plan to also receive connections (e.g. because you provide
a service or you use software which opens sockets for incoming connections
like Bitorrent) you MUST configure a hidden service and supply its hostname to
OnionCat on the command line.
+Please note that this option does only work if the remote OC does not run in
+unidirectional mode which is default since SVN version 555 (see option
+\fB\-U\fP).
.TP
\fB\-s\fP \fIport\fP
Set OnionCat's virtual hidden service port to \fIport\fP. This should usually
@@ -153,6 +156,15 @@ TUN device file to open for creation of TUN interface. It defaults to
mode is in use. Setup of a TUN device needs root permissions. OnionCat
automatically changes userid after the TUN device is set up correctly.
.TP
+\fB\-U\fP
+Deactivate unidirectional mode. Before SVN version 555 OnionCat ran only in
+bidirectional mode. This is that a connection to another OC was used for
+outgoing \fIand\fP incoming packets. Since this could be a security risk under
+certain conditions, unidirectional mode was implemented in SVN r555 and set to
+default. With this option bidirectional mode can be enabled again. Please note
+that this does not interoperate with option \fB\-R\fP if the remote OC is
+working in unidirectional mode.
+.TP
\fB\-u\fP \fIusername\fP
\fIusername\fP under which ocat should run. The uid is changed as soon as possible
after tun device setup.
diff --git a/src/ocat.c b/src/ocat.c
index 2ad5d80..69936e0 100644
--- a/src/ocat.c
+++ b/src/ocat.c
@@ -47,7 +47,7 @@ void usage(const char *s)
#ifndef WITHOUT_TUN
" -T <tun_device> path to tun character device, default = \"%s\"\n"
#endif
- " -U connections are unidirectional\n"
+ " -U disable unidirectional mode\n"
" -u <user> change UID to user, default = \"%s\"\n"
" -4 enable IPv4 support (default = %d)\n"
, CNF(version), s,
@@ -421,7 +421,7 @@ int parse_opt(int argc, char *argv[])
#endif
case 'U':
- CNF(unidirectional) = 1;
+ CNF(unidirectional) = 0;
break;
case 'u':
diff --git a/src/ocatsetup.c b/src/ocatsetup.c
index 90dc6b9..9a3d53d 100644
--- a/src/ocatsetup.c
+++ b/src/ocatsetup.c
@@ -123,7 +123,7 @@ struct OcatSetup setup_ =
// sig_usr1, clear_stats
0, 0,
// unidirectional
- 0,
+ 1,
// hosts_lookup
1
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git
More information about the Pkg-privacy-commits
mailing list