Commit Graph

1088 Commits

Author SHA1 Message Date
Heikki Hannikainen 62d9f9a6c5 version 1.6.0 2012-10-21 23:30:54 +03:00
Heikki Hannikainen a306e845d7 INSTALLING doc: document restart methods 2012-10-21 23:30:19 +03:00
Heikki Hannikainen 3ea6a7b07f Added libcap2-bin to debian dependencies 2012-10-21 22:55:35 +03:00
Heikki Hannikainen 76a49ed184 Live upgrade: Close log file to avoid fd leak 2012-10-21 22:36:44 +03:00
Heikki Hannikainen 8a3610da6b postinst: Set bind-low-ports capability on binary in filesystem
so that it is really carried over in exec() for live upgrade
2012-10-21 22:18:23 +03:00
Heikki Hannikainen d611100a48 When setting final capabilities, make them inheritable
so that they are still usable after exec() in live upgrade
2012-10-21 21:33:14 +03:00
Heikki Hannikainen 8a6611e90c version 1.5.1 2012-10-21 20:53:44 +03:00
Heikki Hannikainen cd2e63e1f7 aprsc.inits & rpm spec: fixes for live upgrade + chroot 2012-10-21 20:53:44 +03:00
Heikki Hannikainen b554e09319 incoming: Only drop 3rd-party packets with TCPIP/TCPXX in second path 2012-10-21 14:56:52 +03:00
Heikki Hannikainen c4370589e5 rpm init script: support for live upgrade 2012-10-20 15:06:03 +03:00
Heikki Hannikainen 314eba5d16 debian init script: implement method to live upgrade 2012-10-20 11:52:17 +03:00
Heikki Hannikainen 179ede9dfc Live upgrade: Handle no/empty filters, log amount of accepted clients 2012-10-20 11:51:09 +03:00
Heikki Hannikainen 431e425dcc live upgrade: Make init script to bind mount /lib r/o within chroot 2012-10-20 09:49:05 +03:00
Heikki Hannikainen 79e9c953eb liveupgrade: apparmor and exec path fixes to make it run
under chroot and apparmor
2012-10-19 23:49:17 +03:00
Heikki Hannikainen 3307734d21 Merge branch 'master' into liveupgrade 2012-10-19 22:47:28 +03:00
Heikki Hannikainen 7557aa133c uplink: small info level logging change (log configured hostname) 2012-10-19 22:46:36 +03:00
Heikki Hannikainen 196979926c Merge branch 'master' into liveupgrade 2012-10-19 22:37:26 +03:00
Heikki Hannikainen 34e05320ba Live upgrade: fix UDP, pass ibuf/obuf, and filters.
Fix a crash in shutdown with Uplinks.
2012-10-19 22:35:37 +03:00
Heikki Hannikainen faea0af01b Disallow unverified packets with TCPXX in path or qAX q construct 2012-10-19 22:16:06 +03:00
Heikki Hannikainen 5700ceebcc Live upgrade: pass client validation status, sw info and counters 2012-10-19 11:21:23 +03:00
Heikki Hannikainen 7ed64ed294 Live upgrade: Put clients in correct state and attach to the right listener 2012-10-19 10:54:40 +03:00
Heikki Hannikainen 7b819e82eb accept: modularize accept code to reuse code with live upgrade 2012-10-19 09:48:01 +03:00
Heikki Hannikainen bae05fd8e6 parse_qc: remove extra linefeed from debug log 2012-10-19 09:47:39 +03:00
Heikki Hannikainen 320480a068 Live upgrade: parse JSON client records a bit 2012-10-19 07:37:06 +03:00
Heikki Hannikainen 3af32dce25 Live upgrade: read in and decode status dump JSON 2012-10-19 01:30:41 +03:00
Heikki Hannikainen f45ab9194a Initial set of changes to facilitate live upgrades
Save status to a JSON file, execute self without disconnecting
clients. Initialize in a slightly special way.
2012-10-19 01:08:08 +03:00
Heikki Hannikainen f02ad6a5f7 uplink: small info level logging change (log configured hostname) 2012-10-18 13:22:25 +03:00
Heikki Hannikainen 75ed111a75 config doc: fix note about reconfiguration in acl doc 2012-10-18 07:28:03 +03:00
Heikki Hannikainen 0da59c9f8a further styling for reconfig doc 2012-10-18 00:09:35 +03:00
Heikki Hannikainen b32bafbde6 A couple of additional notes for reconfig docs 2012-10-18 00:08:22 +03:00
Heikki Hannikainen 921dde131b CONFIGURATION doc: document on-line reconfiguration 2012-10-18 00:04:42 +03:00
Heikki Hannikainen 80aa840605 Fix configuration example and document to point out that the
predefined filter option only works with igate ports.
2012-10-17 23:36:25 +03:00
Heikki Hannikainen 5a5c32470c version 1.5.0 2012-10-17 22:07:30 +03:00
Heikki Hannikainen 9591c6cb09 config: Disqualify configuration with no Listen directives.
Upgraded some config log messages from WARNING to ERROR.
2012-10-17 22:05:26 +03:00
Heikki Hannikainen 6e64ff008f filter: Implemented g/ text message destination filter
as appearing on javAPRSSrvr 4.0
2012-10-17 21:23:02 +03:00
Heikki Hannikainen d7f220e560 centos init script: check configuration before reload/restart 2012-10-17 21:22:27 +03:00
Heikki Hannikainen 17d67de0d5 debian init script: test configuration before reload/restart 2012-10-17 18:00:39 +03:00
Heikki Hannikainen ee9ccc0b59 uplink: Initiate uplinks 0.1 s after startup, instead of waiting for 1s 2012-10-17 17:59:40 +03:00
Heikki Hannikainen 9481f9e769 cfgfile parser: Log errors using hlog 2012-10-17 17:52:49 +03:00
Heikki Hannikainen 81cb9efe10 Added -y command line option to try out configuration parsing.
Reports errors (if any) and exits with error code 1 if config
seems bad. Otherwise, exit with code 0.
Useful for validating your configuration before restarting aprsc.
2012-10-17 00:28:36 +03:00
Heikki Hannikainen 2439caf34b Config/upstream: further fixes for reconfiguring uplinks 2012-10-17 00:03:31 +03:00
Heikki Hannikainen 46576d9c07 worker: When stopping workers at reconfig, report the number right.
It was reported as negative number (Stopping -2 workers).
2012-10-17 00:02:31 +03:00
Heikki Hannikainen 11c8394d4e parse_aprs: fix symbol parsing from dstcall for NMEA.
It didn't always get done, and uninitialized symbol might be
used for filtering.
2012-10-16 23:51:14 +03:00
Heikki Hannikainen 49220f94a5 accept: Don't trigger uplink reconfiguration unnecessarily (twice). 2012-10-16 23:50:16 +03:00
Heikki Hannikainen 20fbf3bbe1 reconfig: more work towards reconfiguring active listeners
Update listeners, ACLs, socket flags.
2012-10-16 00:35:33 +03:00
Heikki Hannikainen 3434843c97 version.h: fix tocall for 1.4 2012-10-15 23:04:17 +03:00
Heikki Hannikainen 921e09a656 Fixes to reconfiguration, and count users of UDP downstream.
Fixed reconfiguration issues with the help of valgrind.
New Listeners are added as needed, deleted listeners are closed.
Existing listeners are currently not touched (should fix them
to match current configuration and apply ACL/maxclients changes).
Users utilizing UDP downstream are now accounted as clients of
the UDP listeners.
2012-10-15 22:56:14 +03:00
Heikki Hannikainen 3120dd2720 dupecheck: fix FOR_VALGRIND build 2012-10-15 20:32:53 +03:00
Heikki Hannikainen 362a6be4d2 Igate processing (heard list maintenance) was accidentally enabled for full feeds.
Disable it - full feeds get all packets anyway, so we don't need to
route messages for them.
2012-10-14 21:39:50 +03:00
Heikki Hannikainen 2fe86a6c5f version 1.4.0 2012-10-14 16:04:42 +03:00