Project

General

Profile

Actions

Bug #450

closed

Stopping Suricata under Windows

Added by Peter Manev over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

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.

Actions #1

Updated by Victor Julien over 12 years ago

  • Subject changed from Stoping Surictata under Windows to Stopping Surictata under Windows
  • Description updated (diff)
Actions #2

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
Actions #3

Updated by Victor Julien over 12 years ago

  • Subject changed from Stopping Surictata under Windows to Stopping Suricata under Windows
Actions #4

Updated by Victor Julien over 12 years ago

It works fine for me. How can you reproduce it?

Actions #5

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.

Actions #6

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?

Actions #7

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

Actions #8

Updated by Victor Julien over 12 years ago

What are the exact steps? Commandline, config, etc?

Actions #9

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.

Actions #10

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.

Actions

Also available in: Atom PDF