Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commits on May 4, 2021 FIX: Suppress 'wg not installed' message when wg_manager 'init' function executes. Thanks SNB Forum member @Ubimo FIX: Don't append '/32' for 'peer ip=' command - user must now explicitly specify CIDR format either '/32' or '/24' etc. NEW: 'peer allowedips=' command CHANGE: when using 'peer ip=' or peer allowedips='command to alter the IP address, restart 'client' Peer if it is UP, or for a 'device' Peer, undate its owner 'server' Peer 'wg2X.conf' and restart it if UP. FIX: Detection of Entware compatibility Thanks SNB Forums member @torson Commits on May 17, 2021 FIX: Do not allow 'device' Road-Warrior Peers 'auto=X' to be changed. FIX: 'peer wgxx dump' command selection typo to use correct SQL table 'client' rather 'clients'. FIX: Incorrect reporting of RPDB rules for 'client' Peers, and highlight situation where RPDB rules exist but are not currently ENABLED for Peer. CHANGE: to DISABLE RT-AX86U flow control if ENABLED - Thanks SNB Forum member @torson Commits on May 19, 2021 CHANGE: wg_client and wg_sever will ignore IPv6 if 'NOPIPV6' is defined in '/jffs/addons/wireguard/WireguardVPN.conf' CHANGE: wg_client tag Selective IPSET firewall rule with comment, so 'wgm diag' will automatically include it in the firewall rule display. Commits on May 21, 2021 FIX: Creation of a new Road-Warrior 'device' may assign an existing VPN Pool IP already allocated to another Road-Warrior device. CHANGE: Display Road-Warrior 'device' SQL table by ascending IP address CHANGE: Creation of Road-Warrior LAN only 'device' Peer using 'createsplit xxxx' command now recognises 'peers' directive to explicitly allow any 'device' Peer to access ALL others. Commits on Jun 07, 2021 FIX: Suppress redundant 'Unable to access interface: No such device' when attempting to stop invalid Peer or category e.g. 'stop lients' FIX: 'wgm restart [Peer]' incorrectly calls 'wg_firewall' causing unnecessary connection disruption. Thanks SNB Forum member @torson Commits on Jun 15, 2021 [Test Fix: To prevent negative traffics stats, write "0,0" to SQL table 'traffic' when the 'client' Peer is terminated. (This is currently performed ONLY when the 'client' Peer is started) SNB Forum member @zebm] Commits on Jun 16, 2021 FIX: To prevent negative traffics stats, use expr to perform the maths operation. @ZebMcKayhan Commits on Jun 22, 2021 FIX: Incorrect metrics, i.e. wg_manager now creates/stores two additional values (rxtotal and txtotal) in the 'traffic' SQL table wg_client script now sets the rxtotal/txtotal values to '0' each time the 'client' Peer is initialised, and for temporary debugging now sets all 'traffic' table values to '*' when the client' Peer is terminated NEW: When using 'generatestats' command, rather than only silently writing the results to Syslog, also display direct to console for GUI feedback Commits on Jun 25, 2021 CHANGE: If Road-Warrior 'client' Peer has been dormant for more than 30mins then don't needlessly report obviously redundant RX=0/RX=0 metrics Commits on Jul 25, 2021 If a 'client' Peer is terminated before it has transferred any data, then the reported Period metrics produces errors expr: non-numeric argument [: 0: unknown operand - Thanks SNB Forum member @torson Commits on Aug 15, 2021 FIX: Screen-scraping www.snbforums.com [Experimental WireGuard] thread to retrieve the WireGuard Kernel/Userspace files created by odkrys now returns error curl: (22) The requested URL returned error: 403 Forbidden As @odkrys now hosts the files on Github, it is appropriate to retrieve the file list direct from his current GitHub repository using @defung's pull request see #3 CHANGE: Rather than identify the WireGuard Kernel files by position in the retrieved list (e.g. RT-AC86U assumed to be the first etc.) search retrieved list for exact router match. Commits on Oct 9, 2021 FIX: Allow 'auto=p' to be applied to a client if there are no Policy rules defined, but IPSET is defined - Thanks SNB Forum member @ZebMcKayhan/@the Chief CHANGE: Rather than rely on nat-start to globally set Selective Routing fwmarks (see WiKi), dynamically set them via wg_client start/stop request to preempt existing OpenVPN priority. Commits on Oct 16, 2021 FIX: Move call to 'wg_firewall' from nat-start and move to firewall-start, as 3rd Party script destroys the firewall rules after boot. CHANGE: Retrieve RT-AC86U Wireguard modules from @ZebMcKayhan's Github repository rather than from @odkrys
- Loading branch information