BSD Ports

www/py-forcediphttpsadapter 1.1.0_1 FreeBSD

Use IP address when connecting via SSL

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
www, python
Package size
8.2 KiB, 26.4 KiB installed

Description

This module implements a set of requests TransportAdapter, PoolManager, ConnectionPool and HTTPSConnection with one goal only: to use a specific IP address when connecting via SSL to a web service without running into SNI trouble.

The usual technique to force an IP address on an HTTP connection with Requests is (assuming I want http://example.com/some/path on IP 1.2.3.4): requests.get("http://1.2.3.4/some/path", headers={'Host': 'example.com'})

This is useful if I want to specifically test how 1.2.3.4 is responding; for instance, if example.com is DNS round-robined to several IP addresses and I want to hit one of them specifically.

In the other systems

SystemPortVersion
FreeBSDwww/py-forcediphttpsadapter1.1.0_1
DragonFlywww/py-forcediphttpsadapter1.1.0_1
HardenedBSDwww/py-forcediphttpsadapter1.1.0_1
GhostBSDwww/py-forcediphttpsadapter1.1.0_1

Install

Binary package:

pkg install py312-forcediphttpsadapter

From the ports tree:

cd /usr/ports/www/py-forcediphttpsadapter/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-forcediphttpsadapter>0:www/py-forcediphttpsadapter

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1.0_11.1.0_11.0.21.1.0_11.1.0_1
FreeBSD:14:quarterly1.1.0_11.1.0_1n/a1.1.0_11.1.0_1
FreeBSD:15:latest1.1.0_11.1.0_1n/a1.1.0_11.1.0_1
FreeBSD:15:quarterly1.1.0_11.1.0_1n/an/an/a
FreeBSD:16:latest1.1.0_11.1.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 17
Required by 1

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
forcediphttpsadapter-1.1.0.tar.gz47940d224cf6e8e50eb788c9f5994a7afa6d389bac6dbe540b7dfd77a32590ad0153
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.