Proxy script for NetGDB
Project description
netgdb-proxy
This proxy facilitates communication between a client kgdb instance and a remote panicked FreeBSD machine running NetGDB. This can be started either as a daemon or as a single process.
Installation and Execution
Single Mode
Run pip install netgdb-proxy
to install, and then netgdb_proxy
to start
the proxy. Follow the prompts to connect with your FreeBSD machine and your kgdb
client, or follow this guide:
From the db>
prompt on the panicked machine, run netgdb -s <proxy ip>
. This
will output a port for you to connect with your kgdb client from.
Then from your client, run target remote <proxy ip>:<given port>
.
Daemon Mode
Run pip install netgdb-proxy[daemon]
to install with the daemon extra. Then
you can run netgdb_proxy_d
to start the background process. You will then
be able to connect with any number of pairs FreeBSD machines and clients, just
without the helpful prompts from the proxy.
Development
Installation
This project uses poetry to manage dependencies and distrobution. After cloning,
set up with poetry install --with dev
.
Contribution
Before submitting a pull request, please format your changes with
poetry run black .
and poetry run ruff check . --fix
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file netgdb_proxy-1.0.0.tar.gz
.
File metadata
- Download URL: netgdb_proxy-1.0.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.133.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e0c8a74f4029a71b27d3f90be78267cf47ceb3f19b454fd1d3304775bbb77a4 |
|
MD5 | 160b2245df619a1a9ceff651865411f6 |
|
BLAKE2b-256 | 0dc94493f6335128564ac7312ab2e08fa5566264ef991ad44dd8c0809ca8a0eb |
File details
Details for the file netgdb_proxy-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: netgdb_proxy-1.0.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.133.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 352e27250a26b7d7b9bf8692f769c89dd6770655229e85a39cdee66b90dc0af8 |
|
MD5 | 3bb944a42ba0c2f1426715a9ecb3b415 |
|
BLAKE2b-256 | 1daf3ccb12422763e23219bb43db35cb11735f9573b98be68a88fe51ac5afe2c |