From 2d3d6afb07847c6255f1b3f47613202774f75bf2 Mon Sep 17 00:00:00 2001 From: DcruBro Date: Thu, 1 Jan 2026 21:18:51 +0100 Subject: [PATCH 1/7] Test: fix forwarding --- src/server/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/main.cpp b/src/server/main.cpp index efd59e5..8d4fb9f 100644 --- a/src/server/main.cpp +++ b/src/server/main.cpp @@ -153,11 +153,11 @@ int main(int argc, char** argv) { } const uint8_t* ip = packet.data(); - uint32_t dstIP = ntohl(*(uint32_t*)(ip + 16)); // IPv4 destination address offset in IPv6-mapped header + uint32_t srcIP = ntohl(*(uint32_t*)(ip + 12)); // IPv4 source address offset (packet comes FROM client) - auto session = SessionRegistry::getInstance().getByIP(dstIP); + auto session = SessionRegistry::getInstance().getByIP(srcIP); if (!session) { - Utils::warn("TUN: No session found for destination IP " + VirtualInterface::ipv4ToString(dstIP)); + Utils::warn("TUN: No session found for source IP " + VirtualInterface::ipv4ToString(srcIP)); continue; } From 62335f3693faa0f996e9c1d58a217b3098df0b90 Mon Sep 17 00:00:00 2001 From: DcruBro Date: Thu, 1 Jan 2026 21:27:13 +0100 Subject: [PATCH 2/7] Test fixing writing bug --- src/server/main.cpp | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/server/main.cpp b/src/server/main.cpp index 8d4fb9f..151a2e2 100644 --- a/src/server/main.cpp +++ b/src/server/main.cpp @@ -153,15 +153,28 @@ int main(int argc, char** argv) { } const uint8_t* ip = packet.data(); - uint32_t srcIP = ntohl(*(uint32_t*)(ip + 12)); // IPv4 source address offset (packet comes FROM client) + uint32_t srcIP = ntohl(*(uint32_t*)(ip + 12)); // IPv4 source address offset + uint32_t dstIP = ntohl(*(uint32_t*)(ip + 16)); // IPv4 destination address offset - auto session = SessionRegistry::getInstance().getByIP(srcIP); - if (!session) { - Utils::warn("TUN: No session found for source IP " + VirtualInterface::ipv4ToString(srcIP)); + // First, check if destination IP is a registered client (e.g., server responding to client or client-to-client) + auto dstSession = SessionRegistry::getInstance().getByIP(dstIP); + if (dstSession) { + // Destination is a registered client, forward to that client's session + udpServer->sendData(dstSession->sessionID, std::string(packet.begin(), packet.end())); continue; } - udpServer->sendData(session->sessionID, std::string(packet.begin(), packet.end())); + // Destination is not a registered client, check if source is (for external routing) + auto srcSession = SessionRegistry::getInstance().getByIP(srcIP); + if (srcSession) { + // Source is a registered client, write to TUN interface to forward to external destination + tun->writePacket(packet); + continue; + } + + // Neither source nor destination is registered, drop the packet + Utils::warn("TUN: No session found for source IP " + VirtualInterface::ipv4ToString(srcIP) + + " or destination IP " + VirtualInterface::ipv4ToString(dstIP)); } log("Shutting down server..."); From 83693ed1da44f383ea4b7c955255f580ef8b533c Mon Sep 17 00:00:00 2001 From: DcruBro Date: Thu, 1 Jan 2026 21:48:42 +0100 Subject: [PATCH 3/7] Update README to be more clear about IPv4 forwarding --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 47da520..d8006f1 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,21 @@ sudo ip link set dev lynx0 mtu 1420 sudo ip link set dev lynx0 up ``` +In addition to creating the interface, you'll also need to make some **iptables** rules if you want to be able to **send traffic to foreign networks** (more like a *commercial VPN*). + +You can do these as such (example with NFT IPTABLES): + +- Enable the **generic IPv4 forwarding**: +```bash +sudo sysctl net.ipv4.ip_forward=1 +``` +- Create the masquerade (**Replace the IP subnet** with your own that you set in the config and **replace the interface** with your server's main (NOT *lynx0*) interface): +```bash +sudo nft add table nat +sudo nft add chain nat postroute { type nat hook postrouting priority 100 \; } +sudo nft add rule nat postroute ip saddr 10.10.0.0/24 oifname "eth0" masquerade +``` + ### Server "**server_config**" is a file that contains the server configuration, **one variable per line**. These are the current configuration available variables: From 867b2c953ae7c18a0957d3cf132265548ee8b07f Mon Sep 17 00:00:00 2001 From: DcruBro Date: Thu, 1 Jan 2026 21:51:16 +0100 Subject: [PATCH 4/7] Patch 1.0.1 START --- CMakeLists.txt | 2 +- src/common/utils.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index acf436a..2447a5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.16) # If MAJOR is 0, and MINOR > 0, Version is BETA project(ColumnLynx - VERSION 1.0.0 + VERSION 1.0.1 LANGUAGES CXX ) diff --git a/src/common/utils.cpp b/src/common/utils.cpp index f735502..fbe2dcf 100644 --- a/src/common/utils.cpp +++ b/src/common/utils.cpp @@ -49,7 +49,7 @@ namespace ColumnLynx::Utils { } std::string getVersion() { - return "1.0.0"; + return "1.0.1"; } unsigned short serverPort() { From 154296bcdcffbadfcbd52bc775232f0577906805 Mon Sep 17 00:00:00 2001 From: DcruBro Date: Sat, 3 Jan 2026 16:36:10 +0100 Subject: [PATCH 5/7] README Update --- README.md | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d8006f1..834d5ab 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,9 @@ openssl pkey -in key.pem -pubout -outform DER | tail -c 32 | xxd -p -c 32 You can then set these keys accordingly in the **server_config** and **client_config** files. -### Creating the Tun Interface (Linux Server ONLY) +### Server Setup (Linux Server ONLY) + +#### Creating the Tun Interface In order for the VPN server to work, you need to create the Tun interface that the VPN will use. @@ -69,6 +71,72 @@ sudo ip link set dev lynx0 mtu 1420 sudo ip link set dev lynx0 up ``` +#### Creating the systemd service + +It is highly recommended to **run the server as a systemd service**, as systemd is the primary service manager on Linux. + +**1. Create a file for the service** +```bash +sudo touch /etc/systemd/system/columnlynx.service +``` + +**2. Open the file in your editor of choice** +```bash +sudo nano /etc/systemd/system/columnlynx.service +# OR +sudo vim /etc/systemd/system/columnlynx.service +# OR any other editor of your choice... +``` + +**3. Configure the service** + +**Replace** the **ExecStart** and **WorkingDirectory** paths with the paths where your binaries are stored. + +If you configured your tun interface to belong to a custom user, you may also replace the **User** and **Group** with that user, however you must ensure that that user owns the **tun interface**, **config directory in /etc/columnlynx** and the **working directory**. + +This is a **simple example** for the **root user** and the executable in **/opt/columnlynx**: + +``` +[Unit] +Description=ColumnLynx Server Service +After=network.target + +[Service] +Type=simple +ExecStart=/opt/columnlynx/columnlynx_server +WorkingDirectory=/opt/columnlynx +User=root +Group=root +Restart=on-failure +StandardOutput=append:/var/log/columnlynx.log +StandardError=append:/var/log/columnlynx.err + +[Install] +WantedBy=multi-user.target +``` + +**4. Reload systemd and enable the service** + +```bash +sudo systemctl daemon-reload +sudo systemctl enable columnlynx.service +sudo systemctl start columnlynx.service +``` + +#### Set firewall rules + +This part greatly depends on your firewall of choice. Generally you just need to **allow port 48042 on both TCP and UDP** (Both IPv4 and IPv6). + +This example is for **UFW**: + +```bash +sudo ufw allow 48042 +sudo ufw reload +``` + + +#### IPTables rules for forwarding (Optional) + In addition to creating the interface, you'll also need to make some **iptables** rules if you want to be able to **send traffic to foreign networks** (more like a *commercial VPN*). You can do these as such (example with NFT IPTABLES): @@ -84,6 +152,7 @@ sudo nft add chain nat postroute { type nat hook postrouting priority 100 \; } sudo nft add rule nat postroute ip saddr 10.10.0.0/24 oifname "eth0" masquerade ``` + ### Server "**server_config**" is a file that contains the server configuration, **one variable per line**. These are the current configuration available variables: From 4609e85ca900a6b0f511eadb8b9bf98a98fb3f84 Mon Sep 17 00:00:00 2001 From: DcruBro Date: Sun, 4 Jan 2026 19:38:05 +0100 Subject: [PATCH 6/7] Logging uses ISO8601 instead of Unix Millis --- include/columnlynx/common/utils.hpp | 3 ++ src/client/main.cpp | 4 +++ src/common/utils.cpp | 44 ++++++++++++++++++++++++++--- 3 files changed, 47 insertions(+), 4 deletions(-) diff --git a/include/columnlynx/common/utils.hpp b/include/columnlynx/common/utils.hpp index 7fd6467..39a5ee5 100644 --- a/include/columnlynx/common/utils.hpp +++ b/include/columnlynx/common/utils.hpp @@ -29,6 +29,9 @@ namespace ColumnLynx { } namespace ColumnLynx::Utils { + // Converts unix milliseconds to a local ISO 8601 formatted string; Defaults to local time; Will use UTC if local is false. + std::string unixMillisToISO8601(uint64_t unixMillis, bool local = true); + // General log function. Use for logging important information. void log(const std::string &msg); // General warning function. Use for logging important warnings. diff --git a/src/client/main.cpp b/src/client/main.cpp index 5146872..01a7ab8 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -110,6 +110,10 @@ int main(int argc, char** argv) { aesKey->fill(0); // Defualt zeroed state until modified by handshake std::shared_ptr sessionID = std::make_shared(0); + if (insecureMode) { + warn("You have started the client with the --ignore-whitelist. This means that the client will NOT attempt to verify the server's public key. This is INSECURE and SHOULDN'T be used!"); + } + asio::io_context io; auto client = std::make_shared(io, host, port, sodiumWrapper, aesKey, sessionID, insecureMode, configPath, tun); auto udpClient = std::make_shared(io, host, port, aesKey, sessionID, tun); diff --git a/src/common/utils.cpp b/src/common/utils.cpp index fbe2dcf..a4e5ce6 100644 --- a/src/common/utils.cpp +++ b/src/common/utils.cpp @@ -5,25 +5,61 @@ #include namespace ColumnLynx::Utils { + std::string unixMillisToISO8601(uint64_t unixMillis, bool local) { + using namespace std::chrono; + + // Convert milliseconds since epoch to system_clock::time_point + system_clock::time_point tp = system_clock::time_point(milliseconds(unixMillis)); + + // Convert to time_t for localtime conversion + std::time_t tt = system_clock::to_time_t(tp); + std::tm localTm; + + if (local) { +#ifdef _WIN32 + localtime_s(&localTm, &tt); +#else + localtime_r(&tt, &localTm); +#endif + } else { +#ifdef _WIN32 + gmtime_s(&localTm, &tt); +#else + gmtime_r(&tt, &localTm); +#endif + } + + // Format the time to ISO 8601 + char buffer[30]; + std::strftime(buffer, sizeof(buffer), "%Y-%m-%dT%H:%M:%S", &localTm); + + // Append milliseconds + auto ms = duration_cast(tp.time_since_epoch()) % 1000; + char iso8601[34]; + std::snprintf(iso8601, sizeof(iso8601), "%s.%03lld", buffer, static_cast(ms.count())); + + return std::string(iso8601); + } + void log(const std::string &msg) { uint64_t now = std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count(); - std::cout << "\033[0m[" << std::to_string(now) << " LOG] " << msg << std::endl; + std::cout << "\033[0m[" << unixMillisToISO8601(now) << " LOG] " << msg << std::endl; } void warn(const std::string &msg) { uint64_t now = std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count(); - std::cerr << "\033[33m[" << std::to_string(now) << " WARN] " << msg << "\033[0m" << std::endl; + std::cerr << "\033[33m[" << unixMillisToISO8601(now) << " WARN] " << msg << "\033[0m" << std::endl; } void error(const std::string &msg) { uint64_t now = std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count(); - std::cerr << "\033[31m[" << std::to_string(now) << " ERROR] " << msg << "\033[0m" << std::endl; + std::cerr << "\033[31m[" << unixMillisToISO8601(now) << " ERROR] " << msg << "\033[0m" << std::endl; } void debug(const std::string &msg) { #if DEBUG || _DEBUG uint64_t now = std::chrono::duration_cast(std::chrono::system_clock::now().time_since_epoch()).count(); - std::cerr << "\033[95m[" << std::to_string(now) << " DEBUG] " << msg << "\033[0m" << std::endl; + std::cerr << "\033[95m[" << unixMillisToISO8601(now) << " DEBUG] " << msg << "\033[0m" << std::endl; #else return; #endif From 7d56f9db5d57c72358919807df05c933f3973b60 Mon Sep 17 00:00:00 2001 From: DcruBro Date: Sat, 10 Jan 2026 19:10:37 +0100 Subject: [PATCH 7/7] Update year --- ATTRIBUTIONS.md | 6 +++--- CMakeLists.txt | 2 +- include/columnlynx/client/net/tcp/tcp_client.hpp | 2 +- include/columnlynx/client/net/udp/udp_client.hpp | 2 +- include/columnlynx/common/libsodium_wrapper.hpp | 2 +- include/columnlynx/common/net/protocol_structs.hpp | 2 +- include/columnlynx/common/net/session_registry.hpp | 2 +- include/columnlynx/common/net/tcp/net_helper.hpp | 2 +- include/columnlynx/common/net/tcp/tcp_message_handler.hpp | 2 +- include/columnlynx/common/net/tcp/tcp_message_type.hpp | 2 +- include/columnlynx/common/net/udp/udp_message_type.hpp | 2 +- include/columnlynx/common/net/virtual_interface.hpp | 2 +- include/columnlynx/common/panic_handler.hpp | 2 +- include/columnlynx/common/utils.hpp | 2 +- include/columnlynx/server/net/tcp/tcp_connection.hpp | 2 +- include/columnlynx/server/net/tcp/tcp_server.hpp | 2 +- include/columnlynx/server/net/udp/udp_server.hpp | 2 +- src/client/main.cpp | 4 ++-- src/client/net/tcp/tcp_client.cpp | 2 +- src/client/net/udp/udp_client.cpp | 2 +- src/common/libsodium_wrapper.cpp | 2 +- src/common/session_registry.cpp | 2 +- src/common/tcp_message_handler.cpp | 2 +- src/common/utils.cpp | 2 +- src/common/virtual_interface.cpp | 2 +- src/server/main.cpp | 4 ++-- src/server/net/tcp/tcp_connection.cpp | 2 +- src/server/net/tcp/tcp_server.cpp | 2 +- src/server/net/udp/udp_server.cpp | 2 +- 29 files changed, 33 insertions(+), 33 deletions(-) diff --git a/ATTRIBUTIONS.md b/ATTRIBUTIONS.md index 102969e..03fbc5f 100644 --- a/ATTRIBUTIONS.md +++ b/ATTRIBUTIONS.md @@ -3,7 +3,7 @@ ## ASIO C++ Library - **Name:** ASIO (standalone) - **Website:** https://think-async.com/Asio/ -- **Copyright:** (c) 2003-2025 Christopher M. Kohlhoff +- **Copyright:** (c) 2003-2026 Christopher M. Kohlhoff - **License:** Boost Software License, Version 1.0 - **License Text:** See `third_party/asio/LICENSE_1_0.txt` @@ -12,14 +12,14 @@ This project uses the standalone version of the ASIO C++ library for asynchronou ## CXXOPTS C++ Library - **Name:** cxxopts - **Website:** https://github.com/jarro2783/cxxopts/ -- **Copyright:** (c) 2014-2025 Christopher M. Kohlhoff +- **Copyright:** (c) 2014-2026 Christopher M. Kohlhoff - **License:** MIT License - **License Text:** See `third_party/cxxopts/LICENSE_1_0.txt` ## Wintun C++ Library - **Name:** wintun - **Website:** https://www.wintun.net/ -- **Copyright:** (c) 2018-2025 WireGuard LLC +- **Copyright:** (c) 2018-2026 WireGuard LLC - **License:** MIT License OR GPL-2.0 License - **License Text:** See `third_party/wintun/` - **Utilized Under:** MIT License diff --git a/CMakeLists.txt b/CMakeLists.txt index 2447a5c..fde55f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,7 +50,7 @@ endif() FetchContent_Declare( Sodium GIT_REPOSITORY https://github.com/robinlinden/libsodium-cmake.git - GIT_TAG e5b985ad0dd235d8c4307ea3a385b45e76c74c6a # Last updated at 2025-04-13 + GIT_TAG e5b985ad0dd235d8c4307ea3a385b45e76c74c6a ) set(SODIUM_DISABLE_TESTS ON CACHE BOOL "" FORCE) diff --git a/include/columnlynx/client/net/tcp/tcp_client.hpp b/include/columnlynx/client/net/tcp/tcp_client.hpp index 0d6c6b4..219e708 100644 --- a/include/columnlynx/client/net/tcp/tcp_client.hpp +++ b/include/columnlynx/client/net/tcp/tcp_client.hpp @@ -1,5 +1,5 @@ // tcp_client.hpp - TCP Client for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/client/net/udp/udp_client.hpp b/include/columnlynx/client/net/udp/udp_client.hpp index 86d5a68..1c42add 100644 --- a/include/columnlynx/client/net/udp/udp_client.hpp +++ b/include/columnlynx/client/net/udp/udp_client.hpp @@ -1,5 +1,5 @@ // udp_client.hpp - UDP Client for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/libsodium_wrapper.hpp b/include/columnlynx/common/libsodium_wrapper.hpp index a736539..b9224ba 100644 --- a/include/columnlynx/common/libsodium_wrapper.hpp +++ b/include/columnlynx/common/libsodium_wrapper.hpp @@ -1,5 +1,5 @@ // libsodium_wrapper.hpp - Libsodium Wrapper for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/net/protocol_structs.hpp b/include/columnlynx/common/net/protocol_structs.hpp index dbbc54f..ebc8817 100644 --- a/include/columnlynx/common/net/protocol_structs.hpp +++ b/include/columnlynx/common/net/protocol_structs.hpp @@ -1,5 +1,5 @@ // protocol_structs.hpp - Network Protocol Structures -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/net/session_registry.hpp b/include/columnlynx/common/net/session_registry.hpp index a8b1190..d686aae 100644 --- a/include/columnlynx/common/net/session_registry.hpp +++ b/include/columnlynx/common/net/session_registry.hpp @@ -1,5 +1,5 @@ // session_registry.hpp - Session Registry for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/net/tcp/net_helper.hpp b/include/columnlynx/common/net/tcp/net_helper.hpp index 2e20681..53edc1b 100644 --- a/include/columnlynx/common/net/tcp/net_helper.hpp +++ b/include/columnlynx/common/net/tcp/net_helper.hpp @@ -1,5 +1,5 @@ // net_helper.hpp - Network Helper Functions for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/net/tcp/tcp_message_handler.hpp b/include/columnlynx/common/net/tcp/tcp_message_handler.hpp index d09744c..8bd1260 100644 --- a/include/columnlynx/common/net/tcp/tcp_message_handler.hpp +++ b/include/columnlynx/common/net/tcp/tcp_message_handler.hpp @@ -1,5 +1,5 @@ // tcp_message_handler.hpp - TCP Message Handler for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/net/tcp/tcp_message_type.hpp b/include/columnlynx/common/net/tcp/tcp_message_type.hpp index 670cd31..f28fc87 100644 --- a/include/columnlynx/common/net/tcp/tcp_message_type.hpp +++ b/include/columnlynx/common/net/tcp/tcp_message_type.hpp @@ -1,5 +1,5 @@ // tcp_message_type.hpp - TCP Message Types for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/net/udp/udp_message_type.hpp b/include/columnlynx/common/net/udp/udp_message_type.hpp index 85ef240..883fcda 100644 --- a/include/columnlynx/common/net/udp/udp_message_type.hpp +++ b/include/columnlynx/common/net/udp/udp_message_type.hpp @@ -1,5 +1,5 @@ // udp_message_type.hpp - UDP Message Types for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/net/virtual_interface.hpp b/include/columnlynx/common/net/virtual_interface.hpp index c430ddf..7811851 100644 --- a/include/columnlynx/common/net/virtual_interface.hpp +++ b/include/columnlynx/common/net/virtual_interface.hpp @@ -1,5 +1,5 @@ // virtual_interface.hpp - Virtual Interface for Network Communication -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/panic_handler.hpp b/include/columnlynx/common/panic_handler.hpp index 044fdde..88cec8b 100644 --- a/include/columnlynx/common/panic_handler.hpp +++ b/include/columnlynx/common/panic_handler.hpp @@ -1,5 +1,5 @@ // panic_handler.hpp - Panic Handler for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/common/utils.hpp b/include/columnlynx/common/utils.hpp index 39a5ee5..0b40a41 100644 --- a/include/columnlynx/common/utils.hpp +++ b/include/columnlynx/common/utils.hpp @@ -1,5 +1,5 @@ // utils.hpp - Utility functions for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/server/net/tcp/tcp_connection.hpp b/include/columnlynx/server/net/tcp/tcp_connection.hpp index 754008e..bbc59f1 100644 --- a/include/columnlynx/server/net/tcp/tcp_connection.hpp +++ b/include/columnlynx/server/net/tcp/tcp_connection.hpp @@ -1,5 +1,5 @@ // tcp_connection.hpp - TCP Connection for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/server/net/tcp/tcp_server.hpp b/include/columnlynx/server/net/tcp/tcp_server.hpp index 02b175b..7e532e2 100644 --- a/include/columnlynx/server/net/tcp/tcp_server.hpp +++ b/include/columnlynx/server/net/tcp/tcp_server.hpp @@ -1,5 +1,5 @@ // tcp_server.hpp - TCP Server for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/include/columnlynx/server/net/udp/udp_server.hpp b/include/columnlynx/server/net/udp/udp_server.hpp index 40f5e0a..61feb05 100644 --- a/include/columnlynx/server/net/udp/udp_server.hpp +++ b/include/columnlynx/server/net/udp/udp_server.hpp @@ -1,5 +1,5 @@ // udp_server.hpp - UDP Server for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #pragma once diff --git a/src/client/main.cpp b/src/client/main.cpp index 01a7ab8..e0b7a08 100644 --- a/src/client/main.cpp +++ b/src/client/main.cpp @@ -1,5 +1,5 @@ // main.cpp - Client entry point for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include @@ -68,7 +68,7 @@ int main(int argc, char** argv) { if (optionsObj.count("help")) { std::cout << options.help() << std::endl; std::cout << "This software is licensed under the GPLv2-only license OR the GPLv3 license.\n"; - std::cout << "Copyright (C) 2025, The ColumnLynx Contributors.\n"; + std::cout << "Copyright (C) 2026, The ColumnLynx Contributors.\n"; std::cout << "This software is provided under ABSOLUTELY NO WARRANTY, to the extent permitted by law.\n"; return 0; } diff --git a/src/client/net/tcp/tcp_client.cpp b/src/client/net/tcp/tcp_client.cpp index 4af0653..b070a94 100644 --- a/src/client/net/tcp/tcp_client.cpp +++ b/src/client/net/tcp/tcp_client.cpp @@ -1,5 +1,5 @@ // tcp_client.cpp - TCP Client for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/client/net/udp/udp_client.cpp b/src/client/net/udp/udp_client.cpp index 90133d5..10fba23 100644 --- a/src/client/net/udp/udp_client.cpp +++ b/src/client/net/udp/udp_client.cpp @@ -1,5 +1,5 @@ // udp_client.cpp - UDP Client for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/common/libsodium_wrapper.cpp b/src/common/libsodium_wrapper.cpp index c71a29d..3f5b50d 100644 --- a/src/common/libsodium_wrapper.cpp +++ b/src/common/libsodium_wrapper.cpp @@ -1,5 +1,5 @@ // libsodium_wrapper.cpp - Libsodium Wrapper for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/common/session_registry.cpp b/src/common/session_registry.cpp index 1c91445..1a4bf12 100644 --- a/src/common/session_registry.cpp +++ b/src/common/session_registry.cpp @@ -1,5 +1,5 @@ // session_registry.cpp - Session Registry for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/common/tcp_message_handler.cpp b/src/common/tcp_message_handler.cpp index ab09fcf..f5a6b15 100644 --- a/src/common/tcp_message_handler.cpp +++ b/src/common/tcp_message_handler.cpp @@ -1,5 +1,5 @@ // tcp_message_handler.cpp - TCP Message Handler for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/common/utils.cpp b/src/common/utils.cpp index a4e5ce6..97f2318 100644 --- a/src/common/utils.cpp +++ b/src/common/utils.cpp @@ -1,5 +1,5 @@ // utils.cpp - Utility functions for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/common/virtual_interface.cpp b/src/common/virtual_interface.cpp index 1e3b573..1807eec 100644 --- a/src/common/virtual_interface.cpp +++ b/src/common/virtual_interface.cpp @@ -1,5 +1,5 @@ // virtual_interface.cpp - Virtual Interface for Network Communication -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/server/main.cpp b/src/server/main.cpp index 151a2e2..3d8da0d 100644 --- a/src/server/main.cpp +++ b/src/server/main.cpp @@ -1,5 +1,5 @@ // main.cpp - Server entry point for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include @@ -55,7 +55,7 @@ int main(int argc, char** argv) { if (optionsObj.count("help")) { std::cout << options.help() << std::endl; std::cout << "This software is licensed under the GPLv2-only license OR the GPLv3 license.\n"; - std::cout << "Copyright (C) 2025, The ColumnLynx Contributors.\n"; + std::cout << "Copyright (C) 2026, The ColumnLynx Contributors.\n"; std::cout << "This software is provided under ABSOLUTELY NO WARRANTY, to the extent permitted by law.\n"; return 0; } diff --git a/src/server/net/tcp/tcp_connection.cpp b/src/server/net/tcp/tcp_connection.cpp index 578d649..3626c5b 100644 --- a/src/server/net/tcp/tcp_connection.cpp +++ b/src/server/net/tcp/tcp_connection.cpp @@ -1,5 +1,5 @@ // tcp_connection.cpp - TCP Connection for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/server/net/tcp/tcp_server.cpp b/src/server/net/tcp/tcp_server.cpp index 1798ea3..a9dc472 100644 --- a/src/server/net/tcp/tcp_server.cpp +++ b/src/server/net/tcp/tcp_server.cpp @@ -1,5 +1,5 @@ // tcp_server.cpp - TCP Server for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include diff --git a/src/server/net/udp/udp_server.cpp b/src/server/net/udp/udp_server.cpp index 989f5ee..c6730d2 100644 --- a/src/server/net/udp/udp_server.cpp +++ b/src/server/net/udp/udp_server.cpp @@ -1,5 +1,5 @@ // udp_server.cpp - UDP Server for ColumnLynx -// Copyright (C) 2025 DcruBro +// Copyright (C) 2026 DcruBro // Distributed under the terms of the GNU General Public License, either version 2 only or version 3. See LICENSES/ for details. #include