negan07 / ancistrus

Netgear's D7000 Nighthawk Router Experience Distributed Project
https://negan07.github.io/ancistrus/
GNU General Public License v2.0
66 stars 17 forks source link

New firmware upgrade .44 to .48 #3

Closed negan07 closed 7 years ago

negan07 commented 7 years ago

Differences between .44 .48 firmware:

diff -urN /home/ubuntu/Desktop/D7000_V1.0.1.44_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c /home/ubuntu/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c --- /home/ubuntu/Desktop/D7000_V1.0.1.44_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c 2016-10-11 17:56:20.000000000 +0200 +++ /home/ubuntu/Desktop/D7000_V1.0.1.48_WW_src/Source/apps/mini_httpd-1.17beta1/mini_httpd.c 2017-03-27 17:13:40.000000000 +0200 @@ -1455,10 +1455,12 @@ } } / For these .gif or .css of .js or .xml or .jpg file, it will be used by other .htm file, and it's no need to request auth for these files. / -if( (strstr(path,".gif")!=NULL) || (strstr(path,".css") !=NULL) || (strstr(path,".js") != NULL) +if( ((strstr(path,".gif")!=NULL) || (strstr(path,".css") !=NULL) || (strstr(path,".js") != NULL) || (strstr(path,".xml") != NULL) -|| (strstr(path,".jpg") != NULL) -) +|| (strstr(path,".jpg") != NULL)) +//avoid a url like "xxx.htm/xxxx.js, this can skip auth" +&& ((strstr(path, ".htm") == NULL) && (strstr(path, ".html") == NULL) && (strstr(path, ".asp") == NULL)) +) return 1; return 0;

negan07 commented 7 years ago

at a further investigation, target FS differences result as follows:

diff -urN /home/ubuntu/Desktop/D7000_V1.0.1.44_WW_src/Source/target/usr/etc/svn.info /home/ubuntu/Desktop/D7000_V1.0.1.48_WW_src/Source/target/usr/etc/svn.info --- /home/ubuntu/Desktop/D7000_V1.0.1.44_WW_src/Source/target/usr/etc/svn.info 2016-10-13 17:54:24.000000000 +0200 +++ /home/ubuntu/Desktop/D7000_V1.0.1.48_WW_src/Source/target/usr/etc/svn.info 2017-03-27 19:03:46.000000000 +0200 @@ -1,15 +1,15 @@ Path: . -URL: http://172.21.67.236/svn/D7000/trunk/Source -Repository Root: http://172.21.67.236/svn/D7000 +URL: http://172.21.67.238/svn/D7000/trunk/Source +Repository Root: http://172.21.67.238/svn/D7000 Repository UUID: def84743-e9b1-4f16-a407-ed5fff1ea7ce -Revision: 791 +Revision: 792 Node Kind: directory Schedule: normal Last Changed Author: macdovell_rong -Last Changed Rev: 791 -Last Changed Date: 2016-09-29 22:25:49 +0800 (Thu, 29 Sep 2016) +Last Changed Rev: 792 +Last Changed Date: 2016-10-14 05:47:18 +0800 (Fri, 14 Oct 2016)

-VERSION: V1.0.1.44_1.0.1 -Build from: localhost.localdomain /home/macdovell/D7000/trunk/Source by macdovell -DATE: Thu Oct 13 23:54:24 CST 2016 +VERSION: V1.0.1.48_1.0.1 +Build from: localhost.localdomain /home/macdovell/release/D7000/1.0.1.48/trunk/Source by macdovell +DATE: Tue Mar 28 01:03:46 CST 2017 BOARD_ID: D7000

diff -urN /home/ubuntu/Desktop/D7000_V1.0.1.44_WW_src/Source/target/usr/etc/version /home/ubuntu/Desktop/D7000_V1.0.1.48_WW_src/Source/target/usr/etc/version --- /home/ubuntu/Desktop/D7000_V1.0.1.44_WW_src/Source/target/usr/etc/version 2016-10-13 17:54:24.000000000 +0200 +++ /home/ubuntu/Desktop/D7000_V1.0.1.48_WW_src/Source/target/usr/etc/version 2017-03-27 19:03:47.000000000 +0200 @@ -1 +1 @@ -A1.0.1.44_1.0.1 +A1.0.1.48_1.0.1

and few small fixes on some www pages

negan07 commented 7 years ago

1.01.44 -Last Changed Rev: 791 -Last Changed Date: 2016-09-29 22:25:49 +0800 (Thu, 29 Sep 2016)

1.01.48 +Last Changed Rev: 792 +Last Changed Date: 2016-10-14 05:47:18 +0800 (Fri, 14 Oct 2016)

It seems that .48 has been created just few days after .44

Why waiting so long for a small fix ?