Restricting torrents and logging large file creation
|
Author |
Message |
|
|
Posted : Tue, 21 October 2008 22:09:00
Subject :
Restricting torrents and logging large file creation
Hi,
I am running a centos based shared server. I am looking for a way to restrict all the bit torrent download on my server so that any of the user cannot download torrents . Although they do not root access but they do have access to Cpanel . So they can use things like torrentflux. I want to stop this.
Second thing is I want to log all the file creations on the servers which is larger than 1GB. Is there any way using which an email is sent as soon as someone creates a file larger than 1GB
Thanks in advance
|
|
|
|
Khabi
|
Posted : Wed, 22 October 2008 00:33:50
Subject :
Restricting torrents and logging large file creation
As far as the 1GB file goes, you could try using this from the front page recently:
http://www.linux.com/feature/150200
Setup fsniper to watch the user home directories, and write a small script for it to execute that checks the filesize and emails you if its too big.
I have no idea on cpanel as I've never used it. So I'm not going to be much help there. I guess you could just uninstall torrentflux. If they don't have root they can't install a new app, doesn't keep them from running binarys out of their home directory tho. :/
|
|
Viaken
|
Posted : Sun, 26 October 2008 14:42:15
Subject :
Restricting torrents and logging large file creation
Blocking access to known trackers can help, but L7 Filter does the best job of blocking Bittorrent that I know of. http://l7-filter.sourceforge.net
Hopefully it'll fit what you need.
|