Hello
since i am experimenting around with snort, i tried to do the same, restart the snort daemon after uploading the policies.
it seems i hook up on the same problem. have you already found a solution for this ?
one solution might me to synchronize the both tasks, the upload of the new rules with the ftp server or idspm tool and 10 mins later with a cronjob to restart the snort daemon on the linux system....
this solution is not a good solution for me, so i would prefer to have this "after upload feature" and restart option. the problem is that i am not allowed to create a maybe needed sftp server on it, the existing server is an ftp server and the upload is working. after the selection of "restart settings" and script via ssh it stays a long time and stops with the message :
it uploads all the rules maps and whatever stuff.....
at the end it stops with this
"Error Uploading to Sensor : System error: Other end disconnected during key negotiation" in the upload log....
on the linux machine:
remote ssh connections are allowed for root only, does it has to do that the "restart settings" tries to authenticate also with the "authentication options" settings for the ftp ? hmmm maybe i check this also or is there another thing to do in this case ?
thanks for answers in advance.
greetings joe