tor/src/or/Makefile.nmake
Mike Perry b0e92634d8 Netflow record collapsing defense.
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.
2017-05-08 13:49:21 -04:00

80 lines
1.6 KiB
Makefile

all: tor.exe
CFLAGS = /O2 /MT /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common \
/I ..\ext
LIBS = ..\..\..\build-alpha\lib\libevent.lib \
..\..\..\build-alpha\lib\libcrypto.lib \
..\..\..\build-alpha\lib\libssl.lib \
..\..\..\build-alpha\lib\libz.lib \
ws2_32.lib advapi32.lib shell32.lib \
crypt32.lib gdi32.lib user32.lib
LIBTOR_OBJECTS = \
addressmap.obj \
buffers.obj \
channel.obj \
channelpadding.obj \
channeltls.obj \
circpathbias.obj \
circuitbuild.obj \
circuitlist.obj \
circuitmux.obj \
circuitmux_ewma.obj \
circuitstats.obj \
circuituse.obj \
command.obj \
config.obj \
config_codedigest.obj \
confparse.obj \
connection.obj \
connection_edge.obj \
connection_or.obj \
control.obj \
cpuworker.obj \
directory.obj \
dirserv.obj \
dirvote.obj \
dns.obj \
dnsserv.obj \
ext_orport.obj \
fp_pair.obj \
entrynodes.obj \
geoip.obj \
hibernate.obj \
main.obj \
microdesc.obj \
networkstatus.obj \
nodelist.obj \
ntmain.obj \
onion.obj \
onion_fast.obj \
onion_ntor.obj \
onion_tap.obj \
policies.obj \
reasons.obj \
relay.obj \
rendclient.obj \
rendcommon.obj \
rendmid.obj \
rendservice.obj \
rephist.obj \
replaycache.obj \
router.obj \
routerlist.obj \
routerparse.obj \
routerset.obj \
scheduler.obj \
statefile.obj \
status.obj \
transports.obj
libtor.lib: $(LIBTOR_OBJECTS)
lib $(LIBTOR_OBJECTS) /out:$@
tor.exe: libtor.lib tor_main.obj
$(CC) $(CFLAGS) $(LIBS) libtor.lib ..\common\*.lib ..\ext\*.lib tor_main.obj /Fe$@
clean:
del $(LIBTOR_OBJECTS) tor_main.obj *.lib tor.exe