-
Notifications
You must be signed in to change notification settings - Fork 70
/
ChangeLog
2557 lines (1850 loc) · 83.2 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2014-08-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* beacon.c:
Demote some nuisance logging to "-dd" level.
2014-03-31 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, interface.c, igate.c, dprsgw.c:
Deliver all APRS-IS supplied tokens to the interface 3rd-party
receiver
* beacon.c:
Limit read amount of 256 bytes, excess is rejected and usually
also the beaconing is skipped.
* aprx.c, aprx.h, igate.c:
Moved rflog() from igate.c to aprx.c.
2014-03-24 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
Igated 3rd-party frames are produced with different TNC2 format
message from AX.25 frame message. This is because TNC2 format
is used at filter processing, and needs to have original source
address arriving from APRS-IS.
* ttyreader.c:
Set default read timeout to 60 minutes, it can be configured to
any value from 1 second to 4 hours as channel busyness supports,
and even disabled.
* ttyreader.c:
Use aprxlog() to record tty state changes: close/open
* netresolver.c:
Use same "die_now" flag as all other thread loops do.
* historydb.c:
Fix key pickup of sourcename.
Debug print key in history_db_insert_()
* agwpesocket.c:
Code cleaning.
* cellmalloc.c:
No need to include <pthread.h>
* configure.in:
Make pthread autoconfig default with option to disable it.
* pbuf.c:
Declare pbuf_alloc() static.
2014-03-22 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c:
Fix aprxlog() function internal varargs usage.
It must be reset for each vfprintf() call...
* aprx.c:
Initial value of time_reset = 1; start in "reset state",
which does time resetting in all prepoll codes in main
loop. At second round and there after of the main loop
the reset_time flag will be reset after execution of all
prepoll functions.
* aprsis.c:
Do initial connect at about current tick + 10 seconds.
Reset phase will also put next connect attempt at that time.
* aprx.c:
Change stdout and stderr buffering definition to have
a buffer, and make line buffering in a way that works..
* aprsis.c:
Correct calls to aprxlog().
* configure.in, Makefile.in:
Revised the pthread support autoconfig to really find where
the libraries are, and set correct definitions and compile/link
time parameters.
2014-03-21 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, interface.c, beacon.c, config.c, digipeater.c,
telemetry.c:
Change the "flags are bits in an int" to "packet bit fields"
allowing direct setting of flags.
* aprx.c, beacon.c:
Do not use stdout FILE* to print things out of signal handler.
Use sprintf(3) to put things into local buffer, then use write(2)
to send them to file handle 1. Otherwise GLIBC has some
interlock issue causing a deadlock in rare case. (Happened
with debug printouts in development.)
* beacon.c:
Correct close() of exec type beacon file descriptor.
* interface.c:
Correct primary <interface> flags defaults, and setting of
"telem-to-is <boolean>" and "telem-t-rf <boolean>" flags.
* telemetry.c:
Debug-printout (debug>1) of telemetry about time until next
output, plus packet that is being telemetered along with
hex coding of interface flags. Also streamlined the telemetry
label output code.
2014-03-11 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* ttyreader.c:
Do open /dev/ttySnnn up front in non-blocking mode so that
if the serial port hardware needs to be wired specially to
be considered active ( = flow control ) the serial port open
will not stop -- hang -- at it missing.
* agwpesocket.c:
Update time comparison codes to current model.
* aprx.c:
time_reset gets cleared only after first round through
the main loop.
* beacon.c:
The 'file' and 'exec' directives need at most 256 bytes of read
buffer to get beacon body content. No need for 2kB buffer alloc.
2014-03-08 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* digipeater.c:
Corrected the digipeating recognition algorithm.
If the current leading VIA field value without
H-bit set is not recognized as transmitter callsign,
transmitter alias, or value of <trace> or <wide>
directive at digipeater source or digipeater transmitter
configuration, then the packet is _not_ eligible for
digipeat.
2014-03-08 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, beacon.c, digipeater.c, parse_aprs.c, telemetry.c,
timercmp.c, ttyreader.c:
Fix all things flagged at CFLAGS="-g -O2 -Wall".
* configure.in, config.h.in, aprx.c:
Autoconf test for <sys/wait.h>, and include if available.
* aprx.h, beacon.c, config.c, digipeater.c, interface.c, netax25.c,
telemetry.c, doc/aprx-manual.odt, aprx.8.in:
Change single boolean flag 'txok' into multiple interface flags
where the 'txok' is just one bit. Added 'telem-to-is <boolean>'
option to <interface>
* aprsis.c:
Warn at startup if an <aprsis> block does not contain passcode.
2014-03-04 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, aprx.h, beacon.c:
Pickup child process exit SIGCHLD signals, and track
which child did exit.
* beacon.c, aprx.c, aprx.h, aprx.conf.in, aprx.8.in:
Kamil Palkowiski SQ8KFH's beacon exec idea rewritten to be
non-blocking in execution. The Aprx main loop does not
tolerate blocking programs.
* aprsis.c, ttyreader.c:
poll(2) results on file handles asking for POLLIN can include
POLLHUP and POLLERR.
2014-03-04 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.8.in, doc/aprx-manual.odt:
Document <aprsis> passcode a bit more.
* aprsis.c, aprx.c, aprx.h, netax25.c:
Move aprxlog() from aprsis.c to aprx.c.
Use aprxlog() instead of open coded logger at netax25.c.
Modify which type of APRSIS events get logged without
the runtime -L option to the aprxlogfile.
2014-02-26 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* Makefile.in, agwpesocket.c, aprsis.c, aprx-stat.c, aprx.c, aprx.h,
aprxpolls.c, beacon.c, config.h.in, configure.in, digipeater.c,
dprsgw.c, dupecheck.c, erlang.c, filter.c, historydb.c, hlog.c,
igate.c, interface.c, kiss.c, netax25.c, netresolver.c, pbuf.c,
telemetry.c, timercmp.c, ttyreader.c:
Change primary time management to use system monotonic clock
instead of time-of-day clock that can jump back/forward.
This clock is in -lrt as: clock_gettime(CLOCK_MONOTONIC, ...)
and it is the kernel internal primary jiffy lock.
This value is not synchronized with wall clock, although it
does proceeds at about same rate. It is also present at FreeBSD,
and presumably several other platforms too. (It is a POSIX thing,
after all.)
The system also watches over if the delta in between subsequent
value extracts exceeds about 30 seconds, or the time jumps
backwards at all. If such happens, next call cycle on all prepoll
routines are resetting all time management things in particular
subsystem.
Renamed the primary time tracking variable from "now" to "tick",
as it has no correlation with current wall-clock time.
There are no Y2038 issues in this code approach.
2014-02-24 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* agwpesocket.c, aprsis.c, digipeater.c, dptsgw.c, dupecheck.c,
filter.c, interface.c, netresolver.c:
Y2038 comparison things of time values. Somewhat premature, but
gets things in line with uses of 'struct timeval' -- tv_timercmp().
2014-02-23 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* all files:
Change copyright statement to read 2007-2014.
* timercmp.c, Makefile.in:
New file bringing all struct timeval tools to one place.
Added tv_timerbounds() that monitors time targets vs.
current time value -- if machine has hibernated a lot
without running timers and the 'now' jumps ahead a lot
(or backwards for complete coverage), then the target
time is reset. This avoids running a burst of beacon
events when 'now' jumps ahead a lot, as an example.
* netax25.c, digipeater.c, beacon.c, ttyreader.c, telemetry.c, dprsgw.c,
agwpesocket.c, aprsis.c, aprx.h, historydb.c, dupecheck.c, erlang.c:
Timer tracking against possibly jumping 'now' with conditional
resetting.
* beacon.c, dupecheck.c, netax25.c, telemetry.c, timercmp.c:
Few wrong initializations of timers fixed.
2014-02-13 Forgot to record the author
* debian/control:
Add build and run dependency of OpenSSL.
(Actually not yet necessary, SSL support is not being
compilable / compiled yet.)
2014-02-13 Heikki Hannikainen <hes@aprs.fi>
* parse_aprs.c:
Check that the timestamp ends with one of valid timestamp type ids.
Those being: 'z', 'h', '/'
2014-02-03 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* ttyreader.c:
Read only when poll reports data availability. (uh3ack)
2014-02-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* rpm/aprx.spec.in:
Forcing RPM building to produce i386 package.
(There is no need to produce x86-64 binary package.
Small footprint is the goal.)
* erlang.c:
Do not call aprx_syslog_init() from this module.
* ssl.c, ssl.h, hlog.c, hlog.h:
Copied SSL client code material from Aprsc. Not yet functional.
* agwpesocket.c, beacon.c, digipeater.c, dupecheck.c, erlang.c,
telemetry.c, ttyreader.c:
If the time reported by time(2) seems to jump ahead or backwards
too much, various deadline schedulers keeping time goals in mind
will reset themselves upon detection of the condition.
2013-11-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* historydb.c:
Initialize also tokenbucket value so that freshly arrived
packet at the historydb will have at least 1.0 tokens
at hand to permit one initial digipeat. Will not be enough
for multi-transmitter case.
* digipeater.c:
Display Ratelimit caused packet drops at all debug levels.
( Instead of >1 )
* filter.c:
Correct parse of s// filter. (Original author not recorded.)
2013-10-08 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* config.c, digipeater.c:
Add conditionals so that --disable-igate works.
2013-10-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* Makefile.in, svnversion-test.sh:
A bit more complicated way to pick up SVNVERSION information.
* aprx.c, VERSION, README, TODO, INSTALL, doc/aprx-manual.odt
Version 2.08 under way.
* aprx.h, aprx.c, aprsis.c, aprx-stat.c, aprxpolls.c, beacon.c,
digipeater.c, dupecheck.c, erlang.c, interface.c, telemetry.c,
ttyreader.c:
Changed time tracking from "time_t" to "struct timeval".
This supports (sub)millisecond granularity e.g. in KISS
polling, and overall smoothness of processing.
No, it isn't really necessary besides of that KISS polling,
but unified API is always better.
2013-10-06 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* filter.c:
Add 'g/call1/call2..' filter to match "group messaging" recently
added on javAPRSSrvr.
* doc/aprx-manual.odt:
Document internally supported APRS-IS style filter tokens.
* filter.c:
Code cleaning around reference definitions.
* filter.c:
* Add feature to recognize 3rd-party frames by type (t/3)
* Enable support of D filter (they are meaningful at RF too)
* filter.c, aprx.c, aprx.h, config.c:
* Fix M filter preparation to include cos(lat).
* aprx.h, interface.c, parse_aprs.c:
Always look inside 3rd party APRS frames too to determine
their content for filtering uses. RF->RF relaying didn't
do that.
2013-10-05 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* configure.in, Makefile.in, aprx.c, aprx.8.in:
Support integrated binary version printout:
aprx -V
* configure.in, Makefile.in:
Preparing for new code features, picking up more
library locations.
* aprsis.c:
Improve the error diagnostics on upstream socket
connection error situations.
* beacon.c:
Debug report number of parsed beacons.
2013-10-03 Geoffrey F4FXL <max@planetemax.com>
* digipeater.c:
Fixed badly formatted AX.25 after insertion of MYCALL
value on VIA path. The end-pointer was mis-managed.
2013-08-10 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* configure.in:
Look for OpenSSL library, SCTP network protocol.
2013-08-03 Heikki Hannikainen <oh7lzb@sral.fi>
* aprsis.c, aprs-complex.conf.in, aprx.8.in, aprx.conf.in,
doc/aprx-manual.odt:
Require manually configured APRS-IS passcode.
2013-08-03 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* agwpesocket.c, aprsis.c, beacon.c, cellmalloc.c, dprsgw.c,
dupecheck.c, filter.c, historydb.c, keyhash.c, pbuf.c,
telemetry.c, ttyreader.c:
Coding style change: Use cmalloc() instead of malloc() + memset().
2013-08-03 Frank Knobbe <frank@knobbe.us>
* interface.c:
Correct the way how messages are passed from APRS-IS to RF.
There was a parse bug around pb->dstname field.
2013-04-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* netax25.c:
Receive from AX.25 interface only if it has associated
an Aprx interface configuration object with it.
Less noise on logs that way.
2013-04-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* filter.c:
Commented out code, but make it conform with API
of historydb.
* parse_aprs.c:
The call parameter 'historydb' can be NULL,
don't SEGV on it.
* telemetry.c:
Pointer writing to beyond end of buffer (one last time)
* ttyreader.c:
hexdumpfp() text dump fix
* beacon.c:
Restructured the beacon data preparation for transmit.
Lots of mistakes had crept in recently (2.06?)
* interface.c, netax25.c:
Debug printouts of processing errors, and transmissions.
2013-04-23 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* config.c:
Show 'myloc' lat/lon in degrees instead of radians.
* digipeater.c:
debugging..
* filter.c:
A fence-post error while parsing o/A8CDEF-12 -- accepted
only A8CDEF-1.
2013-04-22 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.8.in, aprx-complex.conf.in, aprx.conf.in,
doc/aprx-manual.odt, doc/aprx-manual.pdf:
Change documentation wording around <beacon>.
* config.c:
Fix myloc config parameter parsing.
* beacon.c:
Every <beacon> group is now independent from each other.
If you define multiple <beacon> groups, they will be
running in parallel with their own scheduling.
Meaning that you can have different cycles, and defaults
at each.
* all source files:
Change Copyright claim years to 2007-2013.
* configure.in:
Auto-test for <netinet/sctp.h> header file.
2013-04-22 Geoffrey F4FXL <max@planetemax.com>
* digipeater.c:
Recent rewrite of viafield tracking code forgot
to initialize it in many cases -- and Covarity
tool did not notice that :-(
2013-04-20 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprsis.c:
Preparing for new communication modes
* parse_aprs.c:
Two condition expression goofups that were always
"false"
* filter.c:
Match filter parsing with aprsc (issue found with
Covarity testing)
* aprsis.c, aprx.c, aprx.h, aprxpolls.c, cellmalloc.c,
config.c, digipeater.c, dprsgw.c, filter.c, interface.c,
kiss.c, netax25.c, telemetry.c, ttyreader.c:
Covarity testing revealed unclear error cases, unnecessary
comparisons against NULL, and other mostly harmless things.
There is still a memory leak in interface.c configuration
parsing in error path -- but that is not a big deal.
* digipeater.c:
Modified "fixall" processing to put transmitter
callsign into first VIA field in every case,
possibly truncating the VIA list in order to make
room for the callsign in the incoming request.
Replacing numeric literals with #define constants
to inline document of what is going on at places.
2013-04-18 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, VERSION:
Version 2.07 (APRX27)
* aprx.8.in:
Document "myloc" and "$myloc", "filter m/100", etc.
* aprx.c, aprx.h:
Variables for myloc_lat, myloc_lon, and string forms.
* config.c:
Parse "myloc lat xx long yy" entry.
Moved couple tool functions here from beacon.c.
* filter.c:
Support "m/100", if top-level configuration has
"myloc lat xx lon yy" entry.
* beacon.c:
new "macro" definition of "$myloc", which takes
lat+lon of top-level configuration "myloc.." entry.
* interface.c:
Recognizing incoming messages targeted to this server
(by $mycall, and transmit interface callsigns.)
Processing them by rudimentary acknowledgement, and
optional place to actually process them.
Actual processing is still not written.
2013-02-02 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* ttyreader.c:
Improve the error report, when serial port opening failed.
* filter.c:
Coverity reports over aprsc reflect directly to aprx too.
We use same code in parts...
2012-12-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* digipeater.c, aprx.h, historydb.h:
Track digipeated messages by source callsign.
* aprsis.c:
Use A->rdlin_len instead of strlen(A->rdline)
* aprx-stat.c, aprx.c, aprx.h, erlang.c:
Moved syslog init from erlang to aprx core.
* parse_aprs.c, aprx.h:
Function parse_aprs_message() for planned future use.
2012-12-09 Matt Maguire VK2RQ <matt.vk2rq@gmail.com>
* telemetry.c:
Sometimes the Erlang registery contains interface
entries that are no longer actually in the system.
Avoid NULL referral at such situations.
2012-11-09 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* dprsgw.c:
Better accounting on DPRS side-channel data occupancy,
assuming the DPRS gw does send bytes all the time.
2012-11-09 FUJIURA Toyonori JG2RZF <toyokun@gmail.com>
* dprsgw.c:
Add receiver Erlang estimators to received packets.
2012-11-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprsis.c:
Move CRLF appending later into APRSIS transmission.
2012-10-31 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c:
Use thread-safe gmtime_r() instead of gmtime() for time printout.
2012-10-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* Makefile.in:
Improve distribution tar RPM building support.
* rpm/aprx.init, rpm/aprx.service, rpm/aprx.spec.in:
RPM package packing files
* filter.c:
Clean filter parser.
* aprx.c:
Acquire a lock on pid-file, and keep the file open.
2012-10-29 FUJIURA Toyonori JG2RZF <toyokun@gmail.com>
* dprsgw.c:
D-STAR callsign formatting for suffixless ones:
* "JG2RZF A" -> "JG2RZF-A"
* "JG2RZF " -> "JG2RZF-" Oops!
2012-10-12 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* rpm/aprx.spec.in, rpm/aprx.service:
Andrew Elwell <Andrew.Elwell@gmail.com> supplied better
version of Fedora, and rhel.
* filter.c:
Leave the "over-long parameters are rejected" logic, but don't
support alternate group field splitter input.
2012-10-03 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* TODO, INSTALL, aprx.c, aprx-manual.odt, aprx-manual.pdf,
VERSION: 2.06
2012-10-02 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* filter.c:
Parse filters with callsign sets without overflowing buffer.
Officially syntax is: OP/callsign1/callsign2 but support
also: OP/callsign1,callsign2
* digipeater.c:
Correct analysis of first "via" field, bail out of the loop
only after it has been parsed.
2012-10-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* debian/postinst, debian/aprx.init:
Removed postinst from debian installations. That script is
bad and causes install/upgrade to stall. Modernized the
aprx init-script.
2012-09-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, digipeater.c, interface.c, pbuf.h, pbuf.c, parse_aprs.c:
Sync pbuf_new() implementation with aprsc's approach, and
sync parse_aprs() with aprsc's code. This should fix some
strange MICe bugs, among others.
2012-09-18 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* parse_aprs.c:
Corrected MICe longitude degrees parser. Again.
(Sorry, F4FXL's parser fix was wrong.)
2012-09-05 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* apparmor.aprx, debian/rules, debian/dirs, debian/postint:
Copied bits of Aprsc's debian packaging to Aprx.
(Original packaging stuff was copied from Aprx to Aprsc.)
2012-09-02 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.8.in, aprx.conf.in, aprx-complex.conf.in, aprx-rxigate.conf.in,
configure.in:
Exterminated all instances of yours truly's own address from
the sample configurations, and replaced them with 0000.00N
00000.00E coordinate, which aprs.fi treats as invalid.
* beacon.c:
In addition to the long time used qTYPE_LOCALGEN, added on
APRSIS beacons also ",TCPIP*" at the tail of whatever is
being sent. Pete is not happy with q-code alone...
2012-08-26 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* digipeater.c, interface.c, aprx.h, TODO, aprx-manual.*:
Add to APRSIS tx-gated packets optionally different via-path
(parameter: msg-path) for message packets, than for any other
type packets. For example: via-path WIDE1-1, msg-path WIDE2-2
(By request of OH3BK.)
* VERSION: 2.05
* beacon.c, interface.c:
Support beaconin to APRSIS without having any radio interfaces.
Make null-device interface and (in special conditions the internal
APRSIS interface) beaconable.
* doc/aprx-manual.*:
Fixes on <beacon> explanations.
Diagrams on subsystem configuration examples describing message
flows.
2012-08-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* configure.in, aprsis.c, ROADMAP, doc/aprx-manual.odt:
Fix the "pthreads" typo by using correct "pthread" spelling
in the documents + "--with-pthreads" option alias in configure.
2012-08-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
Automatically create igate-group N values for radio interfaces
start from 1, and go onwards. Manually defined values start from
one, and it is up to the configuration writers to have a sane
upper limit.
* aprx.c, aprx.h, ttyreader.c, erlang.c, kiss.c:
Fixed a) poll of KISS subinterfaces, b) KISS polling time
management issues. The polling does not yet have serial-device
specific timing management, rather a global cadence.
* aprx.c:
Version 2.05
* ttyreader.c, aprxpolls.c, aprx.c, aprx.h:
Do millisecond timings, send KISS POLL (0x0E) code requests every
configured number of milliseconds per serial-device:
serial-device ... KISS pollmillis 100
* agwpesocket.c, aprsis.c, aprx.c, aprx.h, aprxpolls.c, aprx-stat.c,
beacon.c, configure.in, digipeater.c, dprsgw.c, dupecheck.c,
erlang.c, filter.c, historydb.c, igate.c, interface.c, kiss.c,
netax25.c, netresolver.c, pbuf.c, telemetry.c, ttyreader.c:
Changed "now" from type "time_t" to "struct timeval" enabling
the ttyreader to do millisecond level timing operations.
2012-08-06 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* debian/aprx.init, rpm/aprx.init:
Correct the package start dependency definitions.
2012-08-04 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c, kiss.c:
Debug printout claimed reversed logical meaning in history-db
lookup. Typo fixes at kiss processing comments.
* interface.c:
Config parser bug in defining multiple <kiss-subif ..>.
Thanks to N2PYI for report.
2012-07-31 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* configure.in, digipeater.c, aprx.h, valgrind.c:
Supply implementation of memrchr() if the platform does not have
it. (GNU Libc extension, not a standard POSIX thing.)
* Makefile.in:
Fixing details around how to run "make make-deb".
Fixing how SVNVERSION is determined.
* interface.c, igate.c, aprx.h:
rflog() parameter set modification, show directly at calls if
the logged item is 'R' or 'T'.
* dupecheck.c, aprsis.c, igate.c, aprx.h, digipeater.c:
Prepare for the duplicate checker to be able to control the time
window of the duplicate checks - minimum will be 30 seconds, maximum
can be higher.
* digipeater.c:
TNC2 format quirks in "VIA field" data caused missed identification
of "ping pong relay" - where a packet contains this node's
transmitter callsign, and this node has logged its address as
"sent through me". Also known as TRACE mode:
SRC>DEST,MYTRANS,OTHERTX*,WIDE3-1
2012-07-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* keyhash.c, keyhash.h, netax25.c, netresolver.c, interface.c,
cellmalloc.c, config.c, dprsgw.c, ax25.c:
A compiler test with -Wall complained a bit around missing ANSI-C
prototypes.
2012-07-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* keyhash.c, filter.c:
Threw away the long unused CRC32 stuff, and added a hashkeyuc()
function. Fixed the way how filter_entrycall_*() and
filter_wx_*() functions processed the key. Now both of
them store keys as converted to upper case, and lookup
with mixed case.
* aprx-config.xsd:
An attempt at writing a "formal" configuration file syntax
description. It is really not XML that config file, nor
can XSD define it clearly, I think..
2012-07-28 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 2.04
* filter.c:
Wrong way to put len* fields into an union vs. a few other things.
* dupecheck.c, digipeater.c:
Fix from iw3ijq + k3pdk about AX25 duplicate tracking dropping null
pointers. This has _not_ been validated for TNC mode frames yet,
but now AX.25 works properly.
2012-01-18 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 2.03test4
* interface.c:
Record outbound "history heard" per interface.
* historydb.c:
Simple refactoring to use same hash function all the time.
* digipeater.c:
Feed all transmitted packets to dupe-filter of that transmitter.
This will handle cross-band digipeat + tx-gates so that
an APRS packet transmitted to a channel won't be digipeated
again by this transmitter.
* igate.c:
When constructing APRSIS originated 3rd-party tx-igate
packets, use correct version of "TCPIP" in the header.
2012-01-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 2.03test3
* pbuf.h, pbuf.c, aprx.h:
New infrastructure function: pbuf_fill() that does
former two (then 3) copies of same code in interface.c
* interface.c:
Use new pbuf_fill().
On 3rd-party receiver, parse original (sort of) TNC2 frame
to temporary AX.25 frame for filter analysis.
Rearranged filter running and reactioning.
* filter.c:
Debug printouts
* All files...
Copyright text update.
2011-12-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
3rd-party igate tx processing fixes, now it allows also
other than messages
2011-12-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION, aprx.c, TODO, INSTALL, doc/aprx-manual.*:
Version 2.03
* interface.c:
At top-level of the <interface> the "callsign" parameter
did not override device defined callsign and its AX.25
parse result.
* aprx.h, config.c, dprsgw.c, logrotate.aprx.in,
aprx.conf.in, aprx-complex.conf.in:
Configurability of logging parameter "dprslog".
* aprx.h, aprsis.c, beacon.c, igate.c, telemetry.c:
Supply qcode on outgoing packets depending it being
locally generated (qAS) or rx-i-gated (qAR)
* telemetry.c:
Fix telemetry "tocall" to use software identifier,
and to put "TCPIP*" on APRSIS beacon path.
* aprx.conf.in:
Fix default server list
* crc.c, kiss.c:
Document polynomes and fix comments
2011-08-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* parse_aprs.c:
F4FXL found bug in position parser cos() pre-calculator.
Input needs to be in radians, it was in degrees.
2011-07-26 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
If preceding address processing detects an error, do not call
packet transmitter.
* aprx.h, dprsgw.c, parse_aprs.c:
Moved DPRS related APRS symbol translation from parse_aprs.c
to dprsgw.c.
* parse_aprs.c:
Introduced APRS symbol mapper/generator for GPS messages.
* parse_aprs.c:
Rewrite of parse_aprs_mice() degrees parser inspired by F4FXL.
2011-03-16 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* beacon.c, telemetry.c, aprx.h, interface.c:
Transmit only radio data port related beacons,
and telemetry. Don't touch on other pseudo-interfaces.
2011-01-02 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c, agwpesocket.c, aprx.h:
Configure <interface> agwpe-device.
* netresolv.c:
Oops.. fixed functionality. Tuned debugging.
* aprsis.c, aprx.c:
Tuned debugging.
* configure.in, aprsis.c:
Autoconfig stdarg.h existence, use varargs on debug printout code.
* agwpesocket.c:
Debug printout on received frame.
* interface.c, doc/aprx-manual.odt:
Unlimit the number of "igate-group N" parameter's N value range.
* aprsis.c, aprx.c, beacon.c, config.c, digipeater.c, dprsgw.c,
filter.c, historydb.c, igate.c, interface.c, keyhash.c, kiss.c,
netresolver.c, ttyreader.c:
Cleaning compiling on a very old FreeBSD -- essentially K&R C
compiler (gcc 2.95.4) not permitting variable declarations
anywhere but beginning of code block.
2011-01-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
Always init interface specific Erlang accounting
* filter.c:
Negative ranges on filters means "outside the distance".
This allows adding "substractive" filters that tell
"don't pass messages to receipients outside given range".
* configure.in, interface.c, cellmalloc.c, timestamp.c,
kiss.c, historydb.h, netax25.c, pbuf.h, aprx.c, aprx.h,
filter.c:
Clean autoconfig tests, make the code compilable on oldish
FreeBSD.
* configure.in, aprx.h, aprx.c, agwpesocket.c, interface.c:
Configuration option --enable-agwpe to enable AGWPE socket
interface code.
* configure.in, aprx.h, aprx.c, aprsis.c, ax25.c, beacon.c,
digipeater.c, dpwsgw.c, erlang.c, filter.c, historydb.c,
igate.c, interface.c, parse_aprs.c, telemetry.c, ttyreader.c:
Configuration option --disable-igate for embedding
code without igate network connection. Disables DPRS GW code,
and all of historydb, igate.c, aprsis.c.
* aprx.c, VERSION, INSTALL, README, TODO
Version: 2.02
* aprx.h, interface.c:
A null-device for sinking infinite digipeat output.
A debug tool.
* aprx.h, interface.c, historydb.c, historydb.h, pbuf.h:
Properly track "heard from interface(group)" information
for tx-igate processing. Now a full APRSIS traffic feed
won't transmit anything to RF, unless explicit manual
filter definitions tells to transmit, or message recipient
has been recently heard behind a radio channel X.
See the new 'igate-group' parameter on documents.
* aprsis.c, netresolver.c:
Cleaned pthreads thread creation calls.
* agwpesocket.c:
Erlang account on outbound socket.
* digipeater.c:
Allow ratelimit parameter to be defined very high.
This way a full APRSIS traffic feed can be sent to null-device.
* aprx.conf.in, aprx-complex.conf.in:
Some new notes on digipeater and tx-igate controls.
* doc/aprx-manual.odt:
Document update.
2010-12-18 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c, aprx.h:
Add a "null-device" for system. Never receive anything from it,
have infinite transmit capacity.
* netresolver.c, aprx.h, aprx.c:
A pthread that resolves dynamic DNS names on background,
and updates static copy of address data so that main loop
can safely do asynchronous connections without needing
to do synchronous DNS resolving processing.
* aprsis.c:
Use pthread_cancel() in smart way to expedite shutdown.
* agwpesocket.c, aprx.h, aprx.c:
Draft of a socket communication mechanism with AGWPE, and LDSPED.
2010-12-17 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION, INSTALL, README, TODO
Version: 2.01
* doc/aprx-manual.odt:
Write a few pages about debugging
* aprx.c:
Version tocall code: APRX21
* aprx.c, aprx.8.in:
Add '-i' option to keep the program foreground without
enabling any debug printouts.