Forum Discussion
hooleylist
Nov 11, 2009Cirrostratus
You can add the client or server IP addresses to a datagroup (class) of type 'address' and then use the matchclass command to evaluate the address against the class. The matchclass wiki page has examples:
http://devcentral.f5.com/wiki/default.aspx/iRules/matchclass
To log from an iRule you can use the log command:
http://devcentral.f5.com/wiki/default.aspx/iRules/log
To reject a connection, you can use reject:
http://devcentral.f5.com/wiki/default.aspx/iRules/reject
Aaron