Forum Discussion
kamiel_48996
Nimbostratus
Nov 11, 2009limit the possibility of doing POST's
I want to limit the possibility of doing http POSTs to a set of know machines. All public machines must be able to do get's on the same HTTP server.
irules are new to me so some help wi...
hoolio
Cirrostratus
Nov 11, 2009You 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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
