mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
b0e92634d8
This defense will cause Cisco, Juniper, Fortinet, and other routers operating in the default configuration to collapse netflow records that would normally be split due to the 15 second flow idle timeout. Collapsing these records should greatly reduce the utility of default netflow data for correlation attacks, since all client-side records should become 30 minute chunks of total bytes sent/received, rather than creating multiple separate records for every webpage load/ssh command interaction/XMPP chat/whatever else happens to be inactive for more than 15 seconds. The defense adds consensus parameters to govern the range of timeout values for sending padding packets, as well as for keeping connections open. The defense only sends padding when connections are otherwise inactive, and it does not pad connections used solely for directory traffic at all. By default it also doesn't pad inter-relay connections. Statistics on the total padding in the last 24 hours are exported to the extra-info descriptors.
51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
noinst_LIBRARIES += \
|
|
src/trunnel/libor-trunnel.a
|
|
|
|
if UNITTESTS_ENABLED
|
|
noinst_LIBRARIES += \
|
|
src/trunnel/libor-trunnel-testing.a
|
|
endif
|
|
|
|
AM_CPPFLAGS += -I$(srcdir)/src/ext/trunnel -I$(srcdir)/src/trunnel
|
|
|
|
TRUNNELINPUTS = \
|
|
src/trunnel/ed25519_cert.trunnel \
|
|
src/trunnel/link_handshake.trunnel \
|
|
src/trunnel/pwbox.trunnel \
|
|
src/trunnel/channelpadding_negotiation.trunnel
|
|
|
|
TRUNNELSOURCES = \
|
|
src/ext/trunnel/trunnel.c \
|
|
src/trunnel/ed25519_cert.c \
|
|
src/trunnel/link_handshake.c \
|
|
src/trunnel/pwbox.c \
|
|
src/trunnel/hs/cell_common.c \
|
|
src/trunnel/hs/cell_establish_intro.c \
|
|
src/trunnel/hs/cell_introduce1.c \
|
|
src/trunnel/channelpadding_negotiation.c
|
|
|
|
TRUNNELHEADERS = \
|
|
src/ext/trunnel/trunnel.h \
|
|
src/ext/trunnel/trunnel-impl.h \
|
|
src/trunnel/trunnel-local.h \
|
|
src/trunnel/ed25519_cert.h \
|
|
src/trunnel/link_handshake.h \
|
|
src/trunnel/pwbox.h \
|
|
src/trunnel/hs/cell_common.h \
|
|
src/trunnel/hs/cell_establish_intro.h \
|
|
src/trunnel/hs/cell_introduce1.h \
|
|
src/trunnel/channelpadding_negotiation.h
|
|
|
|
src_trunnel_libor_trunnel_a_SOURCES = $(TRUNNELSOURCES)
|
|
src_trunnel_libor_trunnel_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS)
|
|
|
|
src_trunnel_libor_trunnel_testing_a_SOURCES = $(TRUNNELSOURCES)
|
|
src_trunnel_libor_trunnel_testing_a_CPPFLAGS = -DTRUNNEL_LOCAL_H $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
|
|
src_trunnel_libor_trunnel_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
|
|
|
|
noinst_HEADERS+= $(TRUNNELHEADERS)
|
|
|
|
EXTRA_DIST += \
|
|
src/trunnel/README
|
|
|