Skip to content

Conversation

@codeperfectplus
Copy link
Owner

Changelog

Added

  • Firewall Feature:

    • Implemented functionality to list, enable, and disable open TCP/UDP ports using iptables.
    • Added routes to handle firewall management (/firewall).
    • Created session management for sudo password to securely handle user actions on the firewall.
    • Added enable_port and disable_port functions to manage firewall rules via iptables.
    • Created helper functions for password validation (check_sudo_password) and port listing (list_open_ports).
    • Introduced a feature to reset the sudo timestamp using sudo -k.
  • UI/UX Enhancements:

    • Added feedback mechanism using flash messages to inform users of successful or failed operations.
    • New firewall.html page to show the list of open ports and control firewall settings.
    • Designed and added custom styles in firewall.css for a modern, responsive firewall control interface.
  • Documentation:

    • Created a future_plans.md document for suggestions on future improvements regarding code structure, security, user interface, and more.

Changed

  • Dependency Update:
    • Added iptables as a required dependency in setup.sh.

Improved

  • Flash Messages:
    • Added flash message logic for better user feedback and error handling across the firewall pages.

@codeperfectplus codeperfectplus merged commit 1776d50 into dev Sep 7, 2024
@codeperfectplus codeperfectplus deleted the features/firewall branch September 8, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant