TempleOSCD_150720.ISO
This commit is contained in:
1 parent
401601816c
commit
f8c05f98f4
554 files changed
+26046
-24853
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#define DOWNLOAD_FILE1 "TempleOSCD.ISO"
|
||||
#define DOWNLOAD_FILE1_SIZE 18000000
|
||||
#define DOWNLOAD_FILE1_SIZE 17000000
|
||||
#define DOWNLOAD_FILE2 "TempleOSUltra.ISO"
|
||||
#define DOWNLOAD_FILE2_SIZE 2000000
|
||||
#define DOWNLOAD_FILE2_SIZE 1900000
|
||||
|
||||
#define MAX_HOURS (24*3)
|
||||
|
||||
@@ -175,6 +175,8 @@ U0 BlockIPNums(LogStruct *root)
|
||||
LogStruct *templg=root->next,*templg1;
|
||||
|
||||
QueInit(&blocked_root);
|
||||
|
||||
BlockedStructAdd(&blocked_root,70<<24+173<<16+110<<8+214);
|
||||
BlockedStructAdd(&blocked_root,68<<24+224<<16+130<<8+96);
|
||||
BlockedStructAdd(&blocked_root,68<<24+96<<16+100<<8+126);
|
||||
BlockedStructAdd(&blocked_root,68<<24+96<<16+110<<8+213);
|
||||
@@ -183,11 +185,11 @@ U0 BlockIPNums(LogStruct *root)
|
||||
//pass 1: collect robot lst
|
||||
while (templg!=root) {
|
||||
if (StrIMatch("ROBOT",templg->file) &&
|
||||
!IsBlocked(&blocked_root,templg->ip_num))
|
||||
!IsBlocked(&blocked_root,templg->ip_num))
|
||||
BlockedStructAdd(&blocked_root,templg->ip_num);
|
||||
templg=templg->next;
|
||||
}
|
||||
|
||||
|
||||
//pass 2: removed blocked ip_nums
|
||||
templg=root->next;
|
||||
while (templg!=root) {
|
||||
@@ -198,15 +200,16 @@ U0 BlockIPNums(LogStruct *root)
|
||||
}
|
||||
templg=templg1;
|
||||
}
|
||||
|
||||
|
||||
QueDel(&blocked_root);
|
||||
}
|
||||
|
||||
Bool IsDownLoad(LogStruct *templg)
|
||||
{
|
||||
if (
|
||||
StrMatch(DOWNLOAD_FILE1,templg->file) && templg->size>=DOWNLOAD_FILE1_SIZE ||
|
||||
StrMatch(DOWNLOAD_FILE2,templg->file) && templg->size>=DOWNLOAD_FILE2_SIZE )
|
||||
if (StrMatch(DOWNLOAD_FILE1,templg->file)&&templg->size>=
|
||||
DOWNLOAD_FILE1_SIZE ||
|
||||
StrMatch(DOWNLOAD_FILE2,templg->file)&&templg->size>=
|
||||
DOWNLOAD_FILE2_SIZE )
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
@@ -215,8 +218,8 @@ Bool IsDownLoad(LogStruct *templg)
|
||||
Bool IsIndex(LogStruct *templg)
|
||||
{
|
||||
if (!StrCmp(templg->file,"/index.html") ||
|
||||
!StrNCmp(templg->file+StrLen(templg->file)-14,"/TempleOS.html",14) ||
|
||||
!StrCmp(templg->file,"/"))
|
||||
!StrNCmp(templg->file+StrLen(templg->file)-14,"/TempleOS.html",14) ||
|
||||
!StrCmp(templg->file,"/"))
|
||||
return TRUE;
|
||||
else
|
||||
return FALSE;
|
||||
@@ -329,8 +332,8 @@ U0 FileTreeTraverse(LinkStruct *root)
|
||||
U0 DownLoadRep(LogStruct *root,CDate start,CDate end)
|
||||
{
|
||||
I64 i,j,cnt,dups,
|
||||
hours_start,hours_end,*hour_cnts,*dup_cnts,
|
||||
days_start,days_end,*day_cnts,*day_dup_cnts;
|
||||
hours_start,hours_end,*hour_cnts,*dup_cnts,
|
||||
days_start,days_end,*day_cnts,*day_dup_cnts;
|
||||
LogStruct *templg=root->next,*dup_root=NULL;
|
||||
LinkStruct *link_root=NULL;
|
||||
CDateStruct ds;
|
||||
@@ -365,10 +368,10 @@ U0 DownLoadRep(LogStruct *root,CDate start,CDate end)
|
||||
"\n\nDownloads of /TempleOSCD.ISO\n";
|
||||
for (i=start;i<=end;i+=1<<32)
|
||||
"%D:%5d%5d\n",i,day_dup_cnts[(i+local_time_offset)>>32-days_start],
|
||||
day_cnts[(i+local_time_offset)>>32-days_start];
|
||||
day_cnts[(i+local_time_offset)>>32-days_start];
|
||||
|
||||
"\n\nDownloads of /TempleOSCD.ISO\n"
|
||||
"'-' is a dup. '+' is not a dup.\n";
|
||||
"'-' is a dup. '+' is not a dup.\n";
|
||||
if (hours_end-hours_start>=MAX_HOURS)
|
||||
i=hours_end-MAX_HOURS+1;
|
||||
else
|
||||
@@ -413,8 +416,8 @@ U0 FileRep(LogStruct *root,CDate start,CDate end)
|
||||
U0 IndexRep(LogStruct *root,CDate start,CDate end)
|
||||
{
|
||||
I64 i,j,cnt,dups,
|
||||
hours_start,hours_end,*hour_cnts,*dup_cnts,
|
||||
days_start,days_end,*day_cnts,*day_dup_cnts;
|
||||
hours_start,hours_end,*hour_cnts,*dup_cnts,
|
||||
days_start,days_end,*day_cnts,*day_dup_cnts;
|
||||
LogStruct *templg=root->next,*dup_root=NULL;
|
||||
LinkStruct *link_root=NULL;
|
||||
CDateStruct ds;
|
||||
@@ -447,10 +450,10 @@ U0 IndexRep(LogStruct *root,CDate start,CDate end)
|
||||
}
|
||||
|
||||
"\n\nHits on /index.html\n"
|
||||
"'-' is a dup. '+' is not a dup.\n";
|
||||
"'-' is a dup. '+' is not a dup.\n";
|
||||
for (i=start;i<=end;i+=1<<32)
|
||||
"%D:%5d%5d\n",i,day_dup_cnts[(i+local_time_offset)>>32-days_start],
|
||||
day_cnts[(i+local_time_offset)>>32-days_start];
|
||||
day_cnts[(i+local_time_offset)>>32-days_start];
|
||||
|
||||
"\n\nHits on /index.html\n";
|
||||
if (hours_end-hours_start>=MAX_HOURS)
|
||||
|
||||
@@ -29,11 +29,12 @@ U0 LogScrambleFile(U8 *name)
|
||||
StrFirstRem(st,".",st2);
|
||||
num.u8[i]=key[i][Str2I64(st2)&255];
|
||||
}
|
||||
|
||||
|
||||
Free(st);
|
||||
Free(st2);
|
||||
|
||||
st=MStrPrint("%d.%d.%d.%d %s",num.u8[3],num.u8[2],num.u8[1],num.u8[0],doc_e->tag);
|
||||
st=MStrPrint("%d.%d.%d.%d %s",num.u8[3],num.u8[2],
|
||||
num.u8[1],num.u8[0],doc_e->tag);
|
||||
Free(doc_e->tag);
|
||||
doc_e->tag=st;
|
||||
}
|
||||
@@ -44,7 +45,8 @@ U0 LogScrambleFile(U8 *name)
|
||||
}
|
||||
U0 WebLogScramble(U8 *files_find_mask)
|
||||
{
|
||||
CDirEntry *tempde=FilesFind(files_find_mask,FUF_RECURSE|FUF_JUST_FILES),*tempde1=tempde;
|
||||
CDirEntry *tempde=FilesFind(files_find_mask,FUF_RECURSE|FUF_JUST_FILES),
|
||||
*tempde1=tempde;
|
||||
InitKey;
|
||||
while (tempde) {
|
||||
LogScrambleFile(tempde->full_name);
|
||||
|
||||
@@ -492,7 +492,7 @@
|
||||
222.58.71.125 - - [10/Feb/2015:11:31:59 -0800] "GET /Wb/Home/Wb2/Files/Text/ HTTP/1.1" 200 5751 "http://www.templeos.org/Wb/Home/Wb2/Files/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
222.58.71.125 - - [10/Feb/2015:11:32:03 -0800] "GET /Wb/Home/Wb2/Files/VanGogh/ HTTP/1.1" 200 1007 "http://www.templeos.org/Wb/Home/Wb2/Files/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
222.58.71.125 - - [10/Feb/2015:11:32:55 -0800] "GET /Wb/Kernel/Dsk/FileSysRedSea.html HTTP/1.1" 200 342512 "http://www.templeos.org/Wb/Doc/Demands.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
222.58.71.125 - - [10/Feb/2015:11:33:41 -0800] "GET /Wb/Adam/Boot/DskCDDVD.html HTTP/1.1" 200 360031 "http://www.templeos.org/Wb/Doc/Demands.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
222.58.71.125 - - [10/Feb/2015:11:33:41 -0800] "GET /Wb/Adam/Boot/DskISOFile.html HTTP/1.1" 200 360031 "http://www.templeos.org/Wb/Doc/Demands.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
222.178.105.52 - - [10/Feb/2015:11:34:04 -0800] "GET /favicon.ico HTTP/1.1" 200 1078 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36" "www.templeos.org"
|
||||
177.106.234.227 - - [10/Feb/2015:11:35:02 -0800] "GET / HTTP/1.1" 200 6329 "http://disqus.com/embed/comments/?base=default&version=d1b39333cdab5cb490d069fe62825a04&f=hausdorff&t_u=http%3A%2F%2Fblog.nullspace.io%2Fkernel-latency.html&t_d=84%25%20of%20a%20single-threaded%201KB%20write%20in%20Redis%20is%20spent%20in%20the%20kernel&t_t=84%25%20of%20a%20single-threaded%201KB%20write%20in%20Redis%20is%20spent%20in%20the%20kernel&s_o=default" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36" "www.templeos.org"
|
||||
58.71.218.57 - - [10/Feb/2015:11:35:37 -0800] "GET / HTTP/1.1" 200 6329 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
|
||||
@@ -620,7 +620,7 @@
|
||||
88.167.200.22 - - [11/Feb/2015:13:16:38 -0800] "HEAD / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
182.97.104.222 - - [11/Feb/2015:13:18:16 -0800] "GET /Wb/Home/Wb2/3rdParty.html HTTP/1.1" 200 3094 "http://www.templeos.org/" "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.111 Safari/537.36" "www.templeos.org"
|
||||
101.237.12.144 - - [11/Feb/2015:13:18:39 -0800] "GET / HTTP/1.1" 200 6329 "-" "Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0" "www.templeos.org"
|
||||
183.7.224.95 - - [11/Feb/2015:13:18:59 -0800] "GET /Wb/Kernel/Dsk/DskC.html HTTP/1.1" 200 185918 "http://www.templeos.org/Wb/Home/Wb2/LineRep.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Firefox/31.0" "www.templeos.org"
|
||||
183.7.224.95 - - [11/Feb/2015:13:18:59 -0800] "GET /Wb/Kernel/Dsk/DskDel.html HTTP/1.1" 200 185918 "http://www.templeos.org/Wb/Home/Wb2/LineRep.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Firefox/31.0" "www.templeos.org"
|
||||
183.7.224.95 - - [11/Feb/2015:13:19:26 -0800] "GET /Wb/Kernel/KbdMouse/Keyboard.html HTTP/1.1" 200 297077 "http://www.templeos.org/Wb/Home/Wb2/LineRep.html" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Firefox/31.0" "www.templeos.org"
|
||||
240.76.155.0 - - [11/Feb/2015:13:21:01 -0800] "GET / HTTP/1.1" 200 6329 "https://www.google.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36" "www.templeos.org"
|
||||
240.76.155.0 - - [11/Feb/2015:13:21:01 -0800] "GET /favicon.ico HTTP/1.1" 200 1078 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.94 Safari/537.36" "www.templeos.org"
|
||||
|
||||
@@ -374,7 +374,7 @@
|
||||
154.119.160.119 - - [12/Feb/2015:08:00:14 -0800] "GET /Wb/Accts/TS/Wb2/TempleOS.html HTTP/1.1" 404 89 "-" "Twitterbot/1.0" "www.templeos.org"
|
||||
8.177.213.37 - - [12/Feb/2015:08:08:59 -0800] "GET /Wb/Home/Wb2/Downloads.html HTTP/1.1" 200 7086 "http://www.templeos.org/" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko" "www.templeos.org"
|
||||
147.203.164.194 - - [12/Feb/2015:08:11:06 -0800] "HEAD / HTTP/1.1" 200 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22" "www.templeos.org"
|
||||
52.209.6.68 - - [12/Feb/2015:08:22:10 -0800] "GET /Wb/Kernel/BIOS32.html HTTP/1.1" 200 132777 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" "www.templeos.org"
|
||||
52.209.6.68 - - [12/Feb/2015:08:22:10 -0800] "GET /Wb/Kernel/PCIBIOS.html HTTP/1.1" 200 132777 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" "www.templeos.org"
|
||||
64.124.225.255 - - [12/Feb/2015:08:32:33 -0800] "GET /Wb/Kernel/Dsk/DskCFile.html HTTP/1.1" 200 138681 "-" "Mozilla/5.0 (compatible; SeznamBot/3.2; +http://fulltext.sblog.cz/)" "www.templeos.org"
|
||||
34.168.143.76 - - [12/Feb/2015:08:39:43 -0800] "GET /robots.txt HTTP/1.1" 404 89 "-" "Sogou web spider/4.0(+http://www.sogou.com/docs/help/webmasters.htm#07)" "www.templeos.org"
|
||||
91.143.212.182 - - [12/Feb/2015:08:49:30 -0800] "GET /Wb/Accts/TS/Wb2/TAD/TADRants2014.html HTTP/1.1" 404 89 "http://www.reddit.com/r/TempleOS_Official/comments/2pdlh3/post_what_god_said_ill_help_interpret/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:35.0) Gecko/20100101 Firefox/35.0" "www.templeos.org"
|
||||
|
||||
Reference in new issue
Block a user