Page 1 of 1
bw_get will not return any data
Posted: Tue Feb 18, 2020 11:38 am
by agrohe21
https://imgur.com/a/g42nJnY
I see files in bwmon folder but bw_get will not return any data
Re: bw_get will not return any data
Posted: Tue Feb 18, 2020 3:23 pm
by agrohe21
I have found that you have to remove the .bw extension to get bw_get to work properly
Re: bw_get will not return any data
Posted: Tue Feb 18, 2020 4:27 pm
by Lantis
bw_get operates on the data stored in RAM, not those data files. So yes, no bw extension required.
Re: bw_get will not return any data
Posted: Tue Feb 18, 2020 11:33 pm
by agrohe21
Yes, i see that. I also modified the /etc/init.d/bwmon_gargoyle to track 1440 minutes vs 15. That requires changing the parameters to bw_get vs the file names.
BTW, I recall somewhere seeing a command to dump those valid values, but I cannot find that.
Re: bw_get will not return any data
Posted: Wed Feb 19, 2020 1:03 am
by Lantis
if you type
It should show you all options for the module. I don't think it shows you limits for each field, but if you have a specific query i might be able to help.
Re: bw_get will not return any data
Posted: Thu Feb 20, 2020 10:00 pm
by agrohe21
it seems iptables does not have a -m switch. but I found what I was looking for in then /tmp/bw_backup/do_bw_backup.sh file.
that seems to be some sort of memory dump of what are the latest valid combinations based on the configuration.