nucleus

所属分类:网络编程
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2014-09-03 20:08:34
上 传 者sh-1993
说明:  一个简单的基于UDP的隧道守护程序,用于点对多点网络。这允许多个远程节点加入中心层...,
(A simple UDP-based tunnel daemon for point-to-multipoint networks. This allows you to have multiple remote nodes joining a central layer 2 network over UDP.)

文件列表:
LICENSE (18026, 2014-09-03)
client.conf (46, 2014-09-03)
config.cpp (1951, 2014-09-03)
config.h (984, 2014-09-03)
main.cpp (7437, 2014-09-03)
makefile (76, 2014-09-03)
server.conf (35, 2014-09-03)
tapmanager.cpp (2230, 2014-09-03)
tapmanager.h (455, 2014-09-03)
udpsocket.cpp (2893, 2014-09-03)
udpsocket.h (788, 2014-09-03)

nucleus - A simple UDP-based layer-2 tunnel daemon ================================================== nucleus allows you to have multiple remote nodes joining a central layer 2 network over UDP. The purpose of nucleus is to create an easy to use, low overhead tunnel for use with WiFi hotspots - to get the traffic back to a central network over public infrastructure. nucleus uses the Linux TUNTAP interface to create an endpoint which it can read and write - and then passes the data to/from a server instance. The single nucleus executable can be used in both client and server modes through the use of a config file. Progress ======== nucleus is very much in the Alpha stage - it barely works. In time it will improve and become production ready. Compile ======= ``` make ``` Run === ``` nucleus {config file path} ``` Config File =========== The config file consists of lines with the option name and value, seperated by whitespace, one per line. There are few options at this time: * **debug** 1 or 0 (default) - 1 shows debug output on the console, 0 prevents it. * **listen** {int} - sets the port the UDP socket will listen for incoming packets on. Default is 0 (any port) * **server** {ip} {port} - sets the program into client mode, sending all packets to the {ip}:{port} of the server * **intf** {intf} - sets the name of the TAP interface to bind to. Default will create a new one for you, lasting the life of the app. Eg, tap0

近期下载者

相关文件


收藏者