Skip to main content

AFPproxy is an MIT licensed proxy for an AppleShare file server. You can use it to help debug client/server connections on Mac OS X, but I wrote it to explore the Twisted networking framework.

When running, the proxy prints details of the client/server communication to stderr.

Installation

Requires Python 2.5 or later and Twisted. AFPproxy does not run on Python 3. Mac OS X 10.5 and later include Python and Twisted by default.

You can download and install the source directly:

tar -xf afpproxy-0.1.tar.gz
cd afpproxy-0.1
python setup.py install

Or install it from PyPI:

pip install afpproxy

If you don’t have Twisted installed, install it. For Python 2.5 install it with:

pip install 'Twisted<12.2' 'zope.interface<4'

Usage

Once installed, start the proxy with the afpproxy command.

By default this proxies your real AFP server on localhost port 548, and accepts connections on port 5548. You then connect to the running afpproxy and will see a description of the commands sent between client and server.

To proxy to a different server give its name or IP address:

afpproxy --host example.com

Or to proxy to a server running on a non-standard port:

afpproxy --host example.com --port 1234

To start a proxy listening for connections on port 1548:

afpproxy --listen 1548

By default afpproxy will log (relatively) meaningful information about the requests and responses. If you want to see the bytes of each and every command use the --debug flag:

afpproxy --debug

Development

The source for afpproxy is hosted on GitHub: https://github.com/davidwtbuxton/afpproxy

Metadata

Release files for afpproxy 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for afpproxy 0.1.2
File Size Uploaded Provenance
afpproxy-0.1.2.tar.gz 12.4 kB Without provenance Details

Release files / afpproxy-0.1.2.tar.gz

Download URL afpproxy-0.1.2.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a76ecf755e207bc6503e606952aa6cc0133e93774005c2877746e2d00cc9693b
BLAKE2b-256 checksum
How to use checksums
3a232a97e962308d06fb907f0fc057d7e45b45aa0eb5e7922845492c970a3adc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for afpproxy 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page