Ticket #3439: 0001-Add-port-6523-Gobby-to-LongLivedPorts.patch

File 0001-Add-port-6523-Gobby-to-LongLivedPorts.patch, 2.0 KB (added by T(A)ILS developers, 9 years ago)
  • new file changes/feature3439

    From bd0f6895a1ad4481610927447c0d023f14d08cac Mon Sep 17 00:00:00 2001
    From: intrigeri <intrigeri@boum.org>
    Date: Mon, 20 Jun 2011 15:13:00 +0200
    Subject: [PATCH] Add port 6523 (Gobby) to LongLivedPorts.
    
    ---
     changes/feature3439 |    3 +++
     doc/tor.1.txt       |    2 +-
     src/or/config.c     |    2 +-
     3 files changed, 5 insertions(+), 2 deletions(-)
     create mode 100644 changes/feature3439
    
    diff --git a/changes/feature3439 b/changes/feature3439
    new file mode 100644
    index 0000000..ee8c6f2
    - +  
     1  o Minor features:
     2    - Add port 6523 (Gobby) to LongLivedPorts. Patch by intrigeri;
     3      implements ticket 3439.
  • doc/tor.1.txt

    diff --git a/doc/tor.1.txt b/doc/tor.1.txt
    index 7d72350..6454e6b 100644
    a b The following options are useful only for clients (that is, if 
    651651    (e.g. chat and interactive shells). Circuits for streams that use these
    652652    ports will contain only high-uptime nodes, to reduce the chance that a node
    653653    will go down before the stream is finished. (Default: 21, 22, 706, 1863,
    654     5050, 5190, 5222, 5223, 6667, 6697, 8300)
     654    5050, 5190, 5222, 5223, 6523, 6667, 6697, 8300)
    655655
    656656**MapAddress** __address__ __newaddress__::
    657657    When a request for address arrives to Tor, it will rewrite it to newaddress
  • src/or/config.c

    diff --git a/src/or/config.c b/src/or/config.c
    index ca0d9b0..c885046 100644
    a b static config_var_t _option_vars[] = { 
    310310  OBSOLETE("LogFile"),
    311311  V(LogTimeGranularity,          MSEC_INTERVAL, "1 second"),
    312312  V(LongLivedPorts,              CSV,
    313                          "21,22,706,1863,5050,5190,5222,5223,6667,6697,8300"),
     313                         "21,22,706,1863,5050,5190,5222,5223,6523,6667,6697,8300"),
    314314  VAR("MapAddress",              LINELIST, AddressMap,           NULL),
    315315  V(MaxAdvertisedBandwidth,      MEMUNIT,  "1 GB"),
    316316  V(MaxCircuitDirtiness,         INTERVAL, "10 minutes"),