Project

General

Profile

Actions

Bug #694

closed

Yaml variables - leading to segfault

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

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

Description

As reported by rmkml and Nikolay Denev - i did some more experimenting.

Suriacta 1.4 Release segfaults when " (quotes) are not used around net or port variables.
if the value is "any" - without " (quotes) - it does not segfault.

Also it does not dump a core file - maybe this is a separate bug.

root@ubuntu64LTS:~# suricata -c /etc/suricata/suricata.yaml -i eth0
1/1/2013 -- 14:35:00 - <Info> - This is Suricata version 1.4 RELEASE
1/1/2013 -- 14:35:00 - <Info> - CPUs/cores online: 2
1/1/2013 -- 14:35:00 - <Info> - Found an MTU of 1500 for 'eth0'
1/1/2013 -- 14:35:00 - <Info> - allocated 229376 bytes of memory for the defrag hash... 4096 buckets of size 56
1/1/2013 -- 14:35:00 - <Info> - preallocated 1000 defrag trackers of size 144
1/1/2013 -- 14:35:00 - <Info> - defrag memory usage: 373376 bytes, maximum: 16777216
1/1/2013 -- 14:35:00 - <Info> - AutoFP mode using default "Active Packets" flow load balancer
Segmentation fault (core dumped)
root@ubuntu64LTS:~# ls -lh
total 20K
drwxr-xr-x  2 root root 4.0K Oct 26 11:17 Desktop
-rw-r--r--  1 root root 1.2K Dec 10 21:12 index.html
drwxr-xr-x 13 root root 4.0K Dec 27 16:22 oisf
drwxr-xr-x  3 root root 4.0K Dec  4 21:47 suri-buildbot
drwxr-xr-x  3 root root 4.0K Dec 29 18:10 work
root@ubuntu64LTS:~# pwd
/root
Actions #1

Updated by Anoop Saldanha over 11 years ago

  • Status changed from New to Assigned
  • Assignee set to Anoop Saldanha
  • Target version set to 1.4.1
Actions #2

Updated by Victor Julien over 11 years ago

@Peter Pan, does this affect 1.3.x as well? If so, can you open a separate ticket for that?

Actions #3

Updated by Anoop Saldanha over 11 years ago

  • Target version changed from 1.4.1 to 2.0rc2
Actions #4

Updated by Victor Julien over 11 years ago

Why was this retargeted to 1.5?

Actions #5

Updated by Anoop Saldanha over 11 years ago

  • Target version changed from 2.0rc2 to 1.4.1

Got confused a bit. Should be 1.4.1. Changed it back.

Actions #7

Updated by Victor Julien over 11 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF