Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPRVersion.dat - No such file #60

Open
d4rwel opened this issue Sep 18, 2018 · 1 comment
Open

IPRVersion.dat - No such file #60

d4rwel opened this issue Sep 18, 2018 · 1 comment

Comments

@d4rwel
Copy link

d4rwel commented Sep 18, 2018

Autosnort, more precisely Pulledpork, is failing due to missing file IPRVersion.dat.

autosnort_install.log:

Unable to open /opt/snort/rules/iplists/IPRVersion.dat for writing! - No such file or directory
at pulledpork.pl line 1324.
main::blacklist_write(HASH(0x55872d1b3308), "/opt/snort/rules/black_list.rules") called at pulledpork.pl line 2328

Simply creating an empty file IPRVersion.dat did the trick for me. In autosnort-ubuntu-AVATAR.sh at line 383 insert this:
dir_check $snort_basedir/rules/iplists
touch $snort_basedir/rules/iplists/IPRVersion.dat

Does anyone have a clue why the file is not being created by snort installation?

Snort Version: 2.9.11.1
Pulledpork Version: 0.7.4

@mgeorgy
Copy link

mgeorgy commented Nov 4, 2018

I ran into the same issue. It appears that /opt/snort/rules/iplists/ was not created. Creating the directory and an empty IPRVersion.dat (as suggested above) did the trick. TBD if this may cause issues elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants