Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Intrusion Detection and Prevention
»
Apply policy from the commandline
« previous
next »
Print
Pages: [
1
]
Author
Topic: Apply policy from the commandline (Read 3029 times)
jphylips
Newbie
Posts: 10
Karma: 4
Apply policy from the commandline
«
on:
November 14, 2021, 02:44:18 pm »
Hi,
I try to apply a suricata policy from the GUI but keep getting errors. It seems like a timeout of some sorts. The configd.log says the following:
unable to sendback response [OK ] for [ids][install][['rules']] {6fc08c2d-8d49-491a-8cdf-ac51ec4a6fc2}, message was Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 202, in run self.connection.sendall(('%s\n' % result).encode()) BrokenPipeError: [Errno 32] Broken pipe
Is there a way to apply a policy using the console, by using configctl?
Thanks.
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: Apply policy from the commandline
«
Reply #1 on:
November 14, 2021, 03:23:53 pm »
configctl ids install rules
or
/usr/local/opnsense/scripts/suricata/installRules.py ?
Are there any deviations in System: Diagnostics: Activity?
Logged
jphylips
Newbie
Posts: 10
Karma: 4
Re: Apply policy from the commandline
«
Reply #2 on:
November 14, 2021, 05:18:12 pm »
Hi Fright,
Thanks for this and replying so quickly.
The commands ran without an issue, so that seems solved.
No irregular activity can be found in the Diagnostics are there.
I guess case closed.
Thanks again.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Intrusion Detection and Prevention
»
Apply policy from the commandline