Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.35 KB

File metadata and controls

42 lines (29 loc) · 1.35 KB

FileSearchTCP

FileSearchTCP is a high-performance, multi-threaded TCP server designed for fast and efficient string search operations within large text files. The server supports concurrent connections, real-time file updates, and secure communication via SSL. It is optimized for speed and built to function as a Linux service.

Features

  • Multi-threaded TCP Server Handles unlimited concurrent connections.
  • Configurable File Path Reads the search file path from a configuration file.
  • Efficient String Search Finds exact string matches within large files (up to 250,000 rows).
  • Real-time File Updates Optional REREAD_ON_QUERY mode for dynamic file changes.
  • Optimized Performance Designed for low-latency execution.
  • Debug Logging Tracks search queries, IP addresses, execution time, and timestamps.
  • Security Focused Includes buffer overflow protection and SSL authentication.
  • Linux Service Support Runs as a system daemon.

Installation

Prerequisites

  • Linux-based system
  • Python 3.8+
  • OpenSSL (for SSL support)
  • pip (Python package manager)

Clone the Repository

git clone https://github.com/SymonMuchemi/FileSearchTCP.git
cd FileSearchTCP

Install Dependencies

pip install -r requirements.txt

Author

👤 Symon Muchemi