Changeset 3925


Ignore:
Timestamp:
Nov 22, 2007, 4:15:21 AM (14 years ago)
Author:
charles
Message:

Change the default port from 9090 to 51413 to get in compliance with IANA's port number assignment scheme. (1024 through 49151 are reserved)

Location:
branches/0.9x
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9x/cli/transmissioncli.1

    r3467 r3925  
    8484.It Fl p, -port Ar port
    8585Specifies an alternate port for the client to listen on.  The default is
    86 9090.
     8651413.
    8787.It Fl u, -upload Ar upload-rate
    8888Specifies the maximum upload rate in kB/s, which defaults to 20.  The
  • branches/0.9x/doc/ipcproto.txt

    r3403 r3925  
    3535An example version 1 message:
    3636
    37 0000000Ed4:porti9090ee
    38         {"port": 9090}
     370000000Ed4:porti51413ee
     38        {"port": 51413}
    3939
    4040For version 2 the message payload is a bencoded list containing a
     
    354354Format:  int between 0 and 65535
    355355Replies: "succeeded", "failed", "not-supported", "bad-format"
    356 Example: 4:porti9090e
    357          "port", 9090
     356Example: 4:porti51413e
     357         "port", 51413
    358358Details: Change the port the server uses to listen for incoming peer
    359359         connections.
  • branches/0.9x/libtransmission/transmission.h

    r3897 r3925  
    6161#endif
    6262
    63 #define TR_DEFAULT_PORT   9090
     63#define TR_DEFAULT_PORT 51413
    6464
    6565enum
  • branches/0.9x/macosx/Defaults.plist

    r3224 r3925  
    1414        <true/>
    1515        <key>BindPort</key>
    16         <integer>9090</integer>
     16        <integer>51413</integer>
    1717        <key>CheckDownload</key>
    1818        <false/>
  • branches/0.9x/misc/transmissioncli.zsh

    r1098 r3925  
    66'(-d --download)'{-d,--download}'[Maximum download rate (nolimit = -1) (default = -1)]:integer:' \
    77'(-n --net-traversal)'{-n,--nat-traversal}'[Attempt NAT traversal using NAT-PMP or UPnP IGD]' \
    8 '(-p --port)'{-p,--port}'[Port we should listen on (default = 9090)]:integer:' \
     8'(-p --port)'{-p,--port}'[Port we should listen on (default = 51413)]:integer:' \
    99'(-s --scrape)'{-s,--scrape}'[Print counts of seeders/leechers and exit]' \
    1010'(-u --upload)'{-u,--upload}'[Maximum upload rate (nolimit = -1) (default = 20)]:integer:' \
  • branches/0.9x/wx/xmission.cc

    r3426 r3925  
    512512    long port;
    513513    wxString key = _T("port");
    514     if( !myConfig->Read( key, &port, 9090 ) )
     514    if( !myConfig->Read( key, &port, TR_DEFAULT_PORT ) )
    515515        myConfig->Write( key, port );
    516516    tr_setBindPort( handle, port );
Note: See TracChangeset for help on using the changeset viewer.