A Pluckeye Forum

A place for Pluckeye users to chew the cud.

You are not logged in.

Announcement

This is the old forum. The new forum is at https://discourse.pluckeye.net/ .

#1 2021-06-28 16:56:10

Andy
Member
Registered: 2020-06-08
Posts: 158

Would individual delays not be a good idea?

So having a site or a program in your allow list, and then if there was some way you could block it for a shorter delay time? Instead of needing to block it on a schedule or right away for a period of time.

So for example say you used a 7 day delay, and you had example.com in your allow list, if you could then enter something like this into the command line, pluck + delay1d block example.com. Then this causing example.com to always remain blocked, but if you decided to allow example.com, it would then only take one day to allow?

Last edited by Andy (2021-06-28 16:59:08)

Offline

#2 2021-06-28 23:20:40

RNYC
Moderator
Registered: 2017-01-14
Posts: 329

Re: Would individual delays not be a good idea?

Maybe the explicit rules down at the bottom of this page:  https://www.pluckeye.net/eg2.plu can help you out. Here is the example given, which essentially gives you a different delay time for allowing youtube. (The difference is that in this example youtube starts out blocked and you want to have example.com start out allowed.)


delay 3h - action:block host:youtube.com

# In a bash shell this is done like so:
#
# pluck + delay 3h "- block youtube.com"
# pluck + delay 3h "- action:block host:youtube.com"

Offline

#3 2021-06-29 20:28:57

Andy
Member
Registered: 2020-06-08
Posts: 158

Re: Would individual delays not be a good idea?

Thanks RNYC.

Would this work?

pluck + delay 3h - block when 0-001 allow web.telegram.org application/octet-stream

Basically I have this in my allow list

when 0-001 allow web.telegram.org application/octet-stream

I basically only need this in case of an emergency in case I get logged out of telegram web. But then I have my own specific telegram web url's allowed, instead of allowing all of telegram web. So once logged in the internet connects only to the specific url's in my allow list, but nothing else.

But basically my problem is even just within that one minute when the internet connection is allowed on all of telegram web, I can do something where I can get multiple pornographic videos, even just within that one minute.

But I do need to allow it for that one minute in case of an emergency in case I ever get logged out, so that I can log back in.

But I basically want to have this blocked on a short delay when 0-001 allow web.telegram.org application/octet-stream, and then if there ever is an emergency I can just allow it so that I can log back into telegram web.

Of course I can do something like this

pluck + when 20210629000000-20210629000100 block web.telegram.org application/octet-stream

But of course I might forget to do this everyday, and it is also just a bit of a hassle needing to do this everyday. It would be much easier if when 0-001 allow web.telegram.org application/octet-stream was blocked for a shorter delay like I have described.

Last edited by Andy (2021-06-29 21:41:01)

Offline

#4 2021-06-29 21:44:47

jon
Administrator
Registered: 2017-01-10
Posts: 525

Re: Would individual delays not be a good idea?

pluck + delay 3h - block when 0-001 allow web.telegram.org application/octet-stream

You have both block and allow in there, so, no, that won't work as is.

But I suspect one can block most of telegram and still make telegram authentication work.  You are not the only Pluckeye trying to configure web.telegram.org.

As a word of warning, I notice that the "new web telegram" uses web sockets and no longer updates the location bar.  I recommend not upgrading to their newest version if you want to continue to use Pluckeye to filter telegram by channel.  Fortunately, the new version, once you can use it, allows you to switch back to the old version.

Offline

#5 2021-06-29 21:56:21

Andy
Member
Registered: 2020-06-08
Posts: 158

Re: Would individual delays not be a good idea?

Yes I noticed telegram web have new versions Jon, but they still allow access to the old version. Yeah on the new versions there is no way of configuring it the same way as the old version. As the url always remains the same. All I could do is have all images and videos blocked on it, but still allow the internet on it to chat to friends.

But something I noticed Jon is there is quite a lot of unofficial telegram webs. So they're exactly the same as the old official telegram web. So I have now got the same telegram web configuration on an unofficial telegram web, just with slightly different url's. So that if telegram does get rid of the old official site, that I should still be able to access it on this unofficial site.

Would this work Jon? So having this in my allow list

when 0-001 allow web.telegram.org application/octet-stream

but then also having this

pluck + delay 3h when 0-001 block web.telegram.org application/octet-stream

Last edited by Andy (2021-06-29 22:26:43)

Offline

#6 2021-07-04 09:33:54

sonicsid
Member
Registered: 2021-05-11
Posts: 43

Re: Would individual delays not be a good idea?

