tor/src/or OR tor/src/core/or
or.h
#define DEFAULT_ROUTE_LEN 3
change this to
#define DEFAULT_ROUTE_LEN 6

routerparse.c
digest_algorithm_t alg = DIGEST_SHA1;
digest_algorithm_t alg = DIGEST_SHA256;
Leave this alone it will break tor if you change it.


/src/core/or/circuitstats.h

#define CBT_DEFAULT_RECENT_CIRCUITS 20
change to
#define CBT_DEFAULT_RECENT_CIRCUITS 10

#define CBT_MAX_RECENT_CIRCUTS 1000
change to
#define CBT_MAX_RECENT_CIRCUITS 100 

circuituse.c

Also change this

else if (build_state && build_state -> desired_path_len >= 4)

to be:

else if (build_state && build_state -> desired_path_len >= 7)


New versions of tor >0.3.5.x build and link the binary in tor/src/app/ as src/app/tor

If you know of any other good mods for tor post below or in the tor/vpn thread.

Thanks.