Closed pizzadude closed 1 year ago
Also, Fedora 36 doesn't seem to have a "pyasn" package. It has a "python3-pyasn1" package but I don't think that's the same thing, because it doesn't seem to be detected by opensnitch.
Thank you @pizzadude , it should be fixed now.
You're right @pizzadude , some distros don't have python3-pyasn. You can install it manually:
$ pip3 install --user pyasn
$ .local/bin/pyasn_util_download --latest
$ .local/bin/pyasn_util_convert.py --single rib.20220924.2000.bz2 ipasn_db.dat
$ gzip ipasn_db.dat
$ mv ipasn_db.dat.gz .config/opensnitch/
$ .local/bin/pyasn_util_asnames.py > .config/opensnitch/asnames.json
The thing is that the package python3-pyasn packaged in some distros distributes by default those files, which are (outdated btw) the ones present on the repo https://github.com/hadiasghari/pyasn/tree/master/data
You're right @pizzadude , some distros don't have python3-pyasn. You can install it manually:
$ pip3 install --user pyasn $ .local/bin/pyasn_util_download --latest $ .local/bin/pyasn_util_convert.py --single rib.20220924.2000.bz2 ipasn_db.dat $ gzip ipasn_db.dat $ mv ipasn_db.dat.gz .config/opensnitch/ $ .local/bin/pyasn_util_asnames.py > .config/opensnitch/asnames.json
The thing is that the package python3-pyasn packaged in some distros distributes by default those files, which are (outdated btw) the ones present on the repo https://github.com/hadiasghari/pyasn/tree/master/data
Thank you.
on fedora 36 kde: