b65a1899ca
#### Description This PR upgrades the TypeScript and Svelte versions used in the Warpgate project. The specific changes include: 1. **TypeScript Upgrade** - Upgraded TypeScript version from `4.9.4` to `5.0.0` in `package.json`. - Updated related TypeScript dependencies in `package.json`. 2. **Svelte Upgrade** - Upgraded Svelte version from `3.58.0` to `4.0.0` in `package.json`. - Updated `svelte-eslint-parser` settings in `.eslintrc.yaml`. - Replaced `sveltestrap` imports with `@sveltestrap/sveltestrap` across various Svelte components. 3. **ESLint Configuration** - Added `plugin:svelte/recommended` to `.eslintrc.yaml`. - Updated `eslint` and related plugins to compatible versions. 4. **Other Dependencies** - Updated several other dependencies in `package.json` and `yarn.lock` to their latest versions to ensure compatibility with TypeScript 5 and Svelte 4. #### Changes Summary - `.eslintrc.yaml`: Adjusted ESLint configurations for the new Svelte parser and updated TypeScript rules. - `openapitools.json`: Upgraded `openapi-generator-cli` version to `7.7.0`. - `package.json`: Updated versions of TypeScript, Svelte, ESLint, and other dependencies. - Various `.svelte` files: Replaced `sveltestrap` imports with `@sveltestrap/sveltestrap` and made minor type adjustments for TypeScript 5 compatibility. - `tsconfig.json`: Minor configuration adjustment to support new TypeScript features. |
||
---|---|---|
.cargo | ||
.github | ||
docker | ||
docs | ||
oidc-test | ||
tests | ||
warpgate | ||
warpgate-admin | ||
warpgate-common | ||
warpgate-core | ||
warpgate-database-protocols | ||
warpgate-db-entities | ||
warpgate-db-migrations | ||
warpgate-protocol-http | ||
warpgate-protocol-mysql | ||
warpgate-protocol-ssh | ||
warpgate-sso | ||
warpgate-web | ||
.all-contributorsrc | ||
.bumpversion.cfg | ||
.dockerignore | ||
.env | ||
.flake8 | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
clippy.toml | ||
Cranky.toml | ||
Cross.toml | ||
deny.toml | ||
justfile | ||
LICENSE | ||
README.md | ||
rust-toolchain | ||
rustfmt.toml | ||
sonar-project.properties |
Warpgate is a smart SSH, HTTPS and MySQL bastion host for Linux that doesn't need special client apps.
- Set it up in your DMZ, add user accounts and easily assign them to specific hosts and URLs within the network.
- Warpgate will record every session for you to view (live) and replay later through a built-in admin web UI.
- Not a jump host - forwards your connections straight to the target instead.
- Native 2FA and SSO support (TOTP & OpenID Connect)
- Single binary with no dependencies.
- Written in 100% safe Rust.
Getting started & downloads
- See the Getting started wiki page (or Getting started on Docker).
- Release / beta binaries
- Nightly builds
Project Status
The project is currently in alpha stage and is gathering community feedback. See the official roadmap for the upcoming features.
In particular, we're working on:
- Requesting admin approvals for sessions
- Support for tunneling PostgreSQL connections,
- and much more.
How it works
Warpgate is a service that you deploy on the bastion/DMZ host, which will accept SSH, HTTPS and MySQL connections and provide an (optional) web admin UI.
Run warpgate setup
to interactively generate a config file, including port bindings. See Getting started for details.
It receives connections with specifically formatted credentials, authenticates the user locally, connects to the target itself, and then connects both parties together while (optionally) recording the session.
When connecting through HTTPS, Warpgate presents a selection of available targets, and will then proxy all traffic in a session to the selected target. You can switch between targets at any time.
You manage the target and user lists and assign them to each other through the admin UI, and the session history is stored in an SQLite database (default: in /var/lib/warpgate
).
You can also use the admin web interface to view the live session list, review session recordings, logs and more.
Contributing / building from source
- You'll need Rust, NodeJS and Yarn
- Clone the repo
- Just is used to run tasks - install it:
cargo install just
- Install the admin UI deps:
just yarn
- Build the frontend:
just yarn build
- Build Warpgate:
cargo build
(optionally--release
)
The binary is in target/{debug|release}
.
Tech stack
- Rust 🦀
- HTTP:
poem-web
- Database: SQLite via
sea-orm
+sqlx
- SSH:
russh
- HTTP:
- Typescript
- Svelte
- Bootstrap
Backend API
- Warpgate admin and user facing APIs use autogenerated OpenAPI schemas and SDKs. To update the SDKs after changing the query/response structures, run
just openapi-all
.
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Eugeny 💻 |
Spencer Heywood 💻 |
Andreas Piening 💻 |
Niklas 💻 |
Nooblord 💻 |
Shea Smith 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!