[Rtir] Changing Blocks state on correspond

James Mcloughlin james.mcloughlin at ja.net
Thu Jan 24 11:00:42 EST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 24/01/13 15:30, Ruslan Zakirov wrote:
> On Thu, Jan 24, 2013 at 6:46 PM, Tony Arnold 
> <tony.arnold at manchester.ac.uk> wrote:
>> On much older versions of RTIR the state of blocks would get
>> updated based on correspondence. Thus I would create a block,
>> this would notify the firewall team and set the state to Pending
>> Activation. When the firewall team reply, the state would get set
>> to Activated. Similarly for block removal.
>> 
>> This doesn't seem to happen any more. How can I write a scrip
>> that will do this?
> 
> This should still work. There is an option in RTIR config to
> control this functionality with regexp. Which version do you test?
> 

Here is the part of the config that you are looking for I think:

# When requestor replies on the block in pending state RTIR
# changes state, you can set regular expresion so state would
# be changed only when it matches
Set($RTIR_BlockAproveActionRegexp, undef);

eg:

Set($RTIR_BlockAproveActionRegexp, firewallteam at noc.isp.com);

It is not clear if this changes the block state:
a) sending an email to place a block
b) sending an email to remove a block
c) both.

- -- 
Jamie Mcloughlin	+44 1235 822 383	PGP: FF7746C1
JANET CSIRT	0870 850 2340		(+44 1235 822 340)
Lumen House, Library Avenue, Didcot, Oxfordshire, OX11 0SG
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlEBWqoACgkQk+nTdv93RsF3zgCeJgN9zEhj+bANr1YgvmLw8l5w
QS0An1gU6h3FyeTPJQSzT1I9FsHmSG6C
=3B57
-----END PGP SIGNATURE-----


More information about the Rtir mailing list