Commit Graph

1820 Commits

Author SHA1 Message Date
Heikki Hannikainen e9ad577e7f workflow: Update dependencies 2022-10-26 01:54:24 +03:00
Heikki Hannikainen a37a7c5c59 test: Ease up udp-load test some more 2022-10-25 08:33:43 +03:00
Heikki Hannikainen 91449335a2
Merge pull request #73 from hessu/feature/ssl
tls: fix warnings, rename from ssl to tls, prepare for testing
2022-10-25 02:10:51 +03:00
Heikki Hannikainen dc2f797c61 tls: Rename SSL to TLS in log messages 2022-10-25 02:03:24 +03:00
Heikki Hannikainen 310cdee20d tls: Adjust tls parameter names in tls1 test config 2022-10-25 02:03:24 +03:00
Heikki Hannikainen b10084b45d tls: Rename ssl.c to tls.c 2022-10-25 02:03:24 +03:00
Heikki Hannikainen 6fab86fd4c config: Start renaming ssl config options to tls
Rename sslkey, sslcert, sslca, sslcrl parameters of listen/uplink
directives to tlskey, tlscert, tlsca, tlscrl. The old parameter
names are still accepted for the time being.
2022-10-25 02:03:24 +03:00
Heikki Hannikainen a678efcce2 tests: Run aggregator tests in github workflow 2022-10-25 02:03:24 +03:00
Heikki Hannikainen ebaccb048f tests: Use different ports for aggrtest 2022-10-25 02:03:24 +03:00
Heikki Hannikainen fd8e964bd8 tests: Create test CA + server cert, add tls1 test server config 2022-10-25 01:48:06 +03:00
Heikki Hannikainen f6ce97c02f ssl: Fix compile-time warnings 2022-10-25 01:18:03 +03:00
Heikki Hannikainen f4d444c277
Merge pull request #71 from hessu/feature/sctp
sctp: Improve SCTP performance and logging, mark SCTP in status web
2022-10-24 01:18:39 +03:00
Heikki Hannikainen e49644924e sctp: Add a test for SCTP uplink between servers 2022-10-24 01:09:22 +03:00
Heikki Hannikainen 8a6c464cc0 sctp: Switch to buffered writes faster
On a very fast feed, writes may otherwise fail before the
switch happens.
2022-10-24 00:59:01 +03:00
Heikki Hannikainen 986c74545f README.sources: + sctp.c, ssl.c 2022-10-23 19:32:34 +03:00
Heikki Hannikainen d6cd044c3c sctp: Enable SCTP_NODELAY 2022-10-23 19:32:34 +03:00
Heikki Hannikainen df3efad7ad sctp: Remove dead code 2022-10-23 19:32:34 +03:00
Heikki Hannikainen 55a0106ba8 sctp: Improve logging 2022-10-23 19:32:34 +03:00
Heikki Hannikainen 0075014c40 sctp: Buffer outgoing data, similar to TCP
Instead of sending one APRS-IS line per SCTP message, combine multiple
messages in a single SCTP message. This reduces the amount of system
calls a lot and improves eventual DTLS performance.
2022-10-23 19:32:34 +03:00
Heikki Hannikainen ea9c80b5ea sctp: Increase logging level on address assignments a bit 2022-10-23 19:32:34 +03:00
Heikki Hannikainen 51effcfad5 status: Indicate SCTP connections and listeners in status web 2022-10-23 19:32:34 +03:00
Heikki Hannikainen 895e13eb39 debian: Add dependencies for libsctp 2022-10-23 19:32:34 +03:00
Heikki Hannikainen 49386f08ab
Merge pull request #72 from hessu/bugfix/resolv
uplink: Call res_init after resolv.conf changes
2022-10-23 16:49:05 +03:00
Heikki Hannikainen ee4e4a7387 uplink: Call res_init after resolv.conf changes
Older glibc versions have a bug where resolv.conf is not reloaded after it
changes.  Debian distributions have been shipped with a patch to work around
the bug, so this likely only affects other distributions.

