Skip to content

Commit

Permalink
- crypto updated to openssl 1.0.1
Browse files Browse the repository at this point in the history
- sending eof when write eof is true fixing nosteg_rr.
- http steg is working.
  • Loading branch information
vmon committed Dec 31, 2018
1 parent 8a3702a commit 9ab3787
Show file tree
Hide file tree
Showing 42 changed files with 1,403 additions and 688 deletions.
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,18 @@
#/config-aux/missing
#/config-aux/compile
config-aux/ltmain.sh
config-aux/*.m4
#config-aux/*.m4 boost files are here
config-aux/config.sub
config-aux/config.guess
#automatcally generated by libtool
config-aux/libtool.m4
config-aux/ltoptions.m4
config-aux/ltsugar.m4
config-aux/ltversion.m4
config-aux/lt~obsolete.m4

#for some reason our m4 files are in config-aux folder
/m4

/protolist.cc
/steglist.cc
Expand Down
19 changes: 13 additions & 6 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ libstegotorus_a_SOURCES = \
src/socks.cc \
src/steg.cc \
src/util.cc \
src/strncasestr.cc \
src/util-net.cc \
src/evbuf_util.cc \
src/util-net.cc \
src/strncasestr.cc \
src/curl_util.cc \
src/transparent_proxy.cc \
$(PROTOCOLS) $(STEGANOGRAPHERS)
Expand All @@ -71,7 +71,9 @@ nodist_libstegotorus_a_SOURCES = protolist.cc steglist.cc
stegotorus_SOURCES = \
src/main.cc

stegotorus_LDADD = libstegotorus.a $(lib_LIBS)
stegotorus_LDADD = libstegotorus.a $(lib_LIBS) \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB)

# prevent stegotorus from being linked if s-a-g fails
# it is known that $(lib_LIBS) contains nothing that needs to be depended upon
Expand Down Expand Up @@ -115,7 +117,9 @@ unittests_SOURCES = \

nodist_unittests_SOURCES = unitgrplist.cc

unittests_LDADD = libstegotorus.a $(lib_LIBS)
unittests_LDADD = libstegotorus.a $(lib_LIBS) \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB)

GTEST_SOURCES = \
src/test/gtest/gtest_main.cc \
Expand All @@ -127,7 +131,10 @@ g_unittests_SOURCES = \
src/test/steg_test/payload_scraper_unittest.cc


g_unittests_LDADD = libstegotorus.a $(lib_LIBS) -lpthread
g_unittests_LDADD = libstegotorus.a $(lib_LIBS) -lpthread \
$(BOOST_FILESYSTEM_LIB) \
$(BOOST_SYSTEM_LIB)


#g_unittests_LDFLAGS = \
# -lgtest_main \
Expand Down Expand Up @@ -182,7 +189,7 @@ EXTRA_DIST = doc \
src/test/test_tl.py

#tester_proxy_CPPFLAGS = $(libevent_openssl_CPPFLAGS) $(libssl_CPPFLAGS)
tester_proxy_LDADD = $(libevent_openssl_LIBS) $(libssl_LIBS)
tester_proxy_LDADD = $(libevent_openssl_LIBS) $(libssl_LIBS) $(lib_LIBS)

tester_proxy_SOURCES = src/test/tester_proxy/tester_proxy.cc

Expand Down
1 change: 0 additions & 1 deletion conf.d/chop-http-trace-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ protocols:
passphrase: "correct passphrase"
trace-packets: true
enable-retransmit: true
cover-server: 66.135.46.119:80 #funny cat
up-address: 127.0.0.1:5001
stegs:
- name: "http"
Expand Down
2 changes: 1 addition & 1 deletion conf.d/chop-nosteg-client.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
####################################
# process options
####################################
log-min-severity: info
log-min-severity: debug
timestamp-logs: true

####################################
Expand Down
17 changes: 17 additions & 0 deletions conf.d/chop-nosteg-rr-client.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
####################################
# process options
####################################
log-min-severity: debug
timestamp-logs: true

####################################
# protocol specification for client
####################################
protocols:
- name: "chop"
mode: client
up-address: 127.0.0.1:4999
disable-retransmit: true
stegs:
- name: nosteg_rr
down-address: 127.0.0.1:5000
17 changes: 17 additions & 0 deletions conf.d/chop-nosteg-rr-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
####################################
# process options
####################################
log-min-severity: debug
timestamp-logs: true

####################################
# protocol specification for client
####################################
protocols:
- name: "chop"
mode: server
up-address: 127.0.0.1:5001
disable-retransmit: true
stegs:
- name: nosteg_rr
down-address: 127.0.0.1:5000
17 changes: 17 additions & 0 deletions conf.d/chop-nosteg-server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
####################################
# process options
####################################
log-min-severity: info
timestamp-logs: true

####################################
# protocol specification for client
####################################
protocols:
- name: "chop"
mode: server
up-address: 127.0.0.1:5001
disable-retransmit: true
stegs:
- name: nosteg
down-address: 127.0.0.1:5000
Loading

0 comments on commit 9ab3787

Please sign in to comment.