tor/src/or
Nick Mathewson a4d339cf08 Make nodelist_purge avoid orphaned microdescs in rs-less nodes
We have an invariant that a node_t should have an md only if it has
a routerstatus.  nodelist_purge tried to preserve this by removing
all nodes without a routerstatus or a routerinfo.  But this left
nodes with a routerinfo and a microdesc untouched, even if they had
a routerstatus.

Bug found by frosty_un.
2011-07-07 15:28:45 -04:00
..
buffers.c Remove unused var in write_to_evbuffer_zlib 2011-07-07 11:00:51 -04:00
buffers.h Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-30 14:58:26 -04:00
circuitbuild.c Merge branch 'maint-0.2.2' 2011-07-06 00:49:11 -04:00
circuitbuild.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
circuitlist.c Merge branch 'bug3465-022' into bug3465-023 2011-06-25 15:04:07 -07:00
circuitlist.h Add a circuit_purpose_to_string() function, and use it 2011-04-27 00:01:35 -04:00
circuituse.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-06-17 15:25:18 -04:00
circuituse.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
command.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-30 15:41:46 -04:00
command.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
config_codedigest.c fix codestyle issues 2009-05-24 02:42:37 +02:00
config.c Merge branch 'bug3263' 2011-07-07 11:08:03 -04:00
config.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
connection_edge.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-07-07 09:56:01 -04:00
connection_edge.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
connection_or.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-06-17 15:04:29 -04:00
connection_or.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
connection.c Avoid double-free in bufferevent read/write cbs 2011-07-07 11:00:21 -04:00
connection.h Add, use a bufferevent-safe connection_flush() 2011-06-21 10:22:54 -04:00
control.c Make handle_control_setevents table-driven 2011-06-25 17:45:33 -07:00
control.h Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-23 01:23:53 -04:00
cpuworker.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-30 14:58:26 -04:00
cpuworker.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
directory.c Don't shadow parameters with local variables 2011-07-01 11:33:07 -04:00
directory.h Code to make clients fetch and use microdescriptors for circuit building 2011-05-05 20:54:12 -04:00
dirserv.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-07-01 12:56:40 -04:00
dirserv.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
dirvote.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
dirvote.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
dns.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
dns.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
dnsserv.c client-side DNS proxy server: reply NOTIMPL to unsupported queries 2011-06-13 13:37:45 -04:00
dnsserv.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
eventdns_tor.h Bump copyright statements to 2011 2011-01-03 11:50:39 -05:00
eventdns.c Don't shadow parameters with local variables 2011-07-01 11:33:07 -04:00
eventdns.h Use a 64-bit type to hold sockets on win64. 2011-05-23 00:17:48 -04:00
geoip.c Replace 4 more sscanf()s with tor_sscanf() 2011-07-01 11:26:30 -04:00
geoip.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
hibernate.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
hibernate.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
main.c Merge remote-tracking branch 'rransom-tor/bug3349' 2011-06-14 13:39:26 -04:00
main.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
Makefile.am Link to libevent_openssl statically when requested 2011-05-06 15:38:32 +02:00
microdesc.c Merge remote-tracking branch 'public/bug3153' 2011-07-07 11:14:04 -04:00
microdesc.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
networkstatus.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
networkstatus.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
nodelist.c Make nodelist_purge avoid orphaned microdescs in rs-less nodes 2011-07-07 15:28:45 -04:00
nodelist.h Bump copyright statements to 2011 (master) 2011-01-03 11:55:01 -05:00
ntmain.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-03-16 17:09:32 -04:00
ntmain.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
onion.c Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcmp_022 2011-05-11 16:24:29 -04:00
onion.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
or.h Merge remote-tracking branch 'public/bug3153' 2011-07-07 11:14:04 -04:00
policies.c Don't shadow parameters with local variables 2011-07-01 11:33:07 -04:00
policies.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
reasons.c Send END_STREAM_REASON_NOROUTE: clients that didn't grok it are now obsolete 2011-03-28 13:42:59 -04:00
reasons.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
relay.c Don't shadow parameters with local variables 2011-07-01 11:33:07 -04:00
relay.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
rendclient.c Merge remote-tracking branch 'rransom-tor/bug3332-v2' 2011-06-15 11:33:40 -04:00
rendclient.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
rendcommon.c Merge remote-tracking branch 'origin/maint-0.2.2' 2011-07-01 12:56:40 -04:00
rendcommon.h Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-16 14:50:53 -04:00
rendmid.c Merge remote-tracking branch 'public/3122_memcmp_squashed' into bug3122_memcmp_022 2011-05-11 16:24:29 -04:00
rendmid.h Bump copyright statements to 2011 (0.2.2) 2011-01-03 11:52:09 -05:00
rendservice.c Merge remote-tracking branch 'rransom-tor/bug3332-v2' 2011-06-15 11:33:40 -04:00
rendservice.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
rephist.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
rephist.h Merge remote branch 'origin/maint-0.2.2' 2011-03-11 23:34:46 -05:00
router.c Merge branch 'bug3263' 2011-07-07 11:08:03 -04:00
router.h Make the get_options() return const 2011-06-14 13:17:06 -04:00
routerlist.c Defensive programming: don't crash with broken node_t 2011-07-01 11:43:34 -04:00
routerlist.h Merge remote-tracking branch 'origin/maint-0.2.2' 2011-05-30 15:41:46 -04:00
routerparse.c Don't shadow parameters with local variables 2011-07-01 11:33:07 -04:00
routerparse.h Move the decl for tor_gettimofday_cache_clear to the right header 2011-03-16 17:54:48 -04:00
status.c Make the get_options() return const 2011-06-14 13:17:06 -04:00
status.h Implement more heartbeat message stuff. 2011-02-22 12:40:38 -05:00
tor_main.c Merge remote branch 'origin/maint-0.2.1' into maint-0.2.2 2011-01-03 11:51:17 -05:00