App rebranding

This commit is contained in:
Nikolay Borodin 2023-10-19 11:21:27 +00:00
parent 91264ab7d3
commit 6a7c7c1af2
69 changed files with 512 additions and 328 deletions

View file

@ -6,10 +6,9 @@ deploy:jdk8:
stage: deploy
artifacts:
paths:
- build/P2PVPN.jar
- build/P2PVPN.exe
- build/run_p2pvpn.bat
- build/p2pvpn-pkexec
- build/Lanemu.jar
- build/Lanemu.exe
- build/lanemu-pkexec
- build/lib/*.jar
- build/clib/*.so
- build/clib/*.dll
@ -35,7 +34,6 @@ deploy:jdk8:
- cd .. && cd ..
- cp native/tapWindows/dist/Release/* clib/
- ant
- cp misc/P2PVPN.exe build/P2PVPN.exe
- cp misc/run_p2pvpn.bat build/run_p2pvpn.bat
- cp misc/p2pvpn-pkexec build/p2pvpn-pkexec
- cp misc/Lanemu.exe build/Lanemu.exe
- cp misc/lanemu-pkexec build/lanemu-pkexec

View file

@ -1,25 +1,37 @@
# P2P VPN
# Lanemu
A P2P VPN fork, originally created by Wolfgang Ginolas (http://www.p2pvpn.org/).
![Logo](resources/images/lanemu.svg){width=128px}
Lanemu is a fork of P2PVPN, originally created by Wolfgang Ginolas (http://www.p2pvpn.org/).
![Screenshot](repo/screenshot.png)
# How to use
1. On Windows, install the TAP-Win32 Adapter OAS driver by running `add_driver.bat` in the driver directory (preferably as administrator).
2. Run `P2PVPN.exe`.
2. Run `Lanemu.exe`.
If running on Linux, the application needs to be run as root via `sudo java -jar P2PVPN.jar` or `p2pvpn-pkexec`.
If running on Linux, the application needs to be run as root via `sudo java -jar Lanemu.jar` or `lanemu-pkexec`.
If you don't want to run the application as root, you can alternatively give the CAP_NET_ADMIN capability to java interpeter.
```
sudo setcap cap_net_admin=eip /path/to/java
```
Then you can run Lanemu as a normal user without `sudo`.
When you start the application, you will be prompted to configure the tap interface via `ifconfig` which requires root privileges.
# Running in the background
```
sudo java -jar P2PVPN.jar --headless --access=access.dat --name=Supernode --port=2103 --vpn.ip=10.6.10.10 --vpn.mask=255.255.0.0
java -jar Lanemu.jar --headless --access=access.dat --name=Supernode --port=2103 --vpn.ip=10.6.10.10 --vpn.mask=255.255.0.0
```
where `access.dat` is a _private_ invitation.
Run P2PVPN with the `--help` parameter for extra documentation.
Run Lanemu with the `--help` parameter for extra documentation.
# Creating a network

View file

@ -3,23 +3,23 @@
<!--
Copyright 2008 Wolfgang Ginolas
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
-->
<project name="P2PVpnTest" default="jar" basedir=".">
<project name="Lanemu" default="jar" basedir=".">
<property name="src" value="src"/>
<property name="build" value="build"/>
<property name="build.classes" value="build/classes"/>
@ -65,7 +65,7 @@
</fileset>
</copy>
<jar destfile="${build}/P2PVPN.jar">
<jar destfile="${build}/Lanemu.jar">
<fileset dir="${build.classes}">
<exclude name="test/**"/>
</fileset>
@ -96,7 +96,7 @@
</target>
<target name="run" depends="jar">
<java fork="true" jar="${build}/P2PVPN.jar"/>
<java fork="true" jar="${build}/Lanemu.jar"/>
</target>
</project>

View file

@ -1,53 +1,41 @@
#==============================
#Wed Oct 18 14:42:39 EET 2023
access.expiryDate=none
access.publicKey.0=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAs29OCP/9RuTIWaavuk49H1auCw2RInT/
access.publicKey.1=atZGCYS76pVPkc2kB14o7gR42cmWBN6euMaD1QNPWZpoVDz9TKLpSV2wam2Py0S90ldCzXGCHZYs
access.publicKey.2=8BP/IyLmdLPzu4A33vh2AKTuUW+HmMedRWT9refP3mHeVWBEOLFS5Mp1eGV7sVDjq+SGvmaMtQGw
access.publicKey.3=K619zG4jC0PiRmaRs+eesnmoN8znnFxO0k+mwpLwG8EWbmVsyz3nRB2vwzUuLHOwWAH7MSutkIoZ
access.publicKey.4=/yrFqdc22/emXC2jaywJauBMy6LMscoFW2zjZNS3CwbpsRnXp+F0kvhxJHOUnyutaYAQCrDsGS9n
access.publicKey.5=u2xP4wIDAQAB
access.signature.0=YoMJsAwoXvnjf3DjPZYtxp235VJPgZjcPliBC7Kb2jQYx6Cs+t28WDJcExsTfQeubsgwYnWJ+uFE
access.signature.1=IJREkPZV9q9mntaJUVYEP6zYZEI6ooeJ1mWITOk4pMnyq3sR75Jq8K6fPAtbEY88yM8hJmZqkGbY
access.signature.2=8br/KHosFl7XLqY64uskHDHJWkVP9rUyM1rlx1dbjeK9HD1F7sInT0AgY5iB+ENgBFeUz7VWVQFT
access.signature.3=Xup1qznYpAur57uXKFGr/q94D3e5EKzSaCt37inHB5XZHB0ZYNoBhCOjL2JUPU3d/jypWrAi8+5e
access.signature.4=6jBL70zNVGDWXAiKAFVbIoTVSKnlWx5zDR822Q\=\=
#Wed Oct 18 21:16:03 EET 2023
network.bootstrap.DHT=yes
network.bootstrap.tracker=http\://tracker.qu.ax\:6969/announce
network.bootstrap.tracker=http\://tracker.openbittorrent.com\:80/announce
network.ip.network=10.6.0.0
network.ip.subnet=255.255.0.0
network.name=Default network
network.publicKey.0=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnYrOPZPDxRVaYD3srV8Bj91kmXzGUPkC
network.publicKey.1=gRRrnrBliW6oHuf650rRH8k4B7mp6FzRn52oAKSrG6572dvssCXQFa4MTBcvMDj7KnZOsFjFBDcJ
network.publicKey.2=sEqthkdzTIHGhqqUWi/+S3AMxFiWaQisSlu7dJrLdbOsdcYZb7BKvKg2J7c9yS8A7uyUefvhalko
network.publicKey.3=bCyNtv7MGIkgGtyOF5Xab84TTC7C1P/C2WDeOwYh1SUk/Us1czSzuFT2v2W9v+/y3OSAx6eyoKKT
network.publicKey.4=aj2AFUbv92mXM8yPdzdTLa9MmrLpziILOL1AKfUSrArTHx4246KE5w/tp3R3cjco7mlzTq2u41gF
network.publicKey.5=wukfYwIDAQAB
network.signature.0=lvYXgsDOPYMuIlLRIZtaN5sIDyEGwFQqBGnKIpWmvI3a2GwnW1lb3yTGwhro5d4CKmuJZXyCBbWN
network.signature.1=MbxudzmN3scfTp7/FLf9eHVSK+nTABjq2V34c2mEcCShdcNqny8dz/WdXMDA2jVOug2ymVgPCXpy
network.signature.2=7r+buZtMVOU0B2EjnmwFg0I0epf/EXsHTpMzI6aSWRVAScq0Fb/ZZDSv/iP5ixudPGJbTSfOySN8
network.signature.3=Liz+i7h5AbssaoDdPAyF4L9r4fwrGUuPau7ypiowdodXnAL0h5VCKQeazcSvgMPUFdjsXntMtouy
network.signature.4=SUpKHSCAAT6iMEALqxFTcMOUATsy7PYSau8v6A\=\=
secret.access.privateKey.0=MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCzb04I//1G5MhZpq+6Tj0fVq4L
secret.access.privateKey.1=DZEidP9q1kYJhLvqlU+RzaQHXijuBHjZyZYE3p64xoPVA09ZmmhUPP1MoulJXbBqbY/LRL3SV0LN
secret.access.privateKey.2=cYIdlizwE/8jIuZ0s/O7gDfe+HYApO5Rb4eYx51FZP2t58/eYd5VYEQ4sVLkynV4ZXuxUOOr5Ia+
secret.access.privateKey.3=Zoy1AbArrX3MbiMLQ+JGZpGz556yeag3zOecXE7ST6bCkvAbwRZuZWzLPedEHa/DNS4sc7BYAfsx
secret.access.privateKey.4=K62Qihn/KsWp1zbb96ZcLaNrLAlq4EzLosyxygVbbONk1LcLBumxGden4XSS+HEkc5SfK61pgBAK
secret.access.privateKey.5=sOwZL2e7bE/jAgMBAAECggEAKSSFXRTtSzscIUpSEsLryurCH3Ct7ZusESAukPIpcGFqDEF9sd7K
secret.access.privateKey.6=PcEywKUzS8yL0kxaYBZRNHduIpqVbeQQ36ymzdBvXylU6QzvGVJEhmovxaCgKLtQ4kN8yGpe5TZN
secret.access.privateKey.7=QFqQ9oU/Ly3eBtJgRGbZx+Di7OqU2fb2zdUKWF/Um9RQruXag/v+w0id3XJZyqW3lJ8nID0Aw7kv
secret.access.privateKey.8=yfN/f8q8jV49/q2c4fvZNFZGhCNPcGDMMzbLBULgL3nbdMZH0xEfRp2o5h49L76yltT4z+PkF5Df
secret.access.privateKey.9=dCUVTNpMt6qRim9UMnCxibLpfg4C6IOcUkApUj2jJIve9U0wT1ZDxSTBzn6VuQKBgQDo9SNR4GmI
secret.access.privateKey.a=2Fb9lBELcuj4itG30Vp9j59vh+wEy7NDZ5NoGUsap+MKA1vDDImh9RUwahD45zJ991C6FU6JFnqm
secret.access.privateKey.b=MmFJ+G+VSDSgqcgUdlglTAb/WZYlLysrA8Y4x7bWlb03X6+2gK+MQjMxn4OFTqiSOZ/td7E6jeeU
secret.access.privateKey.c=A054ho4vTwKBgQDFLuIqBJmqWZ6QwfV9Y5jJoRdrW5N/cGqsZUEjmKDVUbckwI3qgfJndqo0a7mx
secret.access.privateKey.d=hsANYJ3+Slq9Yy8k04LvG8hhGdRBEF8JO6E313WlIj+pTNX5k44JHitRTfGm+n3WZl+UEl3f86f/
secret.access.privateKey.e=4npFPHb9aNB9CSRzsEA7cF/fU8uoQ6pRLQKBgQCP6GdSPARVsfdDHMXOwcSjTPYyzJRO/nsqZdfq
secret.access.privateKey.f=On/aAtDvvLhFljLNy7dS7ZrUPtdBGjSz3fa2FCJ9YY4rZ4SKyJKLJHqhyIIiQd/ErDrVh3rHIWt8
secret.access.privateKey.g=OwA6yVEZYF5VfxjtbSHZ5vMK/RYs8HJJ1oaSFiDyjD8igejt6YD/OXf6RwKBgBocGSqDLW3XLB3y
secret.access.privateKey.h=8PTHiWW5hQZcO+22DwoA5l02SqW0ilG9hY0148k7d1I1qYMOWsPqtUEEy3skdQulTkMnJKNm7ion
secret.access.privateKey.i=Zs4sLS7dwuA45sEeQX8owLgIXKgJcCQyKxOGvsU2oWOUOfyyGoqsdP0dMe48la0T+41jVe6Wg/Ml
secret.access.privateKey.j=8pmJAoGAXWb/uY7+1DgmN2ONWU5HIRZpj9iipf/zoIyB2g6XrUBm0DQvC9R2TIqq2v/D9YKTwZme
secret.access.privateKey.k=8OuvjW0Pg6OK4rHlZTm8XfYZgoT6hJAzbFTOW44LH7vhmal9UuvFCSkTNyZ2zO6MrJOPEdImmA60
secret.access.privateKey.l=55gmk5qUdFLHtAqBFZr06TRGhQM\=
network.publicKey.0=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAovx/TY/HSUvETXiqY25w7EveqLnOyV4V
network.publicKey.1=rxXdNQGk7h/81+t6sd7GoXcwnW+EuWVi2guTC7rfp2L4c4Gj+tPseUtcbUil70h8MvhvyKBE4zex
network.publicKey.2=YLnEuW8GV4LcW8DWgzhp19WyPuluPxzEBKoILvkFLiRDEXR4eENgaWwBfgvJKO74kx3r25QMtycT
network.publicKey.3=gi+QjqRzgmJvS5q/K/ecVDjMQEsCcUgpVlTkf3dsIJfEJMDHP5TI5I4OTAxadmkPoggCeu+d8cUE
network.publicKey.4=ENZNsGpHTRdwSX00PaPpxM0VXlmJQK6P8iSGZqEdhaAytfs8rYHNVUbjscTcjzRfyR8v9csUH85Z
network.publicKey.5=/EkhgQIDAQAB
network.signature.0=NKLCbcQG4ohFv3FAjFWL6df1gHduHlKkPdF+56uYQTuuM1QAoAdd4soGlcYqFuUkvBXrtDxFN/8Y
network.signature.1=QoPlW4+EJDJ9ijMSfXnoYfSe4glpibzfXiE+wGeNCMCdWCgG6Kdjq6sOmfn6dyfDx+OfyvKYZPps
network.signature.2=zhLJX6KSROLhp8m78+BRexH0mUBcVVjvvUfQDdramqaFKUY/XWcH8obHq8h2uorwhPNcgosn67Q9
network.signature.3=ccPn+nmGYqisJ3bk4nwa/Sg+Xxf5dxgDohG07L8W64Qc9hqxreTUJMtN5WYdxhu4UE+LpaA1q3RQ
network.signature.4=vLav27UtgwEHW/j930l1Uv7tzN+cQPKBljQtQg\=\=
secret.network.privateKey.0=MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCi/H9Nj8dJS8RNeKpjbnDsS96o
secret.network.privateKey.1=uc7JXhWvFd01AaTuH/zX63qx3sahdzCdb4S5ZWLaC5MLut+nYvhzgaP60+x5S1xtSKXvSHwy+G/I
secret.network.privateKey.2=oETjN7FgucS5bwZXgtxbwNaDOGnX1bI+6W4/HMQEqggu+QUuJEMRdHh4Q2BpbAF+C8ko7viTHevb
secret.network.privateKey.3=lAy3JxOCL5COpHOCYm9Lmr8r95xUOMxASwJxSClWVOR/d2wgl8QkwMc/lMjkjg5MDFp2aQ+iCAJ6
secret.network.privateKey.4=753xxQQQ1k2wakdNF3BJfTQ9o+nEzRVeWYlAro/yJIZmoR2FoDK1+zytgc1VRuOxxNyPNF/JHy/1
secret.network.privateKey.5=yxQfzln8SSGBAgMBAAECggEAB+hPYzuNVz8EmewEYdwv2lo4xhLahEzuQspaxLTJt0vezOyXZuqa
secret.network.privateKey.6=B6dsUmPgtDLF2WWKXGohA7jHhdyz6fo++zuIYAnDeZjlfbH6XZxFyCHuY/T48gFmKCsow1xw8kWm
secret.network.privateKey.7=zPPvOLvDWSIgi64vXqgL2ks9sPeBO/esEjFNRgioWWkt+49Z2K1/ufuwKJcKaLXDh4YsV+fBE4vq
secret.network.privateKey.8=iGjTZ5VI1L8Z+ed0ZoUbPW1k4a+lFQOp8w1Xc1stVFfaK6tXiw2Tw3ijT6BD/0V9+/FPqnqqIFS0
secret.network.privateKey.9=nKavu3+Lf3XeFdpGrDgP8/oqtXKZcqreaPJVMH+rTIK4oT4440IBvMbdcbbpSQKBgQDffm5V7nHS
secret.network.privateKey.a=G4ohXQli/Rsx0rG2Bf+VYPOCK8ixFKm3W9wZvVqlUWyrcEPZ9Vc/yJOcewCRr3SVAxTbP2rQUK9f
secret.network.privateKey.b=xiYQh8JlpqQbiL6Oq/f8WdKumYpry9/P2I0UYJkG63eKSguSzCyWll1iEnyXSV8JEhdO5DiQho1+
secret.network.privateKey.c=9UvhM9OBXwKBgQC6sSDmRreYySJUMBlYIbzUiRFh7L5p114Lky+MqUWaiBxTqbznQuslewqXM6c0
secret.network.privateKey.d=c28kNOwARnUgqZBrXbGUtrRn8/AT8ehtZ8pSK0SG4KyOgaco1OC6NRsnVtK+vTfqRCk0/y+bFNMm
secret.network.privateKey.e=W9fHvLlhNbvtXginEgQtPoGd5R+E8TPpHwKBgQCeOeZnk/6lH7Y1VKbWnBbquR3znl+KJC+B0vms
secret.network.privateKey.f=1NIq7C/xUSuhqvnijgKbhqSUla5btIF8otlIvfvAFS/L97ORfLlqLpMkYEwC6lburzVMRVNxJWbo
secret.network.privateKey.g=VlhH0CphaNouGfpxv2ZeMYrHugC29BudB+buhw5VXiHlwDzgy01DTOvKxQKBgQCRlrh1XAipWZEv
secret.network.privateKey.h=3iKlnAnKJOotV5ZWq+FnXWzjYM4q6KJOjDwIjSMbo4xqxZlLSgoOTkcNH+UPh6xcTkDCHIkr2AwN
secret.network.privateKey.i=QcVkLGCXG67hEC0BJRLawMhP7kIyt365yI3mXylTbv4NDnxrmYv487ANov3e6koNH/up3Ojv3VJr
secret.network.privateKey.j=Nj6pOQKBgC0Fop+9iIkiHRB7rdVTtGsToY7n4fCnVjA3iTWx/OV6zTovVBTai6Phn+8dZxnwvah6
secret.network.privateKey.k=lPbR8EMUjgsWKum3lkDDkQ9CW4GjARKQFI6Zq2uNnh8SADwyTGTyO5AV5IF/wTP/GhvwLLTvzUPW
secret.network.privateKey.l=9e9CzIx2IUdEqEdNU+9ZJGszKDeY
#==============================

Binary file not shown.

View file

@ -2,4 +2,4 @@
JAR_PATH=$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )
sh -c "pkexec env DISPLAY=$DISPLAY env XAUTHORITY=$XAUTHORITY sh -c \"cd ${JAR_PATH} && java -jar ${JAR_PATH}/P2PVPN.jar\""
sh -c "pkexec env DISPLAY=$DISPLAY env XAUTHORITY=$XAUTHORITY sh -c \"cd ${JAR_PATH} && java -jar ${JAR_PATH}/Lanemu.jar\""

View file

@ -1,9 +0,0 @@
@echo off
echo "Disabling P2P VPN interface"
netsh interface set interface "P2P VPN" disable
echo "Resetting interface"
netsh interface ipv4 reset "P2P VPN"
echo "Enabling P2P VPN interface"
netsh interface set interface "P2P VPN" enable
echo "Finally starting P2PVPN.exe"
P2PVPN.exe

View file

@ -2,20 +2,20 @@
Copyright 2017 Serge Zaitsev
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of App indicator tray icon library for P2PVPN.
This file is part of App indicator tray icon library for Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>

View file

@ -2,20 +2,20 @@
Copyright 2017 Serge Zaitsev
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of App indicator tray icon library for P2PVPN.
This file is part of App indicator tray icon library for Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef TRAY_H

View file

@ -1,3 +1,23 @@
/*
Copyright 2008 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of Lanemu.
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

View file

@ -1,3 +1,23 @@
/*
Copyright 2008 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of Lanemu.
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
#include <jni.h>
/* Header for class org_p2pvpn_tuntap_TunTapLinux */