Hopefully fixes #68.
2022-10-23 16:32:34 +03:00
Heikki Hannikainen b3b66b9d47
Merge pull request #70 from hessu/feature/uplink-nonblock
uplink: Less blocking of worker threads
2022-10-23 02:53:40 +03:00
Heikki Hannikainen 007f70c72f uplink: Faster uplink thread shutdown while uplinks are timing out
If uplink connections are failing with timeouts, aprsc shutdown
was taking too long. Shut down faster.
2022-10-23 02:39:24 +03:00
Heikki Hannikainen 45ee7a6bf9 uplink: Prevent blocking of worker threads while establishing uplink connection
uplink_client_mutex was being held for a long while during connection
establishment attempts, and it would also be required by the worker thread
when handling a closing upstream connection.

Fixes #64.
2022-10-23 02:39:24 +03:00
Heikki Hannikainen eda6c6625b github test workflow: Add missing LWP dependency 2022-10-23 00:41:23 +03:00
Heikki Hannikainen 5a9cc4ef01 tests: Add a test for the g/ message recipient filter 2022-10-22 22:48:49 +03:00
Heikki Hannikainen f33484b1ba libperl/istest.pm: Some more debugging support 2022-10-22 22:48:08 +03:00
Heikki Hannikainen 6046d094be build: Drop ubuntu 16.04 from build 2022-05-08 15:56:00 +03:00
Heikki Hannikainen 80df3b4fd4 v2.1.11 2022-05-08 15:49:02 +03:00
Heikki Hannikainen fa6609d25d build: Use createrepo_c for building RPM repos 2022-05-08 15:48:44 +03:00
Heikki Hannikainen e725a5777c config: Reduce pbuf global ttl from 4 minutes to 1 minute
Reduces memory use under high packet rate.
2022-05-08 15:19:09 +03:00
Heikki Hannikainen b60c41e5d9 cellmalloc: Do not allocate new cell blocks if CELLBLOCKS_MAX is reached
Do not even try to do an allocation if the maximum amount of blocks
are already allocated. The old code did an allocation with mmap() and
then didn't use it, causing a virtual size leak.

Fixes #69
2022-05-08 00:12:19 +03:00
Heikki Hannikainen aebe253816 t/64udp-load.t: Reduce test load to make it work with gh actions 2022-02-09 23:53:33 +02:00
Heikki Hannikainen 2c3d5f52b2 client_buffer_outgoing_data(): refactor obuf space freeing to another function 2022-02-09 23:37:09 +02:00
Heikki Hannikainen 448c71fbbd urandom_alphanumeric: Better distribution when using random() 2022-02-09 23:37:09 +02:00
Heikki Hannikainen c1385db760 Move random string generation to random.c 2022-02-09 23:34:48 +02:00
Heikki Hannikainen 45fc046f5e aprsc.c: Refactor instance ID generation to split it up a bit 2022-02-09 23:30:54 +02:00
Heikki Hannikainen 24af04a801 login: modularize a bit 2022-02-09 23:28:47 +02:00
Heikki Hannikainen 937433a17d Rename aprsis CRLF deframing function to deframe_aprsis_input_lines
and make it static
2022-02-09 23:19:31 +02:00
Heikki Hannikainen 45aa09b3cb consume_input_aprsis: optimize to use array index access insted
of pointer bumping
2022-02-09 23:19:22 +02:00
Heikki Hannikainen 12bebb1936 worker data input: refactor packet deframing (CRLF delimiter) to
a separate function
2022-02-09 23:19:15 +02:00
Heikki Hannikainen 62a6e48314 INSTALLING: fix bullseye codename 2021-09-05 21:15:06 +03:00
Heikki Hannikainen d4ebec2906 INSTALLING: Remove i386 from supported builds list for Ubuntu 2021-09-05 21:13:42 +03:00
Heikki Hannikainen 2982e87269 doc: Update supported Debian versions, remove some Windows references 2021-09-05 21:11:16 +03:00
Heikki Hannikainen d72a17c4c8 v2.1.10 2021-09-04 15:10:33 +03:00
Heikki Hannikainen 35aa924401 debian/control: Add build-depends dev libs 2021-09-03 23:37:28 +03:00
Heikki Hannikainen 2c0aa53853 v2.1.9 2021-09-03 23:21:58 +03:00