Re: [PATCH] resolver.3: More information about RES_INSECURE1 and RES_INSECURE2 option in debug mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/22/2015 09:50 PM, Stéphane Aulery wrote:
> Asked by Walter Harms <wharms@xxxxxx>
> 
> Signed-off-by: Stéphane Aulery <saulery@xxxxxxx>
> ---
>  man3/resolver.3 | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
> 
> diff --git a/man3/resolver.3 b/man3/resolver.3
> index 4a1c97d..a070c57 100644
> --- a/man3/resolver.3
> +++ b/man3/resolver.3
> @@ -240,12 +240,18 @@ This option is used by
>  [Enabled by default].
>  .TP
>  .B RES_INSECURE1
> -Accept a response from a wrong server and show it on standard output
> -(for debug purpose only).
> +Accept a response from a wrong server.
> +Potential security hazard could be detected here,

I find the sense of the preceding line a little difficult
to understand. Would this be better as something like:

    This can be used to detect potential security hazards...

And the same thing a few lines down.

> +but you need to compile glibc with debugging enabled and use
> +.B RES_DEBUG
> +option (for debug purpose only).
>  .TP
>  .B RES_INSECURE2
> -Accept a response which contains a wrong query and show it on standard
> -output (for debug purpose only).
> +Accept a response which contains a wrong query.
> +Potential security hazard could be detected here,

See comment above.

> +but you need to compile glibc with debugging enabled and use
> +.B RES_DEBUG
> +option (for debug purpose only).
>  .TP
>  .B RES_NOALIASES
>  Disable usage of

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux