-1

Is there any way to read a routing table in javascript? Using webrtc I can retrieve local IPs, but what with routing table? Is there something that I can use?

Yuri
  • 1,748
  • 2
  • 23
  • 26
user3025978
  • 477
  • 2
  • 8
  • 27

1 Answers1

0

No, you can't retrieve the routing table in a web browser (even with WebRTC).

However, in NodeJs (still JS), you can for instance execute some shell code ( netstat -rn ) like here.

Antonin M.
  • 1,744
  • 1
  • 18
  • 29