Speaking of Telegram, I too use the old (legacy) version and am unable to download PDFs and images. While downloading PDFs, for example, the download bar proceeds to completion, but finally all that happens is "Save file" replaces the "Download" button, clicking on which does nothing at all - the file does not get saved to my device.

Could this have something to do with Pluck(eye)? Does Telegram hosts files on some other server or website that I'll have to allow individually?

Offline

#7 2021-07-04 13:15:04

Andy
Member
Registered: 2020-06-08
Posts: 158

Re: Would individual delays not be a good idea?

I don't think this happens if you have web.telegram.org in your allow list.

However if you have web.telegram.org in your allow list then you will be able to access all images, videos etc on all versions of web.telegram.org, which I don't think is something you would want if you want it to be restricted.

Last edited by Andy (2021-07-04 22:59:19)

Offline

#8 2021-07-05 12:17:20

sonicsid
Member
Registered: 2021-05-11
Posts: 43

Re: Would individual delays not be a good idea?

You're right, allowing web.telegram.org fixes the issue, but I want only certain channels and groups to be allowed (which is why I use the legacy version in the first place).

The verdicts tab isn't being of much use either - it claims it is blocking nothing on that particular page.

Could Pluck(eye) be, uh, "subconsciously" blocking the download?

Offline

#9 2021-07-05 17:25:28

Andy
Member
Registered: 2020-06-08
Posts: 158

Re: Would individual delays not be a good idea?

As far I I can tell you need to allow web.telegram.org for a download to work to the point you can download it onto your computer. So allowing a specific telegram URL doesn't seem to allow you to download it onto your computer from that specific telegram URL. You seem to need to allow web.telegram.org or https://web.telegram.org for this to work. So trying to download it onto your computer from an allowed URL like this https://web.telegram.org/?legacy=1#/im? … 8560136884 this wouldn't work.

But you can still get images and videos on the specific allowed telegram URL, even if you can't download them onto your computer, so I don't know why this is that much of a big deal?

Here's some tips if you want telegram legacy to be restricted the most efficient way.

Allow all your specific telegram URL's that you want to be able to see images and videos on. So here is an example of one allowed telegram URL, and the other URL I block.

pluck + allow https://web.telegram.org/?legacy=1#/im? … 5601368849

pluck + block https://web.telegram.org/?legacy=1#

These are the only telegram web URL's that you should have in your configuration at all times to allow images and videos on all your specific allowed telegram URLs, while blocking every other telegram URL, and there is no way to get any images, videos from any other telegram URL this way.

Believe me I have been trying to 100% efficiently restrict telegram web for many months, and I think I have finally cracked it.

But you will need to allow https://web.telegram.org on some sort of schedule so you can sign in in case you ever get signed out.

So allowing https://web.telegram.org on some sort of schedule, and temporarily unblocking https://web.telegram.org/?legacy=1# in case you ever get signed out.

Another thing is when you have this configuration in place you won't be able to access telegram web by searching the main URL. But all you do is search one of your specific allowed URLs https://web.telegram.org/?legacy=1#/im? … 5601368849 and this takes you straight onto your signed in telegram legacy page.

You used to be able sign into telegram web with https://web.telegram.org application/octet-stream or web.telegram.org application/octet-stream in your allow list. But you can no longer sign into telegram web with these. You either need to allow https://web.telegram.org or web.telegram.org or telegram.org to sign back into telegram web. But as I said you're best running one of these on a schedule, rather than allowing one of them all the time.

But you also wouldn't want to allow web.telegram.org application/octet-stream now anyway. Basically allowing this there is a possible bypass there. This was my problem for so long. It was when I removed this I ended up quite quickly figuring out how to block telegram web legacy 100% efficiently, to the point there is now no way to get onto any other telegram URL, except from your specific allowed telegram URLs.

But you might wonder why it was even a problem if I could get on telegram URLs that were not in my allow list if the images and videos were blocked on these URLs anyway? Because I knew of a way to still be able to see the images and videos from these URLs. But now with this new method I have in place, there is now no way to get on any telegram URLs that are not in my allow list.

Last edited by Andy (2021-07-05 18:16:54)

Offline

#10 2021-07-06 09:35:10

sonicsid
Member
Registered: 2021-05-11
Posts: 43

Re: Would individual delays not be a good idea?

Thanks a lot Andy, this was very useful.

Maybe Jon should add this to https://manual.pluckeye.net/specific-websites.org.

Last edited by sonicsid (2021-07-06 09:37:11)

Offline

Board footer

Powered by FluxBB