Commit Graph

13 Commits

Author SHA1 Message Date
Logan007
fad7c191f6 added XORSHIFT128+ random number generator 2020-06-08 16:06:24 +05:45
emanuele-f
928fc9f22e Add ability to insert linux routes in n2n
The new -n option can now be used to setup routes directly from the edge command line.
It supports both network routes and default gateway routes. Here is an example:

  - "-n 192.168.100.0/24:192.168.99.1" routes the 192.168.100.0/24 network traffic via 192.168.99.1
  - "-n 0.0.0.0/0:192.168.99.1" routes all the host traffic via 192.168.99.1
2020-05-23 16:21:45 +02:00
emanuele-f
8f3009c448 Fix occasional connection issues on startup due to bad MAC address read 2019-09-22 20:16:01 +02:00
emanuele-f
6868ed9ccd Ensure that the TAP interface is up and running 2019-09-22 19:45:51 +02:00
emanuele-f
b889795b19 Fix possible uninitialised values in struct ifreq 2019-09-22 16:50:47 +02:00
emanuele-f
5d2d19a924 Remove calls to system() in tuntap_linux
Fixes #177
2019-09-18 00:00:12 +02:00
emanuele-f
04226c09c8 Fix compilation warnings and little leak 2019-05-21 22:53:55 +02:00
emanuele-f
08b992cbb7 Add more detailed error message when TAP open fails
Closes #94
2019-04-24 01:02:36 +02:00
emanuele-f
3149a77753 Replace fprintf with traceEvent 2019-04-14 17:33:57 +02:00
Luca Deri
41401a131f Minor code cleanup 2018-06-07 21:45:33 +02:00
Luca Deri
7b07636281 Refreshed copyright and added contributors list 2018-06-06 09:57:31 +02:00
Luca Deri
415f6b0a72 Minor code cleanup
Fixed compilation issue on OSX
2018-06-06 09:26:08 +02:00
Luca Deri
b1e9ce6d2a Initial SVN import of n2n v2 2016-10-23 10:46:15 +02:00