[tor-bugs] #27044 [Core Tor/Tor]: be more strict in parsing HiddenServicePort

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 20 14:01:17 UTC 2018


#27044: be more strict in parsing HiddenServicePort
--------------------------------+------------------------------------
 Reporter:  toralf              |          Owner:  (none)
     Type:  defect              |         Status:  needs_revision
 Priority:  Medium              |      Milestone:  Tor: 0.3.5.x-final
Component:  Core Tor/Tor        |        Version:
 Severity:  Normal              |     Resolution:
 Keywords:  tor-hs, tor-config  |  Actual Points:
Parent ID:                      |         Points:
 Reviewer:  dgoulet             |        Sponsor:
--------------------------------+------------------------------------
Changes (by dgoulet):

 * keywords:   => tor-hs, tor-config
 * reviewer:   => dgoulet
 * status:  needs_review => needs_revision


Comment:

 Replying to [comment:2 rl1987]:
 > https://github.com/torproject/tor/pull/274

 The right place to check for this is in
 `rend_service_parse_port_config()`. See `config_generic_service()` which
 error if we can't parse the port line.

 (That function name is confusing, it should really be renamed to something
 generic since v2 and v3 uses it so ignore that part :).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27044#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list