I hope this isn't deja vu, and it is still working a few hours from now (will report back if not), but for now it seems to be working. The 'magical' procedure I used this morning (following a reboot yesterday with iblocklist-loader off, ya-malware on, and ab-solution on):
I removed all lists from the loader script (BLOCKLIST_INDEXES=""), deleted .gz blockfiles, left the whitelist items in there, and ran the iblocklist-loader script.
I tested pandora on my phone (through router obviously) and it still worked.
Then I added lists one by one, starting with 17, then reran the loader script, and tested pandora.
Pandora didn't fail as I worked my way through 2,10,11,13,15,17 (in reverse the order if that matters... hopefully not).
Then, to test reliability, I uncommented the loader script starting line in my services-start, and rebooted the router (with cache set to Y). A few minutes after reboot, the ya-malware and iblocklist scripts did their thing, and so far so good... pandora is still working! (*fingers crossed*) I'm not sure how this worked vs just loading the script with all the lists as usual, but whatever magic was involved seems to work?
FWIW, the bottom of my services-start looks like this:
Code:
###end, ab-solution maintained parts
# start, added for Ya-Malware
sleep 600
sh /jffs/scripts/ya-malware-block.sh
# end, added for Ya-Malware
# start, added for iblocklist-loader script
sh /jffs/scripts/iblocklist-loader.sh
# end, added for iblocklist-loader script
Since it took so long after reboot to load both scripts (due to the 'sleep 600'), I'm curious if it would be better to move the blocklist loader above ya-malware to start it earlier. Not sure it matters for security, but I suppose if it's not too much extra exposure, I'd rather leave the unbroken unfixed if you know what I mean.
Thanks,
Kevin
[Here I am, about 30min later, once again without Pandora. It appears whatever bug is causing this takes a long time to manifest. The syslog did show the lists all loaded and processed. No syslogs that coincide with the loss of pandora. Any extra logging I could use to illuminate this?
I noticed in my syslogs, when ya-malware ran it 'downloaded' but then showed '(0) ip's added'. Not sure wth that happened ?!!! (browsing through winscp, everything looked ok). So I deleted yam, rebooted, and reinstalled yam. After running it added IPs as usual. I followed up by running iblocklist-loader (with all the lists & whites) and it appeared to also load correctly. Pandora is working again... for now?
I sure hope I didn't accidentally add/delete stuff from yam to cause this. Is it possible the cru yam run to act differently than a manual cli run? Will report back later...]