malikshi / open_clash

OpenClash Config Untuk VVIP IPTUNNELS
https://www.facebook.com/ibnumalik.al
MIT License
87 stars 78 forks source link

changes behavior & add maliciousip blocklist #4

Closed malikshi closed 2 years ago

malikshi commented 2 years ago

minimize file size of the rules

malikshi commented 2 years ago

@adisubagja can you tests it? sizes down 20%

malikshi commented 2 years ago

rule_malicious and rule_maliciousip rejected by default it's not part of trafficads

malikshi commented 2 years ago

repo updaterule https://github.com/malikshi/updaterule/commit/3be3a0309ee143392d10384f642f19b8a9e007be

adisubagja commented 2 years ago

Nice back update. Will try after going home

adisubagja commented 2 years ago

Working fine for now Size YES this reduced Ram usage first start/enabled making crazy taking longer & ram eating 1,2GB i think this not for lowest device. I Think you must try build geodata for ownscript this will make reduce all size,ram,cpu

But now this fine all working hope can have geodata for next updates 😅 i will wait Thanks you very much for better making rules & block ads

Device : HG680P RAM : 2GB Firmware : OpenWRT Reyre AP 20 Latest Kernel : 5.4.204 (Stock FW)

malikshi commented 2 years ago

Working fine for now Size YES this reduced Ram usage first start/enabled making crazy taking longer & ram eating 1,2GB i think this not for lowest device. I Think you must try build geodata for ownscript this will make reduce all size,ram,cpu

But now this fine all working hope can have geodata for next updates 😅 i will wait Thanks you very much for better making rules & block ads

Device : HG680P RAM : 2GB Firmware : OpenWRT Reyre AP 20 Latest Kernel : 5.4.204 (Stock FW)

Thank your for tested new update. I been thinking between wildcard and domains. Surely wildard list will make the file much smaller. Mine are working good and the ram usage only 150MB on openclash dashboard Screenshot_2022-07-19-12-16-59-591_com android chrome Can you check if the file already replaced with new one in your device. If you're using online version make sure to update again in yacd. For offline just updaterule u-rule then start the openclash

malikshi commented 2 years ago

@adisubagja test again https://github.com/malikshi/open_clash/pull/5 wildcard version very small compared to non-wildcard. still high ram usage on start, but it's will go down overtime. From 847MB to +-120MB RAM usage

image

after 2-4 minutes

image

adisubagja commented 2 years ago

Good first start taking 300-700mb image Then waitting more 3mins here result image

Nice this more stable now first start no more longer time for running & and faster reduce before previous commit

malikshi commented 2 years ago

But now this fine all working hope can have geodata for next updates 😅 i will wait Thanks you very much for better making rules & block ads

Can you share the reference?

malikshi commented 2 years ago

Nice this more stable now first start no more longer time for running & and faster reduce before previous commit

Well done, yes it's much faster now.