[tor-bugs] #22619 [Core Tor/Tor]: SessionGroup = Reading config failed

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 15 17:04:21 UTC 2017


#22619: SessionGroup = Reading config failed
-------------------------------------------------+-------------------------
 Reporter:  acceleraTor                          |          Owner:
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  SessionGroup configuration           |  Actual Points:
  SocksPort option                               |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by acceleraTor):

 yes this happens in previous versions too.
 SessionGroup valid options should be set from
 SessionGroup=0
 SessionGroup=1
 SessionGroup=2
 SessionGroup=3
 SessionGroup=4
 SessionGroup=5
 SessionGroup=6
 SessionGroup=7
 SessionGroup=8
 SessionGroup=9


 as i understand config.c;        if (!strcasecmpstart(elt,
 "SessionGroup=")) {
           int group = (int)tor_parse_long(elt+strlen("SessionGroup="),
                                           10, 0, INT_MAX, &ok, NULL);
           if (!ok || !allow_no_stream_options) {
             log_warn(LD_CONFIG, "Invalid %sPort option '%s'",
                      portname, escaped(elt));
             goto err;
           }
           if (sessiongroup >= 0) {
             log_warn(LD_CONFIG, "Multiple SessionGroup options on %sPort",
                      portname);
             goto err;
           }
           sessiongroup = group;
           continue;
         }


 reproduce by create torrc with content:
 SocksPort 9150 SessionGroup=1
 start tor --verify-config

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


More information about the tor-bugs mailing list