add_nfregex_service
Register a new nfregex service by specifying protocol, port, and bind interface. Use fail_open to allow traffic when the regex engine fails.
Instructions
Register a new nfregex service.
proto must be 'tcp' or 'udp'. ip_int is the bind interface
(IPv4/IPv6 literal, '0.0.0.0' for all). fail_open=True means traffic
flows when the regex engine cannot start.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"port": "<port>",
"proto": "<proto>",
"ip_int": "<ip_int>"
},
"name": "add_nfregex_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| port | Yes | ||
| proto | Yes | ||
| ip_int | Yes | ||
| fail_open | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||