Hi, we are currently in discussion with our local network security people about the plan to make certain data accessible to outside scientists via ftp - this implies that the host running the ftp daemon runs with their ethernet ports inside a dmz. On the other hand, all NSD access is through IB (and should stay that way). The biggest concerns are around the possible intrude from that ftp host (running as GPFS client) through the IB infrastructure to other cluster nodes and possible causing big troubles on the scientific data. Did anybody here has similar constrains and possible solutions to mitigate that risk ? best regards, Martin
On Mon, 2015-11-02 at 14:53 +0100, Martin Gasthuber wrote:
Hi,
we are currently in discussion with our local network security people about the plan to make certain data accessible to outside scientists via ftp - this implies that the host running the ftp daemon runs with their ethernet ports inside a dmz. On the other hand, all NSD access is through IB (and should stay that way). The biggest concerns are around the possible intrude from that ftp host (running as GPFS client) through the IB infrastructure to other cluster nodes and possible causing big troubles on the scientific data. Did anybody here has similar constrains and possible solutions to mitigate that risk ?
Would it not make sense to export it via NFS over Ethernet from the GPFS cluster to the FTP node, firewall it up the wazoo and avoid the server licenses anyway? Note if you offer remote access to your "cluster" to local users already the additional attack surface from an FTP server is minimal to begin with. All said and done, one however suspects that 99.999% of hackers have precisely zero experience with Infiniband and thus would struggle to be able to exploit the IB fabric beyond using IPoIB. JAB. -- Jonathan A. Buzzard Email: jonathan (at) buzzard.me.uk Fife, United Kingdom.
On 02/11/15 13:53, Martin Gasthuber wrote:
we are currently in discussion with our local network security people about the plan to make certain data accessible to outside scientists via ftp - this implies that the host running the ftp daemon runs with their ethernet ports inside a dmz. On the other hand, all NSD access is through IB (and should stay that way). The biggest concerns are around the possible intrude from that ftp host (running as GPFS client) through the IB infrastructure to other cluster nodes and possible causing big troubles on the scientific data. Did anybody here has similar constrains and possible solutions to mitigate that risk ?
Martin, we have a very similar situation here at Diamond with our GridFTP/Globus endpoint. We have a machine with full access to our high performance file systems in our internal network, which then exports those over NFS over a private point to point fibre to a machine in the DMZ. This is also firewalled with IPTables on the link on the internal machine to only allow NFS traffic. This has so far provided sufficient performance to our users. Kind regards, Frederik -- Frederik Ferner Senior Computer Systems Administrator (storage) phone: +44 1235 77 8624 Diamond Light Source Ltd. mob: +44 7917 08 5110 Duty Sys Admin can be reached on x8596 (Apologies in advance for the lines below. Some bits are a legal requirement and I have no control over them.) -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
I would think about to use a dedicated GPFS remote cluster. Advantage: - If required the remote cluster could be shutdown without to impact the home cluster. - You can add additional types of access onto the remote cluster - You could implement a HA solution to make the access types HA. but you must be aware that you need a GPFS server license. Cheers Hajo
First off let me recommend vsftpd. We've used that in a few single point to point cases to excellent results. Next, I'm going to agree with Johnathan here, any hacker that someone gains advantage on an FTP server will probably not have the knowledge to take advantage of the IB, however there are some steps you could take to mitigate this on a node such as you are thinking of: -Perhaps an NFS share from an NSD across IB instead of being a native GPFS client? This would remove any possibility of escalation exploits gaining access to other servers via SSH keys on the IB fabric but will reduce this nodes speed of access. On the other hand almost any IB faster than SDR probably is going to wait on the external network unless it's 40Gb or 100Gb attached. -firewalled access and/or narrow corridor for ftp access. This is pretty much a must. -fail2ban like product checking the ftp logs. Takes some work, but if the firewall isn't narrow enough this is worth it. Ed Wahl OSC ________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Martin Gasthuber [martin.gasthuber@desy.de] Sent: Monday, November 02, 2015 8:53 AM To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS (partly) inside dmz Hi, we are currently in discussion with our local network security people about the plan to make certain data accessible to outside scientists via ftp - this implies that the host running the ftp daemon runs with their ethernet ports inside a dmz. On the other hand, all NSD access is through IB (and should stay that way). The biggest concerns are around the possible intrude from that ftp host (running as GPFS client) through the IB infrastructure to other cluster nodes and possible causing big troubles on the scientific data. Did anybody here has similar constrains and possible solutions to mitigate that risk ? best regards, Martin _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
the path via NFS is already checked - problem here is not the bandwidth, although the WAN ports allows for 2 x 10GE, its the file rate we need to optimize. With NFS, in between GPFS and FTP, we saw ~2 times less file download rate. My concern are also not really about raw IB access and misuse - its because IPoIB, in order to minimize the risk, we had to reconfigure all other cluster nodes to refuse IP connects through the IB ports from that node - more work, less fun ! Probably we had to go the slower NFS way ;-) best regards, Martin
On 2 Nov, 2015, at 16:22, Wahl, Edward <ewahl@osc.edu> wrote:
First off let me recommend vsftpd. We've used that in a few single point to point cases to excellent results.
Next, I'm going to agree with Johnathan here, any hacker that someone gains advantage on an FTP server will probably not have the knowledge to take advantage of the IB, however there are some steps you could take to mitigate this on a node such as you are thinking of:
-Perhaps an NFS share from an NSD across IB instead of being a native GPFS client? This would remove any possibility of escalation exploits gaining access to other servers via SSH keys on the IB fabric but will reduce this nodes speed of access. On the other hand almost any IB faster than SDR probably is going to wait on the external network unless it's 40Gb or 100Gb attached.
-firewalled access and/or narrow corridor for ftp access. This is pretty much a must.
-fail2ban like product checking the ftp logs. Takes some work, but if the firewall isn't narrow enough this is worth it.
Ed Wahl OSC
________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Martin Gasthuber [martin.gasthuber@desy.de] Sent: Monday, November 02, 2015 8:53 AM To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS (partly) inside dmz
Hi,
we are currently in discussion with our local network security people about the plan to make certain data accessible to outside scientists via ftp - this implies that the host running the ftp daemon runs with their ethernet ports inside a dmz. On the other hand, all NSD access is through IB (and should stay that way). The biggest concerns are around the possible intrude from that ftp host (running as GPFS client) through the IB infrastructure to other cluster nodes and possible causing big troubles on the scientific data. Did anybody here has similar constrains and possible solutions to mitigate that risk ?
best regards, Martin
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
Have you tested prefetching reads on the NFS server node? That should help for streaming reads as ultimatively initial by the ftp user. — Peter On 2015 Nov 3 Tue, at 04:49, Martin Gasthuber <martin.gasthuber@desy.de> wrote:
the path via NFS is already checked - problem here is not the bandwidth, although the WAN ports allows for 2 x 10GE, its the file rate we need to optimize. With NFS, in between GPFS and FTP, we saw ~2 times less file download rate. My concern are also not really about raw IB access and misuse - its because IPoIB, in order to minimize the risk, we had to reconfigure all other cluster nodes to refuse IP connects through the IB ports from that node - more work, less fun ! Probably we had to go the slower NFS way ;-)
best regards, Martin
On 2 Nov, 2015, at 16:22, Wahl, Edward <ewahl@osc.edu> wrote:
First off let me recommend vsftpd. We've used that in a few single point to point cases to excellent results.
Next, I'm going to agree with Johnathan here, any hacker that someone gains advantage on an FTP server will probably not have the knowledge to take advantage of the IB, however there are some steps you could take to mitigate this on a node such as you are thinking of:
-Perhaps an NFS share from an NSD across IB instead of being a native GPFS client? This would remove any possibility of escalation exploits gaining access to other servers via SSH keys on the IB fabric but will reduce this nodes speed of access. On the other hand almost any IB faster than SDR probably is going to wait on the external network unless it's 40Gb or 100Gb attached.
-firewalled access and/or narrow corridor for ftp access. This is pretty much a must.
-fail2ban like product checking the ftp logs. Takes some work, but if the firewall isn't narrow enough this is worth it.
Ed Wahl OSC
________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [gpfsug-discuss-bounces@spectrumscale.org] on behalf of Martin Gasthuber [martin.gasthuber@desy.de] Sent: Monday, November 02, 2015 8:53 AM To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS (partly) inside dmz
Hi,
we are currently in discussion with our local network security people about the plan to make certain data accessible to outside scientists via ftp - this implies that the host running the ftp daemon runs with their ethernet ports inside a dmz. On the other hand, all NSD access is through IB (and should stay that way). The biggest concerns are around the possible intrude from that ftp host (running as GPFS client) through the IB infrastructure to other cluster nodes and possible causing big troubles on the scientific data. Did anybody here has similar constrains and possible solutions to mitigate that risk ?
best regards, Martin
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
I would be very weary about stretching a cluster between DMZ's. IMHO the nodes are too tighly connected for that. I just saw the Desy/GPFS talk at IBM technical university in Cannes, and it was mentioned that you had moved from 60 MB/s to 600 MB/s from un-tuned to tuned NFS over 10GbE. Sounded quite impressive. Are you saying putting FTP on top of those 600 MB/s kills the performance / download rate? Maybe AFM, with readonly Cache, would allow you to get better performance by caching the content on the FTP-servers ? Then all you should need of openings between the DMZ's would be the NFS-port for a readonly export.. -jf On Mon, Nov 2, 2015 at 9:49 PM, Martin Gasthuber <martin.gasthuber@desy.de> wrote:
the path via NFS is already checked - problem here is not the bandwidth, although the WAN ports allows for 2 x 10GE, its the file rate we need to optimize. With NFS, in between GPFS and FTP, we saw ~2 times less file download rate. My concern are also not really about raw IB access and misuse - its because IPoIB, in order to minimize the risk, we had to reconfigure all other cluster nodes to refuse IP connects through the IB ports from that node - more work, less fun ! Probably we had to go the slower NFS way ;-)
best regards, Martin
On 2 Nov, 2015, at 16:22, Wahl, Edward <ewahl@osc.edu> wrote:
First off let me recommend vsftpd. We've used that in a few single point to point cases to excellent results.
Next, I'm going to agree with Johnathan here, any hacker that someone gains advantage on an FTP server will probably not have the knowledge to take advantage of the IB, however there are some steps you could take to mitigate this on a node such as you are thinking of:
-Perhaps an NFS share from an NSD across IB instead of being a native GPFS client? This would remove any possibility of escalation exploits gaining access to other servers via SSH keys on the IB fabric but will reduce this nodes speed of access. On the other hand almost any IB faster than SDR probably is going to wait on the external network unless it's 40Gb or 100Gb attached.
-firewalled access and/or narrow corridor for ftp access. This is pretty much a must.
-fail2ban like product checking the ftp logs. Takes some work, but if the firewall isn't narrow enough this is worth it.
Ed Wahl OSC
________________________________________ From: gpfsug-discuss-bounces@spectrumscale.org [ gpfsug-discuss-bounces@spectrumscale.org] on behalf of Martin Gasthuber [ martin.gasthuber@desy.de] Sent: Monday, November 02, 2015 8:53 AM To: gpfsug main discussion list Subject: [gpfsug-discuss] GPFS (partly) inside dmz
Hi,
we are currently in discussion with our local network security people about the plan to make certain data accessible to outside scientists via ftp - this implies that the host running the ftp daemon runs with their ethernet ports inside a dmz. On the other hand, all NSD access is through IB (and should stay that way). The biggest concerns are around the possible intrude from that ftp host (running as GPFS client) through the IB infrastructure to other cluster nodes and possible causing big troubles on the scientific data. Did anybody here has similar constrains and possible solutions to mitigate that risk ?
best regards, Martin
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss _______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
_______________________________________________ gpfsug-discuss mailing list gpfsug-discuss at spectrumscale.org http://gpfsug.org/mailman/listinfo/gpfsug-discuss
participants (7)
-
Frederik Ferner -
Jan-Frode Myklebust -
Jonathan Buzzard -
Martin Gasthuber -
MetaService -
Pete Sero -
Wahl, Edward
