diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ce09d6..6db191d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/README.md b/README.md index 0ddc36b..c143368 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/build.xml b/build.xml index 28ef2d2..64ab3cf 100644 --- a/build.xml +++ b/build.xml @@ -3,23 +3,23 @@ - + @@ -65,7 +65,7 @@ - + @@ -96,7 +96,7 @@ - + diff --git a/default.dat b/default.dat index 59fb02c..3594aff 100644 --- a/default.dat +++ b/default.dat @@ -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 #============================== diff --git a/misc/P2PVPN.exe b/misc/Lanemu.exe similarity index 56% rename from misc/P2PVPN.exe rename to misc/Lanemu.exe index 1bb1697..9aa83df 100644 Binary files a/misc/P2PVPN.exe and b/misc/Lanemu.exe differ diff --git a/misc/p2pvpn-pkexec b/misc/lanemu-pkexec similarity index 70% rename from misc/p2pvpn-pkexec rename to misc/lanemu-pkexec index d13bf90..25cb16f 100755 --- a/misc/p2pvpn-pkexec +++ b/misc/lanemu-pkexec @@ -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\"" \ No newline at end of file +sh -c "pkexec env DISPLAY=$DISPLAY env XAUTHORITY=$XAUTHORITY sh -c \"cd ${JAR_PATH} && java -jar ${JAR_PATH}/Lanemu.jar\"" \ No newline at end of file diff --git a/misc/run_p2pvpn.bat b/misc/run_p2pvpn.bat deleted file mode 100644 index 0336ea8..0000000 --- a/misc/run_p2pvpn.bat +++ /dev/null @@ -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 \ No newline at end of file diff --git a/native/appIndicator/tray.c b/native/appIndicator/tray.c index cac99d9..be28da6 100644 --- a/native/appIndicator/tray.c +++ b/native/appIndicator/tray.c @@ -2,20 +2,20 @@ Copyright 2017 Serge Zaitsev Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ #include diff --git a/native/appIndicator/tray.h b/native/appIndicator/tray.h index cdae175..0a8e297 100644 --- a/native/appIndicator/tray.h +++ b/native/appIndicator/tray.h @@ -2,20 +2,20 @@ Copyright 2017 Serge Zaitsev Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ #ifndef TRAY_H diff --git a/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.c b/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.c index fcf8464..0cc3d50 100644 --- a/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.c +++ b/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.c @@ -1,3 +1,23 @@ +/* + Copyright 2008 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin + + 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 . +*/ + #include #include #include diff --git a/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.h b/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.h index c69d886..2ba971a 100644 --- a/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.h +++ b/native/tapLinux/org_p2pvpn_tuntap_TunTapLinux.h @@ -1,3 +1,23 @@ +/* + Copyright 2008 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin + + 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 . +*/ + #include /* Header for class org_p2pvpn_tuntap_TunTapLinux */ diff --git a/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.c b/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.c index 0c16fd9..264be03 100644 --- a/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.c +++ b/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.c @@ -1,20 +1,21 @@ /* Copyright 2008 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ #include diff --git a/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.h b/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.h index b8c75ce..50d9bd8 100644 --- a/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.h +++ b/native/tapWindows/org_p2pvpn_tuntap_TunTapWindows.h @@ -1,3 +1,23 @@ +/* + Copyright 2008 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin + + 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 . +*/ + #include /* Header for class org_p2pvpn_tuntap_TunTapWindows */ diff --git a/repo/screenshot.png b/repo/screenshot.png index 2eda12d..4b56d6e 100644 Binary files a/repo/screenshot.png and b/repo/screenshot.png differ diff --git a/resources/images/lanemu-64.png b/resources/images/lanemu-64.png new file mode 100644 index 0000000..6651f16 Binary files /dev/null and b/resources/images/lanemu-64.png differ diff --git a/resources/images/lanemu.svg b/resources/images/lanemu.svg new file mode 100644 index 0000000..09311d0 --- /dev/null +++ b/resources/images/lanemu.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/org/p2pvpn/Defaults.java b/src/org/p2pvpn/Defaults.java index 93cb48f..fde6df8 100644 --- a/src/org/p2pvpn/Defaults.java +++ b/src/org/p2pvpn/Defaults.java @@ -2,20 +2,20 @@ Copyright 2008, 2009 Wolfgang Ginolas Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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"; } } diff --git a/src/org/p2pvpn/Main.java b/src/org/p2pvpn/Main.java index 3f647ff..4316208 100644 --- a/src/org/p2pvpn/Main.java +++ b/src/org/p2pvpn/Main.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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); } diff --git a/src/org/p2pvpn/Version.java b/src/org/p2pvpn/Version.java index e3b5cd1..5d8608d 100644 --- a/src/org/p2pvpn/Version.java +++ b/src/org/p2pvpn/Version.java @@ -2,20 +2,20 @@ Copyright 2008, 2009 Wolfgang Ginolas Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn; diff --git a/src/org/p2pvpn/gui/AcceptWindow.java b/src/org/p2pvpn/gui/AcceptWindow.java index 8ddcddb..da2c2d6 100644 --- a/src/org/p2pvpn/gui/AcceptWindow.java +++ b/src/org/p2pvpn/gui/AcceptWindow.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java b/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java index 0e7f02e..8860e9b 100644 --- a/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java +++ b/src/org/p2pvpn/gui/AppIndicatorTrayIcon.java @@ -1,20 +1,20 @@ /* Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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 { diff --git a/src/org/p2pvpn/gui/ChatWindow.java b/src/org/p2pvpn/gui/ChatWindow.java index d9e9297..38742ee 100644 --- a/src/org/p2pvpn/gui/ChatWindow.java +++ b/src/org/p2pvpn/gui/ChatWindow.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/IPTableModel.java b/src/org/p2pvpn/gui/IPTableModel.java index 9c84697..c9cec53 100644 --- a/src/org/p2pvpn/gui/IPTableModel.java +++ b/src/org/p2pvpn/gui/IPTableModel.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/InfoWindow.form b/src/org/p2pvpn/gui/InfoWindow.form index befb930..9aada09 100644 --- a/src/org/p2pvpn/gui/InfoWindow.form +++ b/src/org/p2pvpn/gui/InfoWindow.form @@ -2,7 +2,7 @@
- + @@ -435,7 +435,7 @@ - + diff --git a/src/org/p2pvpn/gui/InfoWindow.java b/src/org/p2pvpn/gui/InfoWindow.java index 0657397..e7f9845 100644 --- a/src/org/p2pvpn/gui/InfoWindow.java +++ b/src/org/p2pvpn/gui/InfoWindow.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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()); diff --git a/src/org/p2pvpn/gui/InviteWindow.java b/src/org/p2pvpn/gui/InviteWindow.java index 8939106..1f52c86 100644 --- a/src/org/p2pvpn/gui/InviteWindow.java +++ b/src/org/p2pvpn/gui/InviteWindow.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/MainControl.java b/src/org/p2pvpn/gui/MainControl.java index 5fcf608..65a73f8 100644 --- a/src/org/p2pvpn/gui/MainControl.java +++ b/src/org/p2pvpn/gui/MainControl.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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) { diff --git a/src/org/p2pvpn/gui/MainWindow.form b/src/org/p2pvpn/gui/MainWindow.form index 1995128..f9c8aec 100644 --- a/src/org/p2pvpn/gui/MainWindow.form +++ b/src/org/p2pvpn/gui/MainWindow.form @@ -3,7 +3,7 @@ - + diff --git a/src/org/p2pvpn/gui/MainWindow.java b/src/org/p2pvpn/gui/MainWindow.java index 58c915f..f96678e 100644 --- a/src/org/p2pvpn/gui/MainWindow.java +++ b/src/org/p2pvpn/gui/MainWindow.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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) { diff --git a/src/org/p2pvpn/gui/NewNetwork.java b/src/org/p2pvpn/gui/NewNetwork.java index 4be51b5..8bdc0bd 100644 --- a/src/org/p2pvpn/gui/NewNetwork.java +++ b/src/org/p2pvpn/gui/NewNetwork.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/OptionWindow.java b/src/org/p2pvpn/gui/OptionWindow.java index e050983..529ea04 100644 --- a/src/org/p2pvpn/gui/OptionWindow.java +++ b/src/org/p2pvpn/gui/OptionWindow.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ // TODO option: use whatisymip package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/PeerGraph.java b/src/org/p2pvpn/gui/PeerGraph.java index 92071af..6358f12 100644 --- a/src/org/p2pvpn/gui/PeerGraph.java +++ b/src/org/p2pvpn/gui/PeerGraph.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/PeerListCellRenderer.java b/src/org/p2pvpn/gui/PeerListCellRenderer.java index f8687dc..e7995b9 100644 --- a/src/org/p2pvpn/gui/PeerListCellRenderer.java +++ b/src/org/p2pvpn/gui/PeerListCellRenderer.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/PeerListModel.java b/src/org/p2pvpn/gui/PeerListModel.java index a360e42..9da4ea1 100644 --- a/src/org/p2pvpn/gui/PeerListModel.java +++ b/src/org/p2pvpn/gui/PeerListModel.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/gui/PeerTableModel.java b/src/org/p2pvpn/gui/PeerTableModel.java index 2639b9e..6c6c833 100644 --- a/src/org/p2pvpn/gui/PeerTableModel.java +++ b/src/org/p2pvpn/gui/PeerTableModel.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.gui; diff --git a/src/org/p2pvpn/network/ConnectionManager.java b/src/org/p2pvpn/network/ConnectionManager.java index e726b05..f26aaee 100644 --- a/src/org/p2pvpn/network/ConnectionManager.java +++ b/src/org/p2pvpn/network/ConnectionManager.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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 diff --git a/src/org/p2pvpn/network/Connector.java b/src/org/p2pvpn/network/Connector.java index b5f66ae..4f18b02 100644 --- a/src/org/p2pvpn/network/Connector.java +++ b/src/org/p2pvpn/network/Connector.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/ConnectorListener.java b/src/org/p2pvpn/network/ConnectorListener.java index 852cf9c..3c47f16 100644 --- a/src/org/p2pvpn/network/ConnectorListener.java +++ b/src/org/p2pvpn/network/ConnectorListener.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/InternalPacketListener.java b/src/org/p2pvpn/network/InternalPacketListener.java index ea7a1cb..de3b3ed 100644 --- a/src/org/p2pvpn/network/InternalPacketListener.java +++ b/src/org/p2pvpn/network/InternalPacketListener.java @@ -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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/MacAddress.java b/src/org/p2pvpn/network/MacAddress.java index 8d5d844..05251b7 100644 --- a/src/org/p2pvpn/network/MacAddress.java +++ b/src/org/p2pvpn/network/MacAddress.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/P2PConnection.java b/src/org/p2pvpn/network/P2PConnection.java index 7d492e0..58087f2 100644 --- a/src/org/p2pvpn/network/P2PConnection.java +++ b/src/org/p2pvpn/network/P2PConnection.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/PeerID.java b/src/org/p2pvpn/network/PeerID.java index 42e4690..0ed464c 100644 --- a/src/org/p2pvpn/network/PeerID.java +++ b/src/org/p2pvpn/network/PeerID.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/Pinger.java b/src/org/p2pvpn/network/Pinger.java index 7bfb0a9..bea722c 100644 --- a/src/org/p2pvpn/network/Pinger.java +++ b/src/org/p2pvpn/network/Pinger.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/Router.java b/src/org/p2pvpn/network/Router.java index 335821b..7c78635 100644 --- a/src/org/p2pvpn/network/Router.java +++ b/src/org/p2pvpn/network/Router.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/RoutungTableListener.java b/src/org/p2pvpn/network/RoutungTableListener.java index 36fe1b9..39c0ab9 100644 --- a/src/org/p2pvpn/network/RoutungTableListener.java +++ b/src/org/p2pvpn/network/RoutungTableListener.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/TCPConnection.java b/src/org/p2pvpn/network/TCPConnection.java index 7a60c2f..e071a55 100644 --- a/src/org/p2pvpn/network/TCPConnection.java +++ b/src/org/p2pvpn/network/TCPConnection.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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 diff --git a/src/org/p2pvpn/network/UPnPPortForward.java b/src/org/p2pvpn/network/UPnPPortForward.java index f0d1461..c8654a6 100644 --- a/src/org/p2pvpn/network/UPnPPortForward.java +++ b/src/org/p2pvpn/network/UPnPPortForward.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/UPnPPortForwardListener.java b/src/org/p2pvpn/network/UPnPPortForwardListener.java index bbca667..20e723a 100644 --- a/src/org/p2pvpn/network/UPnPPortForwardListener.java +++ b/src/org/p2pvpn/network/UPnPPortForwardListener.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/VPNConnector.java b/src/org/p2pvpn/network/VPNConnector.java index c6acaa7..6a92bd1 100644 --- a/src/org/p2pvpn/network/VPNConnector.java +++ b/src/org/p2pvpn/network/VPNConnector.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network; diff --git a/src/org/p2pvpn/network/bandwidth/MeasureBandwidth.java b/src/org/p2pvpn/network/bandwidth/MeasureBandwidth.java index a8807fd..16e5d7a 100644 --- a/src/org/p2pvpn/network/bandwidth/MeasureBandwidth.java +++ b/src/org/p2pvpn/network/bandwidth/MeasureBandwidth.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bandwidth; diff --git a/src/org/p2pvpn/network/bandwidth/SlidingAverage.java b/src/org/p2pvpn/network/bandwidth/SlidingAverage.java index 52912e3..2b6ccbb 100644 --- a/src/org/p2pvpn/network/bandwidth/SlidingAverage.java +++ b/src/org/p2pvpn/network/bandwidth/SlidingAverage.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bandwidth; diff --git a/src/org/p2pvpn/network/bandwidth/TokenBucket.java b/src/org/p2pvpn/network/bandwidth/TokenBucket.java index 740611c..18a8d54 100644 --- a/src/org/p2pvpn/network/bandwidth/TokenBucket.java +++ b/src/org/p2pvpn/network/bandwidth/TokenBucket.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bandwidth; diff --git a/src/org/p2pvpn/network/bittorrent/BitTorrentTracker.java b/src/org/p2pvpn/network/bittorrent/BitTorrentTracker.java index b00146a..888ee56 100644 --- a/src/org/p2pvpn/network/bittorrent/BitTorrentTracker.java +++ b/src/org/p2pvpn/network/bittorrent/BitTorrentTracker.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent; diff --git a/src/org/p2pvpn/network/bittorrent/Contact.java b/src/org/p2pvpn/network/bittorrent/Contact.java index 03c7133..002a5f7 100644 --- a/src/org/p2pvpn/network/bittorrent/Contact.java +++ b/src/org/p2pvpn/network/bittorrent/Contact.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent; diff --git a/src/org/p2pvpn/network/bittorrent/DHT.java b/src/org/p2pvpn/network/bittorrent/DHT.java index dce8762..1b9d5b1 100644 --- a/src/org/p2pvpn/network/bittorrent/DHT.java +++ b/src/org/p2pvpn/network/bittorrent/DHT.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent; diff --git a/src/org/p2pvpn/network/bittorrent/bencode/Bencode.java b/src/org/p2pvpn/network/bittorrent/bencode/Bencode.java index 80b2946..5fcf3b7 100644 --- a/src/org/p2pvpn/network/bittorrent/bencode/Bencode.java +++ b/src/org/p2pvpn/network/bittorrent/bencode/Bencode.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent.bencode; diff --git a/src/org/p2pvpn/network/bittorrent/bencode/BencodeInt.java b/src/org/p2pvpn/network/bittorrent/bencode/BencodeInt.java index 83292fe..051f183 100644 --- a/src/org/p2pvpn/network/bittorrent/bencode/BencodeInt.java +++ b/src/org/p2pvpn/network/bittorrent/bencode/BencodeInt.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent.bencode; diff --git a/src/org/p2pvpn/network/bittorrent/bencode/BencodeList.java b/src/org/p2pvpn/network/bittorrent/bencode/BencodeList.java index 53ed605..510c752 100644 --- a/src/org/p2pvpn/network/bittorrent/bencode/BencodeList.java +++ b/src/org/p2pvpn/network/bittorrent/bencode/BencodeList.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent.bencode; diff --git a/src/org/p2pvpn/network/bittorrent/bencode/BencodeMap.java b/src/org/p2pvpn/network/bittorrent/bencode/BencodeMap.java index c32dd4a..92d6a61 100644 --- a/src/org/p2pvpn/network/bittorrent/bencode/BencodeMap.java +++ b/src/org/p2pvpn/network/bittorrent/bencode/BencodeMap.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent.bencode; diff --git a/src/org/p2pvpn/network/bittorrent/bencode/BencodeObject.java b/src/org/p2pvpn/network/bittorrent/bencode/BencodeObject.java index 7dc4e41..b66231e 100644 --- a/src/org/p2pvpn/network/bittorrent/bencode/BencodeObject.java +++ b/src/org/p2pvpn/network/bittorrent/bencode/BencodeObject.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent.bencode; diff --git a/src/org/p2pvpn/network/bittorrent/bencode/BencodeString.java b/src/org/p2pvpn/network/bittorrent/bencode/BencodeString.java index 4d2c797..402163a 100644 --- a/src/org/p2pvpn/network/bittorrent/bencode/BencodeString.java +++ b/src/org/p2pvpn/network/bittorrent/bencode/BencodeString.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.network.bittorrent.bencode; diff --git a/src/org/p2pvpn/tools/AdvProperties.java b/src/org/p2pvpn/tools/AdvProperties.java index 799af8c..36e48db 100644 --- a/src/org/p2pvpn/tools/AdvProperties.java +++ b/src/org/p2pvpn/tools/AdvProperties.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.tools; diff --git a/src/org/p2pvpn/tools/CryptoUtils.java b/src/org/p2pvpn/tools/CryptoUtils.java index c875922..2594e15 100644 --- a/src/org/p2pvpn/tools/CryptoUtils.java +++ b/src/org/p2pvpn/tools/CryptoUtils.java @@ -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 . + along with Lanemu. If not, see . */ package org.p2pvpn.tools; diff --git a/src/org/p2pvpn/tools/SocketAddrStr.java b/src/org/p2pvpn/tools/SocketAddrStr.java index c053508..1761449 100644 --- a/src/org/p2pvpn/tools/SocketAddrStr.java +++ b/src/org/p2pvpn/tools/SocketAddrStr.java @@ -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 . + along with Lanemu. If not, see . */ package org.p2pvpn.tools; diff --git a/src/org/p2pvpn/tools/VersionizedMap.java b/src/org/p2pvpn/tools/VersionizedMap.java index e469f5e..dea9643 100644 --- a/src/org/p2pvpn/tools/VersionizedMap.java +++ b/src/org/p2pvpn/tools/VersionizedMap.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.tools; diff --git a/src/org/p2pvpn/tuntap/TunTap.java b/src/org/p2pvpn/tuntap/TunTap.java index b040464..69124f1 100644 --- a/src/org/p2pvpn/tuntap/TunTap.java +++ b/src/org/p2pvpn/tuntap/TunTap.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ package org.p2pvpn.tuntap; diff --git a/src/org/p2pvpn/tuntap/TunTapLinux.java b/src/org/p2pvpn/tuntap/TunTapLinux.java index c7e2f37..be84a5b 100644 --- a/src/org/p2pvpn/tuntap/TunTapLinux.java +++ b/src/org/p2pvpn/tuntap/TunTapLinux.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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\"."); } } diff --git a/src/org/p2pvpn/tuntap/TunTapWindows.java b/src/org/p2pvpn/tuntap/TunTapWindows.java index 5ad14ae..b5a935f 100644 --- a/src/org/p2pvpn/tuntap/TunTapWindows.java +++ b/src/org/p2pvpn/tuntap/TunTapWindows.java @@ -1,20 +1,21 @@ /* Copyright 2008, 2009 Wolfgang Ginolas + Copyright 2023 Nikolay Borodin - 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 . + along with Lanemu. If not, see . */ 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; diff --git a/src/test/org/p2pvpn/tools/TestAdvProperties.java b/src/test/org/p2pvpn/tools/TestAdvProperties.java index 4c349fe..b41347c 100644 --- a/src/test/org/p2pvpn/tools/TestAdvProperties.java +++ b/src/test/org/p2pvpn/tools/TestAdvProperties.java @@ -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 . + along with Lanemu. If not, see . */ package test.org.p2pvpn.tools;