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

[tor-bugs] #6411 [Tor Hidden Services]: Adding hidden services through control socket



#6411: Adding hidden services through control socket
-------------------------------------+--------------------------------------
 Reporter:  kevinevans               |          Owner:                  
     Type:  enhancement              |         Status:  new             
 Priority:  trivial                  |      Milestone:                  
Component:  Tor Hidden Services      |        Version:  Tor: 0.2.3.19-rc
 Keywords:  hidden service, control  |         Parent:                  
   Points:                           |   Actualpoints:                  
-------------------------------------+--------------------------------------
 Okay, first off, I should say: 1) I'm relatively new to Tor and 2) I don't
 know C that well.

 A while back, I thought that it was a bad idea to have the hidden service
 hostname/privkey being written to the filesystem, unless it's either a
 tmpfs or an encrypted volume. For programs like Torchat (or alike), it
 would seem better to be able to hide the private key/hostname in an
 encrypted file (for example) versus in a filesystem.

 In the patch, I have added an ADDSERVICE command (after it's
 authenticated), and its arguments are:
 [hostname] [private key] [vport0] [rport0] [vport1] [rport1] ... [vport*]
 [rport*]

 I wasn't sure about which status codes to use, so I just used whatever.
 The code is rather inefficient, frankly because I'm awful at C and I'm
 probably causing a memory leak by not freeing some memory.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6411>
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