forwarding streaming packets using ion-dtn - networking

OS : Ubuntu 14.04
ion : 3.2.2
In my current setup, I am using gstreamer utility to stream live video.
The system has Ip address of 192.168.58.10( say for example). I am streaming it to another machine say 192.168.58.12 port 5000.
From 2nd machine I want to use Ion-dtn to stream it to different endpoints. I am completely clueless how to proceed.
I have done bit of research and found that bssStreamingApp utility and bsspadmin can do it but I failed to find any examples. Can some one please advice me. Earlier I have integrated bpsource in my application to send messages or text stream and it was quite successful.
Thanks in advance for help or any criticism

Related

Broadcast coding from RStudio to the world with livecode package

livecode is a R package for broadcasting code for live code demonstrations. I would like to use it for teaching R in online classrooms. The package can be installed from github and runs excellent on my computer and the result is very promising. Once installed from github:
remotes::install_github("rundel/livecode")
library(livecode)
You can start your web server via server = livecode::serve_file(). Next your browser pops up and shows you a syntax-hightlighted live broadcast of your coding. A benefit in comparison to a screenshare of code is that this broadcast delivers plain text which is scalable from the recipient. I tested it on my phone, worked great. No more scaling of RStudio in order to make people see your code. Furthermore text (the script) can be saved from browser.
https://www.rstudio.com/resources/rstudioconf-2020/livecode-broadcast-your-live-coding-sessions-from-and-to-rstudio/
My problem is, I cannot figure out how to configure my private work environment such that this broadcast can be received from outside my local network. serve_file can specify an ip and port. I tried to set it to my computer ip (found via ipconfig) and open port 80 (for http) in my router.
Can anybody support me in how to make a livecode broadcast to the global internet?
I contacted the package author and he suggested to follow this blogpost:
https://bitsandbricks.github.io/post/code-live-from-rstudio-and-share-it-with-the-world-in-real-time/
It suggests to use ngrok, a service that provides tunnels to localhost. This acutally worked for me for some seconds, killing my livecode package in the next moment. At the moment, I can no longer use livecode not even as a localhost. I assume this error may just be my fault. The blogpost provides an easy answer to my question.

Does DPDK provide a native TCP/IP network stack implemetation?

I'm trying to find out if there is any native TCP/IP stack implemetation provided in DPDK or any popular open-source project to achieve it. Any help will be grateful.
Update:
My platform is Ubuntu 16.04 x64, Intel 82599es NIC with DPDK 20.08. What I'm trying to accomplish is to rebuild TCP connections out of the packets I receive on the NIC port for later use. I thought tools like ANS, mTCP and fstack may do the track but they are third party and some of them are not fully open-sourced, so I'm looking for a native one or one that is popular for developers. I don't know what should I call this kind of requirement, sorry for troubles causing because of the question, I'll change it after I know the related concept better.
There are no native TCP-IP stack implementation in DPDK version till date DPDK version 20.11 LTS. Going further in my humble opinion DPDK would not be implementing native TCP-IP stack. Hence current options are
Since the requirement is to rebuild TCP connection state information, my recommendation is to
create RTE_FLOW_ACTION_MIRROR to create the packet copy at HW NIC level for all interested TCP connection using a combination of IP-TCP address-ports.
If there is no HW option, either using ref_cnt_update or copying the user packet payload create a copy of the packet.
With help RTE_RINGS or RTE_FB_ARRAY organize the packets from client and server based on symmetric RSS (if available) or based on custom HASH to appropriate containers.
For you packet processing recommendation is either use FSTACK or mTCP or BSD TCP-ip from scratch
there are multiple references on the Internet which gives hints to get started too. Please refer
mTCP slide 14
fstack slide deck

how to modify the default tcp implementation in linux kernel

i am doing some simulations of DDOS SYN FLOOD attack on a real network using virtual machines and i want to modify the current behavior of TCP three-way-handshake on Linux Mint, can anyone give me a guide or the steps to do ?
If you want to change the kernel code, then you need to know where they are, and then edit the code, compile them and run. Here is a network can help you know how to do these things, but the knowledge of Linux network stack is not include.

TCP/IP fast data logger

I want to implement a fast DAQ (10Mbit/s) system for capturing data from an array of sensors. So far I have implemented my system based on Wiznet W5300 and an FPGA and I am able to communicate through TCP/IP with my computer. FPGA working as server and PC as a client and I am using only one socket on port 5000. So far Ive tested various applications for capturing and saving the data on Windows with no success (some of them are crashing and some of them are lack in terms of speed). As I am not an expert on Network programming what would be the best way to capture and save the data on PC side as fast and reliable as possible? I am always aiming for something simple. Any type of guidance would be welcomed.
I am using tcpdump and very happy with it in linux and know that there is a Windows equivalent of it called windump. Here is the url for it :
http://www.winpcap.org/windump/

Application Level Network Sniffer

Is there a better tool than WireShark to sniff out where given application is trying to connect and at which port. (So that I could easily overwrite it with my HOSTS file). Being able to log packet data is helpful too.
Ultimately I would prefer an application that I could just throw a running process at and start logging the network activities of the given app
Of course the application and sniffer will be running on the same PC. Preferably I would love a Windows sniffer. Since running that app on Linux will be .... difficult.
Answering myself: http://www.sysprobs.com/monitor-network-traffic-windows-7-microsoft-network-monitor-34
This article helped me big time. The tool in there is really great.
Have you tried socket sniff?
It should let you monitor specific applications:
socket sniff

Resources