Dear Xrootd team.
I am deploying a Xrootd server (4.9) behind a port-forwarding NAT.
I.e. the node itself only has a private IP address, but it can be contacted via the NAT’s public IP address.
The problem is,
xrdfs <URL> ls
does not work!
(While xrdcp does, at least for a small file)
Looking at the debug messages, I see that xrdfs first successfully contacts the Xrootd server,
but then tries to open a new connection to the internal IP address.
How can I tell the Xrootd server to never use the internal IP address, and use the NAT’s public IP instead?
Note that xrootd on the node itself has no way to auto-detect this information.
Thank you in advance,
Igor Sfiligoi
OSG and PRP teams
...
[2019-02-13 08:52:39.235574 -0800][Debug ][TaskMgr ] Registering task: "FileTimer task" to be run at: [2019-02-13 08:52:39 -0800]
[2019-02-13 08:52:39.238006 -0800][Debug ][PostMaster ] [stashcache-origin-merra2.nautilus.optiputer.net:31094] Found 6 address(es): [::ffff:198.17.101.70]:31094, [::ffff:198.17.101.46]:31094, [::ffff:130.191.103.1]:31094, [::ffff:128.114.109.70]:31094, [::ffff:171.66.4.10]:31094, [::ffff:198.48.92.50]:31094 [2019-02-13 08:52:39.238133 -0800][Debug ][Poller ] Adding socket 0x1715ab0 to the poller
[2019-02-13 08:52:39.406114 -0800][Debug ][Utility ] Monitor library name not set. No monitoring
[2019-02-13 08:52:39.461686 -0800][Debug ][PostMaster ] Creating new channel to: 10.244.22.53:31094 1 stream(s)
[2019-02-13 08:52:39.461765 -0800][Debug ][PostMaster ] [10.244.22.53:31094 #0] Stream parameters: Network Stack: IPAuto, Connection Window: 120, ConnectionRetry: 5, Stream Error Window: 1800
[2019-02-13 08:52:39.463259 -0800][Debug ][TaskMgr ] Registering task: "TickGeneratorTask for: 10.244.22.53:31094" to be run at: [2019-02-13 08:52:54 -0800]
[2019-02-13 08:52:39.463348 -0800][Debug ][PostMaster ] [10.244.22.53:31094] Found 1 address(es): [::ffff:10.244.22.53]:31094
[2019-02-13 08:52:39.463413 -0800][Debug ][AsyncSock ] [10.244.22.53:31094 #0.0] Attempting connection to [::ffff:10.244.22.53]:31094
[2019-02-13 08:52:39.463499 -0800][Debug ][Poller ] Adding socket 0x170ff20 to the poller
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1