- Individual Applications
Protect
Filter
Perform
Connect
Add-Ons
- Software Packages
- Complete Appliances
|
|
#1 (permalink) |
|
Banned
Join Date: May 2009
Posts: 26
![]() |
Where is the file, with blocked items, located?
We would like to import lots of extra items in it but don't feel like doing it 1 by 1. Hopefully people on forums are more helpful then on IRC.. Last edited by ChrisDavis; 11-11-2010 at 06:19 AM.. |
|
|
|
|
#2 (permalink) |
![]() Join Date: Nov 2008
Location: Westerville, Ohio, USA
Posts: 1,013
![]() |
There isn't a file, they are stored in the database.
In version 8 (due out here very shortly) there is an import button on the GUI of the ad blocker. I would suggest you wait until then rather than try to monkey with the raw database.
__________________
Dan You may one day find something interesting here. Today is not that day. Tomorrow isn't looking too good either. |
|
|
|
|
#3 (permalink) |
![]() |
ChrisDavis,
The irc channel is for DEV questions. There are no "Forum" irc Channel. But as dbundyard say the information is stored in the DB. The Import button can only do so much. To import the format has to be in Json and with the right string. I have done some work of creating some generators to make json import files to some module but not the AD blocker. Is this a great demand? if so i am sure i can create on for it as well. (http://untangle.nu/gen/)
__________________
"Of all the things I've lost, I miss my mind the most" Untangle Reseller (Sweden) WebFooL@fakenews.se http://fakenews.se/ Need space to Upload content for you forum post? http://about.me/webfool |
|
|
|
|
#4 (permalink) |
|
Banned
Join Date: May 2009
Posts: 26
![]() |
Wow, Thanks for the quick and informative replies!
No need to be hasty on implementing that feature WebFool, we are in testing phase overhere and just trying Untangle if it can do things the way we want. So we can wait till version 8 comes out. Thanks again! |
|
|
|
|
#5 (permalink) |
|
Master Untangler
Join Date: May 2009
Location: Banja Luka, Bosnia and Herzegovina
URLs submitted: 3
Posts: 111
![]() |
WebFooL, is it possible for You ti make a converter that would convert this file (for example) https://easylist-downloads.adblockplus.org/easylist.txt into .json compatible with Ad Block module of Untangle?
That way, anyone could select any Ad Block subscription and import it into their UT box. |
|
|
|
|
#6 (permalink) |
![]() |
Boyan.sharic,
It seams like there license model would allow it. I will look in to it but it should not be that hard. Just do a loop and take the value form each line and print out " {"string":"$Value","javaClass":"com.untangle.uvm.n ode.StringRule","live":true} "
__________________
"Of all the things I've lost, I miss my mind the most" Untangle Reseller (Sweden) WebFooL@fakenews.se http://fakenews.se/ Need space to Upload content for you forum post? http://about.me/webfool |
|
|
![]() |
| Thread Tools | |
|
|