Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netgdb_proxy-1.0.0.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

netgdb_proxy-1.0.0-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page