Commit Graph

1270 Commits (41a3a2068ee014ddfb7f07108ad5e6d4e718e329)

Author SHA1 Message Date
Roger A. Light 15efd2d072 Various memory fixes. 11 years ago
Roger A. Light ff5fd26e13 Free base64 memory properly. 11 years ago
Roger A. Light 7f18ced0b4 Close websockets connection if we are set to disconnecting. 11 years ago
Roger A. Light 482d604598 Only remove from hash if a valid socket (i.e. if present) 11 years ago
Roger A. Light 3577dbf332 Add sock hash earlier to avoid crashes. 11 years ago
Roger A. Light 0fc0e13a8f Can't access mosq after free. 11 years ago
Roger A. Light 19056e6d4c Removed $SYS/broker/changeset. 11 years ago
Roger A. Light 480d8a08d0 Count disconnected clients on persistence restore. 11 years ago
Roger A. Light 749ea76678 Typo. 11 years ago
Roger A. Light cc33a6e5af Do proper cleanup, including websockets. 11 years ago
Roger A. Light 764b7e0a91 Use hash functions to store client data. 11 years ago
Roger A. Light 7911db1a1e Simplify. 11 years ago
Roger A. Light bd2aa2f426 Add batch mode to mosquitto_passwd. 11 years ago
Roger A. Light 9a9dba6cd5 Support for mqttv3.1 subprotocol string. 11 years ago
Roger A. Light 29e65e4965 Anonymous clients are no longer accidently disconnected from the broker after a SIGHUP. 11 years ago
Roger A. Light 4025fad5aa libuuid is used to generate client ids, where it is available, when an MQTT v3.1.1 client connects with a zero length client id. 11 years ago
Roger A. Light 731391bcb3 Separate function for generating a random client id. 11 years ago
Roger A. Light 0461c08fdf use_identity_as_username now no longer affects non-TLS listeners. 11 years ago
Roger A. Light af49fc556a When a durable client reconnects, its queued messages are now checked against ACLs in case of a change in username/ACL state since it last connected.
Thanks to "web1".
11 years ago
Roger A. Light 930b917217 Save disconnect_t for connected clients when the broker exits. 11 years ago
Roger A. Light 11631d8d92 Add local_clientid for bridges. 11 years ago
Roger A. Light aca67a2170 Better function names. 11 years ago
Roger A. Light e221b37658 Add stats mode for db_dump. 11 years ago
Roger A. Light 7b62bfd7da Use time() for disconnect_t, CLOCK_MONOTONIC isn't useful over reboots. 11 years ago
Roger A. Light 1ef8575a35 Reset disconnect_t on client reconnect. 11 years ago
Roger A. Light ad43754b62 Log username in single quotes. 11 years ago
Roger A. Light 4430228855 Be consistent about removing listener counts on socket close. 11 years ago
Roger A. Light 7cef936ba6 Logging fixes. 11 years ago
Roger A. Light c8a0786dea TLS websockets support. 11 years ago
Roger A. Light 6a7f77d2a8 More intelligent client counting. 11 years ago
Roger A. Light 0d80800786 Don't refuse clients with will topic that isn't allowed by acl. 11 years ago
Roger A. Light ef4b7a52a0 Fix missing headers for WITH_TLS=no. 11 years ago
Roger A. Light fd7d5ebbb9 Change $SYS/broker/clients/[in]active -> $SYS/broker/clients/[dis]connected 11 years ago
Roger A. Light e4ddc31295 Fix for MQTT-3.8.4-3. 12 years ago
Roger A. Light 85af9bdd9a Simplify. 12 years ago
Roger A. Light 87579e0cac Remove STRICT_PROTOCOL #ifdefs. 12 years ago
Roger A. Light 1984e2e37d v3.1.1 requires websockets protocol to be mqtt. 12 years ago
Roger A. Light c13f4c7931 Close config files on error. 12 years ago
Roger A. Light 5da25ae5d9 Add support for "session present" in CONNACK messages for MQTT v3.1.1. 12 years ago
Roger A. Light 0224db85c4 Fix bug #1324411 12 years ago
Roger A. Light 6cc3e7999e Tidy up. 12 years ago
Roger A. Light 859224224a Fix potential memory leak. 12 years ago
Roger A. Light 6a03972507 Default to websockets off for cmake. 12 years ago
Roger A. Light be0cfff969 Fix possible leaks. 12 years ago
Roger A. Light 7d197563bc Fix for non-lws compilation. 12 years ago
Roger A. Light 1148cdae23 Loop fix. 12 years ago
Roger A. Light 063928bbfe Merge websockets -> 1.4. 12 years ago
Roger A. Light e8f07d706d Per-listener processing of websockets contexts. 12 years ago
Roger A. Light 2db22f3abd Merge 1.3.2 branch in 1.4 branch. 12 years ago
Roger A. Light 330a7a882e Add CROSS_COMPILE to Makefiles. 12 years ago
Roger A. Light 58891769c1 Quicker to return here. 12 years ago
Roger A. Light 5ca13a82f9 No need for pthreads in broker code. 12 years ago
Roger A. Light 175299c872 Guard for incomplete code when using websockets. 12 years ago
Roger A. Light 50f9b6bd7a Enable partial writes for mqtt websockets. 12 years ago
Roger A. Light 7316742cf4 Config support for websockets. 12 years ago
Roger A. Light 9ea161f90e Return success on libwebsocket_write==0. 12 years ago
Roger A. Light 06625420e2 Fix for local_username/password bridge checks. 12 years ago
Roger A. Light 7b5b5cf43e Add local_username, local_password for bridge connections to authenticate to the local broker. 12 years ago
Roger A. Light dc71f9157d Use $(STRIP) for stripping binaries when installing, to allow easier cross compilation.
Thanks to Frank Pagliughi.
12 years ago
Bart Van Der Meerssche 59eb5a65bf include a switch to disable elliptic curve support in the broker
Change-Id: Ic874a92b79b32b4ebd2b8130fefe2b31fddd43b6
Signed-off-by: Bart Van Der Meerssche <bart@flukso.net>
11 years ago
Roger A. Light fb7dd42e5d Support for ECDHE-ECDSA family ciphers. 11 years ago
Roger A. Light 40818619fd Deduplicate tls context code. 11 years ago
Roger A. Light ae6baad2fa Default TLS mode now accepts TLS v1.2, v1.1 and v1.0. 12 years ago
Roger Light e5cc63a89b Fix subscriptions sometimes being deleted.
Fix subscriptions being deleted when clients subscribed to a topic
beginning with a $ but that is not $SYS.

Thanks to David Woodward.
12 years ago
Roger Light ab15557931 Fix possible crash when using pattern ACLs.
Crash may occur for ACLs that do not include a %u and clients that
connect without a username.

Thanks to Karl Palsson.
12 years ago
Roger Light b8e34b0b05 Ensure that bridges verify certificates by default when using TLS.
Thanks to Stefan Borsje.
12 years ago
Roger A. Light 62171a381e Fix for local_username/password bridge checks. 12 years ago
Roger A. Light 968004d9d8 Add local_username, local_password for bridge connections to authenticate to the local broker. 12 years ago
Roger Light 0364bd1be7 Initial contribution. 12 years ago
Roger A. Light 4bb7a45b71 Crude, hard coded websockets support. No TLS. 12 years ago