Skip to main content

Simulate and audit firewall/NAT rules for Managed File Transfer environments

Project description

== README.md ==

mftfwscan

mftfwscan is a command-line toolkit to simulate and audit firewall/NAT rules commonly used in Managed File Transfer (MFT) environments.

Features

  • Simulate inbound port rules for SFTP, FTPS, AS2, and Passive FTP
  • Identify potential misconfigurations like open high ports or unrestricted sources
  • Export rules as iptables, GCP firewall, or AWS security group formats

Installation

pip install .

Usage

mftfwscan --service SFTP --export iptables

Requirements

  • Python 3.7+

Example Output

$ mftfwscan --service SFTP --export iptables
-A INPUT -p tcp --dport 22 -s 0.0.0.0/0 -j ACCEPT
[!] Rule open to all IPs for port 22

== LICENSE (MIT) ==

MIT License

Copyright (c) 2025 Raghava Chellu

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

mftfwscan-0.1.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mftfwscan-0.1.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file mftfwscan-0.1.1.tar.gz.

File metadata

  • Download URL: mftfwscan-0.1.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for mftfwscan-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dbef3cbd53c5cb8661c75f991ed7333977baa0b7b409f7ab2d6b176d3768edad
MD5 8712a907045d4bf78b75ce1dc65788d1
BLAKE2b-256 ff9c3548ed2088cbe180714e0d66ba632075538aa54c74408e51609171f0ae38

See more details on using hashes here.

File details

Details for the file mftfwscan-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: mftfwscan-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for mftfwscan-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eaec2bc35f0c74bf6cc03a45dde5d1c7bfcd429f99dd65188e6082d261ce7242
MD5 32120ba8f65ec9d60ccdd5f6f41c71bd
BLAKE2b-256 de3f7defc870438038cba25065307913c6e5b2709eb984c5af169d1ec5a3d51e

See more details on using hashes here.

Supported by

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