def test_siblings_cant_talk(router):
    l1 = router.local()
    l2 = router.local()
    logs = testlib.LogCapturer()
    logs.start()

    try:
        l2.call(ping_context, l1)
    except mitogen.core.CallError:
        e = sys.exc_info()[1]

    msg = mitogen.core.Router.unidirectional_msg % (
        l2.context_id,
        l1.context_id,
    )
    assert msg in str(e)
    assert 'routing mode prevents forward of ' in logs.stop()
Software security is not security software. Here we're concerned with topics like authentication, access control, confidentiality, cryptography, and privilege management.