For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
{ | |
"fileType": "Plan", | |
"geoFence": { | |
"breachReturn": [ | |
-34.92845989962295, | |
138.58120311679926 | |
], | |
"polygon": [ | |
[ | |
-34.88243164765111, |
#!/usr/bin/env python | |
''' | |
APM DataFlash log file reader | |
Copyright Andrew Tridgell 2011 | |
Released under GNU GPL version 3 or later | |
Partly based on SDLog2Parser by Anton Babushkin | |
''' | |
from __future__ import print_function |
<!-- Round trip time synchronization message --> | |
<message id="TBD" name="TIME_SYNC_NTP"> | |
<description>Time synchronization message based on NTP implementation</description> | |
<field name="target_system" type="uint8_t">System ID</field> | |
<field name="target_component" type="uint8_t">Component ID</field> | |
<field type="uint64_t" name="t1_usec">Time sync timestamp 1 (microseconds)</field> | |
<field type="uint64_t" name="t2_usec">Time sync timestamp 2 (microseconds)</field> | |
<field type="uint64_t" name="t3_usec">Time sync timestamp 3 (microseconds)</field> | |
<field type="uint64_t" name="t4_usec">Time sync timestamp 4 (microseconds)</field> | |
<field type="uint8_t" name="mode">0: Basic symmetric mode (default), 1: Interleaved symmetric mode</field> |
<!-- Visual system inter-frame delta position and delta attitude measurement message --> | |
<message id="11020" name="VISUAL_DELTA"> | |
<description>Visual system inter-frame delta position and delta attitude measurements</description> | |
<field name="target_system" type="uint8_t">System ID</field> | |
<field name="target_component" type="uint8_t">Component ID</field> | |
<field type="uint64_t" name="time_usec">Timestamp of camera frame associated with measurements(microseconds)</field> | |
<field type="uint64_t" name="d_time_usec">Time since last reported camera frame(microseconds)</field> | |
<field type="float" name="d_x">Delta x position in body frame measured relative to earth frame, where the earth frame is a RH axis system(m)</field> | |
<field type="float" name="d_y">Delta y position in body frame measured relative to earth frame, where the earth frame is a RH axis system(m)</field> | |
<field type="float" name="d_z">Delta z position in body frame measured relative to earth frame, where the earth frame is a RH axis sy |
# install notes for ubuntu 14.04 / odroid xu4 | |
sudo apt-get install libgmp3-dev | |
# dont apt-get StrongSwan! (its really old) | |
wget https://download.strongswan.org/strongswan-5.5.1.tar.bz2 | |
tar xvfj strongswan-5.5.1.tar.bz2 | |
cd strongswan-5.5.1 | |
sudo ./configure --prefix=/usr --sysconfdir=/etc --enable-python-eggs --enable-python-eggs-install --enable-vici | |
sudo make | |
sudo make install |