[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #27620 [Core Tor/Tor]: Use trunnel to parse and generate SOCKS wire format in tor-resolve



#27620: Use trunnel to parse and generate SOCKS wire format in tor-resolve
-------------------------------------------------+-------------------------
 Reporter:  rl1987                               |          Owner:  rl1987
     Type:  enhancement                          |         Status:
                                                 |  merge_ready
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.0.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  unspecified
 Severity:  Normal                               |     Resolution:
 Keywords:  trunnel wireformat socks tor-        |  Actual Points:
  resolve security                               |
Parent ID:                                       |         Points:
 Reviewer:  dgoulet                              |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by nickm):

 Made a squashed & rebased version as
 https://github.com/torproject/tor/pull/556 .

 So far the only suggestions I have are:

   * We should be using strlcpy, not strncpy.
   * If we allow socks4_server_reply_version to be zero, then we'll need to
 explicitly set it to 4 in proto_socks.c so that we're sending the right
 value from Tor, right?
   * Do we have a ticket for adding tests for tor-resolve?

 I'll make all the above changes before merging, if the CI passes.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27620#comment:12>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs