libnetconf2  2.0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

libnetconf2 is a NETCONF library in C handling NETCONF authentication and all NETCONF RPC communication both server and client-side. Note that NETCONF datastore implementation is not a part of this library. The library supports both NETCONF 1.0 (RFC 4741) as well as NETCONF 1.1 (RFC 6241).

Main Features

  • Creating SSH (RFC 4742, RFC 6242), using libssh, or TLS (RFC 7589), using OpenSSL, authenticated NETCONF sessions.
  • Creating NETCONF sessions with a pre-established transport protocol (using this mechanism the communication can be tunneled through sshd(8), for instance).
  • Creating NETCONF Call Home sessions (RFC 8071).
  • Creating, sending, receiving, and replying to RPCs (RFC 4741, RFC 6241).
  • Creating, sending and receiving NETCONF Event Notifications (RFC 5277),


Copyright (c) 2015-2021 CESNET, z.s.p.o.

(The BSD 3-Clause License)

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the Company nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.