Commit Graph

10 Commits

Author SHA1 Message Date
SamNet-dev
a9c9fa3cb8 feat: auto-detect latest paqet version from GitHub on install
Fresh installs now fetch the latest paqet release from GitHub API.
Falls back to pinned v1.0.0-alpha.17 if the API is unreachable.
2026-02-19 02:58:47 -06:00
SamNet-dev
8dbcbee91b feat: update Windows client paqet version to v1.0.0-alpha.16 2026-02-18 17:45:15 -06:00
SamNet-dev
18147a7fdd chore: bump pinned paqet version to v1.0.0-alpha.15
alpha.15 fixes zero-copy concurrent read buffer invalidation and
simplifies client connection logic.
2026-02-06 23:50:15 -06:00
SamNet-dev
1ece31c329 feat: add TCP flags configuration for paqet backend and Windows client
Linux (paqctl.sh):
- Added tcp.local_flag and tcp.remote_flag to paqet config.yaml
- Added to Change configuration menu with clear instructions
- Strict validation: only uppercase FSRPAUEC, comma-separated allowed
- Supports multiple values: PA,A (cycles through patterns)

Windows (paqet-client.ps1):
- Added TCP flags to both paqet and GFK configuration
- Paqet: tcp.local_flag/remote_flag in config.yaml (default: PA)
- GFK: tcp_flags in parameters.py (default: AP)
- Case-sensitive validation (-cnotmatch) with safe defaults
- Clear instructions: flags must match server, only change if admin says so

Verified against official paqet examples:
- Output format exactly matches: local_flag: ["PA"]
- GFK format matches server expectation: tcp_flags = "AP"
- All injection attacks blocked by strict regex validation

Fixes #21
2026-02-05 09:09:15 -06:00
SamNet-dev
4382dbfd45 fix: Windows one-liner script (irm | iex) now works
- Handle null $MyInvocation.MyCommand.Path when running via irm | iex
- Download GFK scripts from GitHub when local files not available
- Fixes #26
2026-02-05 08:24:36 -06:00
SamNet-dev
a4f5b033b3 chore: update to paqet v1.0.0-alpha.14
- Bump PAQET_VERSION_PINNED to v1.0.0-alpha.14 in paqctl.sh (both outer and embedded scripts)
- Update Windows client version in paqet-client.ps1
- Update all version references in README.md (English and Farsi)
- Add ARM 32-bit (armv7) architecture support to detect_arch functions
- Update README platform tables to include ARM 32-bit downloads
2026-02-05 01:09:54 -06:00
SamNet-dev
ff6acb9cfb fix: Windows client config fails if backend not installed (#3)
Add directory existence checks in New-PaqetConfig and New-GfkConfig
before writing config files. Shows friendly error message instead of
"Could not find a part of the path" exception.

Reported-by: @SamDevApi
2026-02-04 15:07:56 -06:00
SamNet-dev
8f634a5de0 feat: add Windows update function and switch to upstream paqet repo
Windows client (paqet-client.ps1):
- Added Update-Paqet function with version tracking
- Added Get-InstalledPaqetVersion and Save-PaqetVersion helpers
- Creates backup before updating, restores on failure
- Added menu option 7 for update, moved About to option 8

All platforms:
- Switched paqet binary downloads from SamNet-dev/paqctl to hanselime/paqet
- Updated paqctl.sh PAQET_REPO to hanselime/paqet
- Updated README.md download URLs to hanselime/paqet
- Users now get paqet updates directly from upstream source
- Allows paqctl script releases without affecting paqet binary updates
2026-02-04 14:44:35 -06:00
SamNet-dev
6e4544c8f4 chore: update paqet to v1.0.0-alpha.13 2026-02-04 10:13:39 -06:00
SamNet-dev
975acc4cf5 paqctl v1.0.0 - Unified proxy manager for bypassing firewalls
Features:
- Dual backend support: paqet (KCP) and GFW-knocker (violated TCP + QUIC)
- Both backends can run simultaneously when both are installed
- Automatic config.yaml generation for paqet backend
- Windows client support with PowerShell script
- Telegram monitoring integration
- Systemd service management

Backends:
- paqet: Single Go binary with built-in SOCKS5 (port 1080)
- GFW-knocker: Python-based with violated TCP tunneling (port 14000)
2026-02-04 04:25:33 -06:00