Hey Peter, This is easy to do. In your violations.conf (under /usr/local/pf) file look under each violation for a URL config line.
Here is an example of the disable that we use to disable a system with a re-enable button and without: [1206670] desc=Out of Date Campus (disable) priority=8 url=/content/index.php?template=underpatch_campus_perm disable=N auto_enable=N max_enable=1 actions=trap,email,log [1206669] desc=Out of Date Campus (warning) priority=8 url=/content/index.php?template=underpatch_campus disable=N auto_enable=Y max_enable=30 button_text=I agree to patch within 4 days actions=trap,email,log When Packetfence detects a system with this disable it will display the template that we specify in the URL line. The template is actually picked up from the directory /usr/local/pf/html/user/content/violations. You should be able to copy the files in there and edit the content to your liking. If you want to go totally wild you can just replace the URL line in that file with you want and send users there. Good luck!! -Josh -- Josh Ward <[email protected]> Network Security Engineer University of Oregon - Network and Telecommunication Services PGP Fingerprint: CFB6 62C0 370B AD6D BA33 6034 8FFB 4A49 297F 6A4C On 6/29/10 6:50 AM, Peter Bates wrote: > > Hello all... > > We're seeing an increasing number of 'Cease & Desist' notices > here, aimed at users who have downloaded something they shouldn't via > BitTorrent. > > We're not keen on banning BT (and other P2P) outright, even though > I know there are default matches for this within the standard PF > configuration. > > We'd like to create a custom violation type which presents a page > indicating the user has been blocked for distributing copyright materials > - but it would be convenient to include in this page a reference to the file > mentioned in the C&D. > > The violation table looks to include: > id|mac|computername|vid|start_date|release_date|status|notes > > Is there any way to add to the schema, or just use the 'notes' column > and then include it in a custom violation page? > > Hope this makes some sort of sense! > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Packetfence-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/packetfence-users
