fix
All checks were successful
/ deploy (push) Successful in 29s

This commit is contained in:
Minecon724 2024-12-26 15:25:48 +01:00
parent 1b3da520e7
commit 5874e8b47e
Signed by: Minecon724
GPG key ID: 3CCC4D267742C8E8
2 changed files with 0 additions and 18 deletions

View file

@ -1,13 +0,0 @@
# Setup
1. Get the `-server.jar` or `-client.jar` and make a new directory for it
2. Run the JAR, then stop it
3. Configure in `config`
4. Now run the JAR. Done!
# Client config
- `remote` the autopeerer server websocket URL
- `wireguard.directory` directory for WireGuard config files
- `bird.directory` directory for BIRD config files
- `link-local` the link local for peering
- `stack.ipv4` IPv4 availability. Values: `no`, `yes`, `restricted`
- `stack.ipv6` same but for IPv6

View file

@ -1,15 +1,10 @@
package eu.m724.autopeerer.server; package eu.m724.autopeerer.server;
import eu.m724.autopeerer.common.packet.s2c.PingRequestPacket;
import eu.m724.autopeerer.common.packet.s2c.SessionRequestPacket;
import inet.ipaddr.IPAddressString;
import org.java_websocket.WebSocket; import org.java_websocket.WebSocket;
import org.java_websocket.handshake.ClientHandshake; import org.java_websocket.handshake.ClientHandshake;
import org.java_websocket.server.WebSocketServer; import org.java_websocket.server.WebSocketServer;
import java.net.InetAddress;
import java.net.InetSocketAddress; import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import java.nio.ByteBuffer; import java.nio.ByteBuffer;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;