Skip to main content
# txportal

txportal 是一个基于Python/twisted开发的 wlan portal 协议处理模块, 支持cmccv1,cmccv2,huaweiv1,huaweiv2协议。

## 安装

pip install txportal -r requirements.txt

## AC 模拟设备

### tpsim 工具

- 参数说明


usage: tpsim [-h] [-ph PORTAL_HOST] [-pl PORTAL_LISTEN] [-v VENDOR]
[-e SECRET] [-p PORT] [-d] [-M] [-W] [-f FORK]

optional arguments:

-h, --help show this help message and exit
-ph PORTAL_HOST, --portal_host PORTAL_HOST
portal ip addr
-pl PORTAL_LISTEN, --portal_listen PORTAL_LISTEN
portal ip addr
-v VENDOR, --vendor VENDOR
portal protoal version:
cmccv1,cmccv2,huaweiv1,huaweiv2
-e SECRET, --secret SECRET
portal share secret
-p PORT, --port PORT ac port, default 2000
-d, --debug debug option
-M, --master run master
-W, --worker run worker
-f FORK, --fork FORK worker fork num


- 运行模拟进程启动4个 worker 子进程处理消息

$ tpsim -M -d -f 4

Metadata

Release files for txportal 0.0.6

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

Built distributions (wheels)

Table of built distributions (wheels) for txportal 0.0.6
File Interpreter ABI Platform Actions
txportal-0.0.6.macosx-10.11-intel.tar.gz Details for txportal-0.0.6.macosx-10.11-intel.tar.gz
txportal-0.0.6-py2-none-any.whl Python 2 none any Details for txportal-0.0.6-py2-none-any.whl

Total release size: 64.6 kB

Release files / txportal-0.0.6.macosx-10.11-intel.tar.gz

Download URL txportal-0.0.6.macosx-10.11-intel.tar.gz
Size 37.1 kB
Tags Source
SHA-256 checksum
How to use checksums
22b287ee57447366b2034f12d0f8214b085965ca3c5bc1c7e7800564aff46bbf
BLAKE2b-256 checksum
How to use checksums
53c99c91eab86293ca3ac4fa0d9750cde9d21221a4143958d27397600bd24b1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / txportal-0.0.6-py2-none-any.whl

Download URL txportal-0.0.6-py2-none-any.whl
Size 27.5 kB
Tags Python 2
SHA-256 checksum
How to use checksums
3a2557fd423fedeb603d2bf152488fa9081503ae3c0205aa410b9833bbb5fbdd
BLAKE2b-256 checksum
How to use checksums
244acd1a153fd37977729edcb1de779983fc6afab49b95663db7bc963ea7ec6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for txportal 0.0.6

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.

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