View file

@ -1,20 +1,21 @@
/*
Copyright 2008 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdio.h>

View file

@ -1,3 +1,23 @@
/*
Copyright 2008 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of Lanemu.
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
#include <jni.h>
/* Header for class org_p2pvpn_tuntap_TunTapWindows */

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View file

@ -0,0 +1,90 @@
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient gradientUnits="userSpaceOnUse" x1="96.358" y1="365.008" x2="96.358" y2="472.468" id="gradient-0" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="81.705" y1="51.954" x2="81.705" y2="159.414" id="gradient-1" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="416.519" y1="36.856" x2="416.519" y2="144.316" id="gradient-2" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="345.471" y1="268.65" x2="345.471" y2="376.11" id="gradient-3" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="87.478" y1="158.97" x2="87.478" y2="363.814" id="gradient-4" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="224.689" y1="353.464" x2="224.689" y2="403.197" id="gradient-5" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="386.116" y1="144.992" x2="386.116" y2="272.873" id="gradient-6" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="248.279" y1="89.857" x2="248.279" y2="105.938" id="gradient-7" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="208.128" y1="148.86" x2="208.128" y2="256.32" id="gradient-8" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="276.431" y1="239.439" x2="276.431" y2="286.173" id="gradient-9" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="152.855" y1="252.021" x2="152.855" y2="367.958" id="gradient-10" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="310.134" y1="117.21" x2="310.134" y2="168.438" id="gradient-11" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<linearGradient gradientUnits="userSpaceOnUse" x1="145.216" y1="134.286" x2="145.216" y2="167.54" id="gradient-12" gradientTransform="matrix(1, 0, 0, 1, 1.765798, -4.414491)">
<stop offset="0" style="stop-color: rgba(57, 116, 152, 1)"/>
<stop offset="1" style="stop-color: rgba(29, 59, 78, 1)"/>
</linearGradient>
<radialGradient gradientUnits="userSpaceOnUse" cx="83.47" cy="101.269" r="51.066" id="gradient-18">
<stop offset="0" style="stop-color: rgba(115, 192, 223, 1)"/>
<stop offset="1" style="stop-color: rgba(44, 150, 192, 1)"/>
</radialGradient>
<radialGradient gradientUnits="userSpaceOnUse" cx="418.284" cy="86.171" r="51.066" id="gradient-19">
<stop offset="0" style="stop-color: rgba(115, 192, 223, 1)"/>
<stop offset="1" style="stop-color: rgba(44, 150, 192, 1)"/>
</radialGradient>
<radialGradient gradientUnits="userSpaceOnUse" cx="209.893" cy="198.175" r="51.066" id="gradient-20">
<stop offset="0" style="stop-color: rgba(115, 192, 223, 1)"/>
<stop offset="1" style="stop-color: rgba(44, 150, 192, 1)"/>
</radialGradient>
<radialGradient gradientUnits="userSpaceOnUse" cx="347.236" cy="317.965" r="51.066" id="gradient-21">
<stop offset="0" style="stop-color: rgba(115, 192, 223, 1)"/>
<stop offset="1" style="stop-color: rgba(44, 150, 192, 1)"/>
</radialGradient>
<radialGradient gradientUnits="userSpaceOnUse" cx="98.123" cy="414.323" r="51.066" id="gradient-22">
<stop offset="0" style="stop-color: rgba(115, 192, 223, 1)"/>
<stop offset="1" style="stop-color: rgba(44, 150, 192, 1)"/>
</radialGradient>
</defs>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-5'); stroke-width: 12px;" x1="147.413" y1="398.782" x2="305.495" y2="349.049"/>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-10'); stroke-width: 12px;" x1="189.222" y1="247.606" x2="120.019" y2="363.543"/>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-4'); stroke-width: 12px;" x1="84.358" y1="154.555" x2="94.127" y2="359.399"/>
<ellipse style="stroke-width: 7px; stroke: url('#gradient-0'); fill-rule: nonzero; fill: url('#gradient-22');" cx="98.123" cy="414.323" rx="51.066" ry="53.73"/>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-7'); stroke-width: 12px;" x1="134.033" y1="101.523" x2="366.056" y2="85.442"/>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-12'); stroke-width: 11px;" x1="125.411" y1="129.871" x2="168.551" y2="163.125"/>
<ellipse style="stroke-width: 7px; stroke: url('#gradient-1'); fill-rule: nonzero; fill: url('#gradient-18');" cx="83.47" cy="101.269" rx="51.066" ry="53.73"/>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-6'); stroke-width: 12px;" x1="408.939" y1="140.577" x2="366.822" y2="268.458"/>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-11'); stroke-width: 12px;" x1="249.437" y1="164.023" x2="374.361" y2="112.795"/>
<ellipse style="stroke-width: 7px; stroke: url('#gradient-2'); fill-rule: nonzero; fill: url('#gradient-19');" cx="418.284" cy="86.171" rx="51.066" ry="53.73"/>
<line style="fill: rgb(216, 216, 216); stroke: url('#gradient-9'); stroke-width: 12px;" x1="309.652" y1="281.758" x2="246.741" y2="235.024"/>
<ellipse style="stroke-width: 7px; stroke: url('#gradient-3'); fill-rule: nonzero; fill: url('#gradient-21');" cx="347.236" cy="317.965" rx="51.066" ry="53.73"/>
<ellipse style="stroke-width: 7px; stroke: url('#gradient-8'); fill-rule: nonzero; fill: url('#gradient-20');" cx="209.893" cy="198.175" rx="51.066" ry="53.73"/>
</svg>

After

Width:  |  Height:  |  Size: 7.6 KiB

View file

@ -2,20 +2,20 @@
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn;
@ -28,6 +28,6 @@ public class Defaults {
final public static String NAME = "New network";
final public static String NETWORK = "10.6.0.0";
final public static String SUBNET = "255.255.0.0";
final public static String BITTORRENT_TRACKER = "http://tracker.qu.ax:6969/announce";
final public static String BITTORRENT_TRACKER = "http://tracker.openbittorrent.com:80/announce";
}
}

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn;
@ -59,14 +60,14 @@ import static javax.swing.JOptionPane.showMessageDialog;
import org.p2pvpn.Defaults.NewNetwork;
/**
* This is the main class of P2PVPN. Depending on the commandline arguments the
* This is the main class of Lanemu. Depending on the commandline arguments the
* GUI gets startet or not.
*
* @author Wolfgang Ginolas
*/
public class Main {
/**
* Start P2PVPN.
* Start Lanemu.
*
* @param args the parameters
*/
@ -82,7 +83,7 @@ public class Main {
"",
"Headless mode:",
" --headless Activate headless mode.",
" --access Path to access file, must be generated by P2P VPN (mandatory option).",
" --access Path to access file, must be generated by Lanemu (mandatory option).",
" --vpn.ip The virtual ip address of the host for tap interface configuration (Example: '10.6.0.0').",
" --vpn.mask The mask of the interface (Example: '255.255.0.0'). Must be specified with vpn.ip.",
" --upnp Enable UPnP?",
@ -106,7 +107,7 @@ public class Main {
" --consoleChat Enable sending messages in the console mode.",
"",
"Example:",
" $SUDO$java$EXE$ -jar P2PVPN.jar --headless --access=access.dat --vpn.ip=10.6.10.10 --vpn.mask=255.255.0.0",
" $SUDO$java$EXE$ -jar Lanemu.jar --headless --access=access.dat --vpn.ip=10.6.10.10 --vpn.mask=255.255.0.0",
"",
"Network creation:",
" --newNetwork Create a new network.",
@ -121,7 +122,7 @@ public class Main {
" --disableDHT Disable BitTorrent DHT?",
"",
"Example:",
" java$EXE$ -jar P2PVPN.jar --newNetwork > profile.ini",
" java$EXE$ -jar Lanemu.jar --newNetwork > profile.ini",
"",
"Access file generation:",
" --generateAccess Generate access file.",
@ -133,7 +134,7 @@ public class Main {
" --noHorizontalLine Remove horizontal lines at the beginning and end of output, as well as line break in the end.",
"",
"Example:",
" java$EXE$ -jar P2PVPN.jar --generateAccess --expiryDate=\"01.01.2024, 0:00\" --comment=\"This is your invitation!\" > access.dat",
" java$EXE$ -jar Lanemu.jar --generateAccess --expiryDate=\"01.01.2024, 0:00\" --comment=\"This is your invitation!\" > access.dat",
"",
"Network file export:",
" --exportNetwork Export network file.",
@ -146,7 +147,7 @@ public class Main {
" --noHorizontalLine Remove horizontal lines at the beginning and end of output, as well as line break in the end.",
"",
"Example:",
" java$EXE$ -jar P2PVPN.jar --exportNetwork > network.dat",
" java$EXE$ -jar Lanemu.jar --exportNetwork > network.dat",
"",
"Other:",
" --version Show the application version.",
@ -372,8 +373,8 @@ public class Main {
Logger.getLogger("").log(Level.INFO, "Unable to load native look and feel", ex);
}
if (!lockInstance("p2pvpn.lock")) {
showMessageDialog(null, "Another instance of P2P VPN is already running.");
if (!lockInstance("lanemu.lock")) {
showMessageDialog(null, "Another instance of Lanemu is already running.");
System.exit(1);
}

View file

@ -2,20 +2,20 @@
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,20 @@
/*
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;
@ -37,7 +37,7 @@ import javax.imageio.ImageIO;
*/
public final class AppIndicatorTrayIcon extends TrayIcon {
static String TRAYICON_TMP_FILE = "P2PVPN_Tray.png";
static String TRAYICON_TMP_FILE = "Lanemu_Tray.png";
private String icon;
static {

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -2,7 +2,7 @@
<Form version="1.6" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<Properties>
<Property name="title" type="java.lang.String" value="P2PVPN"/>
<Property name="title" type="java.lang.String" value="Lanemu"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>
@ -435,7 +435,7 @@
<Font name="DejaVu Sans" size="24" style="0"/>
</Property>
<Property name="horizontalAlignment" type="int" value="0"/>
<Property name="text" type="java.lang.String" value="P2PVPN"/>
<Property name="text" type="java.lang.String" value="Lanemu"/>
</Properties>
</Component>
<Component class="javax.swing.JLabel" name="jLabel2">

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;
@ -44,7 +45,7 @@ import org.p2pvpn.Version;
/**
* This is an information window that displays a lot of
* information about the current status of P2PVPN.
* information about the current status of Lanemu.
*
* @author Wolfgang Ginolas
*/
@ -147,7 +148,7 @@ public class InfoWindow extends javax.swing.JFrame implements RoutungTableListen
jLabel2 = new javax.swing.JLabel();
jLabel4 = new javax.swing.JLabel();
setTitle("P2PVPN");
setTitle("Lanemu");
jSplitPane1.setDividerLocation(250);
jSplitPane1.setOrientation(javax.swing.JSplitPane.VERTICAL_SPLIT);
@ -346,7 +347,7 @@ public class InfoWindow extends javax.swing.JFrame implements RoutungTableListen
jLabel1.setFont(new java.awt.Font("DejaVu Sans", 0, 24)); // NOI18N
jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel1.setText("P2PVPN");
jLabel1.setText("Lanemu");
jLabel2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
jLabel2.setText(Version.getVersion());

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;
@ -44,7 +45,7 @@ import org.p2pvpn.tools.ProfileManager;
/**
* This class controls everything regarded to the GUI or storing the settings of
* P2PVPN.
* Lanemu.
*
* @author Wolfgang Ginolas
*/
@ -121,7 +122,7 @@ public class MainControl implements ConnectorListener {
inv.load(in);
String netName = inv.getProperty("network.name");
if (JOptionPane.YES_OPTION == JOptionPane.showConfirmDialog(null,
"Your P2PVPN is not part of any network.\n"
"Your Lanemu is not part of any network.\n"
+ "Do you want to join '" + netName + "'?",
"Default Network",
JOptionPane.YES_NO_OPTION)) {
@ -136,7 +137,7 @@ public class MainControl implements ConnectorListener {
}
/**
* Called after initialisation and starts the operation of P2PVPN.
* Called after initialisation and starts the operation of Lanemu.
*/
public void start() {
changeNet(false);
@ -186,9 +187,9 @@ public class MainControl implements ConnectorListener {
/**
* This is called, when the network has changed. It will setup the new
* network and notify other parts of P2PVPN.
* network and notify other parts of Lanemu.
*
* @param networkChanged was P2PVPN connectet to another network before this
* @param networkChanged was Lanemu connectet to another network before this
* method was called?
*/
private void changeNet(boolean networkChanged) {

View file

@ -3,7 +3,7 @@
<Form version="1.3" maxVersion="1.6" type="org.netbeans.modules.form.forminfo.JFrameFormInfo">
<Properties>
<Property name="defaultCloseOperation" type="int" value="3"/>
<Property name="title" type="java.lang.String" value="P2PVPN"/>
<Property name="title" type="java.lang.String" value="Lanemu"/>
</Properties>
<SyntheticProperties>
<SyntheticProperty name="formSizePolicy" type="int" value="1"/>

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;
@ -52,7 +53,7 @@ import org.p2pvpn.network.Router;
import org.p2pvpn.network.RoutungTableListener;
/**
* This is the main window of P2PVPN.
* This is the main window of Lanemu.
*
* @author Wolfgang Ginoas
*/
@ -66,11 +67,11 @@ enum PeerAction {
public class MainWindow extends javax.swing.JFrame implements RoutungTableListener {
private static final String P2PVPN_IMG = "resources/images/P2PVPN-32.png";
private static final String LANEMU_IMG = "resources/images/lanemu-64.png";
private static final String CHAT_IMG = "resources/images/chat.png";
private static final String CHAT_BLA_IMG = "resources/images/chat_bla.png";
private static final String TOOLTIP = "P2P VPN";
private static final String TOOLTIP = "Lanemu";
private MainControl mainControl; // the MainControl
private NewNetwork newNetwork; // the other windows
@ -98,7 +99,7 @@ public class MainWindow extends javax.swing.JFrame implements RoutungTableListen
peerListCellRenderer = new PeerListCellRenderer();
initComponents();
try {
URL url = InfoWindow.class.getClassLoader().getResource(P2PVPN_IMG);
URL url = InfoWindow.class.getClassLoader().getResource(LANEMU_IMG);
setIconImage(new ImageIcon(url).getImage());
} catch (NullPointerException e) {
}
@ -150,11 +151,11 @@ public class MainWindow extends javax.swing.JFrame implements RoutungTableListen
if (isLinux) {
trayIcon = new AppIndicatorTrayIcon(
Toolkit.getDefaultToolkit().getImage(InfoWindow.class.getClassLoader().getResource(P2PVPN_IMG)),
Toolkit.getDefaultToolkit().getImage(InfoWindow.class.getClassLoader().getResource(LANEMU_IMG)),
TOOLTIP, popupMenu);
} else {
trayIcon = new TrayIcon(
Toolkit.getDefaultToolkit().getImage(InfoWindow.class.getClassLoader().getResource(P2PVPN_IMG)),
Toolkit.getDefaultToolkit().getImage(InfoWindow.class.getClassLoader().getResource(LANEMU_IMG)),
TOOLTIP, popupMenu);
}
@ -172,7 +173,7 @@ public class MainWindow extends javax.swing.JFrame implements RoutungTableListen
addWindowListener(new WindowAdapter() {
@Override
public void windowClosing(WindowEvent windowEvent) {
trayIcon.displayMessage("P2PVPN", "The application is now minimized. Click on the tray to display.",
trayIcon.displayMessage("Lanemu", "The application is now minimized. Click on the tray to display.",
MessageType.NONE);
}
});
@ -239,7 +240,7 @@ public class MainWindow extends javax.swing.JFrame implements RoutungTableListen
txtNetwork = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setTitle("P2PVPN");
setTitle("Lanemu");
jToolBar1.setRollover(true);
@ -410,7 +411,7 @@ public class MainWindow extends javax.swing.JFrame implements RoutungTableListen
if (trayIcon != null) {
trayIcon.setImage(
Toolkit.getDefaultToolkit().getImage(InfoWindow.class.getClassLoader().getResource(P2PVPN_IMG)));
Toolkit.getDefaultToolkit().getImage(InfoWindow.class.getClassLoader().getResource(LANEMU_IMG)));
}
if (chatButtonFlickerTimer != null) {

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
// TODO option: use whatisymip
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.gui;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;
@ -48,7 +49,7 @@ import org.p2pvpn.tools.CryptoUtils;
import org.p2pvpn.tools.SocketAddrStr;
/**
* The ConnectionManager is the central point of the P2PVPN network. It
* The ConnectionManager is the central point of the Lanemu network. It
* coordinates the different layers of the network.
*
* @author Wolfgang Ginolas

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,20 @@
/*
Copyright 2009 Wolfgang Ginolas
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;
@ -36,7 +37,7 @@ import javax.crypto.spec.IvParameterSpec;
import org.p2pvpn.tools.CryptoUtils;
/**
* This is the lowest layer in the P2PVPN network. It encrypts packages and
* This is the lowest layer in the Lanemu network. It encrypts packages and
* sends and recheives them using TCP.
*
* @author Wolfgang Ginolas

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bandwidth;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bandwidth;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bandwidth;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent.bencode;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent.bencode;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent.bencode;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent.bencode;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent.bencode;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.network.bittorrent.bencode;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.tools;

View file

@ -1,20 +1,20 @@
/*
Copyright 2009 Wolfgang Ginolas
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.tools;

View file

@ -1,20 +1,20 @@
/*
Copyright 2009 Wolfgang Ginolas
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.tools;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.tools;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.tuntap;

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.tuntap;
@ -67,7 +68,7 @@ public class TunTapLinux extends TunTap {
public TunTapLinux() throws Exception {
if (1 == openTun()) {
throw new Exception("Could not open '/dev/net/tun!'\n"
+ "Please run P2PVPN as root.\n" +
+ "Please run Lanemu as root.\n" +
"Or alternatively, set CAP_NET_ADMIN capability via \"sudo setcap cap_net_admin=eip /path/to/java\".");
}
}

View file

@ -1,20 +1,21 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
Copyright 2023 Nikolay Borodin <Monsterovich>
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package org.p2pvpn.tuntap;
@ -95,7 +96,7 @@ public class TunTapWindows extends TunTap {
String[] renameCmd = {
"netsh", "interface", "set", "interface", "name=" + dev,
"newname=P2P VPN"
"newname=Lanemu"
};
Process p;

View file

@ -1,20 +1,20 @@
/*
Copyright 2008, 2009 Wolfgang Ginolas
This file is part of P2PVPN.
This file is part of Lanemu.
P2PVPN is free software: you can redistribute it and/or modify
Lanemu is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
P2PVPN is distributed in the hope that it will be useful,
Lanemu is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with P2PVPN. If not, see <http://www.gnu.org/licenses/>.
along with Lanemu. If not, see <http://www.gnu.org/licenses/>.
*/
package test.org.p2pvpn.tools;