Code Monkey home page Code Monkey logo

sesame's Introduction

Sesame

Sesame is a project designed to enhance the security of a Linux server by dynamically managing network connections using ip-tables. This project aims to minimize the exposure of the SSH port to potential exploit attempts by keeping it hidden unless explicitly needed.

Features

Sesame has three main components:

  1. Script for Named Pipe Commands:
    • Listens to line input from a named pipe.
    • Opens a specific port by accepting SYN packets when a certain command is received.
    • Reverts to dropping all SYN packets with another command, preventing new connections.
  2. Interactive Shell Script:
    • Users can run sesame open, sesame close, and sesame status to manage and check the server's state.
  3. PHP Web Interface:
    • Provides a web page with a password input box and "Open" and "Close" buttons.
    • Allows users to toggle the server status using a web interface.

Installation

Prerequisites

  • Linux server with ip-tables installed.
  • PHP and a web server (e.g., Apache) for the web interface.

Security

  • Ensure the named pipe and scripts have appropriate permissions to prevent unauthorized access.
  • Use strong passphrases for the PHP web interface to protect against unauthorized access.

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes. For major changes, please open an issue first to discuss what you would like to change.

License

This project is licensed under GNU General Public License, Version 3. See the LICENSE file for details.

sesame's People

Contributors

edyfox avatar

Watchers

 avatar

sesame's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.