IPv6 firewalling with dynamic prefix

Hello,

how do I apply firewall rules to IPv6 traffic with dynamic prefix and SLAAC? Upon dial-in with PPPoE, the prefix changes so I cannot write the full address to the firewall rules.

For ipv6tables, there is already an undocumented solution:
http://blog.dupondje.be/?p=17

Thanks!
Christophe

I have created a script wich change the firewall rules whenever the prefix delegated changes:
https://bitbucket.org/mangelo/snippets/src/
Best regards.