OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 8:29 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Bochs and Qemu network tool
PostPosted: Sat May 22, 2021 6:53 am 
Offline
Member
Member

Joined: Sun Feb 04, 2018 8:04 pm
Posts: 35
For anyone struggling with network driver development on Bochs and Qemu, I created a utility that should help.

Image

It is designed to replace BXHub (and bypass the need for a second guest machine)

At present all it does is listen on a UDP socket for an ARP request and respond with an ARP reply. I have verified the reply is received in ring buffer memory on Bochs, but idk how to do that (yet) on Qemu.

It is written in node so it is easily expandable, and my plan is to add an IPv4 layer and DHCP soon (or eventually!)

Because the Bochs and Qemu docs can be very confusing to newcomers, I have included the configurations that work for NE2000. Feel free to experiment and let me know the confgurations that work for other cards, and I will update the readme accordingly.

You can find it here:
https://github.com/0bOne/snarl

Let me know if you find it helpful, or have suggestions, comments, or feedback. Or if you'd like to contribute!

_________________
Code or code not. There is no try.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], iansjack, MichaelPetch, SemrushBot [Bot] and 241 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group