You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Русская версия ниже и обновляется во вторую очередь.
1. Size Of The PAC-Script "Antizapret"
PAC-script "Antizapret" is used not only in our browser extension but also via a command line argument to chrome or in Windows system settings.
In these modes PAC-script can't exceed 1MB and the project author employed lots of compression techniques already however it is not enough.
The offered challenges:
Learn how to classify censored addresses from https://github.com/zapret-info/z-i/blob/master/dump.csv into categories (machine learning) and then we will be able to publish/generate PAC-scripts targeted for specific categories.
If user don't need all the categories then he will fit 1MB or he may speed up the script. Also providers of public proxies may block unwanted categories from proxying.
Bloom filter: yet we ourselves try to research this (memory consumption, performance, probability of false positives) and experiment. We can't proxy all addresses (errors) on our proxy servers so we need to measure error distance on the server and decide if it exceeds a chosen threshold. (My old code and results).
2. Universal PAC-Script Generator
I run my own generator, "Antizapret" uses its own (old sources are here). I have an idea of writing a PAC script generator that my be used:
Locally on unix/posix/win.
In browser extensions.
On servers (CloudFlare workers, NodeJS).
Maybe even on web pages.
In this kind of flexible generator you may choose:
Output targets (1MB for Chrome's command line, Chromium-based browser extensions, FireFox browser extensions (don't support remote PAC-scripts, need to take a list of addresses and a list of proxies in some format)).
Employed algorithm and compression method (Bloom, deterministic, lz-string, binary search).
Proxies to be used: local Tor, known proxies with good reputation (Antizapret), provided by user.
Publishing targets: save results to local files, upload to github, publish on ipfs/ipns, etc.
This generator also instead of generating PAC-script from inputs may search provided trusted sources for already generated PAC-scripts (local cache, ipfs/ipns, github repo, on some site via https, etc.).
This kind of generator may be used:
By users on their local machines in browsers or in command line.
Deployed on servers, CloudFlare workers, etc. Results are shared somehow, publicly or privately.
Generator itself and code generated are desired to work in old browsers (Windows XP for generator, Internet Explorer for PAC-script consumers).
3. Browser Extension For FireFox
FireFox doesn't support remote PAC-scripts, PAC-scripts must be built in into the extension but may be passed list of addresses or proxies via messages. The task is to write extension able to consume results of universal PAC script generator from the previous challenge and structure it internally somehow for better speeds. This extension may be abstracted out into something like the idea of Request Kitchen. proxy.onRequest may be used instead of PAC-scripts.
Contact Us
Create an issue on this repo for a public discussion.
You may publish your solution anywhere or on https://gist.github.com (comments notifications should work there) and email us.
1. Размер PAC-скрипта «Антизапрет»
PAC-скрипт «Антизапрет» используют не только в расшрении, но и через параметр командой строки хрому.
В этом режиме PAC-скрипт не может превышать 1MB, и автор уже задействовал кучу техник сжатий, но этого недостаточно.
Призываем решить следующие проблемы:
Научиться разбивать https://github.com/zapret-info/z-i/blob/master/dump.csv на категории (machine learning) и тогда мы будем публиковать/генерировать PAC-скрипты для отдельных категорий.
Если пользователю не нужны все категории, то он впишется в размер 1MB или сможет ускорить работу скрипта.
Фильтр Блума: мы пока сами пытаемся исследовать (потребление памяти, производительность, вероятность ошибок) и экспериментировать. На серверы мы также должны не проксировать адреса не из реестра, но ошибки с определенным порогом дистанции допустимы. (Мой старый код и результаты).
The text was updated successfully, but these errors were encountered:
ilyaigpetrov
changed the title
Вызовы проектов «Антизапрет» и «Антицензорити»
Challenges by "Antizapret" and "Anticensority" | Вызовы «Антизапрет» и «Антицензорити»
Jun 26, 2019
ilyaigpetrov
changed the title
Challenges by "Antizapret" and "Anticensority" | Вызовы «Антизапрет» и «Антицензорити»
Challenges by "Antizapret" and "Anticensority" | Призывы «Антизапрет» и «Антицензорити»
Jun 26, 2019
Our ideas frequently get updates: we may become disappointed in some ideas or come up with some new ones. In case you decide to start working on some challenge --, please, contact us first.
Here are some updates:
Bloom filter -- we are warned that 1MB restriction may deprive this algo of all it's effectiveness.
Universal PAC-script generator -- this generator being written in JS will be consuming about 350MB of RAM (being using streams) so maybe using it on a client or CloudFlare workers isn't the best idea.
Browser extension for FireFox -- sometime I find time and commit updates here. If you wonder how to get it running -- contact us/me.
There is an idea of conveying information whether hostname is blocked via DNS responses to special queries on a specially configured DNS-server. So another challenge is to write/configure such DNS-server (the inspiration for the idea comes from DNSBL).
https://rebrand.ly/ac-challenges | https://git.io/ac-challenges
Русская версия ниже и обновляется во вторую очередь.
1. Size Of The PAC-Script "Antizapret"
PAC-script "Antizapret" is used not only in our browser extension but also via a command line argument to chrome or in Windows system settings.
In these modes PAC-script can't exceed 1MB and the project author employed lots of compression techniques already however it is not enough.
The offered challenges:
lz-string
and base128 to compress a script: Need help with base128 pieroxy/lz-string#135.If user don't need all the categories then he will fit 1MB or he may speed up the script. Also providers of public proxies may block unwanted categories from proxying.
2. Universal PAC-Script Generator
I run my own generator, "Antizapret" uses its own (old sources are here). I have an idea of writing a PAC script generator that my be used:
In this kind of flexible generator you may choose:
This generator also instead of generating PAC-script from inputs may search provided trusted sources for already generated PAC-scripts (local cache, ipfs/ipns, github repo, on some site via https, etc.).
This kind of generator may be used:
Generator itself and code generated are desired to work in old browsers (Windows XP for generator, Internet Explorer for PAC-script consumers).
3. Browser Extension For FireFox
FireFox doesn't support remote PAC-scripts, PAC-scripts must be built in into the extension but may be passed list of addresses or proxies via messages. The task is to write extension able to consume results of universal PAC script generator from the previous challenge and structure it internally somehow for better speeds. This extension may be abstracted out into something like the idea of Request Kitchen.
proxy.onRequest
may be used instead of PAC-scripts.Contact Us
You may publish your solution anywhere or on https://gist.github.com (comments notifications should work there) and email us.
1. Размер PAC-скрипта «Антизапрет»
PAC-скрипт «Антизапрет» используют не только в расшрении, но и через параметр командой строки хрому.
В этом режиме PAC-скрипт не может превышать 1MB, и автор уже задействовал кучу техник сжатий, но этого недостаточно.
Призываем решить следующие проблемы:
lz-string
и base128 к сжатию скрипта: Need help with base128 pieroxy/lz-string#135.Если пользователю не нужны все категории, то он впишется в размер 1MB или сможет ускорить работу скрипта.
Как с нами связаться
Связаться с нами можно через электропочту на https://antizapret.prostovpn.org или на https://rebrand.ly/ac-contact (оба адреса — почтовые группы с несколькими участниками). Создать публичное обсуждение можно в https://github.com/anticensority/discussions/issues или для обсуждения конкретно своего решения можно создать статью на https://gist.github.com (комментарии теперь имеют уведомления).
The text was updated successfully, but these errors were encountered: