Bug-227: "authorization" header is not supported by SLB "Header" policy |AS-8101|
Review Request #228 — Created April 19, 2024 and updated
| Information | |
|---|---|
| rvempati | |
| APV10 | |
| rel_apv_10_7 | |
| https://bugzilla.arraynetworks.net/show_bug.cgi?id=227 | |
| Reviewers | |
| kdutta, pradeep, prajesh | |
"authorization" header is not supported by SLB "Header" policy |AS-8101|
login as: array
array@192.168.162.169's password:
ArrayOS Beta.APV.10.7.2.2 - untagged unofficial build by uid=0(root) gid=0(root) groups=0(root) on devrohit: on Mon Jul 29 13:49:52 2024
Copyright (c) 2000-2024 Array Networks Inc. All rights reserved.Type "?" for available commands
!!Reminder!! Please log on to the WebUI to register this system.
APV-2>en
Enable password:APV-2#c t
APV-2(config)#
APV-2(config)#show versionArrayOS Beta.APV.10.7.2.2 - untagged unofficial build by uid=0(root) gid=0(root) groups=0(root) on devrohit: on Mon Jul 29 13:49:52 2024
Host name : APV-2 System CPU : Intel(R) Xeon(R) CPU System RAM : 3879500 kbytes.System boot time : Mon Jul 29 18:38:50 GMT (+0000) 2024
Current time : Mon Jul 29 18:40:50 GMT (+0000) 2024
System up time : 2 mins, 30 secs
Platform Bld Date : Mon Jul 29 18:38:10 GMT 2024
SSL HW : No HW Available
Compression HW : No HW Available
Network Interface : 4 x 10Gigabit Ethernet fiber
Model : Array vAPV
Serial Number : 242D68BFB1C3800005012644705634
Licensed Limits : vCPUs(x2), NICs(x8), RAM(16 GB), Bandwidth(1024 Mbps)
Licensed Features : WebWall Clustering L4SLB L7SLB Caching
SSL tProxy SwCompression LLB GSLB QoS
MultiLang DynRoute IPv6
License Key : aaefb5c9-56238f64-4051c9c8-b79e1c50-ad706abd-177ffe00-0455d8ab-20240312-99999999Array Networks Customer Support
Telephone : 1-877-992-7729 (1-877-99-ARRAY)
Email : support@arraynetworks.com
Update : please contact support for instructions
Website : http://www.arraynetworks.comOther Root Version
Rel.APV.10.7.0.15 build on Tue Mar 19 07:19:11 2024APV-2(config)#
APV-2(config)#slb policy header "test2" "Naveen_http_75_43" "test_http_grp" "a$APV-2(config)#
| Description | From | Last Updated |
|---|---|---|
|
is this all the changes needed? this will only allow the configuration to go through. what about slb policy when … |
|
|
|
Please add ut as discussed use curl to generate header request. |
|
|
|
"cache-control" is not removed. I checked the code as well, the below block of code available in the rel_apv_10_7 branch: … |
|
|
|
why did we remove cache-control ? is this intentional? |
|
-
I dont think we should commit to 10.4.x branch. Ask Tanya whether you should commit it to 10.7.1 branch.
-
-
branches/rel_apv_10_4_3/usr/src/sys/click/app/slb/slb_kern.h (Diff revision 1) Please add ut as discussed use curl to generate header request.
Testing Done: |
|
|---|
Change Summary:
"authorization" header is not supported by SLB "Header" policy, Changes are made on rel_apv_10_7 branch as well
Diff: |
Revision 2 (+1 -2) |
|---|
-
-
branches/rel_apv_10_7/usr/src/sys/click/app/slb/slb_kern.h (Diff revision 2) why did we remove cache-control ? is this intentional?
-
-
branches/rel_apv_10_7/usr/src/sys/click/app/slb/slb_kern.h (Diff revision 2) "cache-control" is not removed.
I checked the code as well, the below block of code available in the rel_apv_10_7 branch:
static __inline uint8_t
slb_header_not_supported(char *name)
{if (!strcmp(name, "cache-control") || !strcmp(name, "connection") || !strcmp(name, "cookie") || !strcmp(name, "date") ||Thanks,
Rohith
Change Summary:
Checked the "authorization"header_policy acceptance and did the ut.
Diff: |
Revision 3 (+1 -2) |
|---|
Testing Done: |
|
|---|
