The difference between Pegasus 2.0 and 2.1 is small. Therefore I will explain only the difference.
Look http://plan9.aichi-u.ac.jp/pegasus/eman-2.0/ for Pegasus 2.0.
/sys/lib/httpd.confby changing the variable "lockouttime" .
The bellow is a part of the file:
... # maxconnect 30 # max connections by a single remote IP # obstime 3 # observation time to detect burst access (in unit of sec) # maxaccess 20 # allowed max access in obstime # lockouttime 180 # lockouttime for maxconnect and maxaccess (in unit of ...
Those IPs of excessive access are logged as they has been.
.mp3 audio mpeg - y # Kenar .mp4 video mp4 - y # Kenarwhere "
# Kenar
" is my comment. You don't need to add them.
According to my experiments, they can work well in my home LAN.
However downloading from my University to my home had a problem, that is, data paused sometimes.
Beware your computer might be in overload if you allow much access to MP3 or MP4 data.