* Unify/Modernize TOS to DSCP standards The set of pre-named TOS values are now renamed to the latest DSCP standards, with traffic classes and everything exciting. To keep everything in the same place, a segment has been added to net.h to keep the currently named values. A result of these changes is that "lowcost" is probably no longer harmless, as it now encourages the router to preferentially drop the packages when bandwidth requires so. "lowdelay" is assigned to a pretty high AF class for SIP and stuff. I am not sure at all about the "throughput" assignment. I mean, the whole point of DSCP-fication is translating from the old ToS bits to a more precedence-based notation, and precedence is supposed to lie beside the old 4 ToS bits... A funny interaction between the AFxy and the old ToS fields lies in the old "reliability" (0x08) field. All odd numbers of y (1, 3 : low, high) switches it on. If you spend 5 more minutes on it you can probably come up with "pun" values that hold similar meanings in DSCP and Prec/ToS. By removing the IPv6 override, I should have kind of satisfied the #692 request. Fixes: #692 |
||
---|---|---|
.tx | ||
cli | ||
cmake | ||
daemon | ||
dist/msi | ||
docker/code_style | ||
extras | ||
gtk | ||
libtransmission | ||
m4 | ||
macosx | ||
po | ||
qt | ||
third-party | ||
Transmission.xcodeproj | ||
utils | ||
web | ||
.gitignore | ||
.gitmodules | ||
.jsbeautifyrc | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
CMakeLists.txt | ||
code_style.sh | ||
configure.ac | ||
COPYING | ||
docker-compose.yml | ||
Makefile.am | ||
NEWS | ||
README.md | ||
transmission-gtk.spec.in | ||
uncrustify.cfg | ||
update-version-h.sh |
About
Transmission is a fast, easy, and free BitTorrent client. It comes in several flavors:
- A native Mac OS X GUI application
- GTK+ and Qt GUI applications for Linux, BSD, etc.
- A headless daemon for servers and routers
- A web UI for remote controlling any of the above
Visit https://transmissionbt.com/ for more information.
Command line interface notes
Transmission is fully supported in transmission-remote, the preferred cli client.
Three standalone tools to examine, create, and edit .torrent files exist: transmission-show, transmission-create, and transmission-edit, respectively.
Prior to development of transmission-remote, the standalone client transmission-cli was created. Limited to a single torrent at a time, transmission-cli is deprecated and exists primarily to support older hardware dependent upon it. In almost all instances, transmission-remote should be used instead.
Different distributions may choose to package any or all of these tools in one or more separate packages.
Building
Transmission has an Xcode project file (Transmission.xcodeproj) for building in Xcode.
For a more detailed description, and dependencies, visit: https://github.com/transmission/transmission/wiki
Building a Transmission release from the command line
$ tar xf transmission-2.92.tar.xz
$ cd transmission-2.92
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
Building Transmission from the nightly builds
Download a tarball from https://build.transmissionbt.com/job/trunk-linux/ and follow the steps from the previous section.
If you're new to building programs from source code, this is typically easier than building from Git.
Building Transmission from Git (first time)
$ git clone https://github.com/transmission/transmission Transmission
$ cd Transmission
$ git submodule update --init
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install
Building Transmission from Git (updating)
$ cd Transmission/build
$ make clean
$ git pull --rebase --prune
$ git submodule update
$ cmake ..
$ make
$ sudo make install
Contributing
Code Style
You would want to setup your editor to make use of uncrustify.cfg and .jsbeautifyrc configuration files located in the root of this repository.
If for some reason you are unwilling or unable to do so, there is a shell script which you could run either directly or via docker-compose:
$ ./code_style.sh
or
$ docker-compose build --pull
$ docker-compose run --rm code_style