Opened 9 years ago

Closed 22 months ago

#2043 closed defect (wontfix)

soat with --target never ends?

Reported by: arma Owned by: mikeperry
Priority: Medium Milestone:
Component: Core Tor/Torflow Version:
Severity: Keywords: Bounty
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


I've been running

bwauth     679 10.8  2.6 302752 157672 pts/43  Sl   Sep30 1443:58 /usr/bin/python ./ --http --target

for the past week and a half.

I just checked its logs, and it's got things like

WARN[Sun Oct 10 04:25:39 2010]:A SOCKS5 error 2 occured for (2, 'connection not allowed by ruleset')
INFO[Sun Oct 10 04:25:39 2010]:Completed HTTP Reqest for:
DEBUG[Sun Oct 10 04:25:39 2010]:Removed from our local port list
DEBUG[Sun Oct 10 04:25:39 2010]:0.000572919845581 STREAM 119366 FAILED 0 80 REASON=EXITPOLICY
DEBUG[Sun Oct 10 04:25:39 2010]:No last exit.
NOTICE[Sun Oct 10 04:25:39 2010]:Stream 119366 FAILED with EXITPOLICY
NOTICE[Sun Oct 10 04:25:39 2010]:We had no exit node to test, skipping to the next test.
DEBUG[Sun Oct 10 04:25:39 2010]:0.000684976577759 STREAM 119366 CLOSED 0 80 REASON=EXITPOLICY
NOTICE[Sun Oct 10 04:25:39 2010]:Stream 119366 CLOSED with EXITPOLICY

Sure enough, the Tor log agrees:

Oct 10 04:26:29.306 [info] connection_ap_handshake_send_begin(): Sending relay cell 0 to begin stream 48972.
Oct 10 04:26:29.306 [info] connection_ap_handshake_send_begin(): Address/port sent, ap socket 11, n_circ_id 38707
Oct 10 04:26:30.349 [info] connection_ap_process_end_not_open(): Address '' refused due to 'exit policy failed'. Considering retrying.
Oct 10 04:26:30.349 [info] addressmap_register(): Addressmap: (re)mapped '' to ''
Oct 10 04:26:30.349 [info] addressmap_rewrite(): Addressmap: rewriting "" to ""

Does soat not know to exit when it's done with its scans?

Child Tickets

Change History (3)

comment:1 Changed 8 years ago by mikeperry

Keywords: Bounty added

comment:2 Changed 8 years ago by aagbsn

I found at least one bug that was preventing progress from being made in --target mode.
pickle.dump(FixedTargetHTTPTest) was failing because the attribute 'compare_funcs' (introduced roughly 5 months ago, fwiw) contains references to instance methods.

The fix/hack here resolves the pickle issue, and my soat appears to be making progress.

p.s. is it right to use the default num_tests_per_node = 5 for --target mode? I set --pernode=1 to speed up the scan.

comment:3 Changed 22 months ago by tom

Resolution: wontfix
Status: newclosed

ExitAuthority is not maintained anymore

Note: See TracTickets for help on using tickets.