docs: update documentation of config data types#962
Conversation
bruno-at-bareos
left a comment
There was a problem hiding this comment.
There's some improvement and changes needed (like netport -> port) to be done.
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
bruno-at-bareos
left a comment
There was a problem hiding this comment.
Please review and comment changes requested.
bruno-at-bareos
left a comment
There was a problem hiding this comment.
There's minors changes requested.
|
I've made some more researches and tests against Bareos > and < 21. Bareos Addresses* For clarity, in the following configuration samples, only FDAddresses is used. Before Bareos 21 Without any specific configuration, Bareos daemons will listen on ipv4 protocol all addresseses. a) To have listening on ipv6 all addresses (ipv4 all addresses will be still listening) You need this configuration telnet 127.0.0.1 9102 => connect Never try to have this kind of configuration, even if it seems correct the daemon will start DONT b) To restrict listening on specific ipv4 addresses, keeping ipv6 desactivated you need telnet 127.0.0.1 9102 => connected c) To restrict listening only on ipv6 protocol and specific addresses, disabling telnet 127.0.0.1 9102 => refused Bareos 21 and above Since version 21, Bareos now use two distinct socket, the behavior is more clear, and easy to configure. Without specific configuration, Bareos daemons will listen on ipv4 and ipv6 protocol, binding all Using the following configuration will give the same result. a) Listen on all ipv6 addresses, and only localhost for ipv4 b) Listen on all ipv4 addresses, and none ipv6 c) Listen on specific ipv6 addresses, and none ipv4 |
Co-authored-by: Bruno Friedmann @bareos <89836284+bruno-at-bareos@users.noreply.github.com>
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
joergsteffens
left a comment
There was a problem hiding this comment.
I just saw, that the Data types chapter and references got updated. Excellent. On a first glance, I saw small formatting issues.
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
docs/manuals/source/Configuration/CustomizingTheConfiguration.rst
Outdated
Show resolved
Hide resolved
Co-authored-by: Jörg Steffens <joergsteffens@users.noreply.github.com>
Formatting improvements Co-authored-by: Jörg Steffens <joergsteffens@users.noreply.github.com>
bruno-at-bareos
left a comment
There was a problem hiding this comment.
With last formatting improvements
Thank you for contributing to the Bareos Project!
The documentation of the bareos configuration types was not complete and also the types were not linked in the documentation.
This PR adds automatic links beween the directive description and the directive types.
For types that were not described before, documentationt stubs were added.
Also added a more practical example to the ADDRESSES type description.
Please check
If you have any questions or problems, please give a comment in the PR.
Helpful documentation and best practices
Checklist for the reviewer of the PR (will be processed by the Bareos team)
General