SRI-CSL/stegotorus

[warn] no protocol is specied. at least one protocol is needed. (when I try to run with --config-file= flag)

runfast7212 opened this issue · 8 comments

Hi!

I don't know what is wrong when I run

./stegotorus --config-file=/path-to-file/stegotorus-client.conf

Warń-Message:
[info] finished loading conf
[warn] no protocol is specied. at least one protocol is needed.

I have set the config file as follows:

protocol chop
mode socks
up-address 127.0.0.1:1080
down-address 128.18.9.70:8080 http

Please help, thanks!

This may help

@ ianamason,

The link which you have posted I have already read through.

I can't get "stegotorus" to work and it would be nice if someone here could help me.

When I run "./stegotorus --config-file=/path-to-file/stegotorus-client.conf".

the warning message appears in my terminal:

[info] finished loading conf
warn] no protocol is specified. at least one protocol is needed.

I have adapted the stegotorus-client.conf and under "protocol specification" I have added

protocol chop

I can't figure out why the warning message "[warn] no protocol is specified. at least one protocol is needed" appears when I have set "protocol chop" in the "stegotorus-client.conf".

How can I solve this?

Hows your memory @yegnev?

@ yegnev,

ok, I did it with the StegoTorus version from Tor Project. Had no errors on compile with that version.

With StegoTorus version from SRI-CSL I cannot compile and install because errors occur.

Here's what I've done with StegoTorus Version of SRI-CSL:

INSTALLED packages:
libyaml-cpp0.6
libyaml-cpp-dev
libjansson-dev

$ git clone https://github.com/SRI-CSL/stegotorus.git
$ cd stegotorus

$ autoreconf -i
$ ./configure --enable-silent-rules
$ make

error:
make all-am
make[1]: Entering directory '/home/user/tools/stegotorus'
CXX src/main.o
In file included from src/main.cc:6:
src/util.h:108:13: error: the program should also define ‘void operator delete(void*, std::size_t)’ [-Werror=sized-deallocation]
108 | inline void operator delete(void p)
| ^~~~~~~~
src/util.h:110:13: error: the program should also define ‘void operator delete [](void
, std::size_t)’ [-Werror=sized-deallocation]
110 | inline void operator delete[](void *p)
| ^~~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:986: src/main.o] Error 1
make[1]: Leaving directory '/home/user/tools/stegotorus'
make: *** [Makefile:639: all] Error 2

How to fix that?

make -vinod

GNU Make 4.2.1
Built for x86_64-pc-linux-gnu

Hey guys,

I still can't compile Stegotorus from you myself.

The source from Stegetorus @ Tor project can be
compile it myself without problems.

make

make all-am
make[1]: Entering directory '/path-to/stegotorus'
CXX src/main.o
In file included from src/main.cc:6:
src/util.h:108:13: error: the program should also define ‘void operator delete(void*, std::size_t)’ [-Werror=sized-deallocation]
108 | inline void operator delete(void p)
| ^~~~~~~~
src/util.h:110:13: error: the program should also define ‘void operator delete [](void
, std::size_t)’ [-Werror=sized-deallocation]
110 | inline void operator delete[](void *p)
| ^~~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:986: src/main.o] Error 1
make[1]: Leaving directory '/path-to/stegotorus'
make: *** [Makefile:639: all] Error 2

I have no idea how to fix this error on compile Stegotorus.

I ask for help. Thanks!