Linux.com

Author Message
Joined: Oct 21, 2008
Posts: 2
Other Topics
Posted Oct 21, 2008 at 10:09:00 PM
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
Back to top Profile Email Website
Khabi
Joined Apr 21, 2008
Posts: 121

Other Topics
Posted: Oct 22, 2008 12:33:50 AM
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. :/
Back to top Profile Email Website
Viaken
Joined Oct 26, 2008
Posts: 1

Other Topics
Posted: Oct 26, 2008 2:42:15 PM
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.
Back to top Profile Email Website
Tableless layout Validate XHTML 1.0 Strict Validate CSS Powered by Xaraya