Forum Discussion
Amy_Allen_570
Nimbostratus
Feb 14, 2007Problem with state status after toggle
Hello all,
I am having problem when I use togglePoolMember.pl to change status of member's state. For example, when I run togglePoolMember.pl, state status change to DISABLE from ENABLE. But...
Michael_Yates_1
Nimbostratus
Oct 12, 2006Aaron,
Thanks for your prompt reply.
This did indeed solve the problem.
After you mentioned it I was able to find a refernce in the "Configuration Guide for Local Traffic Management" document. Specifically Section 1 - Page 3
----
The OneConnectTM feature contains the following components:
◆ Content Switching
When an HTTP client sends multiple requests within a single connection, the LTM system is able to process each of those requests individually, sending those requests to different destination servers if necessary. This feature is enabled automatically and does not require configuration.
----
Again thanks for your help.
Michael
Hi dude, I maybe do it like the this:
when HTTP_REQUEST { If is not the logon page, nothing to do now and then You must change to your real logon page address if { [string tolower [HTTP::path]] ne "/adfs/ls/idpinitiatedsignon.aspx" } { event HTTP_RESPONSE disable return } event HTTP_RESPONSE enable Snag the Remote Client address set int [IP::client_addr] Insert MS Proxy info for ADFS to know we are external HTTP::header insert "X-MS-Proxy" "F5-LTM-PROD" Insert MS Proxy info for ADFS Logging HTTP::header insert X-MS-Forwarded-Client-IP $int if {[HTTP::method] eq "POST"}{ Trigger collection for up to 1MB of data if { [HTTP::header exists "Content-Length"] && [HTTP::header "Content-Length"] ne "" } { if { [HTTP::header "Content-Length"] <= 1048576 } { set content_length [HTTP::header "Content-Length"] } else { set content_length 1048576 } Check if $content_length is not set to 0 if { $content_length > 0 } { HTTP::collect $content_length } } } } when HTTP_REQUEST_DATA { Search for username=theName set USER [findstr [string tolower [HTTP::payload]] "username=" 9 "&"] } when HTTP_RESPONSE { if { [info exists USER] && [HTTP::header value Content-Type] contains "text/html" } { if { [HTTP::header exists "Content-Length"] && [HTTP::header "Content-Length"] <= 1048576 } { set content_length [HTTP::header "Content-Length"] } else { set content_length 1048576 } if { $content_length > 0 } { HTTP::collect $content_length } } } when HTTP_RESPONSE_DATA { if { [string match "*Incorrect*" [HTTP::payload]] } { log local0. "ADFS FAILED Login attempt for user $USER From Client $int" log local0. "ADFS FAILED Login attempt for user $USER From Client $int" log local0. "ADFS FAILED Login attempt for user $USER From Client $int" } }
Feel free to check the performance and comment the code.
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