Skip to content

Instantly share code, notes, and snippets.

View PhirePhly's full-sized avatar

Kenneth Finnegan PhirePhly

View GitHub Profile
@PhirePhly
PhirePhly / a
Last active August 29, 2015 14:07
Raw NEMA Sentences leaking into OT3m posits
2014-10-19 14:47:21 PDT: W6MAF-3>GPSSU3,W6MAF-1*,WIDE2-2,qAR,AK7V-1:$GPRMC,214714,A,3421.8222,N,11724.5430,W,6.8040,90.7,050395,,E*4C
2014-10-19 14:49:15 PDT: W6MAF-3>GPSSU3,WIDE1-1,WIDE2-2,qAR,AK7V-1:$GPRMC,214914,A,3422.2088,N,11724.2723,W,30.1320,359.6,050395,,E*41
2014-10-19 14:47:26 PDT: W6KWF-1>APOT30,WIDE2-1,qAR,AK7V-1:!3421.82N/11724.54Wk090/006 12.5V 146.535MHz
2014-10-19 14:49:19 PDT: W6KWF-1>APOT30,WIDE2-1,qAR,AK7V-1:!3422.20N/11724.27Wk359/030 12.5V 146.535MHz
./qlib/qslist.c: In function ‘q_slist_prepend’:
./qlib/qslist.c:9:22: error: expected expression before ‘GSList’
new_list = qalloc (GSList, 1);
^
./qlib/qslist.c: In function ‘q_slist_is_empty’:
./qlib/qslist.c:18:10: error: expected expression before ‘QSList’
return QSList == NULL;
^
./qlib/qslist.c: In function ‘q_slist_free’:
./qlib/qslist.c:37:5: error: ‘cur’ undeclared (first use in this function)
Title:
Examining Ambiguities in the Automatic Packet Reporting System
Abstract:
The Automatic Packet Reporting System (APRS) is an amateur radio
packet network that has evolved over the last several decades in
tandem with, and then arguably beyond, the lifetime of other VHF/UHF
amateur packet networks, to the point where it is one of very few
packet networks left on the amateur VHF/UHF bands. This is proving to
be problematic due to the loss of institutional knowledge as older
1. odin.lan.thelifeofkenneth.com 0.0% 19 0.3 0.2 0.2 0.4 0.0
2. WRT54G_08E4BE.svale 0.0% 19 1.2 1.1 0.9 1.5 0.0
3. ???
4. 99-46-140-3.lightspeed.sntcca.sbcglobal.n 55.6% 19 22.0 22.4 21.6 24.8 0.9
5. 71.145.0.188 0.0% 19 21.7 162.7 21.3 1234. 349.3
6. 12.83.39.177 0.0% 19 22.5 24.4 22.3 26.3 1.2
7. gar3.lsrca.ip.att.net 0.0% 18 138.1 42.8 32.5 138.1 29.3
8. 12.116.103.62 0.0% 18 64.0 64.2 63.9 64.6 0.0
9. vlan90.ir1.cvo2.kattare.net 0.0% 18 65.1 65.1 64.1 71.0 1.5
10. 198.178.136.80 0.0% 18 64.7 64.8 64.1 68.5 0.8
@PhirePhly
PhirePhly / get73.pl
Created January 29, 2015 05:18
Crawls 1960 to 2003 of 73 Magazine
#!/usr/bin/perl -w
# download all issues of 73
# URL to each issue
@issues = (
"http://www.archive.org/download/73-magazine-1960-10/10_October_1960.pdf",
"http://www.archive.org/download/73-magazine-1960-11/11_November_1960.pdf",
"http://www.archive.org/download/73-magazine-1960-12/12_December_1960.pdf",
"http://www.archive.org/download/73-magazine-1961-01/01_January_1961.pdf",
"http://www.archive.org/download/73-magazine-1961-02/02_February_1961.pdf",
@PhirePhly
PhirePhly / cacert.pem
Last active August 29, 2015 14:14
Gmail Trunk for LAN postfix in /etc/postfix
-----BEGIN CERTIFICATE-----
MIIDJzCCApCgAwIBAgIBATANBgkqhkiG9w0BAQQFADCBzjELMAkGA1UEBhMCWkEx
FTATBgNVBAgTDFdlc3Rlcm4gQ2FwZTESMBAGA1UEBxMJQ2FwZSBUb3duMR0wGwYD
VQQKExRUaGF3dGUgQ29uc3VsdGluZyBjYzEoMCYGA1UECxMfQ2VydGlmaWNhdGlv
biBTZXJ2aWNlcyBEaXZpc2lvbjEhMB8GA1UEAxMYVGhhd3RlIFByZW1pdW0gU2Vy
dmVyIENBMSgwJgYJKoZIhvcNAQkBFhlwcmVtaXVtLXNlcnZlckB0aGF3dGUuY29t
MB4XDTk2MDgwMTAwMDAwMFoXDTIwMTIzMTIzNTk1OVowgc4xCzAJBgNVBAYTAlpB
MRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEdMBsG
A1UEChMUVGhhd3RlIENvbnN1bHRpbmcgY2MxKDAmBgNVBAsTH0NlcnRpZmljYXRp
b24gU2VydmljZXMgRGl2aXNpb24xITAfBgNVBAMTGFRoYXd0ZSBQcmVtaXVtIFNl
IM ID Show Product? Product Order Components Min Harmonic Max Harmonic IM Product (MHz) Product Offset (KHz) RX ID Affected RX (MHz) RX Offset (KHz) RX Desc MHz from RX (MHz) TX1 ID TX1 Coef TX1 Freq (MHz) TX1 Offset TX1 Desc TX2 ID TX2 Coef TX2 Freq (MHz) TX2 Offset TX2 Desc TX3 ID TX3 Coef TX3 Freq (MHz) TX3 Offset TX3 Desc TX4 ID TX4 Coef TX4 Freq (MHz) TX4 Offset TX4 Desc
======= ============= ============= ========== ============ ============ ================ ==================== ======= ================= =============== ======================================== ================= ======= ======== ============== ========== ======================================== ======= ======== ============== ========== ======================================== ======= ======== ============== ========== ======================================== ======= ===
// ADD THIS TO ttyreader.c at line 318
FILE *rflogfd;
char hackbuf[1024];
sprintf(hackbuf, "/var/log/aprx/kiss.%d.log", S->fd);
rflogfd = fopen(hackbuf, "a");
hexdumpfp(rflogfd, S->rdbuf+S->rdlen, i, 1);
fprintf(rflogfd, "\n");
fclose(rflogfd);
kenneth@thor:~$ snmpwalk -v 1 -c public 10.44.1.30
SNMPv2-MIB::sysDescr.0 = STRING: APC Web/SNMP Management Card (MB:v3.2.0 PF:v3.2.1 PN:aos321.bin AF1:v2.0.1 AN1:em201.bin MN: AP9312TH HR: J13 SN: JA0302010295 MD: 01/06/2003) (Embedded PowerNet SNMP Agent SW v2.2 compatible)
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.318.1.3.8.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (27570) 0:04:35.70
SNMPv2-MIB::sysContact.0 = STRING: Kenneth Finnegan
SNMPv2-MIB::sysName.0 = STRING: KWFAPC1
SNMPv2-MIB::sysLocation.0 = STRING: lan.thelifeofkenneth.com
SNMPv2-MIB::sysServices.0 = INTEGER: 72
IF-MIB::ifNumber.0 = INTEGER: 1
IF-MIB::ifIndex.1 = INTEGER: 1
@PhirePhly
PhirePhly / gist:0a6cc9451c51e4cc09d3
Created April 20, 2015 17:37
APRS-IS Client Keep-alive behavior
Client to server keep-alives should not be sent more often than once every
20 seconds, unless intra-connection meta-data is being conveyed inside the
'# ...' keep-alive line. It is suggested that clients send a keep-alive line
at least once every 24h, with typical rates in the 10m-1h range. Client to
server keep-alives are purely optional; servers may instead choose to
implement client time-out based on their L4 TCP behavior, and clients may
instead choose to tolerate being periodically dropped from the server as an
inactive connection.