Loki for Windows released

Today is a great day, its the day, Loki finally runs on all big operating systems. Im proud to announce the first Loki release for Windows!

There are a few things not working (yet / at all) under Windows. Those are:

  • The WLCCP Module – ive not yet managed to build and link against asleap on windows [but time may help (-; ]
  • TCP-MD5 Auth for BGP – This will never work, as Windows has no TCP-MD5 impl. in the kernel
  • The MPLS Module – Had some hassle here with WinPcap, may be working in the future

The most testing so far was done on Windows 7 were all the other functions work as they do on Linux and Mac.

Download the installer here [1ebf2edbb0cdb631dc2704e82d9c2d778fac703d].




  1. I`ve installed the Loki for Windows in my PC with Windows 7 Ultimate 32 bits, Python 2.6.6 and cx_Freeze 4.3.1, but I found the problem below. Can somebody help me to solve that?

    cx_Freeze: Python error in main script

    Traceback (most recent call last):
    File “c:\Python26\lib\site-packages\cx_Freeze\initscripts\”, line 27, in
    exec code in m.__dict__
    File “src/”, line 55, in
    ImportError: DLL load failed: %1 não é um aplicativo Win32 válido.


    1. Hi,

      first, please try the nighlty build.
      i’m building on a 64bit win8r2, but bundeling with a 32bit python. i guess one of the libs i’m shipping is 64bit only.
      i’ll check that, thanks!



  2. Hello Daniel,

    I am doing a final year research paper for my degree on injection fake packets into BGP and MPLS/VPN and have found your tool “loki” to do exactly what I wanted to do. However, I am not able to replicate the results when I put a topology together.

    Referencing 4.3.2 I am able to establish a BGP neighbor relation but when I send the update, it keep saying “sending update to ….” but when I check the vrf table, I don’t see the update showing up. How do I know which vrf table is being targeted, however, I checked both vrf table and no routes are installed?

    Referencing 4.4.1 (Attacking MPLS VPN). For this one, I am not seeing any labels under MPLS-> mpls as shown in the paper but when I check on the routers, the peer is established therefore, I am not able to cross route packets from one VRF (red) to another VRF (green)?

    This is a link to the paper I am referencing: hxxps://

    Thanks in advance and appreciate your assistance

Comments are closed.