Commit Graph

  • c29b29d830 Merge pull request 'v0.2.0' (#3) from develop into main main v0.2.0 kor-elf 2026-04-26 16:50:47 +05:00
  • 7ae37d00ae Add batch commands support and usage example in README develop kor-elf 2026-04-26 16:48:51 +05:00
  • 692ba5fba0 Add Command method to BatchBuilder interface and implementation kor-elf 2026-04-26 16:27:46 +05:00
  • 2037ac6034 Add rule implementation with Add, Insert, Replace, and Delete methods kor-elf 2026-04-26 16:13:09 +05:00
  • 8d9c3e7f7b Refactor rule commands to use nftCommand utilities for improved code reuse kor-elf 2026-04-26 16:12:24 +05:00
  • bc00e46865 Add chain implementation with Add, Create, Delete, Clear, and Rename methods kor-elf 2026-04-26 16:05:58 +05:00
  • 7dc8436ad8 Refactor chain commands to use nftCommand utilities for improved code reuse kor-elf 2026-04-26 16:05:16 +05:00
  • 8fdecbcd8d Add table implementation with Add, Delete, and Clear methods kor-elf 2026-04-26 15:59:53 +05:00
  • a56dcc2952 Switch to fmt.Sprintf for appending a newline in CommandRun for consistency kor-elf 2026-04-26 15:58:38 +05:00
  • fedf0966bc Refactor table commands to use nftCommand utilities for improved code reuse kor-elf 2026-04-26 15:47:48 +05:00
  • 04b70ce5ec BatchBuilder implements the Clear method kor-elf 2026-04-26 15:40:47 +05:00
  • 7d6dcf1ece Refactor Clear method to use nftCommand.Clear for improved code reuse kor-elf 2026-04-26 15:38:05 +05:00
  • 8fb0306b1b Switch from fmt.Sprintf to strings.Join for writing arguments in CommandRun kor-elf 2026-04-26 15:37:17 +05:00
  • 9cd17572b2 Add BatchBuilder for constructing and managing nftables batch commands kor-elf 2026-04-26 15:28:17 +05:00
  • 6d62b280a1 Add Batch implementation with Args, Check, Close, and MoveFile methods kor-elf 2026-04-26 15:27:31 +05:00
  • 53d8854ab4 Add CommandRun implementation for executing batch commands kor-elf 2026-04-26 15:27:11 +05:00
  • 321f24e915 Add File utility to create, write, move, and remove temporary files kor-elf 2026-04-26 15:26:47 +05:00
  • b36479c0ae Extend Batch interface with Close, Check, and MoveFile methods for enhanced functionality kor-elf 2026-04-26 15:26:15 +05:00
  • c4bd51d9bc Refactor Command interface to embed CommandRun for improved structure and consistency kor-elf 2026-04-26 15:25:50 +05:00
  • 94405fbb53 Add ExecuteBatchAfterCheck method to NFT interface for pre-checking and executing batch commands kor-elf 2026-04-26 15:25:15 +05:00
  • 70e6335e59 Add ExecuteBatch method to NFT interface for batch command execution kor-elf 2026-04-22 23:35:19 +05:00
  • a7ec170096 Add Batch API for building and executing batched nftables commands. kor-elf 2026-04-22 23:34:43 +05:00
  • 3c47e7566b Refactor to consolidate APIs into contract package and introduce NFT interface for better modularity and maintainability. kor-elf 2026-04-22 21:54:59 +05:00
  • 1eaf009e56 Merge pull request 'Версия 0.1.1' (#2) from develop into main v0.1.1 kor-elf 2026-01-01 21:31:59 +05:00
  • 92803286f5 Fix String method for TypeRoute to return "route" instead of "nat" kor-elf 2026-01-01 21:28:18 +05:00
  • fa41572019 There was a typo in the README.md title. kor-elf 2025-10-26 00:27:11 +05:00
  • 6c95d5efb1 Merge pull request 'Версия 0.1.0' (#1) from develop into main v0.1.0 kor-elf 2025-10-22 23:10:41 +05:00
  • 7360c05f9b Add initial README with usage examples and API documentation kor-elf 2025-10-22 23:01:32 +05:00
  • a305b7f55a Fix type conversion by removing unnecessary string conversion for command output parsing kor-elf 2025-10-22 22:44:23 +05:00
  • 2ac9272293 Add Rule API for managing nftables rules, including Add, Insert, Replace, and Delete operations kor-elf 2025-10-22 22:43:33 +05:00
  • 90b232aa05 Add Command method to NFT interface and RunWithOutput support to command package kor-elf 2025-10-22 20:59:49 +05:00
  • e7e53fc123 Add Chain API for managing nftables chains, including Add, Create, Delete, Clear, and Rename operations. kor-elf 2025-10-22 20:56:46 +05:00
  • 09ac999346 Add NETDEV type to Type enum and update String method kor-elf 2025-10-20 22:45:13 +05:00
  • 9210448f16 Add Version method to NFT interface and implementation kor-elf 2025-10-20 22:44:40 +05:00
  • c3a513f92c Improve documentation for API interface in table package. kor-elf 2025-10-19 22:54:04 +05:00
  • 5b19993343 Refactor table management to use a dedicated API and improve command handling. kor-elf 2025-10-19 22:50:14 +05:00
  • d056f5dbf8 Changed the name parameter to nameTable in methods for working with tables. kor-elf 2025-10-19 21:12:25 +05:00
  • 1a62968d1d Add ClearTable method to NFT interface and implementation. kor-elf 2025-10-19 20:25:36 +05:00
  • 053ca9a37f Add DeleteTable method to NFT interface and implementation. kor-elf 2025-10-19 20:11:45 +05:00
  • 7cd41f8491 Improve documentation for Clear and AddTable methods in NFT interface. kor-elf 2025-10-19 19:55:42 +05:00
  • f5b1888420 Add initial nftables client implementation kor-elf 2025-10-19 14:53:51 +05:00
  • dd963a343a Initialize Go module for the project kor-elf 2025-10-19 14:52:37 +05:00
  • c9852eb196 Add MIT license to the project kor-elf 2025-10-19 12:44:55 +05:00