Commit Graph

1543 Commits

Author SHA1 Message Date
Heikki Hannikainen eaf3fd68df live upgrade: Use an environment variable instead of a cmd line arg
to signal live upgrade to the new executable. The command line
argument was visible to users and got copy-pasted at times.
2013-04-19 19:36:51 +03:00
Heikki Hannikainen 0df3d49455 qc parser: use memmem instead of custom memstr 2013-04-19 18:58:12 +03:00
Heikki Hannikainen e4af796e7d config: store serverid's length in a variable for use elsewhere 2013-04-19 18:45:38 +03:00
Heikki Hannikainen a642d70ef1 autoconf: check for setenv/putenv 2013-04-19 18:28:52 +03:00
Heikki Hannikainen 3feb6f5b9d worker: silence a coverity warning 2013-04-19 18:27:22 +03:00
Heikki Hannikainen ca13794f61 incoming srccall check: relax SSID length requirement a bit to match javap3 for now 2013-04-18 23:05:25 +03:00
Heikki Hannikainen ce78e927dd rpm init file: adjust whitespace 2013-04-17 11:14:56 +03:00
Heikki Hannikainen d223e2e4ac web: don't hide and re-display motd every minute, even when it does not change 2013-04-17 09:25:54 +03:00
Heikki Hannikainen 3b6f6f71b0 DEBUGGING doc: point out centos sysconfig file path 2013-04-17 08:59:37 +03:00
Heikki Hannikainen e1f00bffec init scripts: set core file size limit to unlimited 2013-04-17 08:56:59 +03:00
Heikki Hannikainen d578adb735 version features: list sctp 2013-04-17 08:38:11 +03:00
Heikki Hannikainen bc78a72103 clients: send first keepalive after keepalive timeout, not immediately 2013-04-13 23:02:35 +03:00
Heikki Hannikainen e35f65cfba sctp: silence coverity warnings 2013-04-13 18:36:54 +03:00
Heikki Hannikainen d34a47004e remove comment 2013-04-13 18:21:37 +03:00
Heikki Hannikainen 1d66e9c2b5 fix compiling with sctp 2013-04-13 18:01:58 +03:00
Heikki Hannikainen 2102cff229 worker: use a c->write() method to simplify different write handlers 2013-04-13 17:58:02 +03:00
Heikki Hannikainen a90848d694 modularize udp_client_write away from the tcp path 2013-04-13 15:28:17 +03:00
Heikki Hannikainen 024264e1bf Added a handler_client_writable handler, reduced conditionals 2013-04-13 15:09:21 +03:00
Heikki Hannikainen 5305169649 Use handler pointer for client readable 2013-04-13 15:00:34 +03:00
Heikki Hannikainen 8da002be7f Renamed c->handler to handler_line_in 2013-04-13 14:06:09 +03:00
Heikki Hannikainen e8e2d2b096 Moved sctp code to sctp.c to make worker.c/accept.c smaller 2013-04-13 13:47:19 +03:00
Heikki Hannikainen b3ba956a89 Fix SSL write error logging segfault, adjust logging 2013-04-11 13:09:15 -07:00
Heikki Hannikainen 9fb0100089 ssl: Try to ignore stale errors and log the right ones 2013-04-09 22:14:35 -07:00
Heikki Hannikainen e8c0b15c15 ssl: fix SEGV bug in error logging 2013-04-09 22:14:34 -07:00
Heikki Hannikainen 1c5106925b Allow -0 SSID in srccall (and dstcall), to match javaprssrvr 2013-04-10 08:13:24 +03:00
Heikki Hannikainen e0ce292f78 Fix SCTP uplink & listener to actually work. Send keepalive comments
even if no traffic has been sent.
2013-04-09 20:39:15 +03:00
Heikki Hannikainen fca8f208e9 Drop incoming packets with -0 SSIDs in callsigns. Speedup in callsign
checking (array reference instead of pointer math and referencing) and
stricter callsign syntax checks.
2013-04-09 18:33:12 +03:00
Heikki Hannikainen dd9b6c92c6 accept: Fix compiling on OS X without SCTP 2013-04-09 18:30:10 +03:00
Heikki Hannikainen 788aa052f5 historydb: fix compiling on OS X, missing header include 2013-04-09 17:34:45 +03:00
Heikki Hannikainen b5123d0282 Half-working support for SCTP listeners and clients 2013-04-09 08:20:25 +03:00
Heikki Hannikainen a0179884e6 A little bit of SCTP listener config support + autoconf checks 2013-04-08 22:48:18 +03:00
Heikki Hannikainen 6e8e5dcfc1 Adjust defines to get recursive mutexes back 2013-04-08 21:52:56 +03:00
Heikki Hannikainen d7132663eb Added debian wheezy / raspberry pi to supported platforms 2013-04-08 20:40:32 +03:00
Heikki Hannikainen dd4622333a build-all: Build on debian wheezy Raspberry Pi 2013-04-08 19:58:14 +03:00
Heikki Hannikainen a799e6dae3 define _GNU_SOURCE to silence warning about missing strncasestr prototype 2013-04-08 16:57:03 +00:00
Heikki Hannikainen e587507596 rpm spec: Create usr directory in the chroot 2013-03-22 06:36:44 +00:00
Heikki Hannikainen ceec8b4b99 ssl_info_callback: check for null pointers 2013-03-22 06:34:39 +00:00
Heikki Hannikainen 269077fe5e ssl: Adjust log messages to not say ERROR when there is no error 2013-03-22 06:08:17 +00:00
Heikki Hannikainen f39045ca3b status: Make error flag log messages more intuitive 2013-03-22 06:07:46 +00:00
Heikki Hannikainen 53f70eb803 ssl: log ssl handshake start/end, enable partial writes, allow
SSL_write of 0 bytes in case of a handshake
2013-03-21 08:07:38 +02:00
Heikki Hannikainen 628156e1b5 just a comment fix 2013-03-14 23:50:39 +02:00
Heikki Hannikainen ae355f125b Store cert subject & issue in client struct and status.json.
Store distinction between weak and strong validation status.
Display cert validation status on web.
Disconnect SSL client when doing live upgrade - the SSL state is not
transferred over the upgrade anyway.
Do not accept logging in with my ServerID or to an uplink server
having my ServerID.
2013-03-14 23:47:08 +02:00
Heikki Hannikainen 6532d58dc3 Live upgrade: Check file IO errors when dumping state for live upgrade. 2013-03-14 18:37:13 +02:00
Heikki Hannikainen a24269cee5 historydb: Check for file i/o errors when dumping db (live upgrade) 2013-03-14 18:30:38 +02:00
Heikki Hannikainen 0fc86638b9 Fixed a few ssl error logs 2013-03-14 09:10:07 +02:00
Heikki Hannikainen 67f76622f6 ssl_write: pass right errno 2013-03-14 00:25:30 +02:00
Heikki Hannikainen 7a4bcfee6c version 2.0.1 2013-03-14 00:18:04 +02:00
Heikki Hannikainen 6ece5fbe81 ssl: Adjust read error logging 2013-03-14 00:16:36 +02:00
Heikki Hannikainen cde80c9009 reconfigure: Don't segfault on clients on listeners with no ACL 2013-03-13 23:56:42 +02:00
Heikki Hannikainen c1d2c38050 added tool to submit build to coverity 2013-03-13 23:40:24 +02:00