You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/python
Shivani Bhardwaj bf37e3f5da suricatasc: Snug the processing of different commands
Since all of the commands were following the same procedure, namely,
split the input extract the arguments, throw the error if required
argument is missing else send the command over to suricata, put all of
this in one compact function alongwith a dictionary for specifications
for different commands, the name of the argument, the type and if it is
required or not.
Following fixups come with this commit:
- Code becomes really cozy
- Split errors on a few commands are well handled
- No redundant code
- More readability

References redmine ticket #2793
7 years ago
..
bin python: fixes for out of tree build 8 years ago
suricata suricatasc: Snug the processing of different commands 7 years ago
suricatasc suricatasc: move lib to suricata.sc 8 years ago
.gitignore python: fixes for out of tree build 8 years ago
Makefile.am suricatasc: move into python/ 8 years ago
setup.py python: fixes for out of tree build 8 years ago