WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.91k stars 972 forks source link

How to ban people #1014

Closed proevilz closed 5 years ago

proevilz commented 6 years ago

How do you effectively ban people on this platform?

The ban only seems to work when the banned user next re-authenticates. It does not destroy the banned user session immediately...

If someone is live streaming and getting abuse in chat, what are they supposed to do about it?

DanielnetoDotCom commented 6 years ago

I see, your needs.

Sorry, we don't have that feature yet, but will be good to be implemented in the future.

proevilz commented 6 years ago

So there is no way to remove abusive people?

DanielnetoDotCom commented 6 years ago

you can inactivate them and only allow authenticated users to use the chat

proevilz commented 6 years ago

But does the chat check for authentication on each message or does it suffer the same problem?

DanielnetoDotCom commented 6 years ago

I guess it check on every message, each message is linked with the user, but inactivated users will be blocked only on the next login attempt

proevilz commented 6 years ago

Then the block feature is basically useless.... There is currently no way to remove abusive people from the platform until the log out. How long does the php user session last for?

proevilz commented 6 years ago

If people start streaming illegal content or hate speech or porn, there is no way to deal with it. I know this project is free but how isn't this a basic feature that was implemented on its creation?

DanielnetoDotCom commented 6 years ago

session timeout depends on your server configuration.

If you want to band an abusive Livestream you will need to inactivate the user and restart nginx

proevilz commented 6 years ago

So we have to take down the entire stream platform just to remove one user and the same thing just to remove one user from the chat alone

DanielnetoDotCom commented 6 years ago

For now yes

DanielnetoDotCom commented 6 years ago

FYI, right after restart all users will be reconnected

proevilz commented 6 years ago

I just tested it, restarting nginx doesn't make a difference. Users that are banned can still chat because nginx does not destroy sessions

proevilz commented 6 years ago

so it seems not only do you have to take down nginx, but you have to take the entire site offline by restarting apache. This is terrible..

proevilz commented 6 years ago

In fact, i just restarted apache and that didn't work either lol

DanielnetoDotCom commented 6 years ago

I just sent an update, the nginx restart should work now (I Guess)

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tgibson1 commented 4 years ago

Is the chat plugin open source? Table LiveChat, could be adapted to include an ip address column which is recorded whenever a user posts a comment. This information could be used to effectively ban a user from the server by adding a new iptables rule.

Enter the following rule to block an IP address from accessing your server iptables -A INPUT -s "IP-ADDRESS of the abusive commentor" -j DROP

DanielnetoDotCom commented 4 years ago

Hi

you can use the Chat2 plugin with the User_Controll plugin, this will allow you to ban users and IPs