cloudflare / cloudflare/certbot-dns-cloudflare

Make requests from a specific Interface

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Is it possible to update to allow requests to be made from a specific IP Interface?

Requests entirely go through the [Cloudflare Python library](https://github.com/cloudflare/cloudflare-python).

Currently tokens can be restricted to being usable only on specific IPs to increase security, but as it stands currently the request seems to be made by a random interface instead of the main interface.

My webserver has multiple interfaces for application isolation, and I'd rather not just add all of them to the token.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how requests are sent through the Cloudflare Python library and identify whether its HTTP client exposes a way to bind requests to a selected local interface. Confirm how the desired interface would be configured and verify that requests use it without requiring all server interfaces in the token allowlist.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
networking, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.