Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
runfast7212 opened this issue Apr 17, 2021 · 8 comments

Comments

@runfast7212
Copy link

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!

@ianamason
Copy link
Member

This may help

@runfast7212
Copy link
Author

@ 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?

@ianamason
Copy link
Member

Hows your memory @yegnev?

@yegnev
Copy link
Contributor

yegnev commented Apr 19, 2021 via email

@runfast7212
Copy link
Author

@ 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?

@yegnev
Copy link
Contributor

yegnev commented Apr 20, 2021 via email

@runfast7212
Copy link
Author

make -vinod

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

@runfast7212
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants