Currently we use a combination of low ports and approved IP addresses to determine which machines can do privileged operations (like creating a session). This is not the best security practice and a dedicated attacker could circumvent it if the network environment is permitting enough. We should instead look at something that uses strong cryptography. Either a shared secret between the machines, or a public key system. A shared secret is probably better though as we will have privileged communication in several directions.
*** This bug has been marked as a duplicate of bug 217 ***