package
2.0.0+incompatible
Repository: https://github.com/akilan1999/p2p-rendering-computation.git
Documentation: pkg.go.dev

# README

P2P module

(Techniques to get over NAT)

  • UPNP implementation
  • DMZ to be used if UPNP does not work
  • Port forwarding for future release

(Discovery of Nodes)

  • Connect to reliable connection (that has some knowledge)
  • Check if the connection is still open (If not instruct the server to remove from table)
  • According speed tests
  • Send list of servers connection open
  • default 100 MB (to store tables of ip records)

# Packages

No description provided by the author

# Functions

CurrentPublicIP Get Current Public IP address.
Port forwarding to the router.
GetCurrentIPV6 gets the current IPV6 address based on the interface specified in the config file.
Ip4or6 Helper function to check if the IP address is IPV4 or IPV6 (https://socketloop.com/tutorials/golang-check-if-ip-address-is-version-4-or-6).
LocalSpeedTestIpTable Runs speed test in iptables locally only.
PrintIpTable Print Ip table data for Cli.
ReadIpTable Read data from Ip tables from json file.
UnForwardPort from router.
ViewNetworkInterface This function is created to view the network interfaces available.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author