Closed kb1lqc closed 6 years ago
Created https://github.com/kb1lqc/faradayio-cli/tree/issue3 to start work on the initial TUN adapter code for a command line interface program implementing a persistent TUN adapter for Faraday!
Awesome!
Using the latest faradayio
commit which helps fix a few items for actually using the module for a threaded client and physical USB transmissions I am sending packets over the USB port!
faradayio
: https://github.com/kb1lqc/faradayio/commit/f3d4638a612c20af0979896f8faa0d0256345bf8
Additionally, I attempted to run the TUN client and watch the data received from the serial port using the original Faraday Software code (expected to fail) which resulted in no data as expected. Then, I loaded @kb1lqd faradayio-firmware
loopback code https://github.com/FaradayRF/faradayio-firmware/issues/20 which resulted in success! I'm watching IP packets stream by when sent every 10ms!
Playing around with Wireshark and ping I can obtain the following preliminary data @kb1lqd :
ping
I am obtaining about 10048 bytes per second (80384 bits per second or 0.08 Mbps)!timeout-declarator
useHere's a graph!
Ahh OK I was able to do two things
checkTUN
timeout to 1 second reduced the number of pytun.Error
exceptions. Was likely just timing out on fast packet rates.Noting that this is a pretty neat IP chat program. SUPER simple iptux
https://www.ghacks.net/2010/09/17/instant-message-on-your-lan-with-iptux/
Also noting that flent
looks cool https://flent.org
Initial TUN adapter seems to be working! I need to work on tools to make sure it's working correctly.
Setup a TUN adapter for Faraday and make it persistent. At first this may be a loopback device on serial. That could be a good command line option test mode too.
callsign
argumentID
argumentloopback
optional argument