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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557
|
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.
* digipeater.c:
Correct the recognition of "probably heard on first hop"
* historydb.c:
Memory realloc() bug fixed.
* kiss.c:
Recognize a write attempt on closed file handle, don't write.
2010-08-08 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 2.00
* aprx.c: Version tocall code: APRX20
* doc/aprx-manual.odt: version 2.00/1.00
2010-08-02 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c:
Version tocall code: APRX1M
* ROADMAP:
Planning update.
* beacon.c, aprx.8.in, aprx.conf.in, aprx-complex.conf.in:
OH7MMT complained difficulty of defining beacons on Rx-iGate.
The default aprx.conf shows the use of "interface ..", which
requires tx-enabled target interfaces. Something that rx-only
will not have.
* doc/aprx-manual.odt:
Cross references, additional notes on digipeat of non-APRS
packets.
2010-07-27 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* config.c:
Accept valid APRSIS login callsigns for "mycall" parameter
value. Will complain latter if end usage did want valid AX.25
callsigns instead.
2010-06-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
Account the number of created interfaces and subinterfaces,
and if there is just one and no callsign has been defined,
only then supply a default value ("callsign $mycall").
* interface.c:
Check interface callsigns to be unique.
* aprsis.c, beacon.c, digipeater.c, interface.c, telemetry.c:
Recognize "$mycall" in case insensitive matching.
2010-06-22 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c:
Version tocall code: APRX1L
* digipeater.c:
If there is a viscous-delay defined, add a random value of 0..2
to the configured number of seconds delay.
This way similarly configured adjacent Tx-iGates can at random
find a first transmitter and others will drop the Tx-iGate.
* digipeater.c:
Digipeater didn't detect interface callsigns and aliases properly,
when determining if there is some work to be done. It did detect
them when to avoid doing duplicate work.
2010-06-19 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, aprx.h, aprsis.c, beacon.c, config.c, digipeater.c,
interface.c, telemetry.c, ttyreader.c:
Improve config file parsing error reporting.
Any ERROR observed on configuration parsing causes immediate
abort with exit-code 1.
* aprx.conf.in, aprx-complex.conf.in, aprx.8.in:
Clarify the documentation at man-page, and at config templates.
* firmware/*
Copied one source of TNC2 firmwares
* windows/*
Just a placeholder.
* Makefile.in:
Improving "make dist" behaviour.
2010-06-13 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.8.in, doc/aprx-manual.odt:
Some notes on available baud-rates, fixes on
documentation about CRC algorithms.
* ttyreader.c:
Missed baud speed 57600.
* dupecheck.c:
Shrink the arena allocation size to 4 kB. This allows
14 reference packets in the dupecheck dataset within that
arena alone, and will possibly request second arena when
this get really busy.
* historydb.c, dupecheck.c, pbuf.c, filter.c:
Made cell object sizes readable with a debugger
* crc.c:
Object visibility adjustments.
* Makefile.in, crc.c, aprx.h, kiss.c, ttyreader.c, interface.c:
Separated KISS processing to kiss.c, and CRC processing
to crc.c. Disabled unused codes.
* pbuf.c, historydb.c, dupecheck.c:
Shrink RAM usage, cellmalloc() does perfectly good job
of using free-chains, no need to do it in applications.
* interface.c, pbuf.c:
The pbuf_new() has a limit on maximum total size that
a packet can be: 2150 bytes. If ax25len + tnc2len are
more than that, pbuf_new() returns NULL.
* historydb.c, historydb.h:
Instead of historydb instance specific history entry pools,
have one global pool.
2010-06-12 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* cellmalloc.c:
Remove pthread_mutex_t usage, not needed in this application!
Conditionalize debugging code.
* pbuf.c, aprx.c, aprx.h:
Using cellmalloc() on pbuf storage. Support up to 2150 byte
received AX.25 frames. (Up to 7 pbufs of that size on 16 kB
cell arena .. and there never should be larger than around
512 byte AX.25 frames.)
* dupecheck.c:
Shrink dupecheck to 16 kB per alloc arena (from 256 KB).
That should be enough for a very busy 1200 bps channel,
and probably even for a 9600 bps channel.
* filter.c:
Shrink filter cell storage to 4 kB per alloc arena (from 512 kB!)
* historydb.c:
Shrink historydb cell storage to 32 kB per alloc arena (from 128 kB)
* debian/aprx.init:
Pleasing init-script behaviour during package re-install
* telemetry.c, doc/aprx-manual.odt:
Stagger telemetry transmissions a bit.
All RF reported telemetry sources are reported at the same time,
but telemetry data is time-wise separated from labels, and labels
are sent so that 3 different labels are sent every 2 hours, and
total label carouselle time is 6 hours.
* aprx.c:
Giving this version code: APRX1K
* telemetry.c:
Correct AX.25 data frame for RF transmission
* telemetry.c, config.c, aprx.h, doc/aprx-manual.odt,
aprx.conf.in, aprx-complex.conf.in:
New <telemetry> config section, be able to tx
telemetry to RF ports.
* beacon.c:
Error reporting additions.
* erlang.c, aprx-stat.c, aprx.h, telemetry.c:
Use pre-processor conditionals to select only small
subset of storage and processing codes used for
erlang data in embedded mode.
* parse_aprs.c:
Compile warning silencing.
2010-06-10 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* kiss.c, ttyreader.c, dprsgw.c, aprx.h:
Tracked specification origins of each of the three
different CRC-16 calculations that this code has.
What was called "crc_ccitt" was in fact something
totally different: the SMACK CRC16.
2010-06-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* README, ROADMAP, TODO, INSTALL, PROTOCOLS:
Updates on plans and rough guides.
* TIMESTAMP-AT-APRSIS, timestamp.c:
A proposal to put about 1ms resolution timestamps
on APRSIS with full backwards compatibility.
* aprx.c:
Giving this version code: APRX1J
* dprsgw.c, digipeater.c, aprx.h, doc/aprx-manual.odt:
Clean DPRS Rx gateway code.
* interface.c:
Correct 3rd-party packet gating filter behaviour:
If there are _no_ filters, pass all packets thru.
* interface.c, aprx.h, dprsgw.c, igate.c:
Rate-limit source callsigns per source interface to
once per 30 seconds. RF iGate DPRS messages to APRS
as 3rd-party messages.
2010-06-06 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* parse_aprs.c, dprsgw.c:
Rudimentary GPSxyz -> APRS symbol mapping for DPRS,
with GPSxyz overlay character where possible.
Also IDENT TEXT, if any.
* debian/aprx.init:
The "restart" command fails to work quite often.
The reason being "set -e"...
* aprx.h, igate.c, dprsgw.c, ttyreader.c, ax25.c:
igate_to_aprsis(... , STRICTAX25) -- new flag
to control source specific information about
TNC2 format address formats.
* parse_aprs.c:
Remove unnecessary double precission floating point math.
Use of 'float' is quite enough.
* debian/control:
Change package name a bit
* dprsgw.c:
Data collection code fixes
* telemetry.c:
Send first telemetry at 20.0 minutes after start.
This is related to defaulting to EMBEDDED operation mode.
* configure.in, aprx.h, erlang.c:
Change defaults so that System is always "--with-embedded",
and requires explicit "--with-erlangstorage" to compile with
a filesystem based backing storage codes.
2010-06-04 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, dprsgw.c:
Couple steps onwards with DPRS Rx-IGate.
2010-06-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c:
Set software tocall to 'APRX1H'.
* interface.c:
Found a memory leak on AX.25 type packet receiver. Oops!
Ax.25 packets that were rejected by <digipeater> <source>'s
filters were just leaked, not disposed.
* historydb.c:
Allocate cell arenas in 128 kB blocks.
* digipeater.c:
Valgrind complained about uninitialized variables.
Default zero is not good enough...
2010-05-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, digipeater.c:
Use 'float' for ratelimit variables. Permitting as low
rate definitions as 'once per 10 minutes.
* dprsgw.c:
XOR checksums of "GPS" mode packets. No Rx-iGate of them yet.
2010-05-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* dprsgw.c, ttyreader.c, aprx.c, aprx.h:
Experimental DPRS receiver. Studying packet identification
from serial port datastream with Rx-IGate of GPS-A type DPRS
packets.
* interface.c, doc/aprx-manual.odt:
Effects of 'filter ...' on different <digipeater>
<source> sections are subtly different. See the manual!
* aprx.h, digipeater.c, doc/aprx-manual.odt, aprx.conf.in,
aprx-complex.conf.in:
Remodelled the ratelimiting to use 'token bucket filter':
ratelimit average burst
both values are packets per minute, and both default to 60.
* digipeater.c, interface.c:
Return adjunk filters to RF->RF digipeating.
They got lost a bit back with Tx-IGate needing
them placed a bit differently.
* man-to-html.sh:
groff has changed its -Tascii output a bit, and
its own HTML output is horrible...
2010-05-27 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* parse_aprs.c:
Correct parse of message recipients.
Fix from Patrick Domack K3PDK.
2010-05-26 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* debian/rules, rpm/aprx.spec.in, aprsis.c:
Fixes on pthread:ed aprsis implementation.
Default packaging for Debian and RPM to use --with-pthread.
Now it shows only one "process", and two threads.
This makes the program portable to uCLinux, and possibly
to Windows.
* dprsgw.c, aprx.h, ttyreader.c, Makefile.in, interface.c,
aprx.8.in, aprx.conf.in, aprx-complex.conf.in:
Add basic configuration and infra of DPRS-to-APRS gw.
* interface.c, igate.c:
Comment editing, adding Tx-IGate Rule 4, second half.
First half probably exists in igate..
2010-05-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, README, TODO, VERSION:
Mark version 1.99, APRX1G
2010-05-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c, filter.c:
Filtering logic change on 3rd-party digipeating.
2010-05-24 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c, TODO:
Notes about missing bits for full Tx-IGate.
* historydb.c, historydb.h:
Keep knowledge of last coordinate on historydb.
Mark also last coordinate update time.
* aprx.h, pbuf.h, parse_aprs.c, interface.c, digipeater.c:
Tx-IGate processing details..
2010-05-23 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, aprx.h, digipeater.c, filter.c, historydb.c, historydb.h,
igate.c, interface.c, parse_aprs.c:
Rearranged bits so that Tx-IGate's processing has transmitter
specific history database. Better (but yet a bit incomplete)
Tx-IGate filtering is in interface.c.
* kiss.c, aprx.8.in, aprx.conf.in, aprx-complex.conf.in,
netax25.c, aprx.h, ttyreader.c:
Add FLEXNET support. (Finnish HamDR speaks it by default!)
* interface.c:
Corrections on <kiss-subif> definitions, in particular
the aliases.
Fixed Tx-IGate workhorse interface_receive_3rdparty()'s
packet address header construction.
* digipeater.c, aprx.h:
APRSIS specific via-path parameter parsing fixes, additional
debugging outputs, config error detection outputs.
* netax25.c, ax25.c:
Debugging outputs.
* ttyreader.c, aprx.h:
Debugging outputs.
Special KISS subtype "RFCRC" - received KISS frames have
two RANDOM bytes at their end. Looks like CRC16, but is
random junk.
* erlang.c:
Debug printout.
* beacon.c:
When an interface has no callsign, do not send beacon to it.
(It could be tty master interface which has multiple KISS
sub-interfaces.)
* igate.c:
Parse packet to be tx-igated for acceptable address syntaxes.
Debug printouts.
2010-05-16 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprsis.c, aprx.conf.in, aprx.8.in, doc/aprx-manual.odt:
Emphasize that <aprsis>'s login parameter is to be
set ONLY when it needs to be different than mycall
value. (But tolerate also '$mycall' alias.)
* aprx.c:
Update internal tocall default to 'APRX1F'.
* interface.c, digipeater.c:
Tx-iGate fixes for case where outgoing packet has no
VIA field(s). System saw that "requested hops = 0,
done hops = 0 -> no need to send out".
* parse_aprs.c:
Make sure that all things creating debug output are
followed by a "\n".
* igate.c:
Relax station callsign format rules inside a received
3rd-party frame.
2010-05-13 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
Under all situations, fill in pbuf_t->dstcall_end.
* debian/rules:
Do not strip resulting objects. We want debug symbols!
* digipeater.c:
Improve config error reporting.
* config.c:
Tolerate config file ending without a newline.
2009-12-27 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, VERSION: 1.98
* rpm/aprx.spec, debian/docs, debian/control:
More documents into the packages
* beacon.c, aprx.8.in, aprx.conf.in, aprx-complex.conf.in,
doc/aprx-manual.odt, doc/aprx-manual.pdf:
Changes on beacon definition keywords to make them clearer
for a user. Old forms continue as silently accepted aliases.
2009-12-27 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.97
* beacon.c, aprx.8.in, aprx.conf.in, aprx-complex.conf.in:
Never send to APRSIS interface.
Define 'object' and 'item' type named entities.
Uppercasify several of input fields.
* interface.c, digipeater.c, aprx.h:
On tx-igate behaviour, add configured via-path on outgoing
3rd-party frames
2009-12-16 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* beacon.c:
Reworked more.. beacons were sent only for "tx-ok true"
interfaces, while netbeacons are to be sent for all interfaces.
2009-12-03 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* beacon.c:
Reworked things a bit, on how and with what content to
send beacons.
* netax25.c:
Valgrind pleasing
* telemetry.c, ttyreader.c, beacon.c, netax25.c, aprx.h:
Debug printouts.
2009-12-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
Register tty KISS subinterface 0 only once.
* beacon.c:
When a file-beacon is defined, the message content is
no longer at bm->msg, instead at local variable msg.
* netax25.c, aprsis.c:
Pleasing valgrind.
2009-11-26 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* parse_aprs.c:
Sometimes ran memchr() with bad length. Caused rare crash.
* digipeater.c, aprxpolls.c, netax25.c, aprsis.c, aprx.c, aprx.h:
Valgrind tested minor changes.
2009-11-17 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.8.in:
Big rewrite.
* aprx.h, interface.c, digipeater.c, netax25.c:
Digipeater "relay-type directonly" mode.
Interface parsing error detection improvement.
2009-11-08 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION 1.96
* beacon.c, aprx.8.in, aprx.conf.in, aprx-complex.conf.in:
Rewrote beacon transmission interval codes, and documents
of the beacon system.
* configure.in, Makefile.in:
Added --with-pthread option, rewrote the --with-embedded
option processing.
* aprsis.c, configure.in:
Optionally support pthreads(3) where available, this can be
important for uCLinux and perhaps Windows, where fork(2) is
not available.
2009-11-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c:
Software tocall identity: APRX1C
* cellmalloc.c:
Drop semaphores. Not used in this codebase.
* filter.c, aprx.h, parse_aprs.c, Makefile.in:
Port Aprsc's filter code to Aprx.
* debian/aprx.init, rpm/aprx.init:
Update Debian's version, sync the rpm's version
* telemetry.c:
Report every 20 minutes, but scale values telling 10 minute
traffic. Start sending telemetry PARM blocks from system
start.
* aprx.c:
Init configurations before starting erlang accounting subsystem.
2009-11-02 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION 1.95
* aprx.c:
Software tocall identity: APRX1B
* telemetry.c:
Erlang reporting confusion fixed.
2009-10-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c:
More logging of interface setups.
* beacon.c, aprx.8.in, aprx.conf.in, aprx-complex.conf.in
New type of beacon: file /path/to/file, the first line
in given file is read every time this beacon entry is
executed, and the text is sent out sans line end LF.
There are no quote processing available.
.
Validate latitude and longitude input, and complain if
validate failed.
.
Beacon timefixing on all message types that support it,
and only upon special "timefix" option set on the beacon.
.
Beacon construction from small parts supports 6 different
fundamental packet types with coordinates.
* config.c:
Make config parser debugging needs -ddd runtime options.
* telemetry.c:
Report higher of 10 minute integrated packet/byte counts in
the 20 minute account interval. This makes graphs smoother.
2009-10-27 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, aprx.c, aprsis.c, beacon.c, netax25.c, ttyreader.c,
erlang.c, aprx-stat.c, igate.c:
Modify the printtime() to print millisecond resolution times.
2009-10-26 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* beacon.c, config.c, aprx.h, aprx.conf.in, aprx-complex.conf.in,
aprx.8.in:
Added a 'beaconmode { aprsis | both | radio }' config option,
which says where the beacons are sent to.
* ROADMAP
Development roadmap for first digit of version number
2009-10-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* digipeater.c, beacon.c, interface.c, aprx.h:
Put all beacons on digipeater's transmitter duplicate checker
storage. Now a beacon with WIDE2-2 path will not be repeated
by message originator. Re-organized beacon's code base.
* netax25.c, interface.c, aprx.h:
Use Link-Level mechanism to send arbitrary AX.25 packets to
desired devices. Added also a about once minute run code
that checks current AX.25 devices in the system, and maps
necessary ifindex:es to netdevices wanting to do IO.
And all parameters to 'netax25_sendto()' are const..
* aprx.h, aprx.c, aprx-stat.c, aprsis.c, erlang.c, igate.c:
Commonly used strftime() got put into printtime() function.
* VERSION 1.94
* interface.c:
That final part of <interface> thing (below) can only
be done, if this interface has non-null tty field.
* Makefile.in
"make valgrind" - helps debugging some screwups..
* digipeater.c:
Stop scanning the viscous queue, once time limit exceeds
current time.
* aprxpolls.c:
A screwup on allocations found with valgrind. Oops!
* netax25.c, aprsis.c, dupecheck.c, ttyreader.c, erlang.c,
aprx.c, aprx.h, ax25.c, beacon.c, igate.c, historydb.c,
valgrind.c, Makefile.in:
Code changes to clean valgrind outputs on nuisance messages.
And at least one bugfix for valgrind environment...
2009-10-24 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* telemetry.c:
Changed telemetry channel 2: Erlangs from bytes_tx accounting.
Now there is separate channel load graph showing how much this
transmitter is affecting the channel.
Give also better label for channel 4: IGateDropRx
* rfbeacon.c -> beacon.c, aprx.h, aprx.c, config.c, Makefile.in:
Rename rfbeacon.c to beacon.c.
* interface.c:
As a final part of <interface> definition, check if
the default tnc-subid (0) has associated ttycallsign
defined, and netax25 pty not enabled. If so, create it.
* parse_aprs.c, interface.c, aprx.h:
Depending upon usage, either do not look inside 3rd-party
frame, or do look inside. For Tx-iGate call paths we need
the analysis!
* parse_aprs.c, interface.c, historydb.c, digipeater.c,
rfbeacon.c, dupecheck.c, igate.c:
Removed codes ignoring "trailing CRLF in APRS frame tail".
They kept causing more trouble than good. The parse_aprs.c
is anyway diverged from its origins a bit more than I would
like, so no need to maintain mess related on its original
environment.
* dupecheck.c, aprx.h:
Adjust dupecheck hash bucket size - 16 is quite sufficient
enough even for a very busy igate/digi!
* igate.c, aprx.h, ax25.c, ttyreader.c
Restructured 3rd-party frame rx-igate processing so that it
does not need to alter TNC2 format buffer in any way.
This caused some weird things to happen in digipeater on cases
of 3rd-party frames.
Also modified ax25-to-tnc2 UI-formatter so that there will
always be zero termination of output text string.
* interface.c, digipeater.c:
Small restructuring while debugging other things.
* parse_aprs.c:
Parse APRS 3rd-party frame content, and recognize real
3rd-party frame for sure.
2009-10-24 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.93
* ttyreader.c, erlang.c:
Feeding in generated random noise did raise a few errors
in KISS frame processing, and erlang accounting.
KISS tncid:s sometimes did not have a callsign associated
with them, and then erlang accounting blew up...
* interface.c, rfbeacon.c, ax25.c, aprx.h:
Beacons to radio interfaces, KISS works best, NET-AX.25 less
well -- transmits OK UI frames, transmit of arbitrary other
types of frames is necessary for generic digipeating.
* digipeater.c:
Add alias to config parameter 'transmit' -> 'transmitter'.
* netax25.c, config.c:
Removed unused parameter on netax25_addrxport().
Rebuilt netax25_sendto(), however it sends out only UI frames..
Removed pre-created tx_socket, and associated codes.
* configure.in:
Remove unused autoconf test for cfmakeraw()..
2009-10-23 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* rfbeacon.c:
Fix the debug printout of beacon to be sent.
* aprx.h, config.c: readconfigline()
Keep the cf->linenum showing first source line number on
continued multiline. This helps a bit on debugging, and
similar things are already done when a (sub)group parser
is reporting where that subgroup begins in case of missing
parameters in a group.
* digipeater.c:
Validating received requests better. Now marking also probable
situations that can say "this came from originator to me directly"
* netbeacon.c, rfbeacon.c, config.c, aprx.h, aprx.c, aprsis.c,
Makefile.in:
Removing the old netbeacon code.
2009-10-22 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, rfbeacon.c, interface.c:
Implemented new infra for sending APRS beacons to radio
interfaces. Incoming request will at first construct
the AX.25 header, then send that to physical interfaces.
* aprx.h, ax25.c, digipeater.c, interface.c, kiss.c, pbuf.h,
pbuf.c, netax25.c, parse_aprs.c, rfbeacon.c, ttyreader.c:
Changed all instances of 'unsigned char' to 'uint8_t'.
2009-10-21 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* config.c:
Clean away some superflous debugs.
* digipeater.c:
Viscous mode debug printout crashes on SEGV.. Oops.
(without debug the bug does not hit.)
* README.ViscousDigipeater, digipeater.c:
Thinking about what are correct rules on Viscous Digipeat.
* digipeater.c:
On configuration, make sure that no two <source> definitions
within single <digipeater> definition have same <interface>:s.
2009-10-20 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, digipeater.c:
Viscous digipeater special corner cases..
* aprx.h, config.c, aprx.conf.in, aprx-complex.conf.in
Interval parser for "timeout" and "interval" parameters
used in several places.
* config.c, aprx.conf.in, aprx-complex.conf.in:
Line continuation (the '\' character at the end of
input line - with possible whitespaces following it)
is now supported.
An interval parser is added; timeouts and intervals
can be defined in human readable way: 3m2s
* aprx.8.in:
Larger rewrite to bring it up to current version.
* aprsis.c, aprx.conf.in, aprx-complex.conf.in:
Reworked details of <aprsis> configuring, and internal
operational semantics. Most notable difference is on
possibility to define used filters in small fragments,
which the system will then catenate.
* aprx.h, digipeater.c, dupecheck.c:
Returned the viscous delay processing back to version
just before "simplified viscous delay and dupechecking".
It really needs to check delayed vs. immediate counts.
2009-10-19 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.92
* digipeater.c, interface.c:
Clean variable naming on digipeater <source> subsystem.
* aprx.h, aprx.conf.in, aprx-complex.conf.in, igate.c:
Update documentation
* igate.c:
Reject packets with destcall=RXTLM-* from Tx-IGate.
* digipeater.c:
Simplify control flow when feeding to viscous queue vs.
when running the backend directly.
* aprx.h, digipeater.c, dupecheck.c, igate.c:
- Fixed 3rd party dupechecking
- Simplified viscous delay and dupechecking.
The dupechecking happens at the start of digipeater_backend(),
which is called after pbuf's have been subjected to a viscous
delay, if ever necessary. First arriving packet is digipeated,
if it has steps to do. If not, rest are still considered dupes,
and not digipeated.
* aprx.h, igate.c:
Make rflog() public function to be used by multiple parties.
Also mark on the log line the direction to which the packet
was going (R/T), and not only its source interface.
* ax25.c:
Moved igate_to_aprsis() call before interface_receive_ax25(),
and thus also log received packet on rf.log before it is sent
out anywhere.
* aprx.h, interface.c, digipeater.c, aprx.8.in, aprx.conf.in,
aprx-complex.conf.in, dupecheck.c:
Moved viscous-delay processor into digipeater's <source>
control area. Implemented Tx-IGate's packet re-formatting
rules on interface.c. Implemented viscous-delay processing
in digipeater. Added refcounting on dupe_record_t objects.
* digipeater.c, igate.c, config.c, aprx.h, aprx-complex.conf.in:
Moved regexp reject filters from old style setup at igate.c
to new style at digipeater.c. This will not be able to reject
trivially configurable things from Rx-IGate datastreams, but
it can be used to control digipeating.
* ax25.c:
Remove unnecessary debug printout.
2009-10-18 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.91
* aprx.h, dupecheck.c, digipeater.c, pbuf.c, pbuf.h, aprsis.c,
igate.c, keyhash.c:
Digipeater local instance of dupechecker. The dupe-checker
does recursive analysis of APRS packets for 3rd party
frames, and dupecheck the innermost frame of them.
Cleaned the keyhash.c to contain only FVN-1a hasher.
* digipeater.c, interface.c, telemetry.c, aprx.h, ttyreader.c,
erlang.c, aprx-stat.c:
Start transmitting digipeated frames to ttyreader's KISS
output. netax25's similar interface is not tested.
Changed also the Erlang dataset format, and begun to
produce Tx packet counts on telemetry. Accounting
saves also tx byte counts, but they are not reported.
* aprx.h, interface.c, digipeater.c, pbuf.h, pbuf.c, ax25.c:
Pass the UI PID information all the way to interface,
where it can be matched against a list of PIDs that will
be treated alike APRS in digipeating.
Have two modes in digipeating: one with interface (and
aliases) as recognized work targets, and other with APRS
wide/trace tags in addition to interface (and aliases).
* aprx.h, ax25.c, interface.c, digipeater.c, aprx.conf.in,
aprx-complex.conf.in:
- Prefill AX.25 address field formatted ax25callsign
field on all <interface> datastructures. That comes
handy when doing TRACE processing.
- Put exact "callsigns" of "WIDE", "TRACE", and "RELAY"
into system as interface callsign aliases. When they
are present in the request path, substitute interface
callsign there with H-bit set.
- Update aprx.conf samples to how the system can be
configured.
2009-10-17 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, digipeater.c, interface.c, pbuf.h, parse_aprs.c:
Digipeater preparation, system counts done and requested
distribution operations with source specific as well as
transmitter specific keywords.
* aprx.h, ax25.c, interface.c, aprsis.c, pbuf.c, parse_aprs.c:
Changed a few "parse failed" returns to "parse OK".
Systematic feed of datapacket "with TNC2 line end CRLF pair".
2009-10-16 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* erlang.c, aprx.h, ttyreader.c, netax25.c, igate.c:
Clean Erlang accountig API. Removed unused parameters.
* interface.c, aprsis.c, igate.c, aprx.h, aprx.c, digipeater.c:
Minimal <digipeater> <source> definition parsers.
Additionally internal "APRSIS" pseudo-interface.
2009-10-15 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, aprx.c, rfbeacon.c:
Add internal "tocall" constant with value "APRX19".
That one will track software versions.
The 'for' keyword on beacons defaults to $mycall.
* aprx.h, aprx.c, interface.c, config.c, rfbeacon.c, aprsis.c,
ttyreader.c, netbeacon.c:
Config machinery redone towards new style. Rx-IGate
works again. (Old config should work too.)
* aprx.h, pbuf.c, pbuf.h, interface.c, digipeater.c, aprx.c:
Skeletons for pbufs, digipeaters, and their uses in
the interface layer.
* aprsdigi.c, ax25.c, Makefile.in:
Remove obsolete placeholder. Things will be done differently.
* config.c, rfbeacon.c:
The rfbeacon code will be doing all variants of beacons..
* interface.c, netax25.c, ttyreader.c, aprx.h, ax25.c:
interface_transmit_ax25() is able to transmit a fully formed
AX.25 header+control+body frame to Linux internal AX.25 network
devices as well as to any serial port attached KISS device.
Transmission to TNC2 devices is not supported.
Code is also very careful on checking the AX.25 frame header
structure, and rejecting outright any with invalid header
structure (bad continuation flags, bad chars in callsigns,
not so careful with SSID byte contents - too many are careless
with those :-( )
2009-10-14 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* rfbeacon.c, interface.c, Makefile.in, config.c, aprx.c,
aprx.h, aprx.conf.in, aprsis.c, netbeacon.c:
Add a stub of rfbeacon.
2009-10-13 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* interface.c, config.c, netax25.c, ttyreader.c, ax25.c,
aprx.h, ChangeLog:
Feed received AX.25 frames to interface layer for possible
digipeat processing. (Missing: APRSIS originated frames!)
* interface.c, ttyreader.c, aprx.h, aprx.conf.in, aprx.8.in:
Remodelled serial-device definitions into interface layer.
Documentation updates to match new system.
2009-10-13 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprsis.c, aprx.h, config.c, netbeacon.c, aprx.conf.in,
VERSION, README, INSTALL, TODO:
<aprsis> interface config with new style entry.
More of <interface> definitions.
Experiments at aprx.conf.in writing.
* Makefile.in, aprx.8.in, aprx.conf.in, aprx.h, config.c,
filter.c, interface.c, netax25.c, netbeacon.c, pbuf.c,
pbuf.h, ttyreader.c:
Incremental work on new style of configurations
as outlined in the Requirement Specification document.
Old style configurations do still work.
Serial port initstring is now binary transparent.
2009-10-05 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.06
* netbeacon.c:
Complete beacon coordinate validator code, now it
can detect invalid input values properly.
* netax25.c, aprsis.c, ttyreader.c, igate.c, aprx.h:
Cleaning gcc -Wall warnings on various platforms,
including OpenBSD.
2009-10-01 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.05
* kiss.c, netax25.c, ttyreader.c, aprx.h, ax25.c:
Write the SMACK frame with correctly escaped CRC.
Fixed also serial-port initstring handling.
2009-09-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.04
* netax25.c:
When writing AX.25 KISS frame to kernel, try to do it
up to 3 times. Also add some debug statements on
ax25-rxport processing.
* VERSION: 1.03
* ttyreader.c:
Fix on serial port startup - always turn on flows on
the port, and explicitely flush the driver level
buffers discarding possibly accumulated data.
2009-09-28 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: 1.02
* erlang.c, aprx-stat.c, aprx.h:
Remove subport from erlang codes, having "tncid N" on serial
port definitions takes care of this kind of things.
* kiss.c, ttyreader.c, netax25.c, ax25.h:
Moved KISS/SMACK encoder to separate module, the CRC16 calculator
went there as well. For each ttyreader sub-tncid there is
separately opened KISS-pty channel on Linux systems with given
callsign as interface's writer channel. The netax25 ax25-port
reader does not accept packets with source callsign as any of
our ttyreader callsigns.
* erlang.c:
Fix the erlang_find() to really find the interface call.
2009-09-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* cellmalloc.c, netax25.c, keyhash.c:
Compiling at OS/X found a few odd problems, corrected.
2009-08-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.8.in, aprx.conf.in, config.c, aprx.h, aprx.c, telemetry.c,
netax25.c, netbeacon.c, aprsis.c, ttyreader.c, erlang.c,
aprx-stat.c:
Rename the "mycall" configuration parameter to "aprsis-login",
what it really is being used at. There is no "mycall", anywhere!
* dupecheck.c, aprx.h, aprx.c, [dupecheck.h]:
Removed dupecheck.h after incorporating it into aprx.h.
Added the poll-interfaces to handle housekeeping operations.
* beacon.c -> netbeacon.c, Makefile.in, aprsis.c, aprx.c, aprx.h:
Change file name, and all references therein.
A preparation for separate RF beacons.
* netbeacon.c, aprx.8.in, aprx.conf.in:
Add "netbeacon dest APRS via NOGATE ..." options for configuration.
* netbeacon.c:
Use float math to determine next event times for all beacons
for smoother distribution.
2009-08-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* Makefile.in, dupecheck.c, dupecheck.h, aprx.c, aprx.h, aprsis.c:
Add infrastructure for future: dupecheck()
* telemetry.c:
Add "NOGATE" on telemetry messages transmitted to APRSIS.
* igate.c:
Deeper look into Rx-IGate specs revealed couple missing details.
More bits towards Tx-IGate.
2009-08-23 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION, INSTALL:
Mark version as: 1.00
* aprx.c:
Document '-L' option.
* aprx.h, aprsis.c, beacon.c, igate.c:
New internal API to pass data from aprx proper, and APRS-IS
communicator. This is able to carry binary (including NUL
bytes) data both on received AX.25 address, and frame content.
* telemetry.c:
Change a bit on information texts, and transmit frequency.
* aprx.conf.in, aprx.8.in:
Edit prototype configurations, and documentation
* aprx.c, aprx.h, igate.c, cellmalloc.h, historydb.h, historydb.c,
keyhash.h, keyhash.c, pbuf.h, parse_aprs.c:
Preparing infrastructure for TX capable i-gate, and digipeater.
2009-02-10 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* Makefile.in, aprsdigi.c, igate.c, aprx.h, ax25.c, ttyreader.c,
netax25.c, aprsis.c:
Move rx-igate code to igate.c,and make initial moves to
collect information about what to do for tx-igate.
* PROTOCOLS, TODO, README:
Document updates.
2008-12-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, aprsis.c, netax25.c, configure.in, ttyreader.c, Makefile.in:
Compile testing to get this to work on Solaris 10.
Also fixes on PIPE failure handling (correct SIGPIPE ignoring)
on platforms other than Linux -- and possibly also for Linux.
Now this should drop in to FreeBSD and OS/X as well.
2008-10-28 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* netax25.c, aprx.8.in:
Turned upside-down the meaning of ax25-rxport config
parameter. There is no longer a wild-card receiving
mode in Linux internal AX.25 network receiving.
All APRS receiving interface callsigns must be listed
explicitely.
* netax25.c, ttyreader.c, aprx.h:
SMACK probe transmits on link that is configured for it.
Also offers some debug messages on SMACK activation.
* beacon.c, ax25.c:
Cleaning debug printouts
2008-07-18 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* config.c:
Function for validate of callsign input syntax
* telemetry.c:
Please the compiler a bit, increment the telemetry
sequence number only after all telemetered interfaces
have been reported.
* aprsis.c:
If there is need to reconnect to APRSIS, pick all possible
IP addresses for it, and use them all. Also improved
the use of new IP resolver API a bit.
* ttyreader.c:
Explicitely set "KISSSTATE_SYNCHUNT = 0" in enumeration.
Memory blocks are created with memset() call clearing them.
* aprx.h, beacon.c:
Compiler pleasing
* erlang.c:
One-off array size handling, resulted in SEGV...
2008-04-11 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION:
0.22:
* erlang.c:
Auto-embed the erlang-dataset if backing-store open fails.
* ttyreader.c:
Mark closed socket as closed.
2008-03-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION:
0.21
* telemetry.c:
New "send Erlang data as telemetry packets to APRS-IS"
subsystem.
* aprsis.c:
Fix the APRS-IS network login protocol. There are TWO
parameter strings after the "vers" keyword.
* configure.in, Makefile.in, erlang.c:
Support compilation as embedded target. Then the erlang
datasets are not off-loadable to the memory mapped files,
rather they are very small in-memory tables.
* erlang.c, aprx.h, telemetry.c, ax25.c, aprx-stat.c:
Support for telemetry sending out info on received packets.
* beacon.c:
Improve input validation.
2008-02-18 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION: aprx-0.18
* aprx.8.in, aprx.conf.in, beacon.c:
New syntax to define netbeacons. Also support older methods.
* config.c:
Bug in config_SKIPTEXT quoted string termination scanning.
* netax25.c, aprsis.c, aprx.h:
Removing dead code, hooks for future "TNC2 -> AX.25"
* ttyreader.c:
Send received KISS frames to system internal AX.25 network,
if host has such (such as Linux)
2008-02-03 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* configure.in, netax25.c,
autodetect header <pty.h>, and libutil function openpty().
* netax25.c, aprx.h, aprx.c:
Rearranged netax25 module initing - to happen _latter_.
* ttyreader.c, aprx.h, netax25.c:
kissencoder() function
* ttyreader.c, aprx.h, netax25.c:
On Linux, use openpty() to create an AX.25pseudo-device on
which we then can push AX.25 format packets received from
non-AX.25 interfaces. This will itself also _ignore_ packets
received from this created interface.
* beacon.c:
"for" attribute for beacon messages, thus this system
can claim to be sending the beacons on behalf of others.
* ax25.c, aprx.h:
parse_ax25addr() function.
* config.c, aprx.8.in, aprx.conf.in:
The mycall parameter must be all uppercase AX.25 valid
callsign, and must not be same as any other callsign
in system internal AX.25 network. (This is meaningful
only on Linux systems..)
* Makefile.in:
Just some cleanup
2008-01-30 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprsis.c:
Spotted watchdog doing reconnects every 2 minutes
(like it is supposed to be), and realized that
it really should not care what the server says,
just that server is saying something...
* erlang.c:
A bug in backing-store map protection logic.
* aprx.c:
See if pidfile exists. If it does and the start
is not for foreground, refuse to run if process
given in the pidfile does exist.
* aprx.8.in, config.c, netax25.c, ttyreader.c, aprsis.c,
aprx.h, ax25.c, aprx.conf.in, beacon.c:
New "callsign" config parameter for "radio serial" ports.
messages received from given port are sent out using that
callsign. Revamp the whole config parsing.
* aprsis.c:
Smarter main-loop to aprs-is loop message pass preparation
and usage codes -- pass a struct block as message leader.
* ttyreader.c, netax25.c, aprsis, ax25.c, beacon.c, aprx.h:
Pass explicite parameter towards the APRSIS telling, which
callsign (radio receiver) the message came in from.
* aprx.h, config.c, ttyreader.c, beacon.c:
Rework config parameter line parsing. Just one param is
processed by the main config reader loop, any further are
tasks of the individual subroutines (ttyreader, beacon)
2008-01-26 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* erlang.c:
Properly handle r/o share mapping of the aprx.state erlang
dataset. This mode is used by the aprx-stat program.
* netax25.c, aprx.conf.in, aprx.8.in:
For each AX.25 socket received packet, query reception
interface address and reformat it to TNC2 format.
Use that for reception reports, logs, filters etc.
Reason: port names given in /etc/ax25/axports do not
persist at all! Even clean system boot may yield
different port names than what the file lists.
* Version 0.17
* INSTALL, README:
Minor edits
* configure.in, Makefile.in, debian/rules, rpm/aprx.spec.in,
Makefile:
A bit more coherency on make system regarding linking.
Remove generated Makefile. (Keep generated configure !)
* config.c, ttyreader.c, aprx.conf.in, aprx.8.in:
Call the "serialport" now with name "radio".
(Also old one works, so old config does not break.)
* aprx.h, netax25.c, ax25.c, ttyreader.c:
Pass port name down to tnc2_rxgate() function where
it is used in rf.log outputs. A distributed multi-
receiver setup log is somewhat .. odd looking when
most receivers get same packet.
* logrotate.arpx.in:
Rotate weekly, and compress immediately.
Monthly turned out to be too much for "embedded"
OH1GSM-1 system.
2008-01-12 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* configure.in, configure, debian/rules, rpm/aprx.spec.in,
rpm/aprx.init, Makefile, config.h.in:
More RPM / configure rework.
* configure.in, configure, Makefile.in, Makefile, config.h.in,
install-sh, rpm/aprx.spec.in, debian/rules:
Had to add minimalistic configure script into system for
the RPM multi-target compilation to work.
* Makefile, rpm/aprx.spec.in, rpm/aprx.default, rpm/aprx.init:
RPM package build framework, including init and logrotate -scripts
2008-01-10 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* version 0.16
* erlang.c:
Make the logged data narrower - to usually fit in 80 char lines.
* aprx.c:
Always close STDIN from reading, and replace it with
a file handle opened on /dev/null.
When daemoning, close also STDOUT and STDERR, and
replace them with handles writing to /dev/null.
.. and do it as late as possible.
* aprx.h, aprx.c, config.c, erlang.c, aprx.8.in, aprx.conf.in,
aprx-stat.c:
Add (and document) option for logging erlang data on separate
file without any runtime options or need to divert stdout
or syslog anywhere.
2008-01-08 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.h, ttyreader.c, erlang.c, netax25.c, aprx-stat.c:
When talking with multi-drop KISS, account each TNC
separately.
2008-01-07 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* version 0.15
* erlang.c:
Do not double-open the state backingstore file
* aprsis.c:
Remember to close the opened log files.
* ttyreader.c:
Support case of _no_ serialports (reading only via AX.25 net)
* Makefile, logrotate.aprx.in:
Put aprx logs on /var/log/aprx/, and have monthly rotate.
* debian/*, Makefile:
Debian package building infrastructure
* aprx.8.in, aprx.conf.in:
A bit elaboration on how to add multiple entries of
aprsis-server, and serialport definitions.
* aprsis.c, ttyreader.c, aprx.8.in, aprx.conf.in:
Remove last vestiges of program having any hardwired limits
on number of anything. There are (of course) lots of
parameters that are singletons, but all multiples are
now unlimited (within memory limits..)
* Makefile:
"make install" does install the CFGFILE (aprx.conf)
if it does not have to overwrite the thing.
"make dist" is even more interesting beast..
2008-01-06 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* version 0.14
* ttyreader.c, aprx.conf.in, aprx.8.in:
Support TNC2 monitor format on reception.
* ttyreader.c, aprx.conf.in, aprx.8.in:
Overload the "serialport" configuration option with a mechanism
to define a IP-literal addressable remote TCP port somewhere
with e.g. KISS TNC on it.
2008-01-05 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* Makefile:
Radical revisioning, Best Current Practice
* aprx.c:
Write aprx.pid file in all cases, not only when starting
as daemon.
* version 0.13
* aprx.h, aprx.c, erlang.c, aprx-stat.c:
Modifications on shared memory segment head, stores
MYCALL, correct running process PID.
* INSTALL:
Some text fixes
* aprx-stat.c, aprx.h, erlang.c:
Report also server process PID on the SNMP dataset,
and time in seconds since it was started.
* ax25.c:
Verify TNC2 format APRS message's FROM>DEST,VIA,VIA:
callsigns to be of proper syntax.
* Makefile, aprx.8, aprx.8.in, aprx-stat.8, aprx-stat.8.in,
aprx.conf, aprx.conf.in:
Centralized a bit of configuring into Makefile, generating
files from *.in versions.
* aprxpolls.c:
Library function used everywhere, part of "eliminate fixed
size preallocations" -task.
* aprsis.c:
Debug logging improvements, parent death detection.
Preserved MAXAPRSIS setting - of 10 servers.
* ttyreader.c:
Unfix the number of TTYs, now can be as many as one wants.
* config.c, aprx.c, aprx.h, aprx.conf.in, aprx.8.in:
pidfile configuration parameter, and its usage
2008-01-04 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* VERSION, arpx.c, Makefile, aprx.8, aprx.8.in,
aprx-stat.8, aprx-stat.8.in:
Define system version in VERSION file, have it stamped
on programs and packages.
* config.c:
The "aprxlog" and "rflog" parameters were interchanged
at some point.
* aprx.c, aprsis.c, beacon.c:
Complain loudly with -d or -v options on, and if the
configuration does not set global mycall parameter.
Do not refuse to run, though! This is perfectly valid
for things like Erlang-monitoring.
2007-12-29 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* version aprx-v0.12
* PROTOCOLS:
Writeup of existing (and planned) protocols that this
software uses.
* ax25.c:
Correct processing of 3rd-party frames.
Also separate TNC2 formatted frame Rx-igateing rules
from AX.25-to-TNC2 format translation routine.
* ax25.c, beacon.c, aprsis.c:
Centralize the APRSIS communication line ending CRLF char pair
addition into common code, not distributed all over.
2007-12-25 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* version aprx-v0.11
* TODO, README:
Cleanup
* config.c, netax25.c, aprx.8, aprx.conf:
Config option "ax25-rxport" - Limits acceptance of APRS
packets only from listed Linux AX.25 ports.
* ttyreader.c, aprx.conf, aprx.8:
Reworked a bit of the serialport config options.
Now initstring, and various KISS modes are configurable
* erlang.c:
Carefull approach on erlang-file opening, if file exists,
and is non-zero size, open it only if magics match.
* config.c:
config_SKIPTEXT() terminates all scanned strings with NUL byte,
and moves to byte following it, if the termination byte was not
a NUL byte originally.
* aprx-stat.c, aprx-stat.8:
Option -t to show timestamps differently.
* Makefile, man-to-html.sh:
Produce decent format HTML versions of the man-pages.
* config.c, erlang.c, aprx.8, aprx.conf:
Added "erlang-log1min" option to control 1 minute interval
Erlang sampling logging behaviour.
* Makefile:
Fix "make install" of man-pages
* version aprx-v0.10
* aprx-stat.c, aprx-stat.8, erlang.c, Makefile:
Statistics reporter tool.
* aprsis.c, config.c, aprx.8, aprx.conf:
Multiple aprsis-server config definitions are now
supported, and used in round-robin fashion.
* ax25.c, config.c, aprx.8, aprx.conf:
Config option ax25-filter
* ttyreader.c, erlang.c:
Magic channel capacity constant expressions updated..
2007-12-23 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprx.c, aprx.h, aprsis.c, aprx.8, aprx.conf, ax25.c, erlang.c:
Multiple configuration file options, rf-log, and aprx-log -files,
related documentation.
* config.c, aprx.8:
Special quoted-string escape processing.
* version aprx-v0.08
* erlang.c, aprx.c, aprx.h:
Erlang data has now a mmap():ed filesystem based backing-store.
Erlang-data can be syslog()ed, and independently of that,
it can be printed on STDOUT. Default syslog facility is "NONE".
* Great Rename -- the thing is now called: aprx
2007-12-06 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* aprsg.8, erlang.c, aprsg.c, netax25.c, ttyreader.c:
Erlang logging now uses syslog(3), unless explicitely told to use
output to stdout. Also the Erlang log format was altered a bit,
now it reports also number of packets in the interval.
* erlang.c, Makefile:
"make ERLANG1=1" compiles in also 1 minute erlang logging interval.
* aprsis.c:
Code refactored to put the APRS-IS communication into its own
fork()ed sub-process communicating via a socketpair() with the
main loop. Now reconnection time with the APRS-IS server does
not affect functionality of the main loop.
2007-12-05 Matti Aarnio - OH2MQK - KP20NG <oh2mqk@sral.fi>
* ChangeLog
Opened for the first time. Version 0.06.
|