Jeremias' Blog
Home Git Blog

Published on 2022-10-24 23:00

First ping working! And a few other things.

I have made big progress over the last few weeks and have spent a lot of time programming. As a result, netsim is now able to send and analyse a ping between two network devices.

First ping

As you can see, two devices are pinging each other and it just works.

Now don't get me wrong, there is still a lot missing, for example routing isn't implemented at all, a lot of bugs still remain but it certainly is a beginning.

GUI stuff

I have spent a lot of time on the gui, it still needs so much work and certainly a good refactor at some point, but a lot of basic things are there, you can create, edit copy and delete devices and of course use their command line to interact. You can also look into a packet to see what's going on.

Packet analyisis

Now of course this isn't the most beautiful packet analyser ever seen and the one in Wireshark for example is superior in uncountably many ways, but hey, it works.


Devices, interfaces, connections and procedures for analysing packets are all defined in templates, they are folders containing a template.json and other files depending on the template type. Some templates can take lua files to run so you can write your own things.

I will post an extensive tutorial on how to write templates in the future, for now take a look in the templates folder in the source.

Written by Jeremias Stotter