Bug #450
closedStopping Suricata under Windows
Description
When Suricata is started under windows ... it would not accept Ctrl+c/z/x to terminate - I
would have to do that from the win Task Manager, kill the suricata
process from there - then it stops. Where as before a normal Ctrl+c was
enough to stop Suri.
Updated by Victor Julien over 12 years ago
- Subject changed from Stoping Surictata under Windows to Stopping Surictata under Windows
- Description updated (diff)
Updated by Victor Julien over 12 years ago
- Status changed from New to Assigned
- Assignee set to Victor Julien
- Target version set to 1.3beta2
Updated by Victor Julien over 12 years ago
- Subject changed from Stopping Surictata under Windows to Stopping Suricata under Windows
Updated by Victor Julien over 12 years ago
It works fine for me. How can you reproduce it?
Updated by Peter Manev over 12 years ago
It does not seem to work on 7 and 2008 64 bit.
However I would have to confirm(recheck) it on XP and 2003.
Updated by Victor Julien over 12 years ago
Don't bother with XP and 2003 for now if you can reproduce the issue on 7.
I have 7 here, and it works fine for me. What exact steps do you take to reproduce the issue?
Updated by Peter Manev over 12 years ago
run CMD "as Administrator" - start suricata - "ctl+C"/Z/Q/whichever - does not stop it for me
Updated by Victor Julien over 12 years ago
What are the exact steps? Commandline, config, etc?
Updated by Peter Manev over 12 years ago
Compile (or install from the auto installer), regular/default config/compile.
Press "Windows key"+"R" ->
type "cmd" ->
it will appear on the small opened window ->
Right click it -> "Run as Administrator" ->
after the CMD windows is open go to the directory and start suricata the regular way ->
"suricata -c suricata.yaml -i 192.168.1.71" ->
starts and runs fine -> press "Ctl+C" it does not stop it for me.
Updated by Victor Julien over 12 years ago
- Status changed from Assigned to Closed
This was a bug in cygwin, see: http://cygwin.com/ml/cygwin-announce/2012-04/msg00016.html
Upgrading cygwin solves it.