Download 1.x PDF - Read the Docs
Transcript
IPython Documentation, Release 1.2.1: An Afternoon Hack Unauthorized controllers It is also possible that an attacker could try to convince a user’s IPython client or engine to connect to a hostile IPython controller. That controller would then have full access to the code and data sent between the IPython client and the IPython engines. Again, this attack is prevented through the capabilities in a connection file, which ensure that a client or engine connects to the correct controller. It is also important to note that the connection files also encode the IP address and port that the controller is listening on, so there is little chance of mistakenly connecting to a controller running on a different IP address and port. When starting an engine or client, a user must specify the key to use for that connection. Thus, in order to introduce a hostile controller, the attacker must convince the user to use the key associated with the hostile controller. As long as a user is diligent in only using keys from trusted sources, this attack is not possible. Note: I may be wrong, the unauthorized controller may be easier to fake than this. 5.9.5 Other security measures A number of other measures are taken to further limit the security risks involved in running the IPython kernel. First, by default, the IPython controller listens on random port numbers. While this can be overridden by the user, in the default configuration, an attacker would have to do a port scan to even find a controller to attack. When coupled with the relatively short running time of a typical controller (on the order of hours), an attacker would have to work extremely hard and extremely fast to even find a running controller to attack. Second, much of the time, especially when run on supercomputers or clusters, the controller is running behind a firewall. Thus, for engines or client to connect to the controller: • The different processes have to all be behind the firewall. or: • The user has to use SSH port forwarding to tunnel the connections through the firewall. In either case, an attacker is presented with additional barriers that prevent attacking or even probing the system. 5.9.6 Summary IPython’s architecture has been carefully designed with security in mind. The capabilities based authentication model, in conjunction with SSH tunneled TCP/IP channels, address the core potential vulnerabilities in the system, while still enabling user’s to use the system in open networks. 314 Chapter 5. Using IPython for parallel computing
Related documents
User`s Manual
ipEngine-1 Hardware Reference Manual
AQ1100 Series Communication User`s Manual - Electro
MV1-R1280-G2 - Photonfocus
Ciao Manual - The Ciao System
maxpro® vms r310 - Honeywell Integrated Security
Example - Read the Docs
Siemens Operator Manual - Flint Machine Tools, Inc.
Ontario Risk Sharing Pool
i-CAT FLX Technical Guide
- anuga - Australian National University
video-‐monitorization system for a realistic driving simulator