f5
131 TopicsHow to activate F5 VE License Key?
I have two F5 VE VM running BIG-IP 11.3.0 Build 39.0 VE Trial 11.3.0-HF1 (based on BIGIP 11.3.0HF6. I decided to buy license now and I bought two license key from cdw in $95. Now how do i put new registration key in F5? In GUI i can't see anywhere i can put new key? In License tab i can se re-activate but it is not allowing to put new Key. I check this document https://support.f5.com/kb/en-us/solutions/public/2000/500/sol2595.html But it is very confusing, what i need to do in order to activate key?Solved2.4KViews0likes24CommentsNeed help with URL re-write without a redirect
I have virtual server on F5 with an iRule and want to add a condition for a new re-write. I have to re-write complete URL without redirecting or changing the URL in client's browser. Tested the below but client browsers keeps getting a reset. Below is my existing iRule and the syntax i have tried for re-write. Also attached few logs which show that traffic is matching the condition and re-writing the URL but fails. Browser URL: "abc.domain.com/uri/path" Backend URL: "abc4.domain4.com/file.html" when HTTP_REQUEST { set doStream 0 switch [HTTP::host] { "abc.domain.com" { if {[HTTP::path] contains "/abc/abc" && [HTTP::query] contains "location="} { HTTP::respond 301 "Location" "https://[HTTP::host]/abc/[string tolower [findstr [HTTP::query] "location=" 9]]" pool xyz_pool } elseif {[string tolower [HTTP::host]] starts_with "abc.domain.com" && [HTTP::path] eq "/uri/path"} { HTTP::header replace Host "abc4.domain4.com" HTTP::uri "/file.html" set doStream 4 log local0. "[HTTP::host][HTTP::uri] Changed rewrite" pool test-pool } elseif {[class match [HTTP::path] equals "url_redirect_list"]} { set newURL [class match -value -- [HTTP::uri] equals "url_redirect_list"] log local0. "NEW Redirect URI is [HTTP::uri]" HTTP::respond 301 "Location" $newURL } elseif {[class match [HTTP::path] equals "url_explicit_list"]} { log local0. "[HTTP::path]: Explicit URL path goes to [LB::server] with cookie value [HTTP::cookie value "cookie"]" HTTP::header replace Host "abc1.domain.com" set doStream 1 log local0. "[IP::client_addr]:[TCP::client_port]: [LB::server] Request with persistence cookie [HTTP::cookie value "cookie"] to [HTTP::uri]" pool explicit_pool } elseif {[class match [HTTP::path] starts_with "url_wildcard_list"]} { log local0. "[HTTP::path]: Wildcard URL path goes to [LB::server]" HTTP::header replace Host "abc1.domain.com" set doStream 1 #log local0. "[HTTP::path]: Wildcard URL path goes to [LB::server]" } elseif { [string tolower [HTTP::uri]] ne "/autodiscover" } { log local0. "[IP::client_addr]:[TCP::client_port]: [LB::server] Request with persistence cookie [HTTP::cookie value "cookie"] to [HTTP::uri]" pool backend_pool persist cookie insert "cookie" } else { drop } } } } when HTTP_RESPONSE { switch $doStream { 0 { return } 1 { STREAM::expression {@http://abc1.domain.com@https://abc.domain.com@} STREAM::enable } 4 { STREAM::expression {@https://abc4.domain4.com/file.html@https://abc.domain.com/uri/path@} STREAM::enable } } } /var/log/ltm.1:Apr 14 13:44:55 info tmm1[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite /var/log/ltm.1:Apr 14 13:44:55 info tmm[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite /var/log/ltm.1:Apr 14 13:45:04 info tmm[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite /var/log/ltm.1:Apr 14 13:45:05 info tmm1[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite /var/log/ltm.1:Apr 14 13:45:05 info tmm[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite /var/log/ltm.1:Apr 14 13:50:05 info tmm[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite /var/log/ltm.1:Apr 14 14:00:06 info tmm[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite /var/log/ltm.1:Apr 14 15:42:37 info tmm1[17567]: Rule /Common/POOL_SELECTION_IRULE <HTTP_REQUEST>: abc4.domain4.com/file.html Changed rewrite Any help is appreciated. ThanksSolved2.4KViews0likes6CommentsWhere to buy F5 VE lab license?
I am looking to buy F5 VE Lab license but i didn't find any link to buy online? All i see is trial version. F5 doesn't sale key online on their website? Do i need to contact F5 support to buy license? I saw third party website selling Key but i don't trust on them..2KViews0likes13CommentsF5 loadbalancer and session timeout in ASP application
Hello, I have a problem with F5 loadbalancer and session timeout in ASP application. We have F5 in out company for few days Since then, there is a problem with session timeout. ASP app has 30min timeout set but keeps logging of already after few minutes. This phenomenon didn't occur with Windows loadbalancer.2KViews0likes15CommentsRemoving Cookies from Client: Nothing seems to work....
I cannot get any of the cookie commands to remove cookies from the client. I want to have the F5 tell the client to remove cookies if they hit a certain URI. Here is what I have tried so far. None of it worked. I am not seeing any cookie response headers coming back First try.... when HTTP_REQUEST { set cookies [HTTP::cookie names] some other stuff blah blah blah if {[HTTP::path] matches "/delete-my-cookies"} { set deletecookies 1 return } } when HTTP_RESPONSE { if { deletecookies == 1 } { foreach cookie $cookies { HTTP::cookie remove $cookie } HTTP::respond 200 content "OK!" } } Second try.... when HTTP_REQUEST { set cookies [HTTP::cookie names] some other stuff blah blah blah if {[HTTP::path] matches "/delete-my-cookies"} { set deletecookies 1 return } } when HTTP_RESPONSE { HTTP::cookie remove "cookie1" HTTP::cookie remove "cookie2" etc, etc HTTP::respond 200 content "OK!" } Third Try.... when HTTP_REQUEST { set cookies [HTTP::cookie names] some other stuff blah blah blah if {[HTTP::path] matches "/delete-my-cookies"} { set deletecookies 1 return } } when HTTP_RESPONSE { HTTP::cookie insert name "cookie1" value "test_value" domain ".slce006.com" HTTP::cookie expires "cookie1" 1 absolute HTTP::cookie insert name "cookie2" value "test_value" domain ".slce006.com" HTTP::cookie expires "cookie1" 2 absolute HTTP::respond 200 content "OK!" } Any ideas? Basically I want the client to scrub all session cookies it has when it hits this URL so the client browser expires all cookies. On BigIP Version 11.61.9KViews0likes1CommentNeed iRule to block the traffic for specific URL
Hello Can somebody help on this please? I have LTM appliance &Virtual server 'https://www100.test.com' hosted. The requirement I have is to block all the traffic destinated to one of the application 'https://www100.test.com/ce' - is this something achievable by iRule If so do you have any idea on the iRule? Would appreciate somebody can help. Have seen this - https://support.f5.com/csp/article/K74012450 but that is looking too complex to me. Thanks1.8KViews0likes6CommentsBackup F5 BigIP using RestAPI and PowerShell (again?)
Hello! I went through the Forum and I saw a lot of related messages but none of them actually answered my question. The documentation [I found] leaves to be desired and I hope that the community is able to help me. I am looking for a simple "backup everything and store as a file" solution and it looks like it is much more than just 2-3 RestAPI calls. So, I am able to connect and get a token. Now, I am googling the "Create Backup" command and nothing works. Could you please point me to the exact link that will create a new backup? I also think that it could be a "story" to download the backup, so I will be happy to get any advice on that also. Thanks.Solved1.8KViews0likes6CommentsAPM sends local favicon.ico to client instead of fetching it from the backend
This behaviorseems to be since 16.1.2 and 16.1.3 version upgrade. The APM is sending the local version of favicon.ico to the client and not the version of the backend after the session has established. The used access profile is in LTM+APM mode. It seems to be a bug like this here: Bug ID 617675: SWG sends local favicon.ico to client instead of fetching it from the backend server We already tried the provided irule as a workaround but it doesnt work (redirect to somefavicon.ico etc.) Has someone experienced the same problem? Many thanks, Peter1.8KViews0likes6Comments