Opened 5 years ago

Closed 4 years ago

#7910 closed enhancement (implemented)

Connection utilities

Reported by: atagar Owned by: atagar
Priority: High Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords: controller
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Arm's mostly-cross-platform connection utilities are one of its most used features. We should migrate those utilities (with tests!) to stem to make them available to other applications...

https://gitweb.torproject.org/arm.git/blob/HEAD:/src/util/connections.py

Bonus points if we add OpenBSD support when we do this (mischief had some suggestions for this on #7813).

Child Tickets

Change History (3)

comment:1 Changed 5 years ago by atagar

Keywords: controller added

comment:2 Changed 4 years ago by atagar

A test case we should account for (which arm presently fails at) is asterisk address from FreeBSD's sockstat:

13:12 < atagar> sockstat -4c | grep 'tor *718 | less
13:19 < Mathilde> you were right 
13:19 < Mathilde> _tor     tor        718   919 tcp4  192.168.1.15:48934    *:443
13:19 < Mathilde> and 
13:19 < Mathilde> _tor     tor        718   1654 tcp4 192.168.1.15:45073    *:443

comment:3 Changed 4 years ago by atagar

Resolution: implemented
Status: newclosed
Note: See TracTickets for help on using tickets.