20200309_jeffrey - silenceuncrio/diary GitHub Wiki
0910
這個禮拜的 review list
M300 - task
- [0%] P1 - Release V2.05 at 2020-03-20
M300 - issue
- [100%] 922: sometimes when browser issue cgi request, some cgi will response 401 even we already login
- [100%] M300; [100%] M330; [100%] M350-C(SDK6.11); [100%] M350-C(SDK10.0.0); [100%] M360P
- [0%] 0000947: user fail to remote ssh from lan host to remote lan host via GRE tunnel with correct static route
- 希望能在 V2.05 解掉
M300 - bug
- [30%] firmware upgrade 卡在 40%
- pc 網卡直連 M300 lan 端
- 檔案上傳慢到(1分鐘100KB)前端的 javascript 慢慢跑到 40% 在等著上傳檔案完成 - 一小時也等不到
- [100%] flush filter chain rule on nat table
- [100%] factory_and_reboot 頁面應該和 reboot 頁面行為一致
M300 - misc
- [100%] - better the reboot experience via web ui
M330 - task
- [0%] P1 - Release V1.01 at 2020-03-20
- [100%] need to tune for wifi bridge
- (1) Please add (Bridge) for WiFi bridge mode like LTe (Bridge only).
- (2) Please hide ipv4 address, ipv4 mask, default gateway for wifi bridge mode.
- [100%] 請將 Keep Alive 連動 ECMP compiler flag. 有 ECMP 有 Keep Alive. 沒有的 default disable keep alive.
- [0%] P3 - BGP status for every neighbors
- [70%] P4 - CTCU - Web UI: GPS Track drawing(Server)
- [0%] P4 - Airtel - BGP Attributers shall be supported
- 可以問 winston 試著跟他那邊的 bgp 進度同步一下
- [0%] P4 - Airtel - GUI Display LTE Signal strength indicator
- [0%] P4 - Airtel - Upon Failure of above comparision, ...
M330 - issue
- [100%] - 0000952: Wifi STA scan all ssid, but lost signal picture
- brand_advice 目錄漏了圖
M330 - bug
- [100%] 改了 status 頁面 th 的寬度 firmware upgrade 後 reboot - status page 會使用 cache 的舊 page
- status 整個都重構了 沒有 cache 的問題
- [100%] 切 WiFi only --> Bridge only from Web UI - console 顯示
sh: write error: Operation not permitted
- 不用改 WAN Priority, 要插 SIM 卡 直接 Apply 即可複製問題
- 利用 tail -f /home/log/lte.log 可發現該字串出現的點都是固定的
- 已發信給 ariel 作後續處理
- [100%] factory_and_reboot 頁面應該和 reboot 頁面行為一致
- [100%] flush filter chain rule on nat table
M350-C(SDK10.0.0) - task
- [30%] P1 - release v0.02 to DQA - 2020-03-16
- [100%] 請將 Keep Alive 連動 ECMP compiler flag. 有 ECMP 有 Keep Alive. 沒有的 default disable keep alive.
- [100%] P1 - 先用 PROSRC_VLAN_WAIT_JOHN 代替 PROSRC_VLAN
- 等 john 確定 PROSRC_VLAN 關掉沒有副作用時再改回來
- 已改回 PROSRC_VLAN
- [80%] P2 - check online manual
M350-C(SDK10.0.0) - bug
- [20%] web ui openvpn wizard 會讓 lighttpd process 被 kill 掉
- M330 不會
- M330 的 lighttpd 為 1.4.30
- M350 的 lighttpd 為 1.4.40
- [100%] factory_and_reboot 頁面應該和 reboot 頁面行為一致
- [100%] proxy arp 的 net 選項要跟 PROSRC_VLAN 連動
M350-C(SDK10.0.0) - misc
- [100%] 已有 LTE > GPS Track; 那是否把 banner 的 Google Map 拿掉
- 決議是保留 banner 上的 Google Map
- [100%] 呈現在同一個畫面的 table 最好每一個 td 都能一樣寬 例如 status
- 若一個畫面只有單獨一個 table 就不要把 bootstrap 的 grid 套到 第一個
<th>
或<td>
去了
- 若一個畫面只有單獨一個 table 就不要把 bootstrap 的 grid 套到 第一個
- [30%] 跨 repository 間 code 的 sync - 培養功力
- 起手式
git format-patch -k --stdout ${A_COMMIT_HASH}..${B_COMMIT_HASH} > xxx.patch git am -k -3 < xxx.patch
- git am 失敗的時候該怎麼辦? git apply --reject
- 起手式
M360P - task
- [0%] P1 - Release V1.07 at 2020-03-12
- [100%] P2 - Airtel - BGP status for every neighbors
M360P - issue
- [100%] - 0000908: sometimes first time modify LTE NET mode or APN on dual APN will apply fail
- [20%] - 0000936: some routes learned via bgp, then they disappear then appear again after a few seconds, and again and again...
M360P - bug
- [100%] flush filter chain rule on nat table
- [30%] - 0000908: sometimes first time modify LTE NET mode or APN on dual APN will apply fail - root cause 是 lighttpd 重啟了
- M360P 的 lighttpd 為 1.4.30
task
- [80%] P2 - 幫公司繳 apple 年費
- 雙重認證 搞定了 但登入後沒有出現 renew 帳號的按鈕
- 等收到電子發票再去請款
- [0%] P2 - 病假待補證明 - 碘 131 隔離期間
- [60%] Vmware jubuntu compile 環境
- [60%] M300
- Building the Docker image - build-m300 - 失敗
- 放棄
- load docker image from exported tar from jbox
- 成功
- 進 container 後 source proenv.sh fail
- Building the Docker image - build-m300 - 失敗
- [30%] M330
- load docker image from exported tar from jjbox
- 成功
- load docker image from exported tar from jjbox
- [100%] M350
- [100%] M350-C
- [100%] M360P
- [60%] M300
0915
M360P - task - [0%] P1 - Release V1.07 at 2020-03-11
禮拜三一早要 release
M360P - task - [0%] P2 - Airtel - BGP status for every neighbors
今天先試著完成這個 task
VMware 一樣是 jubuntu
使用 M360P(release/v1.07)
profile 是 M360P/2_PI
1445
winston 先前分享的 source code 連結
http://192.168.0.123/svn/VPN/trunks/Proscend
我無法存取
需要問一下 spring
1505
M360P - task - [0%] P1 - Release V1.07 at 2020-03-11
從 M350-C sync 一些 code 過來
commit b0a3e936a20d4d1f5591471bc4c704ee093d8cec
Refs: [release/v1.07], {origin/release/v1.07}
Author: jeffrey <[email protected]>
Date: Mon Mar 9 15:04:04 2020 +0800
do not show top banner and menu while rebooting
proscend/prosrc/www/app/app.controller.js | 5 +++++
proscend/prosrc/www/src/index.html.src | 8 +++++---
2 files changed, 10 insertions(+), 3 deletions(-)
commit 59f5dd9af8c99f014dce969a972c3bfa669aad7f
Author: jeffrey <[email protected]>
Date: Mon Mar 9 14:32:51 2020 +0800
after reboot, use '/' not '/index.html' for $window.location.href
proscend/prosrc/www/app/feature/reboot_to_index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 50078762ee3c9e7ced8e808bea4b631c905432ad
Author: jeffrey <[email protected]>
Date: Wed Feb 26 14:49:45 2020 +0800
no more proc_msg_cb needed at web module
- or the web.log will be full of the message from lighttpd
proscend/prosrc/icos/icoslib/web/webcfg.c | 1 -
1 file changed, 1 deletion(-)
commit e0cc06dc0c62015ba9ae80d93c7e3815f7822d40
Author: jeffrey <[email protected]>
Date: Tue Mar 3 16:17:32 2020 +0800
better the reboot experience via web ui
proscend/prosrc/www/app/app.controller.js | 19 +++++++++++++++----
proscend/prosrc/www/app/feature/reboot.js | 4 ++--
2 files changed, 17 insertions(+), 6 deletions(-)
commit bfa51b48166a5c830a648ec60cc345a90a896528
Author: jeffrey <[email protected]>
Date: Tue Mar 3 15:29:41 2020 +0800
after reboot, use '/' not '/index.html' for $window.location.href
proscend/prosrc/www/app/feature/reboot.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ff21c0c7527fe74739f9a1546dff5a65837d55f7
Author: jeffrey <[email protected]>
Date: Wed Feb 19 15:32:11 2020 +0800
web session bug
when
after login, session timeout not yet
what
sometimes multiple concurrent CGI requests will cause a issue
some cgi will get 401 return and then the browder will redirect to login page
why
401 return is cause by we found no match session id
how(workaround)
but if we sleep(1) and load_session_store then search again
we will find the match session id
proscend/prosrc/webcgi/jweb.c | 56 ++++++++++++++++++++++++++++++++++++++++---
1 file changed, 53 insertions(+), 3 deletions(-)
commit 5f9b61270cd2053b7ae49c22a5f03c8ffbfdc897
Author: jeffrey <[email protected]>
Date: Wed Feb 19 10:00:59 2020 +0800
output information base on different error
proscend/prosrc/webcgi/jweb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
1520
task - [60%] P2 - 幫公司繳 apple 年費
Apple Developer
- Apple ID - [email protected]
- Password - proscend2015Osmart
準備好下達訂單嗎
一切已準備就緒
再來等收到電子發票再去請款
1605
M350-C(SDK10.0.0) - misc - [0%] 已有 LTE > GPS Track; 那是否把 banner 的 Google Map 拿掉
剛剛和 ariel 問了一下
決議是保留 banner 上的 Google Map
結案
1650
1445
winston 先前分享的 source code 連結
http://192.168.0.123/svn/VPN/trunks/Proscend
spring 已經幫我開了帳號
- 帳號 jeffrey
- 密碼 70746615
我可以看到整個 http://192.168.0.123/svn/VPN
1700
充滿勇氣的 commit
M360P(release/v1.07) - update Font Awesome from version 4.6.3 to 5.12.1
commit a793192cbaa27397f91b88f3f6d39e4ebaa20be4
Refs: [release/v1.07], {origin/release/v1.07}
Author: jeffrey <[email protected]>
Date: Mon Mar 9 16:56:12 2020 +0800
update Font Awesome from version 4.6.3 to 5.12.1
some care should be taken
- fa-exchange to fa-exchange-alt
- fa-shield to fa-shield-alt
- fa-compress to fa-compress-alt
- fa-expand to fa-expand-alt
refactoring the css files in the www folder
proscend/prosrc/www/app/feature/basicRules.html | 2 +-
proscend/prosrc/www/app/feature/dmz.html | 2 +-
proscend/prosrc/www/app/feature/dnsDhcp6c.html | 2 +-
proscend/prosrc/www/app/feature/dualSim.html | 4 +-
proscend/prosrc/www/app/feature/dualSim_2apn.html | 4 +-
.../prosrc/www/app/feature/ipfilter_summary.html | 2 +-
proscend/prosrc/www/app/feature/ips.html | 2 +-
proscend/prosrc/www/app/feature/lanIpv4.html | 2 +-
proscend/prosrc/www/app/feature/lanIpv6.html | 2 +-
.../prosrc/www/app/feature/macfilter_summary.html | 2 +-
.../www/app/feature/portForwarding_summary.html | 2 +-
proscend/prosrc/www/app/feature/snat.html | 2 +-
.../prosrc/www/app/feature/urlfilter_summary.html | 2 +-
proscend/prosrc/www/app/feature/vlan.html | 2 +-
.../prosrc/www/app/feature/vlanSubnet_summary.html | 2 +-
proscend/prosrc/www/app/feature/wanEthernet.html | 2 +-
proscend/prosrc/www/app/feature/wanPriority.html | 2 +-
proscend/prosrc/www/brand_nobrand/brand/custom.css | 7 +
.../prosrc/www/brand_proscend/brand/custom.css | 7 +
.../www/libs/font-awesome/css/font-awesome.css | 2199 ---------
.../www/libs/font-awesome/fonts/FontAwesome.otf | Bin 124988 -> 0 bytes
.../font-awesome/fonts/fontawesome-webfont.eot | Bin 76518 -> 0 bytes
.../font-awesome/fonts/fontawesome-webfont.svg | 685 ---
.../font-awesome/fonts/fontawesome-webfont.ttf | Bin 152796 -> 0 bytes
.../font-awesome/fonts/fontawesome-webfont.woff | Bin 90412 -> 0 bytes
.../font-awesome/fonts/fontawesome-webfont.woff2 | Bin 71896 -> 0 bytes
.../libs/fontawesome-free-5.12.1-web/LICENSE.txt | 34 +
.../libs/fontawesome-free-5.12.1-web/css/all.css | 4463 +++++++++++++++++++
.../webfonts/fa-brands-400.eot | Bin 0 -> 133034 bytes
.../webfonts/fa-brands-400.svg | 3570 +++++++++++++++
.../webfonts/fa-brands-400.ttf | Bin 0 -> 132728 bytes
.../webfonts/fa-brands-400.woff | Bin 0 -> 89824 bytes
.../webfonts/fa-brands-400.woff2 | Bin 0 -> 76548 bytes
.../webfonts/fa-solid-900.eot | Bin 0 -> 194078 bytes
.../webfonts/fa-solid-900.svg | 4700 ++++++++++++++++++++
.../webfonts/fa-solid-900.ttf | Bin 0 -> 193792 bytes
.../webfonts/fa-solid-900.woff | Bin 0 -> 99004 bytes
.../webfonts/fa-solid-900.woff2 | Bin 0 -> 76120 bytes
proscend/prosrc/www/manual/css/fontawesome.css | 3983 -----------------
proscend/prosrc/www/manual/css/solid.css | 15 -
proscend/prosrc/www/src/index.html.src | 11 +-
proscend/prosrc/www/src/manual.html.src | 3 +-
proscend/prosrc/www/src/menu.html.src | 6 +-
43 files changed, 12805 insertions(+), 6916 deletions(-)
其實就是 勤勞 加 耐著性子
1725
M360P - task - [0%] P2 - Airtel - BGP status for every neighbors
花點時間 trace 一下 winston 分享的成果