Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 hostnames in the downstream #3

Open
EnginEren opened this issue May 10, 2016 · 2 comments
Open

IPv6 hostnames in the downstream #3

EnginEren opened this issue May 10, 2016 · 2 comments

Comments

@EnginEren
Copy link
Collaborator

EnginEren commented May 10, 2016

Hi all,
When we query global redirector (xrdcmsglobal0{1,2}.cern.ch), we see this IPv6 hostnames :

2 Man ndcms.crc.nd.edu:1094
Srv [::ffff:10.32.82.161]:1094
Srv [::ffff:10.32.82.163]:1094

Because of this, "[" enters into in/prod.txt. Then, awk statement here [*] fails. I will implement a quick workaround.

Engin

[*] https://github.com/CMSCompOps/AAAOps/blob/master/Federation/create_allow-list.sh#L51

@EnginEren EnginEren changed the title Strange hostnames in the downstream IPv6 hostnames in the downstream May 10, 2016
@zvada
Copy link

zvada commented May 10, 2016

Note, you should do regexp which will pass any IPv6 address, so take this into count while implementing workaround. Thanks.

@EnginEren
Copy link
Collaborator Author

EnginEren commented May 10, 2016

Hi Marian,

Thanks for the suggestion. Now, these hosts disappeared. If we encounter this situation in the future, we will have again "[" character in the prod.txt regardless of the IPv6 address because we get the first field after semicolon here [1]. To avoid future problems, I implemented this fix into Dev branch. [2]

Engin

[1] https://github.com/CMSCompOps/AAAOps/blob/master/Federation/create_allow-list.sh#L24-L27
[2] cf3077b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants