![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
github.com/tno-slafleur/mqtt-benchmark-subscriber
FORKED FROM https://github.com/krylovsk/mqtt-benchmark
A simple MQTT (broker) benchmarking tool that is supposed to be used with https://github.com/TNO-SlaFleur/mqtt-benchmark-publisher. The goal is to measure inflight latency using published/sending & subscription/received timestamps.
Installation:
go install github.com/TNO-SlaFleur/mqtt-benchmark-subscriber@main
The tool supports multiple concurrent clients, configurable message size, etc:
$ ./mqtt-benchmark-subscriber --help
Usage of ./mqtt-benchmark-subscriber:
-broker string
MQTT broker endpoint as scheme://host:port (default "tcp://localhost:1883")
-client-cert string
Path to client certificate in PEM format
-client-key string
Path to private clientKey in PEM format
-client-prefix string
MQTT client id prefix (suffixed with '-<client-num>' (default "mqtt-benchmark")
-clients int
Number of clients to start (default 10)
-count int
Number of messages to receive per client (default 100)
-format string
Output format: text|json (default "text")
-password string
MQTT client password (empty if auth disabled)
-qos int
QoS for published messages (default 1)
-quiet
Suppress logs while running
-topic string
MQTT topic for outgoing messages (default "/test")
-username string
MQTT client username (empty if auth disabled)
NOTE: if
count=1
orclients=1
, the sample standard deviation will be returned as0
(convention due to the lack of NaN support in JSON)
Two output formats supported: human-readable plain text and JSON.
Example use and output:
> mqtt-benchmark --broker tcp://broker.local:1883 --count 100 --size 100 --clients 100 --qos 2 --format text
....
TBD
With payload specified:
> mqtt-benchmark --broker tcp://broker.local:1883 --count 100 --clients 10 --qos 1 --topic house/bedroom/temperature --payload {\"temperature\":20,\"timeStamp\":1597314150}
....
TBD
Similarly, in JSON:
> mqtt-benchmark --broker tcp://broker.local:1883 --count 100 --size 100 --clients 100 --qos 2 --format json --quiet
TBD
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.