Read RJ45 Port into WebServer

Hello everyone, I am new here in the Forum and I am very happy to be part of the select group of BeagleBoard.

I bought a Beagleboard Black and turned it into a WebServer and connected the cable of my router to the Beagleboard and would like to display on a WEB page via Javascript what is being received and sent through the port via RJ45 cable and Wifi, how can I do it? What do you suggest? Is there any tutorial?

Thanks any help

On Mon, 20 Nov 2017 05:42:36 -0800 (PST),
troldeveloper@gmail.com declaimed the
following:

Hello everyone, I am new here in the Forum and I am very happy to be part
of the select group of BeagleBoard.

I bought a Beagleboard Black and turned it into a WebServer and connected
the cable of my router to the Beagleboard and would like to display on a
WEB page via Javascript what is being received and sent through the port
via RJ45 cable and Wifi, how can I do it? What do you suggest? Is there any
tutorial?

  One -- I see potential for infinite-loop... Your web server
communicates over TCP/IP -- which likely means the Ethernet port connected
to your router. So -- every packet sent to update the web page is a
candidate to be formatted and sent as the next update...

  Two -- it sounds like you are trying to recreate WireShark; first thing
to study is pcap - Wikipedia

https://www.npmjs.com/package/wos

Regards,