Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 180067

Summary: Review Request: mod_cband - Bandwidth limiting for Apache vhosts
Product: [Fedora] Fedora Reporter: Michael Fleming <mfleming+rpm>
Component: Package ReviewAssignee: Aurelien Bompard <gauret>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Package Reviews List <fedora-package-review>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-19 07:41:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 163779    

Description Michael Fleming 2006-02-05 10:55:45 UTC
Spec Name or Url: http://www.enlartenment.com/extras/mod_cband.spec
SRPM Name or Url: http://www.enlartenment.com/extras/mod_cband-0.9.7.2-1.src.rpm
Description:

mod_cband is an Apache 2 module provided to solve the problem of limiting
virtualhosts bandwidth usage. When the configured virtualhost's transfer limit
is exceeded, mod_cband will redirect all further requests to a location
specified in the configuration file.

Comment 1 Michael Fleming 2006-03-05 09:06:11 UTC
Ping - anyone want to review this?

I'd have thought *someone* was interested in a vhost bandwidth management package. 
Any takers?

*sound of crickets*

:-)

Comment 2 Aurelien Bompard 2006-03-05 10:59:38 UTC
Needs work:
* Source mod-cband-0.9.7.2.tgz is different from upstream (wiki: QAChecklist item 2)
* I think you should install an example config file into
/etc/httpd/conf.d/mod-cband.conf (and keep the three examples in doc)


Comment 3 Michael Fleming 2006-03-07 12:43:29 UTC
Spec Name or Url: http://www.enlartenment.com/extras/mod_cband.spec
SRPM Name or Url: http://www.enlartenment.com/extras/mod_cband-0.9.7.2-2.src.rpm

Damnit, the upstream updated the tarball without incrementing the release. I
hate that. Inspected differences (mostly int -> unsigned int changes) and used
that in the above SRPM.

Example config file added (mostly comments, borrowed some simple examples from
the website) and installed in Apache's conf.d as mod_cband.conf (to keep parity
with the package name.)

Comment 4 Aurelien Bompard 2006-03-12 22:09:06 UTC
* /etc/httpd/conf.d/mod_cband.conf should be set as %config(noreplace)
* cband-status access should be limited to localhost. You can add this to the
conf file :
Order Deny,Allow
Deny from all
Allow from 127.0.0.1


Comment 5 Michael Fleming 2006-03-16 11:04:42 UTC
New SRPM: http://www.enlartenment.com/extras/mod_cband-0.9.7.2-3.src.rpm
(Spec in the same place)

Above suggestions implemented.

Comment 6 Aurelien Bompard 2006-03-16 13:23:25 UTC
Review for release 3:
* RPM name is OK
* Source mod-cband-0.9.7.2.tgz is the same as upstream
* This is the latest version
* Builds fine in mock
* File list looks OK
* Works fine
APPROVED