سؤال

In order to build a measurement tool, I need to capture packets, forge them and re-inject them into the network. What are some tools or libraries that I could look into?

Thanks.

هل كانت مفيدة؟

المحلول

You can try libcrafter. Seems very easy to use! The library is able to craft or decode packets of most common networks protocols, send them on the wire, capture them and match requests and replies.

نصائح أخرى

You can use libcap http://wiki.wireshark.org/libpcap to capture packets. libdnet can be a choice for packet forging http://libdnet.sourceforge.net/

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top