taky - A simple COT server for ATAK
-
Designed with security in mind!
- First class SSL support with client keys!
- Data Package Server requires client keys!
- Some design consideration for XML security!
- Does not require root to run!
-
Light weight COT Router and Data Package Server
- Only ~2k SLOC for the whole shebang!
- Supports multiple ATAK clients simultaneously! You can see them on the map!
- Actually somewhat decent CoT routing, with Marti support!
- A hacked up XML parser written by someone who barely understands XML!
- Advanced Pythonic implementation of CoT model, with only 5 hours of combined industry experience in implementing CoT technology!
-
Simplicity of Design, Use, and Configuration
- Server shuts down with only one Ctrl+C!
- Thread safety? Where we're going, we don't need threads!
- Handy CLI utilities for generating systemd service files and client keys!
- Advanced usage of synchronous I/O multiplexing avoids
time.sleep
! - Stupid fast for no good reason! Routes 1000 packets / second on an old Core i5-2500k!
-
Misc
- Optional redis backed object persistence storage!
- DPS doesn't have a database! Just plain old file storage!
- Tested for easy deployment on Ubuntu and CentOS!
Looking for an indepth feature comparison?
- Python 3.6 or greater
- lxml (BSD)
- dateutil (Apache 2.0 / BSD 3-clause)
- flask (BSD 3-clause)
- pyopenssl (Apache 2.0)
- gunicorn (MIT)
- redis (MIT)
This application was developed with Python 3.8 on Ubuntu 20.04, and tested with ATAK v4.2.0.4 and WinTAK. It is now in a beta state, and has even been tested on a CentOS 8 docker image! As the package is available on pip, it should run on most modern linux distros and docker containers!
To install the latest release, install from pip. Open a shell and run:
$ sudo python3 -m pip install taky
If you prefer the develoment release (not always stable), you can install it from source.
$ git clone https://github.com/tkuester/taky
$ cd taky
taky $ python3 setup.py install
Right out of the box, with no configuration, you can build a simple COT server for you and your friends to play with over TCP!
$ taky -h
usage: taky [-h] [-l {debug,info,warning,error,critical}] [-c CFG_FILE] [--version]
Start the taky server
optional arguments:
-h, --help show this help message and exit
-l {debug,info,warning,error,critical}
Log verbosity
-c CFG_FILE Path to configuration file
--version show program's version number and exit
# Run taky on 0.0.0.0:8087
$ taky
INFO:root:taky v0.7
INFO:COTServer:Listening for tcp on :8087
Taky has been written with ease of administration in mind. It should be easy to install, upgrade, build (and run) multiple instances, manage with systemd scripts, and adhere to standard Linux service organization and package management. Additionally, there is no tie in to operating systems. This should be just as easy to setup on Fedora as it is on Ubuntu -- though the instructions have been written for Ubuntu.
See the README_QUICKSTART.md guide in the /doc
folder to get up and running!
For more advanced setups, look at the README_DEPLOYMENT.md file!
As far as the "Unicorn Test Readiness Level" goes, taky
is not a high
heritage space unicorn. We are somewhere between TRL 5 and 6. The horse is
outside, and we're tentatively calling it a unicorn.
The COT server is the most mature part of the codebase. While some of the more esoteric configurations have not been tested, the standard SSL setup seems to be rather solid, and performs well with heavy loads.
The Data Package server (DPS) is starting to mature, but has not been as extensively tested. Simple client-to-client and client-to-server transfers seem to work well, although some features like Video and posting tracks have not been implemented yet.
Feel free to checkout the milestones page to see what is planned for the next version of taky! Pull requests and issues are welcome!