代码拉取完成,页面将自动刷新
// -*- mode:doc; -*-
// vim: set syntax=asciidoc,tw=0:
coap-rd(5)
==========
:doctype: manpage
:man source: coap-rd
:man version: @PACKAGE_VERSION@
:man manual: coap-rd Manual
NAME
-----
coap-rd - A CoAP Resource Directory based on libcoap
SYNOPSIS
--------
*coap-rd* [*-g* group] [*-p* port] [*-v* num] [*-A* address]
[[*-h* hint] [*-k* key]]
[[*-c* certfile] [*-n*] [*-C* cafile] [*-R* root_cafile]]
DESCRIPTION
-----------
*coap-rd* is a simple CoAP Resource Directory server that can handle resource
registrations using the protocol CoAP (RFC 7252).
OPTIONS
-------
*-g* group::
Join specified multicast 'group' on startup.
*Note:* DTLS over multicast is not currently supported.
*-p* port::
The 'port' on the given address will be listening for incoming connections.
If (D)TLS is supported, then 'port' + 1 will also be listened on for
(D)TLS connections.
The default port is 5683 if not given any other value.
*-v* num::
The verbosity level to use (default: 3, maximum is 9). Above 7, there is
increased verbosity in GnuTLS and OpenSSL logging.
*-A* address::
The local address of the interface which the server has to listen on.
OPTIONS - PSK
-------------
(If supported by underlying (D)TLS library)
*-h* hint::
Identity hint to use for inbound connections. The default is 'CoAP'.
This cannot be empty if defined.
*-k* key::
Pre-shared key to use for inbound connections. This cannot be empty if
defined.
*Note:* if *-c cafile* is defined, you need to define *-k key* as well to
have the server support both PSK and PKI.
OPTIONS - PKI
-------------
(If supported by underlying (D)TLS library)
*-c* certfile::
Use the specified PEM file which contains the CERTIFICATE and PRIVATE
KEY information.
*Note:* if *-k key* is defined, you need to define *-c cafile* as well to
have the server support both PSK and PKI.
*-n* ::
Disable the requirement for clients to have defined client certificates.
*-C* cafile::
PEM file containing the CA Certificate that was used to sign the certfile
defined using *-c certfile*.
If defined, then the client will be given this CA Certificate during the TLS
set up. Furthermore, this will trigger the validation of the client
certificate. If certfile is self-signed (as defined by *-c certfile*), then
you need to have on the command line the same filename for both the certfile
and cafile (as in *-c certfile -C certfile*) to trigger validation.
*-R* root_cafile::
PEM file containing the set of trusted root CAs that are to be used to
validate the server certificate. The *-C cafile* does not have to be in
this list and is "trusted" for the verification.
Alternatively, this can point to a directory containing a set of CA PEM files.
EXAMPLES
--------
* Example
----
coap-rd -A ::1
----
Let the server listen on localhost (port 5683).
* Example
----
coap-rd -A ::1 -k mysecretKey -h myhint
----
Let the server listen on localhost (port '5683' and '5684') with the server
set up for PSK authentication.
* Example
----
coap-rd -A ::1 -p 13011
----
Quite the same, except listening port is '13011' (and not the default port
5683).
* Example
----
coap-rd -A 2001:db8:81a8:0:6ef0:dead:feed:beef -v 5
----
The listening address is set to '2001:db8:81a8:0:6ef0:dead:feed:beef' and the
verbosity level is set to '5'.
* Example
----
coap-rd -A 2001:db8:81a8:0:6ef0:dead:feed:beef -g FF02::FD
----
Set listening address to '2001:db8:81a8:0:6ef0:dead:feed:beef' and join the
All CoAP Nodes multicast group 'FF02::FD'.
FILES
------
There are no configuration files.
EXIT STATUS
-----------
*0*::
Success
*1*::
Failure (syntax or usage error; configuration error; document
processing failure; unexpected error)
BUGS
-----
Please report bugs on the mailing list for libcoap:
libcoap-developers@lists.sourceforge.net
AUTHORS
-------
The libcoap project <libcoap-developers@lists.sourceforge.net>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。