{"id":18513007,"url":"https://github.com/vmware/nsx-alb-datascript-samples-library","last_synced_at":"2025-04-09T06:32:33.431Z","repository":{"id":37455296,"uuid":"94921760","full_name":"vmware/nsx-alb-datascript-samples-library","owner":"vmware","description":"DataScript Examples Library","archived":false,"fork":false,"pushed_at":"2022-12-12T18:25:33.000Z","size":179,"stargazers_count":46,"open_issues_count":2,"forks_count":22,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-24T00:08:08.368Z","etag":null,"topics":["adc","avi","avinetworks","content-switcher","cookie","datascript","header-insertion","http","http-redirect","http-switching","https","load-balancer","lua","persistence","uri-manipulations","vantage"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security/add_pool_server_ip.md","support":null}},"created_at":"2017-06-20T18:14:56.000Z","updated_at":"2025-02-10T09:45:42.000Z","dependencies_parsed_at":"2023-01-27T23:31:09.368Z","dependency_job_id":null,"html_url":"https://github.com/vmware/nsx-alb-datascript-samples-library","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fnsx-alb-datascript-samples-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fnsx-alb-datascript-samples-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fnsx-alb-datascript-samples-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fnsx-alb-datascript-samples-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware","download_url":"https://codeload.github.com/vmware/nsx-alb-datascript-samples-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247992681,"owners_count":21029939,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adc","avi","avinetworks","content-switcher","cookie","datascript","header-insertion","http","http-redirect","http-switching","https","load-balancer","lua","persistence","uri-manipulations","vantage"],"created_at":"2024-11-06T15:36:10.344Z","updated_at":"2025-04-09T06:32:28.421Z","avatar_url":"https://github.com/vmware.png","language":"Lua","readme":"# DataScript Examples\n\n## Content Switching\n[HTTP Host Switching](content_switching/host_switching.md)  \n[HTTP Host Switching using Host Header](content_switching/host_switching2.md)  \n[HTTP Host Switching using Host Header and String Groups](content_switching/host_switching3.md)  \n[HTTP URI Switching - Simple](content_switching/uri_switching.md)  \n[HTTP URI Switching - Advanced](content_switching/uri_switching2.md)  \n[HTTP IP Switching](content_switching/ip_switching.md)  \n[HTTP Content Switch based on HTTP POST / REQUEST DATA](content_switching/content_switch_based_on_http_request_data.md)  \n[HTTP URI Switching using String Groups - Advanced](content_switching/uri_switching3.md)  \n\n## L4 Traffic Management\n[Radius-DHCP-HTTPS](l4/Radius-DHCP-HTTPS.lua)\n[SNI Based Content Switching L4 SSL Offload](l4/sni_based_content_switching_l4_ssl_offload.md)    \n[SNI Based Content Switching L4 Passthrough](l4/sni_based_content_switching_l4_passthrough.md)\n## Availability\n\n[HTTP Retry 500 Errors](availability/http_retry_500_error.md)  \n[Fall back to secondary pool or custom maintenance page](availability/fall_back_to_secondary_pool_if_primary_pool_is_down_display_maint_page.md)  \n[Load Balancing during Maintenance Window](availability/load_balancing_during_maintenance.md)  \n[HTTP redirect based on Client location taken from source IP address](availability/http_redirect_based_on_client_country.md)  \n[GEO Location database lookup based on source IP](availability/client_geo_headers.md)  \n[Rewrite\tHTTP\tredirect\tresponse\tfrom\t301\tto\t302](availability/rewrite_http_redirect_response_from_301_302.md)  \n[Ratio\tbased\tLoad\tBalancing](availability/ratio_based_load_balancing.md)  \n[Location header rewrite with non-standard port](availability/location_header_rewrite_with_nonstandard_port.md)  \n[Prepend request path](availability/path_prepend.md)  \n[Append string(www) and redirect to http(s) host](availability/append_www_to_http_https_host.md)  \n[Custom connection timeout for specific URI path or pool](availability/timeouts.md)    \n[Rewrite single HTTP query option from the existing set of query options - Advanced](availability/overwrite_http_query1.md)  \n[URI Encoding Function](availability/uri_encode.md)  \n[Managing Proxy Auto-Configuration (PAC) file](availability/proxy_pac.md)   \n[TLS Version Check with HTML Page Response](availability/tls_version_1.2_with_html_response.md)   \n\n## Persistence\n\n[Header Persistence](persistence/custom_header_persistence.md)  \n[JSessionID Persistence](persistence/jsessionid_persistence.md)  \n[Site Persistence using Cookie - Solution A](persistence/site_persistence.md)  \n[Site Persistence using Cookie - Solution B](persistence/site_persistence2.md)  \n[Site Persistence using Cookie - Solution C](persistence/site_persistence5.md)  \n[Site Persistence Leveraging Server Persistence Cookie for Two Sites Scenario](persistence/site_persistence3.md)  \n[Persistence using URI with options for timeout](persistence/uri_persistence.md)  \n[Load Balance/Persist using Custom Consistent Hash](persistence/custom_persistence_using_custom_consistent_hash.md)  \n\n## Security\n[HTTP to HTTPS Port Redirect](security/http_to_https_redirect.md)  \n[Client Cert check](security/client_cert_check.md)  \n[Block SSLv3.0, TLSv1.0 or cipher suites that don't provide encryption](security/log_ssl_version.md)  \n[Blacklist Specific URIs using String Group](security/blacklist_specific_uris_using_stringgroup.md)  \n[Disable HTTP\tProcessing\tFor\tSelective HTTP\tMethods](security/disable_http_processing_for_selective_http_methods.md)  \n[Mitigate\tMicrosoft\tvulnerability\tMS15-034 and CVE-2015-1635](security/mitigate_microsoft_vulnerability_ms15-034.md)  \n[Computing HMAC](security/computing_hmac.md)  \n[Controlling Bots](security/controlling_bots.md)  \n[Cross\tOrigin\tResource\tSharing\tImplementation](security/cors.md)  \n[Parse and Log Username from HTTP requests](security/parse_and_log_username_from_http_req.md)  \n[Retrieve SAML Attribute from session cookie and expose it as Header and as Avi Logging attribute](security/saml_attrs.md)  \n[Client SSL Certificate Validation with Header Insertion](security/irule_Client_Auth.md)  \n[Generate Custom Session ID based on time, ip address and GET request id hash value](security/generate_session_id.md)  \n[Add SameSite attribute to Cookies that do not have it](security/add_samesite_cookie.md)  \n[Check For text4shell Attacks (CVE-2022-42889)](security/check_for_text4shell_attacks.md)   \n[Check For log4j Attacks (CVE-2021-44228)](security/check_for_log4j_attacks.md)  \n[TLS version and IP address group check](security/tls_version_ip_group.md)  \n\n### Security - Cookie\n[Validate String Characters in Cookie / Cookie Sanitizer](security/validate_string_characters_in_cookie.md)  \n[Cookie Encryption Gateway](security/cookie_encryption_gateway.md)  \n[Cookie Rewrite / Cookie Sanitizer](security/cookie_rewrite.md)   \n[Update Cookie Domain](security/update_cookie_domain.md)  \n[Client Auth using cookies](security/client_auth_using_cookies.md)\n\n### Security - Header\n[X-Forwarded-For Header Insert](security/x_forwarded_for_header_insert.md)  \n[X-Client-IP allow requests from range of IPs](security/x_client_allow_request_from_range_of_ips.md)  \n[Header Insertion for Content Security](security/header_insertion_for_content_security.md)  \n[Remove X-* and Server Headers from Response](security/remove_x_headers_from_http_resp.md)  \n[Close Connections without Host header](security/close_connection_without_host.md)  \n[Redirect\tLocation\theader\tvalidator](security/redirect_location_header_validator.md)  \n[Let's Encrypt Server chanllange response](security/let's_Encrypt_Response.md)  \n[True Client IP on Header](security/true_client_ip.md)  \n[Add Pool Server IP Header](security/add_pool_server_ip.md)   \n[True Client IP replace X-Forwarded-For (XFF)](security/true_client_IP_replacement.md)   \n\n## Acceleration\n[Client Cache Control Behavior](acceleration/client_cache_control_behavior.md)  \n\n## Rate Limiting\n[Setting up Rate Limiter to use in DataScript](rate_limit/set_up_DS_rate_limiter.md)  \n[Add Custom Headers to Local Response](rate_limit/add_headers_to_local_response.md)  \n[Enforce a Penalty Timeout for Blacklisted Clients](rate_limit/rate_limit_penalty_box.md)  \n[HTTP Header Rate Limiter](rate_limit/rate_limit_http_method.md)  \n\n## Troubleshooting\n[Log SSL Version](security/log_ssl_version.md)  \n[Log HTTP Headers](security/log_http_headers.md)  \n\n## Misc\n[Pseudo-random hex\tcharacter\tgenerator](security/pseudo_random_hex_generator.md)  \n[Random Letter generator](security/random_letter_generator.md)  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fnsx-alb-datascript-samples-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware%2Fnsx-alb-datascript-samples-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fnsx-alb-datascript-samples-library/lists"}