OK, there is definitely a bug in the checking logic but it wouldn't
explain that message unless the SAN check failed. So, the conclusion is
that there is also a bug in the wildcard checking as well. Time could you

a) set the envars XrdSecDEBUG and XrdDEBUG to 1.
b) reissue the xrdcp with --tpc delegate only
c) Send the log output to me, and
d) use openssl to display the host's certificate including the SAN
extension and send hat to me as well.

In the mean time I will correct the faulty cut-paste SAN checking logic
(yeah, it was a cut-paste error).

Andy


On Fri, 13 Sep 2019, Brian P Bockelman wrote:

> Uh, wildcards are definitely supported:
>
> https://github.com/xrootd/xrootd/blob/master/src/XrdCrypto/XrdCryptoX509.cc#L263-L268
>
> The error message here is:
>
>> secgsi: proxy delegation forbidden when trusting DNS!
>
> That is, Xrootd is doing a reverse-DNS lookup at some point (maybe after being redirected? failing something else in the hostname wildcard matching?), which is inherently insecure when it comes to GSI auth. Hence, the client is cowardly refusing to give their proxy over an insecure connection.
>
> So, why is reverse-DNS being used?
>
> - It could be, as you surmised, due to wildcard failure (i.e., bug in existing implementation).
> - It could be the client code path isn't providing the X509 level with the right information.
>
> I think we could distinguish between these cases from the client log at full debug.
>
> --
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub:
> https://github.com/xrootd/xrootd/issues/1055#issuecomment-531374298


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1055?email_source=notifications\u0026email_token=AA7NRDQNVF6DRD2L3SFG4UDQJQBUDA5CNFSM4IWPZQKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6WIBAA#issuecomment-531398784", "url": "https://github.com/xrootd/xrootd/issues/1055?email_source=notifications\u0026email_token=AA7NRDQNVF6DRD2L3SFG4UDQJQBUDA5CNFSM4IWPZQKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6WIBAA#issuecomment-531398784", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1