You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
(15) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
(3) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <vi...@us...> - 2009-03-13 18:24:31
|
Revision: 122 http://rfic.svn.sourceforge.net/rfic/?rev=122&view=rev Author: vipintm Date: 2009-03-13 18:24:12 +0000 (Fri, 13 Mar 2009) Log Message: ----------- some changes Modified Paths: -------------- www/trunk/documents.html www/trunk/randd.html Modified: www/trunk/documents.html =================================================================== --- www/trunk/documents.html 2009-02-06 18:20:42 UTC (rev 121) +++ www/trunk/documents.html 2009-03-13 18:24:12 UTC (rev 122) @@ -114,7 +114,7 @@ <p><strong><a href="http://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Whitepapers/">Whitepapers</a></strong></p> <ol> <li><a href="http://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Whitepapers/study/File%20Integrity%20Checking.txt">File Integrity Checking, a study of existing system [Txt File].</a></li> - <li><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Whitepapers/system/Architecture of RFiC System.txt">Architecture of RFiC System [Txt File] </a><br /> + <li><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/system/Architecture of RFiC System.txt">Architecture of RFiC System [Txt File] </a><br /> </li> </ol> <p><strong><a href="http://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Presentations/">Presentations</a></strong></p> Modified: www/trunk/randd.html =================================================================== --- www/trunk/randd.html 2009-02-06 18:20:42 UTC (rev 121) +++ www/trunk/randd.html 2009-03-13 18:24:12 UTC (rev 122) @@ -68,7 +68,7 @@ </blockquote> <p><strong>Whitepapers</strong></p> <blockquote> - <p><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Whitepapers/system/Architecture of RFiC System.txt">Architecture of RFiC System – How Remote File Integrity is checked [Txt Format] </a></p> + <p><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/system/Architecture of RFiC System.txt">Architecture of RFiC System – How Remote File Integrity is checked [Txt Format] </a></p> </blockquote> </blockquote> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2009-02-06 18:20:45
|
Revision: 121 http://rfic.svn.sourceforge.net/rfic/?rev=121&view=rev Author: vipintm Date: 2009-02-06 18:20:42 +0000 (Fri, 06 Feb 2009) Log Message: ----------- Added a new file and somthing more Added Paths: ----------- res/trunk/Documents/system/Architecture of RFiC System.txt res/trunk/Documents/system/Refrence-Utility.txt Copied: res/trunk/Documents/system/Architecture of RFiC System.txt (from rev 119, res/trunk/Whitepapers/system/Architecture of RFiC System.txt) =================================================================== --- res/trunk/Documents/system/Architecture of RFiC System.txt (rev 0) +++ res/trunk/Documents/system/Architecture of RFiC System.txt 2009-02-06 18:20:42 UTC (rev 121) @@ -0,0 +1,38 @@ +# Documnet RFiC System base +# By Vipin M <vi...@gm...> +# Hooooo + +Index + Function Blocks + Config Parameters + Globel + pub + sec + Per File + pub X + sec + + +Function Blocks + HC-256 + LCG + LFSR + +Config + Block Size (fblock) + Totel NO of Blocks for verification / Challange (verify_number) + NO of LFSR used for single challange (lfsr_pc) + Total NO of challanges (total_challange) + P. Polynomial (p_poly) + Random Secret Key (sec_ran_key) + + + Gen - + + Globel - G + Public - P + Host Secret - HS + File Secret - FS + + + Property changes on: res/trunk/Documents/system/Architecture of RFiC System.txt ___________________________________________________________________ Added: svn:mergeinfo + Added: res/trunk/Documents/system/Refrence-Utility.txt =================================================================== --- res/trunk/Documents/system/Refrence-Utility.txt (rev 0) +++ res/trunk/Documents/system/Refrence-Utility.txt 2009-02-06 18:20:42 UTC (rev 121) @@ -0,0 +1,11 @@ +Blum Blum Shub + - Ref : http://en.wikipedia.org/wiki/Blum_Blum_Shub + - code Ref : http://firefly.is-a-geek.org/gmpbbs/ +LFSR + - code Ref : http://www.perlmonks.org/?node_id=78666 +LCG + - REF : http://www.cpan.org/scripts/assorted/LCG.random.generator + +Creating and maintaning perl module + + - Ref : http://mathforum.org/~ken/perl_modules.html Property changes on: res/trunk/Documents/system/Refrence-Utility.txt ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2009-02-06 17:58:56
|
Revision: 120 http://rfic.svn.sourceforge.net/rfic/?rev=120&view=rev Author: vipintm Date: 2009-02-06 17:58:54 +0000 (Fri, 06 Feb 2009) Log Message: ----------- Modified Page links with new links dns change ... Modified Paths: -------------- www/trunk/contact.html www/trunk/documents.html www/trunk/download.html www/trunk/index.html www/trunk/map.html www/trunk/peoples.html www/trunk/permissions.html www/trunk/plan.html www/trunk/randd.html www/trunk/search.html www/trunk/suport.html www/trunk/what.html Modified: www/trunk/contact.html =================================================================== --- www/trunk/contact.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/contact.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/documents.html =================================================================== --- www/trunk/documents.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/documents.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/download.html =================================================================== --- www/trunk/download.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/download.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/index.html =================================================================== --- www/trunk/index.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/index.html 2009-02-06 17:58:54 UTC (rev 120) @@ -24,7 +24,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/map.html =================================================================== --- www/trunk/map.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/map.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/peoples.html =================================================================== --- www/trunk/peoples.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/peoples.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/permissions.html =================================================================== --- www/trunk/permissions.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/permissions.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/plan.html =================================================================== --- www/trunk/plan.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/plan.html 2009-02-06 17:58:54 UTC (rev 120) @@ -26,7 +26,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/randd.html =================================================================== --- www/trunk/randd.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/randd.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/search.html =================================================================== --- www/trunk/search.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/search.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/suport.html =================================================================== --- www/trunk/suport.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/suport.html 2009-02-06 17:58:54 UTC (rev 120) @@ -12,7 +12,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> Modified: www/trunk/what.html =================================================================== --- www/trunk/what.html 2009-02-06 08:19:31 UTC (rev 119) +++ www/trunk/what.html 2009-02-06 17:58:54 UTC (rev 120) @@ -13,7 +13,7 @@ <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> </div> <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> </div> </div> <div id="header" align="center"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2009-02-06 08:19:48
|
Revision: 119 http://rfic.svn.sourceforge.net/rfic/?rev=119&view=rev Author: vipintm Date: 2009-02-06 08:19:31 +0000 (Fri, 06 Feb 2009) Log Message: ----------- Adding functional details of the RFiC system Modified Paths: -------------- res/trunk/Whitepapers/system/Architecture of RFiC System.txt Modified: res/trunk/Whitepapers/system/Architecture of RFiC System.txt =================================================================== --- res/trunk/Whitepapers/system/Architecture of RFiC System.txt 2008-12-30 14:43:09 UTC (rev 118) +++ res/trunk/Whitepapers/system/Architecture of RFiC System.txt 2009-02-06 08:19:31 UTC (rev 119) @@ -1 +1,37 @@ -hhahha \ No newline at end of file +# Documnet RFiC System base +# By Vipin M <vi...@gm...> + +Index + Function Blocks + Config Parameters + Globel + pub + sec + Per File + pub X + sec + + +Function Blocks + HC-256 + LCG + LFSR + +Config + Block Size (fblock) + Totel NO of Blocks for verification / Challange (verify_number) + NO of LFSR used for single challange (lfsr_pc) + Total NO of challanges (total_challange) + P. Polynomial (p_poly) + Random Secret Key (sec_ran_key) + + + Gen - + + Globel - G + Public - P + Host Secret - HS + File Secret - FS + + + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-30 14:43:15
|
Revision: 118 http://rfic.svn.sourceforge.net/rfic/?rev=118&view=rev Author: vipintm Date: 2008-12-30 14:43:09 +0000 (Tue, 30 Dec 2008) Log Message: ----------- Modified Paths: -------------- prfic/trunk/prfic.kdevelop Modified: prfic/trunk/prfic.kdevelop =================================================================== --- prfic/trunk/prfic.kdevelop 2008-12-02 18:12:47 UTC (rev 117) +++ prfic/trunk/prfic.kdevelop 2008-12-30 14:43:09 UTC (rev 118) @@ -15,6 +15,7 @@ <kdevscriptproject> <run> <mainprogram>./prfic.pl</mainprogram> + <directoryradio>executable</directoryradio> </run> <general> <includepatterns>*.pl,*.pm</includepatterns> @@ -90,4 +91,15 @@ <YEAR>2008</YEAR> <dest>/root/prfic</dest> </substmap> + <kdevfileview> + <tree> + <showvcsfields>false</showvcsfields> + <hidenonprojectfiles>false</hidenonprojectfiles> + <hidepatterns>*.o,*.lo,CVS</hidepatterns> + </tree> + <groups> + <hidenonprojectfiles>false</hidenonprojectfiles> + <hidenonlocation>false</hidenonlocation> + </groups> + </kdevfileview> </kdevelop> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-02 18:12:50
|
Revision: 117 http://rfic.svn.sourceforge.net/rfic/?rev=117&view=rev Author: vipintm Date: 2008-12-02 18:12:47 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Modified Paths: -------------- res/trunk/Whitepapers/system/Architecture of RFiC System.txt Modified: res/trunk/Whitepapers/system/Architecture of RFiC System.txt =================================================================== --- res/trunk/Whitepapers/system/Architecture of RFiC System.txt 2008-12-02 16:33:25 UTC (rev 116) +++ res/trunk/Whitepapers/system/Architecture of RFiC System.txt 2008-12-02 18:12:47 UTC (rev 117) @@ -0,0 +1 @@ +hhahha \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-02 16:33:29
|
Revision: 116 http://rfic.svn.sourceforge.net/rfic/?rev=116&view=rev Author: vipintm Date: 2008-12-02 16:33:25 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Changed blog.cgi to documnet.cgi for the purpose of document generator Added Paths: ----------- cgi-bin/trunk/document.cgi Removed Paths: ------------- cgi-bin/trunk/blog.cgi Deleted: cgi-bin/trunk/blog.cgi =================================================================== --- cgi-bin/trunk/blog.cgi 2008-12-02 14:40:09 UTC (rev 115) +++ cgi-bin/trunk/blog.cgi 2008-12-02 16:33:25 UTC (rev 116) @@ -1,446 +0,0 @@ -#!/usr/bin/perl - -# Blosxom -# Author: Rael Dornfest <ra...@or...> -# Version: 2.0 -# Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/ -# Modified by : Vipin M <vi...@gm...> -# Description : As a part of RFiC Project http://rfic.sf.net/cgi-bin/blog.cgi - -package blosxom; - -# --- Configurable variables ----- - -# What's this blog's title? -$blog_title = "Remote File Integrity Check"; - -# What's this blog's description (for outgoing RSS feed)? -$blog_description = "File Integrity and Much More"; - -# What's this blog's primary language (for outgoing RSS feed)? -$blog_language = "en"; - -# Where are this blog's entries kept? -$datadir = "/home/groups/r/rf/rfic/htdocs/Text"; - -# What's my preferred base URL for this blog (leave blank for automatic)? -$url = ""; - -# Should I stick only to the datadir for items or travel down the -# directory hierarchy looking for items? If so, to what depth? -# 0 = infinite depth (aka grab everything), 1 = datadir only, n = n levels down -$depth = 0; - -# How many entries should I show on the home page? -$num_entries = 40; - -# What file extension signifies a blosxom entry? -$file_extension = "txt"; - -# What is the default flavour? -$default_flavour = "html"; - -# Should I show entries from the future (i.e. dated after now)? -$show_future_entries = 0; - -# --- Plugins (Optional) ----- - -# Where are my plugins kept? -$plugin_dir = "/home/groups/r/rf/rfic/cgi-bin/blogp"; - -# Where should my modules keep their state information? -$plugin_state_dir = "$plugin_dir/state"; - -# --- Static Rendering ----- - -# Where are this blog's static files to be created? -$static_dir = "/home/groups/r/rf/rfic/htdocs/blog"; - -# What's my administrative password (you must set this for static rendering)? -$static_password = ""; - -# What flavours should I generate statically? -@static_flavours = qw/html rss/; - -# Should I statically generate individual entries? -# 0 = no, 1 = yes -$static_entries = 0; - -# -------------------------------- - -use vars qw! $version $blog_title $blog_description $blog_language $datadir $url %template $template $depth $num_entries $file_extension $default_flavour $static_or_dynamic $plugin_dir $plugin_state_dir @plugins %plugins $static_dir $static_password @static_flavours $static_entries $path_info $path_info_yr $path_info_mo $path_info_da $path_info_mo_num $flavour $static_or_dynamic %month2num @num2month $interpolate $entries $output $header $show_future_entries %files %indexes %others !; - -use strict; -use FileHandle; -use File::Find; -use File::stat; -use Time::localtime; -use CGI qw/:standard :netscape/; - -$version = "2.0"; - -my $fh = new FileHandle; - -%month2num = (nil=>'00', Jan=>'01', Feb=>'02', Mar=>'03', Apr=>'04', May=>'05', Jun=>'06', Jul=>'07', Aug=>'08', Sep=>'09', Oct=>'10', Nov=>'11', Dec=>'12'); -@num2month = sort { $month2num{$a} <=> $month2num{$b} } keys %month2num; - -# Use the stated preferred URL or figure it out automatically -$url ||= url(); -$url =~ s/^included:/http:/; # Fix for Server Side Includes (SSI) -$url =~ s!/$!!; - -# Drop ending any / from dir settings -$datadir =~ s!/$!!; $plugin_dir =~ s!/$!!; $static_dir =~ s!/$!!; - -# Fix depth to take into account datadir's path -$depth and $depth += ($datadir =~ tr[/][]) - 1; - -# Global variable to be used in head/foot.{flavour} templates -$path_info = ''; - -$static_or_dynamic = (!$ENV{GATEWAY_INTERFACE} and param('-password') and $static_password and param('-password') eq $static_password) ? 'static' : 'dynamic'; -$static_or_dynamic eq 'dynamic' and param(-name=>'-quiet', -value=>1); - -# Path Info Magic -# Take a gander at HTTP's PATH_INFO for optional blog name, archive yr/mo/day -my @path_info = split m{/}, path_info() || param('path'); -shift @path_info; - -while ($path_info[0] and $path_info[0] =~ /^[a-zA-Z].*$/ and $path_info[0] !~ /(.*)\.(.*)/) { $path_info .= '/' . shift @path_info; } - -# Flavour specified by ?flav={flav} or index.{flav} -$flavour = ''; - -if ( $path_info[$#path_info] =~ /(.+)\.(.+)$/ ) { - $flavour = $2; - $1 ne 'index' and $path_info .= "/$1.$2"; - pop @path_info; -} else { - $flavour = param('flav') || $default_flavour; -} - -# Strip spurious slashes -$path_info =~ s!(^/*)|(/*$)!!g; - -# Date fiddling -($path_info_yr,$path_info_mo,$path_info_da) = @path_info; -$path_info_mo_num = $path_info_mo ? ( $path_info_mo =~ /\d{2}/ ? $path_info_mo : ($month2num{ucfirst(lc $path_info_mo)} || undef) ) : undef; - -# Define standard template subroutine, plugin-overridable at Plugins: Template -$template = - sub { - my ($path, $chunk, $flavour) = @_; - - do { - return join '', <$fh> if $fh->open("< $datadir/$path/$chunk.$flavour"); - } while ($path =~ s/(\/*[^\/]*)$// and $1); - - return join '', ($template{$flavour}{$chunk} || $template{error}{$chunk} || ''); - }; -# Bring in the templates -%template = (); -while (<DATA>) { - last if /^(__END__)?$/; - my($ct, $comp, $txt) = /^(\S+)\s(\S+)\s(.*)$/; - $txt =~ s/\\n/\n/mg; - $template{$ct}{$comp} = $txt; -} - -# Plugins: Start -if ( $plugin_dir and opendir PLUGINS, $plugin_dir ) { - foreach my $plugin ( grep { /^\w+$/ && -f "$plugin_dir/$_" } sort readdir(PLUGINS) ) { - my($plugin_name, $off) = $plugin =~ /^\d*(\w+?)(_?)$/; - my $on_off = $off eq '_' ? -1 : 1; - require "$plugin_dir/$plugin"; - $plugin_name->start() and ( $plugins{$plugin_name} = $on_off ) and push @plugins, $plugin_name; - } - closedir PLUGINS; -} - -# Plugins: Template -# Allow for the first encountered plugin::template subroutine to override the -# default built-in template subroutine -my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('template') and defined($tmp = $plugin->template()) and $template = $tmp and last; } - -# Provide backward compatibility for Blosxom < 2.0rc1 plug-ins -sub load_template { - return &$template(@_); -} - -# Define default find subroutine -$entries = - sub { - my(%files, %indexes, %others); - find( - sub { - my $d; - my $curr_depth = $File::Find::dir =~ tr[/][]; - return if $depth and $curr_depth > $depth; - - if ( - # a match - $File::Find::name =~ m!^$datadir/(?:(.*)/)?(.+)\.$file_extension$! - # not an index, .file, and is readable - and $2 ne 'index' and $2 !~ /^\./ and (-r $File::Find::name) - ) { - - # to show or not to show future entries - ( - $show_future_entries - or stat($File::Find::name)->mtime < time - ) - - # add the file and its associated mtime to the list of files - and $files{$File::Find::name} = stat($File::Find::name)->mtime - - # static rendering bits - and ( - param('-all') - or !-f "$static_dir/$1/index." . $static_flavours[0] - or stat("$static_dir/$1/index." . $static_flavours[0])->mtime < stat($File::Find::name)->mtime - ) - and $indexes{$1} = 1 - and $d = join('/', (nice_date($files{$File::Find::name}))[5,2,3]) - - and $indexes{$d} = $d - and $static_entries and $indexes{ ($1 ? "$1/" : '') . "$2.$file_extension" } = 1 - - } - else { - !-d $File::Find::name and -r $File::Find::name and $others{$File::Find::name} = stat($File::Find::name)->mtime - } - }, $datadir - ); - - return (\%files, \%indexes, \%others); - }; - -# Plugins: Entries -# Allow for the first encountered plugin::entries subroutine to override the -# default built-in entries subroutine -my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('entries') and defined($tmp = $plugin->entries()) and $entries = $tmp and last; } - -my ($files, $indexes, $others) = &$entries(); -%files = %$files; %indexes = %$indexes; %others = ref $others ? %$others : (); - -# Plugins: Filter -foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('filter') and $entries = $plugin->filter(\%files, \%others) } - -# Static -if (!$ENV{GATEWAY_INTERFACE} and param('-password') and $static_password and param('-password') eq $static_password) { - - param('-quiet') or print "Blosxom is generating static index pages...\n"; - - # Home Page and Directory Indexes - my %done; - foreach my $path ( sort keys %indexes) { - my $p = ''; - foreach ( ('', split /\//, $path) ) { - $p .= "/$_"; - $p =~ s!^/!!; - $path_info = $p; - $done{$p}++ and next; - (-d "$static_dir/$p" or $p =~ /\.$file_extension$/) or mkdir "$static_dir/$p", 0755; - foreach $flavour ( @static_flavours ) { - my $content_type = (&$template($p,'content_type',$flavour)); - $content_type =~ s!\n.*!!s; - my $fn = $p =~ m!^(.+)\.$file_extension$! ? $1 : "$p/index"; - param('-quiet') or print "$fn.$flavour\n"; - my $fh_w = new FileHandle "> $static_dir/$fn.$flavour" or die "Couldn't open $static_dir/$p for writing: $!"; - $output = ''; - print $fh_w - $indexes{$path} == 1 - ? &generate('static', $p, '', $flavour, $content_type) - : &generate('static', '', $p, $flavour, $content_type); - $fh_w->close; - } - } - } -} - -# Dynamic -else { - my $content_type = (&$template($path_info,'content_type',$flavour)); - $content_type =~ s!\n.*!!s; - - $header = {-type=>$content_type}; - - print generate('dynamic', $path_info, "$path_info_yr/$path_info_mo_num/$path_info_da", $flavour, $content_type); -} - -# Plugins: End -foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('end') and $entries = $plugin->end() } - -# Generate -sub generate { - my($static_or_dynamic, $currentdir, $date, $flavour, $content_type) = @_; - - my %f = %files; - - # Plugins: Skip - # Allow plugins to decide if we can cut short story generation - my $skip; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('skip') and defined($tmp = $plugin->skip()) and $skip = $tmp and last; } - - # Define default interpolation subroutine - $interpolate = - sub { - package blosxom; - my $template = shift; - $template =~ - s/(\$\w+(?:::)?\w*)/"defined $1 ? $1 : ''"/gee; - return $template; - }; - - unless (defined($skip) and $skip) { - - # Plugins: Interpolate - # Allow for the first encountered plugin::interpolate subroutine to - # override the default built-in interpolate subroutine - my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('interpolate') and defined($tmp = $plugin->interpolate()) and $interpolate = $tmp and last; } - - # Head - my $head = (&$template($currentdir,'head',$flavour)); - - # Plugins: Head - foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('head') and $entries = $plugin->head($currentdir, \$head) } - - $head = &$interpolate($head); - - $output .= $head; - - # Stories - my $curdate = ''; - my $ne = $num_entries; - - if ( $currentdir =~ /(.*?)([^\/]+)\.(.+)$/ and $2 ne 'index' ) { - $currentdir = "$1$2.$file_extension"; - $files{"$datadir/$1$2.$file_extension"} and %f = ( "$datadir/$1$2.$file_extension" => $files{"$datadir/$1$2.$file_extension"} ); - } - else { - $currentdir =~ s!/index\..+$!!; - } - - # Define a default sort subroutine - my $sort = sub { - my($files_ref) = @_; - return sort { $files_ref->{$b} <=> $files_ref->{$a} } keys %$files_ref; - }; - - # Plugins: Sort - # Allow for the first encountered plugin::sort subroutine to override the - # default built-in sort subroutine - my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('sort') and defined($tmp = $plugin->sort()) and $sort = $tmp and last; } - - foreach my $path_file ( &$sort(\%f, \%others) ) { - last if $ne <= 0 && $date !~ /\d/; - use vars qw/ $path $fn /; - ($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!; - - # Only stories in the right hierarchy - $path =~ /^$currentdir/ or $path_file eq "$datadir/$currentdir" or next; - - # Prepend a slash for use in templates only if a path exists - $path &&= "/$path"; - - # Date fiddling for by-{year,month,day} archive views - use vars qw/ $dw $mo $mo_num $da $ti $yr $hr $min $hr12 $ampm /; - ($dw,$mo,$mo_num,$da,$ti,$yr) = nice_date($files{"$path_file"}); - ($hr,$min) = split /:/, $ti; - ($hr12, $ampm) = $hr >= 12 ? ($hr - 12,'pm') : ($hr, 'am'); - $hr12 =~ s/^0//; $hr12 == 0 and $hr12 = 12; - - # Only stories from the right date - my($path_info_yr,$path_info_mo_num, $path_info_da) = split /\//, $date; - next if $path_info_yr && $yr != $path_info_yr; last if $path_info_yr && $yr < $path_info_yr; - next if $path_info_mo_num && $mo ne $num2month[$path_info_mo_num]; - next if $path_info_da && $da != $path_info_da; last if $path_info_da && $da < $path_info_da; - - # Date - my $date = (&$template($path,'date',$flavour)); - - # Plugins: Date - foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('date') and $entries = $plugin->date($currentdir, \$date, $files{$path_file}, $dw,$mo,$mo_num,$da,$ti,$yr) } - - $date = &$interpolate($date); - - $curdate ne $date and $curdate = $date and $output .= $date; - - use vars qw/ $title $body $raw /; - if (-f "$path_file" && $fh->open("< $path_file")) { - chomp($title = <$fh>); - chomp($body = join '', <$fh>); - $fh->close; - $raw = "$title\n$body"; - } - my $story = (&$template($path,'story',$flavour)); - - # Plugins: Story - foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('story') and $entries = $plugin->story($path, $fn, \$story, \$title, \$body) } - - if ($content_type =~ m{\Wxml$}) { - # Escape <, >, and &, and to produce valid RSS - my %escape = ('<'=>'<', '>'=>'>', '&'=>'&', '"'=>'"'); - my $escape_re = join '|' => keys %escape; - $title =~ s/($escape_re)/$escape{$1}/g; - $body =~ s/($escape_re)/$escape{$1}/g; - } - - $story = &$interpolate($story); - - $output .= $story; - $fh->close; - - $ne--; - } - - # Foot - my $foot = (&$template($currentdir,'foot',$flavour)); - - # Plugins: Foot - foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('foot') and $entries = $plugin->foot($currentdir, \$foot) } - - $foot = &$interpolate($foot); - $output .= $foot; - - # Plugins: Last - foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('last') and $entries = $plugin->last() } - - } # End skip - - # Finally, add the header, if any and running dynamically - $static_or_dynamic eq 'dynamic' and $header and $output = header($header) . $output; - - $output; -} - - -sub nice_date { - my($unixtime) = @_; - - my $c_time = ctime($unixtime); - my($dw,$mo,$da,$ti,$yr) = ( $c_time =~ /(\w{3}) +(\w{3}) +(\d{1,2}) +(\d{2}:\d{2}):\d{2} +(\d{4})$/ ); - $da = sprintf("%02d", $da); - my $mo_num = $month2num{$mo}; - - return ($dw,$mo,$mo_num,$da,$ti,$yr); -} - - -# Default HTML and RSS template bits -__DATA__ -html content_type text/html -html head <html><head><link rel="alternate" type="type="application/rss+xml" title="RSS" href="$url/index.rss" /><title>$blog_title $path_info_da $path_info_mo $path_info_yr</title></head><body><center><font size="+3">$blog_title</font><br />$path_info_da $path_info_mo $path_info_yr</center><p /> -html story <p><a name="$fn"><b>$title</b></a><br />$body<br /><br />posted at: $ti | path: <a href="$url$path">$path</a> | <a href="$url/$yr/$mo_num/$da#$fn">permanent link to this entry</a></p>\n -html date <h3>$dw, $da $mo $yr</h3>\n -html foot <p /><center><a href="http://www.blosxom.com/"><img src="http://www.blosxom.com/images/pb_blosxom.gif" border="0" /></a></body></html> -rss content_type text/xml -rss head <?xml version="1.0"?>\n<!-- name="generator" content="blosxom/$version" -->\n<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">\n\n<rss version="0.91">\n <channel>\n <title>$blog_title $path_info_da $path_info_mo $path_info_yr</title>\n <link>$url</link>\n <description>$blog_description</description>\n <language>$blog_language</language>\n -rss story <item>\n <title>$title</title>\n <link>$url/$yr/$mo_num/$da#$fn</link>\n <description>$body</description>\n </item>\n -rss date \n -rss foot </channel>\n</rss> -error content_type text/html -error head <html><body><p><font color="red">Error: I'm afraid this is the first I've heard of a "$flavour" flavoured Blosxom. Try dropping the "/+$flavour" bit from the end of the URL.</font>\n\n -error story <p><b>$title</b><br />$body <a href="$url/$yr/$mo_num/$da#fn.$default_flavour">#</a></p>\n -error date <h3>$dw, $da $mo $yr</h3>\n -error foot </body></html> -__END__ Added: cgi-bin/trunk/document.cgi =================================================================== --- cgi-bin/trunk/document.cgi (rev 0) +++ cgi-bin/trunk/document.cgi 2008-12-02 16:33:25 UTC (rev 116) @@ -0,0 +1,446 @@ +#!/usr/bin/perl + +# Blosxom +# Author: Rael Dornfest <ra...@or...> +# Version: 2.0 +# Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/ +# Modified by : Vipin M <vi...@gm...> +# Description : As a part of RFiC Project http://rfic.sf.net/cgi-bin/blog.cgi + +package blosxom; + +# --- Configurable variables ----- + +# What's this blog's title? +$blog_title = "Remote File Integrity Check"; + +# What's this blog's description (for outgoing RSS feed)? +$blog_description = "File Integrity and Much More"; + +# What's this blog's primary language (for outgoing RSS feed)? +$blog_language = "en"; + +# Where are this blog's entries kept? +$datadir = "/home/groups/r/rf/rfic/htdocs/Text"; + +# What's my preferred base URL for this blog (leave blank for automatic)? +$url = ""; + +# Should I stick only to the datadir for items or travel down the +# directory hierarchy looking for items? If so, to what depth? +# 0 = infinite depth (aka grab everything), 1 = datadir only, n = n levels down +$depth = 0; + +# How many entries should I show on the home page? +$num_entries = 40; + +# What file extension signifies a blosxom entry? +$file_extension = "txt"; + +# What is the default flavour? +$default_flavour = "html"; + +# Should I show entries from the future (i.e. dated after now)? +$show_future_entries = 0; + +# --- Plugins (Optional) ----- + +# Where are my plugins kept? +$plugin_dir = "/home/groups/r/rf/rfic/cgi-bin/blogp"; + +# Where should my modules keep their state information? +$plugin_state_dir = "$plugin_dir/state"; + +# --- Static Rendering ----- + +# Where are this blog's static files to be created? +$static_dir = "/home/groups/r/rf/rfic/htdocs/blog"; + +# What's my administrative password (you must set this for static rendering)? +$static_password = ""; + +# What flavours should I generate statically? +@static_flavours = qw/html rss/; + +# Should I statically generate individual entries? +# 0 = no, 1 = yes +$static_entries = 0; + +# -------------------------------- + +use vars qw! $version $blog_title $blog_description $blog_language $datadir $url %template $template $depth $num_entries $file_extension $default_flavour $static_or_dynamic $plugin_dir $plugin_state_dir @plugins %plugins $static_dir $static_password @static_flavours $static_entries $path_info $path_info_yr $path_info_mo $path_info_da $path_info_mo_num $flavour $static_or_dynamic %month2num @num2month $interpolate $entries $output $header $show_future_entries %files %indexes %others !; + +use strict; +use FileHandle; +use File::Find; +use File::stat; +use Time::localtime; +use CGI qw/:standard :netscape/; + +$version = "2.0"; + +my $fh = new FileHandle; + +%month2num = (nil=>'00', Jan=>'01', Feb=>'02', Mar=>'03', Apr=>'04', May=>'05', Jun=>'06', Jul=>'07', Aug=>'08', Sep=>'09', Oct=>'10', Nov=>'11', Dec=>'12'); +@num2month = sort { $month2num{$a} <=> $month2num{$b} } keys %month2num; + +# Use the stated preferred URL or figure it out automatically +$url ||= url(); +$url =~ s/^included:/http:/; # Fix for Server Side Includes (SSI) +$url =~ s!/$!!; + +# Drop ending any / from dir settings +$datadir =~ s!/$!!; $plugin_dir =~ s!/$!!; $static_dir =~ s!/$!!; + +# Fix depth to take into account datadir's path +$depth and $depth += ($datadir =~ tr[/][]) - 1; + +# Global variable to be used in head/foot.{flavour} templates +$path_info = ''; + +$static_or_dynamic = (!$ENV{GATEWAY_INTERFACE} and param('-password') and $static_password and param('-password') eq $static_password) ? 'static' : 'dynamic'; +$static_or_dynamic eq 'dynamic' and param(-name=>'-quiet', -value=>1); + +# Path Info Magic +# Take a gander at HTTP's PATH_INFO for optional blog name, archive yr/mo/day +my @path_info = split m{/}, path_info() || param('path'); +shift @path_info; + +while ($path_info[0] and $path_info[0] =~ /^[a-zA-Z].*$/ and $path_info[0] !~ /(.*)\.(.*)/) { $path_info .= '/' . shift @path_info; } + +# Flavour specified by ?flav={flav} or index.{flav} +$flavour = ''; + +if ( $path_info[$#path_info] =~ /(.+)\.(.+)$/ ) { + $flavour = $2; + $1 ne 'index' and $path_info .= "/$1.$2"; + pop @path_info; +} else { + $flavour = param('flav') || $default_flavour; +} + +# Strip spurious slashes +$path_info =~ s!(^/*)|(/*$)!!g; + +# Date fiddling +($path_info_yr,$path_info_mo,$path_info_da) = @path_info; +$path_info_mo_num = $path_info_mo ? ( $path_info_mo =~ /\d{2}/ ? $path_info_mo : ($month2num{ucfirst(lc $path_info_mo)} || undef) ) : undef; + +# Define standard template subroutine, plugin-overridable at Plugins: Template +$template = + sub { + my ($path, $chunk, $flavour) = @_; + + do { + return join '', <$fh> if $fh->open("< $datadir/$path/$chunk.$flavour"); + } while ($path =~ s/(\/*[^\/]*)$// and $1); + + return join '', ($template{$flavour}{$chunk} || $template{error}{$chunk} || ''); + }; +# Bring in the templates +%template = (); +while (<DATA>) { + last if /^(__END__)?$/; + my($ct, $comp, $txt) = /^(\S+)\s(\S+)\s(.*)$/; + $txt =~ s/\\n/\n/mg; + $template{$ct}{$comp} = $txt; +} + +# Plugins: Start +if ( $plugin_dir and opendir PLUGINS, $plugin_dir ) { + foreach my $plugin ( grep { /^\w+$/ && -f "$plugin_dir/$_" } sort readdir(PLUGINS) ) { + my($plugin_name, $off) = $plugin =~ /^\d*(\w+?)(_?)$/; + my $on_off = $off eq '_' ? -1 : 1; + require "$plugin_dir/$plugin"; + $plugin_name->start() and ( $plugins{$plugin_name} = $on_off ) and push @plugins, $plugin_name; + } + closedir PLUGINS; +} + +# Plugins: Template +# Allow for the first encountered plugin::template subroutine to override the +# default built-in template subroutine +my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('template') and defined($tmp = $plugin->template()) and $template = $tmp and last; } + +# Provide backward compatibility for Blosxom < 2.0rc1 plug-ins +sub load_template { + return &$template(@_); +} + +# Define default find subroutine +$entries = + sub { + my(%files, %indexes, %others); + find( + sub { + my $d; + my $curr_depth = $File::Find::dir =~ tr[/][]; + return if $depth and $curr_depth > $depth; + + if ( + # a match + $File::Find::name =~ m!^$datadir/(?:(.*)/)?(.+)\.$file_extension$! + # not an index, .file, and is readable + and $2 ne 'index' and $2 !~ /^\./ and (-r $File::Find::name) + ) { + + # to show or not to show future entries + ( + $show_future_entries + or stat($File::Find::name)->mtime < time + ) + + # add the file and its associated mtime to the list of files + and $files{$File::Find::name} = stat($File::Find::name)->mtime + + # static rendering bits + and ( + param('-all') + or !-f "$static_dir/$1/index." . $static_flavours[0] + or stat("$static_dir/$1/index." . $static_flavours[0])->mtime < stat($File::Find::name)->mtime + ) + and $indexes{$1} = 1 + and $d = join('/', (nice_date($files{$File::Find::name}))[5,2,3]) + + and $indexes{$d} = $d + and $static_entries and $indexes{ ($1 ? "$1/" : '') . "$2.$file_extension" } = 1 + + } + else { + !-d $File::Find::name and -r $File::Find::name and $others{$File::Find::name} = stat($File::Find::name)->mtime + } + }, $datadir + ); + + return (\%files, \%indexes, \%others); + }; + +# Plugins: Entries +# Allow for the first encountered plugin::entries subroutine to override the +# default built-in entries subroutine +my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('entries') and defined($tmp = $plugin->entries()) and $entries = $tmp and last; } + +my ($files, $indexes, $others) = &$entries(); +%files = %$files; %indexes = %$indexes; %others = ref $others ? %$others : (); + +# Plugins: Filter +foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('filter') and $entries = $plugin->filter(\%files, \%others) } + +# Static +if (!$ENV{GATEWAY_INTERFACE} and param('-password') and $static_password and param('-password') eq $static_password) { + + param('-quiet') or print "Blosxom is generating static index pages...\n"; + + # Home Page and Directory Indexes + my %done; + foreach my $path ( sort keys %indexes) { + my $p = ''; + foreach ( ('', split /\//, $path) ) { + $p .= "/$_"; + $p =~ s!^/!!; + $path_info = $p; + $done{$p}++ and next; + (-d "$static_dir/$p" or $p =~ /\.$file_extension$/) or mkdir "$static_dir/$p", 0755; + foreach $flavour ( @static_flavours ) { + my $content_type = (&$template($p,'content_type',$flavour)); + $content_type =~ s!\n.*!!s; + my $fn = $p =~ m!^(.+)\.$file_extension$! ? $1 : "$p/index"; + param('-quiet') or print "$fn.$flavour\n"; + my $fh_w = new FileHandle "> $static_dir/$fn.$flavour" or die "Couldn't open $static_dir/$p for writing: $!"; + $output = ''; + print $fh_w + $indexes{$path} == 1 + ? &generate('static', $p, '', $flavour, $content_type) + : &generate('static', '', $p, $flavour, $content_type); + $fh_w->close; + } + } + } +} + +# Dynamic +else { + my $content_type = (&$template($path_info,'content_type',$flavour)); + $content_type =~ s!\n.*!!s; + + $header = {-type=>$content_type}; + + print generate('dynamic', $path_info, "$path_info_yr/$path_info_mo_num/$path_info_da", $flavour, $content_type); +} + +# Plugins: End +foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('end') and $entries = $plugin->end() } + +# Generate +sub generate { + my($static_or_dynamic, $currentdir, $date, $flavour, $content_type) = @_; + + my %f = %files; + + # Plugins: Skip + # Allow plugins to decide if we can cut short story generation + my $skip; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('skip') and defined($tmp = $plugin->skip()) and $skip = $tmp and last; } + + # Define default interpolation subroutine + $interpolate = + sub { + package blosxom; + my $template = shift; + $template =~ + s/(\$\w+(?:::)?\w*)/"defined $1 ? $1 : ''"/gee; + return $template; + }; + + unless (defined($skip) and $skip) { + + # Plugins: Interpolate + # Allow for the first encountered plugin::interpolate subroutine to + # override the default built-in interpolate subroutine + my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('interpolate') and defined($tmp = $plugin->interpolate()) and $interpolate = $tmp and last; } + + # Head + my $head = (&$template($currentdir,'head',$flavour)); + + # Plugins: Head + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('head') and $entries = $plugin->head($currentdir, \$head) } + + $head = &$interpolate($head); + + $output .= $head; + + # Stories + my $curdate = ''; + my $ne = $num_entries; + + if ( $currentdir =~ /(.*?)([^\/]+)\.(.+)$/ and $2 ne 'index' ) { + $currentdir = "$1$2.$file_extension"; + $files{"$datadir/$1$2.$file_extension"} and %f = ( "$datadir/$1$2.$file_extension" => $files{"$datadir/$1$2.$file_extension"} ); + } + else { + $currentdir =~ s!/index\..+$!!; + } + + # Define a default sort subroutine + my $sort = sub { + my($files_ref) = @_; + return sort { $files_ref->{$b} <=> $files_ref->{$a} } keys %$files_ref; + }; + + # Plugins: Sort + # Allow for the first encountered plugin::sort subroutine to override the + # default built-in sort subroutine + my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('sort') and defined($tmp = $plugin->sort()) and $sort = $tmp and last; } + + foreach my $path_file ( &$sort(\%f, \%others) ) { + last if $ne <= 0 && $date !~ /\d/; + use vars qw/ $path $fn /; + ($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!; + + # Only stories in the right hierarchy + $path =~ /^$currentdir/ or $path_file eq "$datadir/$currentdir" or next; + + # Prepend a slash for use in templates only if a path exists + $path &&= "/$path"; + + # Date fiddling for by-{year,month,day} archive views + use vars qw/ $dw $mo $mo_num $da $ti $yr $hr $min $hr12 $ampm /; + ($dw,$mo,$mo_num,$da,$ti,$yr) = nice_date($files{"$path_file"}); + ($hr,$min) = split /:/, $ti; + ($hr12, $ampm) = $hr >= 12 ? ($hr - 12,'pm') : ($hr, 'am'); + $hr12 =~ s/^0//; $hr12 == 0 and $hr12 = 12; + + # Only stories from the right date + my($path_info_yr,$path_info_mo_num, $path_info_da) = split /\//, $date; + next if $path_info_yr && $yr != $path_info_yr; last if $path_info_yr && $yr < $path_info_yr; + next if $path_info_mo_num && $mo ne $num2month[$path_info_mo_num]; + next if $path_info_da && $da != $path_info_da; last if $path_info_da && $da < $path_info_da; + + # Date + my $date = (&$template($path,'date',$flavour)); + + # Plugins: Date + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('date') and $entries = $plugin->date($currentdir, \$date, $files{$path_file}, $dw,$mo,$mo_num,$da,$ti,$yr) } + + $date = &$interpolate($date); + + $curdate ne $date and $curdate = $date and $output .= $date; + + use vars qw/ $title $body $raw /; + if (-f "$path_file" && $fh->open("< $path_file")) { + chomp($title = <$fh>); + chomp($body = join '', <$fh>); + $fh->close; + $raw = "$title\n$body"; + } + my $story = (&$template($path,'story',$flavour)); + + # Plugins: Story + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('story') and $entries = $plugin->story($path, $fn, \$story, \$title, \$body) } + + if ($content_type =~ m{\Wxml$}) { + # Escape <, >, and &, and to produce valid RSS + my %escape = ('<'=>'<', '>'=>'>', '&'=>'&', '"'=>'"'); + my $escape_re = join '|' => keys %escape; + $title =~ s/($escape_re)/$escape{$1}/g; + $body =~ s/($escape_re)/$escape{$1}/g; + } + + $story = &$interpolate($story); + + $output .= $story; + $fh->close; + + $ne--; + } + + # Foot + my $foot = (&$template($currentdir,'foot',$flavour)); + + # Plugins: Foot + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('foot') and $entries = $plugin->foot($currentdir, \$foot) } + + $foot = &$interpolate($foot); + $output .= $foot; + + # Plugins: Last + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('last') and $entries = $plugin->last() } + + } # End skip + + # Finally, add the header, if any and running dynamically + $static_or_dynamic eq 'dynamic' and $header and $output = header($header) . $output; + + $output; +} + + +sub nice_date { + my($unixtime) = @_; + + my $c_time = ctime($unixtime); + my($dw,$mo,$da,$ti,$yr) = ( $c_time =~ /(\w{3}) +(\w{3}) +(\d{1,2}) +(\d{2}:\d{2}):\d{2} +(\d{4})$/ ); + $da = sprintf("%02d", $da); + my $mo_num = $month2num{$mo}; + + return ($dw,$mo,$mo_num,$da,$ti,$yr); +} + + +# Default HTML and RSS template bits +__DATA__ +html content_type text/html +html head <html><head><link rel="alternate" type="type="application/rss+xml" title="RSS" href="$url/index.rss" /><title>$blog_title $path_info_da $path_info_mo $path_info_yr</title></head><body><center><font size="+3">$blog_title</font><br />$path_info_da $path_info_mo $path_info_yr</center><p /> +html story <p><a name="$fn"><b>$title</b></a><br />$body<br /><br />posted at: $ti | path: <a href="$url$path">$path</a> | <a href="$url/$yr/$mo_num/$da#$fn">permanent link to this entry</a></p>\n +html date <h3>$dw, $da $mo $yr</h3>\n +html foot <p /><center><a href="http://www.blosxom.com/"><img src="http://www.blosxom.com/images/pb_blosxom.gif" border="0" /></a></body></html> +rss content_type text/xml +rss head <?xml version="1.0"?>\n<!-- name="generator" content="blosxom/$version" -->\n<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">\n\n<rss version="0.91">\n <channel>\n <title>$blog_title $path_info_da $path_info_mo $path_info_yr</title>\n <link>$url</link>\n <description>$blog_description</description>\n <language>$blog_language</language>\n +rss story <item>\n <title>$title</title>\n <link>$url/$yr/$mo_num/$da#$fn</link>\n <description>$body</description>\n </item>\n +rss date \n +rss foot </channel>\n</rss> +error content_type text/html +error head <html><body><p><font color="red">Error: I'm afraid this is the first I've heard of a "$flavour" flavoured Blosxom. Try dropping the "/+$flavour" bit from the end of the URL.</font>\n\n +error story <p><b>$title</b><br />$body <a href="$url/$yr/$mo_num/$da#fn.$default_flavour">#</a></p>\n +error date <h3>$dw, $da $mo $yr</h3>\n +error foot </body></html> +__END__ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sa...@us...> - 2008-12-02 14:40:13
|
Revision: 115 http://rfic.svn.sourceforge.net/rfic/?rev=115&view=rev Author: sankark Date: 2008-12-02 14:40:09 +0000 (Tue, 02 Dec 2008) Log Message: ----------- All comments updated Modified Paths: -------------- prfic/trunk/core.pl Modified: prfic/trunk/core.pl =================================================================== --- prfic/trunk/core.pl 2008-12-02 13:09:25 UTC (rev 114) +++ prfic/trunk/core.pl 2008-12-02 14:40:09 UTC (rev 115) @@ -19,12 +19,16 @@ $secondary_lfsr=0; for($i=1;$i<=$fsize;$i++) { - #Read the + #Seek the first bye seek(FILE,$i,0); + #Read the input file byte by byte read(FILE,$value,1); #print $value."=".ord($value); + #store the fetched byte in the binary format $value=sprintf("%08b\n",ord($value)); + #split the 8 bit string and store it in an array @bin=split //,$value; + for($j=7;$j>=0;$j--) { #lfsr @@ -32,19 +36,24 @@ next_clk: $case=$case ^ 1; $testctr++; + #For each bit hop increment the RFIC COunter $clock=$clock+1; $temp=0; + #Do the LFSR Iteration foreach $pos (@inputpos) { $temp=$temp+=$lfsr[64-$pos]; } + #Do the Xoring as per the seed position to get the next LFSR bit for($l=48;$l<64;$l++) { $secondary_lfsr=$secondary_lfsr+=$lfsr[$l]; } - $temp=$temp%2; + $temp=$temp%2; + #Equivalent to hashing $secondary_lfsr=$secondary_lfsr%2; $tmp=$lfsr[$#lfsr]; + #Do the LFSR Iteration for($k=$#lfsr;$k>0;$k--) { $lfsr[$k]=$lfsr[$k-1]; @@ -52,15 +61,18 @@ $lfsr[0]=$temp; if($tmp == $bin[$j] and $testctr == 1) { + #Decrements the rfic counter $clock=$clock-1; } if($tmp != $bin[$j] and $testctr > 1) { + # goto the next hop goto next_clk; + } - - #lfsr } + #print the final rfic count print $clock."\n"; } +#Close the file handler close(FILE); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-02 13:09:27
|
Revision: 114 http://rfic.svn.sourceforge.net/rfic/?rev=114&view=rev Author: vipintm Date: 2008-12-02 13:09:25 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Modified Paths: -------------- cgi-bin/trunk/blog.cgi Modified: cgi-bin/trunk/blog.cgi =================================================================== --- cgi-bin/trunk/blog.cgi 2008-12-02 12:57:42 UTC (rev 113) +++ cgi-bin/trunk/blog.cgi 2008-12-02 13:09:25 UTC (rev 114) @@ -21,7 +21,7 @@ $blog_language = "en"; # Where are this blog's entries kept? -$datadir = "/home/groups/r/rf/rfic/htdocs/TextBlog"; +$datadir = "/home/groups/r/rf/rfic/htdocs/Text"; # What's my preferred base URL for this blog (leave blank for automatic)? $url = ""; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-02 12:57:45
|
Revision: 113 http://rfic.svn.sourceforge.net/rfic/?rev=113&view=rev Author: vipintm Date: 2008-12-02 12:57:42 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Added Paths: ----------- www/trunk/Text/ Removed Paths: ------------- www/trunk/TextBlog/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-02 12:11:16
|
Revision: 112 http://rfic.svn.sourceforge.net/rfic/?rev=112&view=rev Author: vipintm Date: 2008-12-02 12:11:13 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Added blog posting dirs Added Paths: ----------- www/trunk/TextBlog/ www/trunk/TextBlog/main/ www/trunk/TextBlog/main/The First Post.txt www/trunk/blog/ Added: www/trunk/TextBlog/main/The First Post.txt =================================================================== --- www/trunk/TextBlog/main/The First Post.txt (rev 0) +++ www/trunk/TextBlog/main/The First Post.txt 2008-12-02 12:11:13 UTC (rev 112) @@ -0,0 +1,2 @@ +First Post +This is the first post of RFiC offical Blog. \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-02 12:07:48
|
Revision: 111 http://rfic.svn.sourceforge.net/rfic/?rev=111&view=rev Author: vipintm Date: 2008-12-02 12:07:47 +0000 (Tue, 02 Dec 2008) Log Message: ----------- Added plugen dir. SVN post also added yet to fix it Modified Paths: -------------- cgi-bin/trunk/blog.cgi Added Paths: ----------- cgi-bin/trunk/blogp/ cgi-bin/trunk/blogp/state/ cgi-bin/trunk/blogp/svn Modified: cgi-bin/trunk/blog.cgi =================================================================== --- cgi-bin/trunk/blog.cgi 2008-12-02 03:39:59 UTC (rev 110) +++ cgi-bin/trunk/blog.cgi 2008-12-02 12:07:47 UTC (rev 111) @@ -46,7 +46,7 @@ # --- Plugins (Optional) ----- # Where are my plugins kept? -$plugin_dir = ""; +$plugin_dir = "/home/groups/r/rf/rfic/cgi-bin/blogp"; # Where should my modules keep their state information? $plugin_state_dir = "$plugin_dir/state"; Added: cgi-bin/trunk/blogp/svn =================================================================== --- cgi-bin/trunk/blogp/svn (rev 0) +++ cgi-bin/trunk/blogp/svn 2008-12-02 12:07:47 UTC (rev 111) @@ -0,0 +1,125 @@ +package svn; + +use strict; + +require SVN::Core; +require SVN::Repos; +require SVN::Fs; +use Date::Parse; +use Date::Format; +# --- Configurable variables ----- + +our $svnrepos = "https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/"; +our $toplevel = "/"; +my $repos; +# -------------------------------- +my $files; +my $revtime; + +our $mtime; + +sub start { + $repos = SVN::Repos::open($svnrepos); + 1; +} + +sub rev_date { + my $rev = shift; + my $fs = $repos->fs; + return $revtime->{$rev} ||= str2time($fs->revision_prop ($rev, 'svn:date')); +} + +sub svn_created_rev { + my ($root, $path) = @_; + + my $hist = $root->node_history ($path); + + while (my $prev = $hist->prev(1)) { + $hist = $prev; + } + return ($hist->location)[1]; +} + +sub entries { + my $fs = $repos->fs; + my $root = $fs->revision_root($fs->youngest_rev); + sub svn_entries { + my ($dir, $entry) = @_; + $entry->kind == $SVN::Node::dir ? + (map {svn_entries($dir.$entry->name.'/', $_)} + values %{$root->dir_entries($dir.$entry->name)}) + : $entry->name =~ m/\.$blosxom::file_extension$/ ? + ($blosxom::datadir.$dir.$entry->name => + svn_created_rev ($root, $dir.$entry->name)) : (); + } + + return sub { + $files = + {map {svn_entries ($toplevel, $_)} values %{$root->dir_entries($toplevel)}}; + + return ({map {$_ => rev_date($files->{$_})} keys %$files}, + {map {s/^$blosxom::datadir//; + my $d = join('/', (blosxom::nice_date(rev_date($files->{$_})))[5,2,3]); + ($d => $d, + $_ => 1)} keys %$files}, {}); + } +} + +sub sort { + return undef unless $ENV{GATEWAY_INTERFACE}; + return sub { + my ($files, $others) = @_; + return sort { + my ($aa, $bb) = ($a, $b); + $aa =~ s/^$blosxom::datadir//; + $bb =~ s/^$blosxom::datadir//; + my $atime = svn_mtime($aa) || $files->{$a}; + my $btime = svn_mtime($bb) || $files->{$b}; + $btime <=> $atime } keys %$files; + }; + +} + +sub svn_mtime { + my ($path) = @_; + my $fs = $repos->fs; + my $rev = $fs->revision_root ($fs->youngest_rev)->node_created_rev ($path); + return ($rev != $files->{$blosxom::datadir.$path}) ? + rev_date($rev) : undef; +} + +sub story { + my($pkg, $path, $filename, $story_ref, $title_ref, $body_ref) = @_; + return unless $filename; + + my $fs = $repos->fs; + my $content = $fs->revision_root($fs->youngest_rev)->file_contents("$path/$filename.$blosxom::file_extension"); + $mtime = svn_mtime ("$path/$filename.$blosxom::file_extension"); + $mtime = '<div class="updated">updated: '.ctime($mtime).'</div>' + if $mtime; + $$title_ref = <$content>; + local $/; + $$body_ref = <$content>; + return 1; + +} + +package filetime; + +sub TIESCALAR { + my $class = shift; + my $filetime = shift; + return bless [$filetime], $class; +} + +sub FETCH { + my $self = shift; + return $self->[0] +} + +sub STORE { + die "no store please"; +} + +1; + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <sa...@us...> - 2008-12-02 03:40:05
|
Revision: 110 http://rfic.svn.sourceforge.net/rfic/?rev=110&view=rev Author: sankark Date: 2008-12-02 03:39:59 +0000 (Tue, 02 Dec 2008) Log Message: ----------- added partial comments Modified Paths: -------------- prfic/trunk/core.pl Modified: prfic/trunk/core.pl =================================================================== --- prfic/trunk/core.pl 2008-12-01 15:11:29 UTC (rev 109) +++ prfic/trunk/core.pl 2008-12-02 03:39:59 UTC (rev 110) @@ -1,18 +1,25 @@ #!/usr/bin/perl +# @lfsr=(1,0,0,0,1,0,0,0,0,1,0,1,1,1,0,1,0,1,1,1,1,0,1,0,0,0,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,0,1,0,1,1,1,1,0,1,0,0,0,0,1,0,1,1,1,0,1,0,0,1); +# @inputpos=(64, 60, 59, 57, 56, 55, 54, 52, 51, 46, 44, 43, 40, 39, 38, 37, 35, 33, 32, 31, 29, 27, 26, 24, 23, 22, 16, 15, 14, 10, 5, 2, 0);#33 +#Initialise all counters to zero $clock=0; $clk1=0; $clk0=0; $case=0; +#Open the input file which has been given as first arguement. open(FILE,$ARGV[0]) or die("cant open file"); +#Let the file handler work in binmode so that the code supports all file formats. binmode(FILE); seek(FILE,0,2); +#Getthe file size in bytes and store it in $fsize for furthe processing. $fsize=tell(FILE); #print "tell: " . $fsize . "\n\n\n"; $secondary_lfsr=0; for($i=1;$i<=$fsize;$i++) { + #Read the seek(FILE,$i,0); read(FILE,$value,1); #print $value."=".ord($value); @@ -42,7 +49,7 @@ { $lfsr[$k]=$lfsr[$k-1]; } - $lfsr[0]=$temp; + $lfsr[0]=$temp; if($tmp == $bin[$j] and $testctr == 1) { $clock=$clock-1; @@ -54,6 +61,6 @@ #lfsr } - print $clock."\n"; + print $clock."\n"; } close(FILE); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-01 15:11:32
|
Revision: 109 http://rfic.svn.sourceforge.net/rfic/?rev=109&view=rev Author: vipintm Date: 2008-12-01 15:11:29 +0000 (Mon, 01 Dec 2008) Log Message: ----------- Added necessary parameters in the configuration Modified Paths: -------------- cgi-bin/trunk/blog.cgi Modified: cgi-bin/trunk/blog.cgi =================================================================== --- cgi-bin/trunk/blog.cgi 2008-12-01 14:44:24 UTC (rev 108) +++ cgi-bin/trunk/blog.cgi 2008-12-01 15:11:29 UTC (rev 109) @@ -4,22 +4,24 @@ # Author: Rael Dornfest <ra...@or...> # Version: 2.0 # Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/ +# Modified by : Vipin M <vi...@gm...> +# Description : As a part of RFiC Project http://rfic.sf.net/cgi-bin/blog.cgi package blosxom; # --- Configurable variables ----- # What's this blog's title? -$blog_title = "My Weblog"; +$blog_title = "Remote File Integrity Check"; # What's this blog's description (for outgoing RSS feed)? -$blog_description = "Yet another Blosxom weblog."; +$blog_description = "File Integrity and Much More"; # What's this blog's primary language (for outgoing RSS feed)? $blog_language = "en"; # Where are this blog's entries kept? -$datadir = "/Library/WebServer/Documents/blosxom"; +$datadir = "/home/groups/r/rf/rfic/htdocs/TextBlog"; # What's my preferred base URL for this blog (leave blank for automatic)? $url = ""; @@ -52,7 +54,7 @@ # --- Static Rendering ----- # Where are this blog's static files to be created? -$static_dir = "/Library/WebServer/Documents/blog"; +$static_dir = "/home/groups/r/rf/rfic/htdocs/blog"; # What's my administrative password (you must set this for static rendering)? $static_password = ""; @@ -89,7 +91,7 @@ # Drop ending any / from dir settings $datadir =~ s!/$!!; $plugin_dir =~ s!/$!!; $static_dir =~ s!/$!!; - + # Fix depth to take into account datadir's path $depth and $depth += ($datadir =~ tr[/][]) - 1; @@ -101,7 +103,7 @@ # Path Info Magic # Take a gander at HTTP's PATH_INFO for optional blog name, archive yr/mo/day -my @path_info = split m{/}, path_info() || param('path'); +my @path_info = split m{/}, path_info() || param('path'); shift @path_info; while ($path_info[0] and $path_info[0] =~ /^[a-zA-Z].*$/ and $path_info[0] !~ /(.*)\.(.*)/) { $path_info .= '/' . shift @path_info; } @@ -125,7 +127,7 @@ $path_info_mo_num = $path_info_mo ? ( $path_info_mo =~ /\d{2}/ ? $path_info_mo : ($month2num{ucfirst(lc $path_info_mo)} || undef) ) : undef; # Define standard template subroutine, plugin-overridable at Plugins: Template -$template = +$template = sub { my ($path, $chunk, $flavour) = @_; @@ -171,11 +173,11 @@ my(%files, %indexes, %others); find( sub { - my $d; - my $curr_depth = $File::Find::dir =~ tr[/][]; - return if $depth and $curr_depth > $depth; - - if ( + my $d; + my $curr_depth = $File::Find::dir =~ tr[/][]; + return if $depth and $curr_depth > $depth; + + if ( # a match $File::Find::name =~ m!^$datadir/(?:(.*)/)?(.+)\.$file_extension$! # not an index, .file, and is readable @@ -183,9 +185,9 @@ ) { # to show or not to show future entries - ( + ( $show_future_entries - or stat($File::Find::name)->mtime < time + or stat($File::Find::name)->mtime < time ) # add the file and its associated mtime to the list of files @@ -193,17 +195,17 @@ # static rendering bits and ( - param('-all') + param('-all') or !-f "$static_dir/$1/index." . $static_flavours[0] or stat("$static_dir/$1/index." . $static_flavours[0])->mtime < stat($File::Find::name)->mtime ) and $indexes{$1} = 1 and $d = join('/', (nice_date($files{$File::Find::name}))[5,2,3]) - + and $indexes{$d} = $d and $static_entries and $indexes{ ($1 ? "$1/" : '') . "$2.$file_extension" } = 1 - } + } else { !-d $File::Find::name and -r $File::Find::name and $others{$File::Find::name} = stat($File::Find::name)->mtime } @@ -244,9 +246,9 @@ $content_type =~ s!\n.*!!s; my $fn = $p =~ m!^(.+)\.$file_extension$! ? $1 : "$p/index"; param('-quiet') or print "$fn.$flavour\n"; - my $fh_w = new FileHandle "> $static_dir/$fn.$flavour" or die "Couldn't open $static_dir/$p for writing: $!"; + my $fh_w = new FileHandle "> $static_dir/$fn.$flavour" or die "Couldn't open $static_dir/$p for writing: $!"; $output = ''; - print $fh_w + print $fh_w $indexes{$path} == 1 ? &generate('static', $p, '', $flavour, $content_type) : &generate('static', '', $p, $flavour, $content_type); @@ -269,7 +271,7 @@ # Plugins: End foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('end') and $entries = $plugin->end() } -# Generate +# Generate sub generate { my($static_or_dynamic, $currentdir, $date, $flavour, $content_type) = @_; @@ -278,34 +280,34 @@ # Plugins: Skip # Allow plugins to decide if we can cut short story generation my $skip; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('skip') and defined($tmp = $plugin->skip()) and $skip = $tmp and last; } - + # Define default interpolation subroutine - $interpolate = + $interpolate = sub { package blosxom; my $template = shift; - $template =~ + $template =~ s/(\$\w+(?:::)?\w*)/"defined $1 ? $1 : ''"/gee; return $template; - }; + }; unless (defined($skip) and $skip) { # Plugins: Interpolate - # Allow for the first encountered plugin::interpolate subroutine to + # Allow for the first encountered plugin::interpolate subroutine to # override the default built-in interpolate subroutine my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('interpolate') and defined($tmp = $plugin->interpolate()) and $interpolate = $tmp and last; } - + # Head my $head = (&$template($currentdir,'head',$flavour)); - + # Plugins: Head foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('head') and $entries = $plugin->head($currentdir, \$head) } - + $head = &$interpolate($head); - + $output .= $head; - + # Stories my $curdate = ''; my $ne = $num_entries; @@ -313,8 +315,8 @@ if ( $currentdir =~ /(.*?)([^\/]+)\.(.+)$/ and $2 ne 'index' ) { $currentdir = "$1$2.$file_extension"; $files{"$datadir/$1$2.$file_extension"} and %f = ( "$datadir/$1$2.$file_extension" => $files{"$datadir/$1$2.$file_extension"} ); - } - else { + } + else { $currentdir =~ s!/index\..+$!!; } @@ -323,20 +325,20 @@ my($files_ref) = @_; return sort { $files_ref->{$b} <=> $files_ref->{$a} } keys %$files_ref; }; - + # Plugins: Sort # Allow for the first encountered plugin::sort subroutine to override the # default built-in sort subroutine my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('sort') and defined($tmp = $plugin->sort()) and $sort = $tmp and last; } - + foreach my $path_file ( &$sort(\%f, \%others) ) { last if $ne <= 0 && $date !~ /\d/; use vars qw/ $path $fn /; ($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!; - + # Only stories in the right hierarchy $path =~ /^$currentdir/ or $path_file eq "$datadir/$currentdir" or next; - + # Prepend a slash for use in templates only if a path exists $path &&= "/$path"; @@ -344,25 +346,25 @@ use vars qw/ $dw $mo $mo_num $da $ti $yr $hr $min $hr12 $ampm /; ($dw,$mo,$mo_num,$da,$ti,$yr) = nice_date($files{"$path_file"}); ($hr,$min) = split /:/, $ti; - ($hr12, $ampm) = $hr >= 12 ? ($hr - 12,'pm') : ($hr, 'am'); + ($hr12, $ampm) = $hr >= 12 ? ($hr - 12,'pm') : ($hr, 'am'); $hr12 =~ s/^0//; $hr12 == 0 and $hr12 = 12; - + # Only stories from the right date my($path_info_yr,$path_info_mo_num, $path_info_da) = split /\//, $date; - next if $path_info_yr && $yr != $path_info_yr; last if $path_info_yr && $yr < $path_info_yr; + next if $path_info_yr && $yr != $path_info_yr; last if $path_info_yr && $yr < $path_info_yr; next if $path_info_mo_num && $mo ne $num2month[$path_info_mo_num]; - next if $path_info_da && $da != $path_info_da; last if $path_info_da && $da < $path_info_da; - - # Date + next if $path_info_da && $da != $path_info_da; last if $path_info_da && $da < $path_info_da; + + # Date my $date = (&$template($path,'date',$flavour)); - + # Plugins: Date foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('date') and $entries = $plugin->date($currentdir, \$date, $files{$path_file}, $dw,$mo,$mo_num,$da,$ti,$yr) } - + $date = &$interpolate($date); - + $curdate ne $date and $curdate = $date and $output .= $date; - + use vars qw/ $title $body $raw /; if (-f "$path_file" && $fh->open("< $path_file")) { chomp($title = <$fh>); @@ -371,32 +373,32 @@ $raw = "$title\n$body"; } my $story = (&$template($path,'story',$flavour)); - + # Plugins: Story foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('story') and $entries = $plugin->story($path, $fn, \$story, \$title, \$body) } - + if ($content_type =~ m{\Wxml$}) { # Escape <, >, and &, and to produce valid RSS - my %escape = ('<'=>'<', '>'=>'>', '&'=>'&', '"'=>'"'); + my %escape = ('<'=>'<', '>'=>'>', '&'=>'&', '"'=>'"'); my $escape_re = join '|' => keys %escape; $title =~ s/($escape_re)/$escape{$1}/g; $body =~ s/($escape_re)/$escape{$1}/g; } - + $story = &$interpolate($story); - + $output .= $story; $fh->close; - + $ne--; } - + # Foot my $foot = (&$template($currentdir,'foot',$flavour)); - + # Plugins: Foot foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('foot') and $entries = $plugin->foot($currentdir, \$foot) } - + $foot = &$interpolate($foot); $output .= $foot; @@ -407,19 +409,19 @@ # Finally, add the header, if any and running dynamically $static_or_dynamic eq 'dynamic' and $header and $output = header($header) . $output; - + $output; } sub nice_date { my($unixtime) = @_; - + my $c_time = ctime($unixtime); my($dw,$mo,$da,$ti,$yr) = ( $c_time =~ /(\w{3}) +(\w{3}) +(\d{1,2}) +(\d{2}:\d{2}):\d{2} +(\d{4})$/ ); $da = sprintf("%02d", $da); my $mo_num = $month2num{$mo}; - + return ($dw,$mo,$mo_num,$da,$ti,$yr); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-01 14:44:28
|
Revision: 108 http://rfic.svn.sourceforge.net/rfic/?rev=108&view=rev Author: vipintm Date: 2008-12-01 14:44:24 +0000 (Mon, 01 Dec 2008) Log Message: ----------- Blosxom for RFiC blog Added Paths: ----------- cgi-bin/trunk/blog.cgi Added: cgi-bin/trunk/blog.cgi =================================================================== --- cgi-bin/trunk/blog.cgi (rev 0) +++ cgi-bin/trunk/blog.cgi 2008-12-01 14:44:24 UTC (rev 108) @@ -0,0 +1,444 @@ +#!/usr/bin/perl + +# Blosxom +# Author: Rael Dornfest <ra...@or...> +# Version: 2.0 +# Home/Docs/Licensing: http://www.raelity.org/apps/blosxom/ + +package blosxom; + +# --- Configurable variables ----- + +# What's this blog's title? +$blog_title = "My Weblog"; + +# What's this blog's description (for outgoing RSS feed)? +$blog_description = "Yet another Blosxom weblog."; + +# What's this blog's primary language (for outgoing RSS feed)? +$blog_language = "en"; + +# Where are this blog's entries kept? +$datadir = "/Library/WebServer/Documents/blosxom"; + +# What's my preferred base URL for this blog (leave blank for automatic)? +$url = ""; + +# Should I stick only to the datadir for items or travel down the +# directory hierarchy looking for items? If so, to what depth? +# 0 = infinite depth (aka grab everything), 1 = datadir only, n = n levels down +$depth = 0; + +# How many entries should I show on the home page? +$num_entries = 40; + +# What file extension signifies a blosxom entry? +$file_extension = "txt"; + +# What is the default flavour? +$default_flavour = "html"; + +# Should I show entries from the future (i.e. dated after now)? +$show_future_entries = 0; + +# --- Plugins (Optional) ----- + +# Where are my plugins kept? +$plugin_dir = ""; + +# Where should my modules keep their state information? +$plugin_state_dir = "$plugin_dir/state"; + +# --- Static Rendering ----- + +# Where are this blog's static files to be created? +$static_dir = "/Library/WebServer/Documents/blog"; + +# What's my administrative password (you must set this for static rendering)? +$static_password = ""; + +# What flavours should I generate statically? +@static_flavours = qw/html rss/; + +# Should I statically generate individual entries? +# 0 = no, 1 = yes +$static_entries = 0; + +# -------------------------------- + +use vars qw! $version $blog_title $blog_description $blog_language $datadir $url %template $template $depth $num_entries $file_extension $default_flavour $static_or_dynamic $plugin_dir $plugin_state_dir @plugins %plugins $static_dir $static_password @static_flavours $static_entries $path_info $path_info_yr $path_info_mo $path_info_da $path_info_mo_num $flavour $static_or_dynamic %month2num @num2month $interpolate $entries $output $header $show_future_entries %files %indexes %others !; + +use strict; +use FileHandle; +use File::Find; +use File::stat; +use Time::localtime; +use CGI qw/:standard :netscape/; + +$version = "2.0"; + +my $fh = new FileHandle; + +%month2num = (nil=>'00', Jan=>'01', Feb=>'02', Mar=>'03', Apr=>'04', May=>'05', Jun=>'06', Jul=>'07', Aug=>'08', Sep=>'09', Oct=>'10', Nov=>'11', Dec=>'12'); +@num2month = sort { $month2num{$a} <=> $month2num{$b} } keys %month2num; + +# Use the stated preferred URL or figure it out automatically +$url ||= url(); +$url =~ s/^included:/http:/; # Fix for Server Side Includes (SSI) +$url =~ s!/$!!; + +# Drop ending any / from dir settings +$datadir =~ s!/$!!; $plugin_dir =~ s!/$!!; $static_dir =~ s!/$!!; + +# Fix depth to take into account datadir's path +$depth and $depth += ($datadir =~ tr[/][]) - 1; + +# Global variable to be used in head/foot.{flavour} templates +$path_info = ''; + +$static_or_dynamic = (!$ENV{GATEWAY_INTERFACE} and param('-password') and $static_password and param('-password') eq $static_password) ? 'static' : 'dynamic'; +$static_or_dynamic eq 'dynamic' and param(-name=>'-quiet', -value=>1); + +# Path Info Magic +# Take a gander at HTTP's PATH_INFO for optional blog name, archive yr/mo/day +my @path_info = split m{/}, path_info() || param('path'); +shift @path_info; + +while ($path_info[0] and $path_info[0] =~ /^[a-zA-Z].*$/ and $path_info[0] !~ /(.*)\.(.*)/) { $path_info .= '/' . shift @path_info; } + +# Flavour specified by ?flav={flav} or index.{flav} +$flavour = ''; + +if ( $path_info[$#path_info] =~ /(.+)\.(.+)$/ ) { + $flavour = $2; + $1 ne 'index' and $path_info .= "/$1.$2"; + pop @path_info; +} else { + $flavour = param('flav') || $default_flavour; +} + +# Strip spurious slashes +$path_info =~ s!(^/*)|(/*$)!!g; + +# Date fiddling +($path_info_yr,$path_info_mo,$path_info_da) = @path_info; +$path_info_mo_num = $path_info_mo ? ( $path_info_mo =~ /\d{2}/ ? $path_info_mo : ($month2num{ucfirst(lc $path_info_mo)} || undef) ) : undef; + +# Define standard template subroutine, plugin-overridable at Plugins: Template +$template = + sub { + my ($path, $chunk, $flavour) = @_; + + do { + return join '', <$fh> if $fh->open("< $datadir/$path/$chunk.$flavour"); + } while ($path =~ s/(\/*[^\/]*)$// and $1); + + return join '', ($template{$flavour}{$chunk} || $template{error}{$chunk} || ''); + }; +# Bring in the templates +%template = (); +while (<DATA>) { + last if /^(__END__)?$/; + my($ct, $comp, $txt) = /^(\S+)\s(\S+)\s(.*)$/; + $txt =~ s/\\n/\n/mg; + $template{$ct}{$comp} = $txt; +} + +# Plugins: Start +if ( $plugin_dir and opendir PLUGINS, $plugin_dir ) { + foreach my $plugin ( grep { /^\w+$/ && -f "$plugin_dir/$_" } sort readdir(PLUGINS) ) { + my($plugin_name, $off) = $plugin =~ /^\d*(\w+?)(_?)$/; + my $on_off = $off eq '_' ? -1 : 1; + require "$plugin_dir/$plugin"; + $plugin_name->start() and ( $plugins{$plugin_name} = $on_off ) and push @plugins, $plugin_name; + } + closedir PLUGINS; +} + +# Plugins: Template +# Allow for the first encountered plugin::template subroutine to override the +# default built-in template subroutine +my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('template') and defined($tmp = $plugin->template()) and $template = $tmp and last; } + +# Provide backward compatibility for Blosxom < 2.0rc1 plug-ins +sub load_template { + return &$template(@_); +} + +# Define default find subroutine +$entries = + sub { + my(%files, %indexes, %others); + find( + sub { + my $d; + my $curr_depth = $File::Find::dir =~ tr[/][]; + return if $depth and $curr_depth > $depth; + + if ( + # a match + $File::Find::name =~ m!^$datadir/(?:(.*)/)?(.+)\.$file_extension$! + # not an index, .file, and is readable + and $2 ne 'index' and $2 !~ /^\./ and (-r $File::Find::name) + ) { + + # to show or not to show future entries + ( + $show_future_entries + or stat($File::Find::name)->mtime < time + ) + + # add the file and its associated mtime to the list of files + and $files{$File::Find::name} = stat($File::Find::name)->mtime + + # static rendering bits + and ( + param('-all') + or !-f "$static_dir/$1/index." . $static_flavours[0] + or stat("$static_dir/$1/index." . $static_flavours[0])->mtime < stat($File::Find::name)->mtime + ) + and $indexes{$1} = 1 + and $d = join('/', (nice_date($files{$File::Find::name}))[5,2,3]) + + and $indexes{$d} = $d + and $static_entries and $indexes{ ($1 ? "$1/" : '') . "$2.$file_extension" } = 1 + + } + else { + !-d $File::Find::name and -r $File::Find::name and $others{$File::Find::name} = stat($File::Find::name)->mtime + } + }, $datadir + ); + + return (\%files, \%indexes, \%others); + }; + +# Plugins: Entries +# Allow for the first encountered plugin::entries subroutine to override the +# default built-in entries subroutine +my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('entries') and defined($tmp = $plugin->entries()) and $entries = $tmp and last; } + +my ($files, $indexes, $others) = &$entries(); +%files = %$files; %indexes = %$indexes; %others = ref $others ? %$others : (); + +# Plugins: Filter +foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('filter') and $entries = $plugin->filter(\%files, \%others) } + +# Static +if (!$ENV{GATEWAY_INTERFACE} and param('-password') and $static_password and param('-password') eq $static_password) { + + param('-quiet') or print "Blosxom is generating static index pages...\n"; + + # Home Page and Directory Indexes + my %done; + foreach my $path ( sort keys %indexes) { + my $p = ''; + foreach ( ('', split /\//, $path) ) { + $p .= "/$_"; + $p =~ s!^/!!; + $path_info = $p; + $done{$p}++ and next; + (-d "$static_dir/$p" or $p =~ /\.$file_extension$/) or mkdir "$static_dir/$p", 0755; + foreach $flavour ( @static_flavours ) { + my $content_type = (&$template($p,'content_type',$flavour)); + $content_type =~ s!\n.*!!s; + my $fn = $p =~ m!^(.+)\.$file_extension$! ? $1 : "$p/index"; + param('-quiet') or print "$fn.$flavour\n"; + my $fh_w = new FileHandle "> $static_dir/$fn.$flavour" or die "Couldn't open $static_dir/$p for writing: $!"; + $output = ''; + print $fh_w + $indexes{$path} == 1 + ? &generate('static', $p, '', $flavour, $content_type) + : &generate('static', '', $p, $flavour, $content_type); + $fh_w->close; + } + } + } +} + +# Dynamic +else { + my $content_type = (&$template($path_info,'content_type',$flavour)); + $content_type =~ s!\n.*!!s; + + $header = {-type=>$content_type}; + + print generate('dynamic', $path_info, "$path_info_yr/$path_info_mo_num/$path_info_da", $flavour, $content_type); +} + +# Plugins: End +foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('end') and $entries = $plugin->end() } + +# Generate +sub generate { + my($static_or_dynamic, $currentdir, $date, $flavour, $content_type) = @_; + + my %f = %files; + + # Plugins: Skip + # Allow plugins to decide if we can cut short story generation + my $skip; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('skip') and defined($tmp = $plugin->skip()) and $skip = $tmp and last; } + + # Define default interpolation subroutine + $interpolate = + sub { + package blosxom; + my $template = shift; + $template =~ + s/(\$\w+(?:::)?\w*)/"defined $1 ? $1 : ''"/gee; + return $template; + }; + + unless (defined($skip) and $skip) { + + # Plugins: Interpolate + # Allow for the first encountered plugin::interpolate subroutine to + # override the default built-in interpolate subroutine + my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('interpolate') and defined($tmp = $plugin->interpolate()) and $interpolate = $tmp and last; } + + # Head + my $head = (&$template($currentdir,'head',$flavour)); + + # Plugins: Head + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('head') and $entries = $plugin->head($currentdir, \$head) } + + $head = &$interpolate($head); + + $output .= $head; + + # Stories + my $curdate = ''; + my $ne = $num_entries; + + if ( $currentdir =~ /(.*?)([^\/]+)\.(.+)$/ and $2 ne 'index' ) { + $currentdir = "$1$2.$file_extension"; + $files{"$datadir/$1$2.$file_extension"} and %f = ( "$datadir/$1$2.$file_extension" => $files{"$datadir/$1$2.$file_extension"} ); + } + else { + $currentdir =~ s!/index\..+$!!; + } + + # Define a default sort subroutine + my $sort = sub { + my($files_ref) = @_; + return sort { $files_ref->{$b} <=> $files_ref->{$a} } keys %$files_ref; + }; + + # Plugins: Sort + # Allow for the first encountered plugin::sort subroutine to override the + # default built-in sort subroutine + my $tmp; foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('sort') and defined($tmp = $plugin->sort()) and $sort = $tmp and last; } + + foreach my $path_file ( &$sort(\%f, \%others) ) { + last if $ne <= 0 && $date !~ /\d/; + use vars qw/ $path $fn /; + ($path,$fn) = $path_file =~ m!^$datadir/(?:(.*)/)?(.*)\.$file_extension!; + + # Only stories in the right hierarchy + $path =~ /^$currentdir/ or $path_file eq "$datadir/$currentdir" or next; + + # Prepend a slash for use in templates only if a path exists + $path &&= "/$path"; + + # Date fiddling for by-{year,month,day} archive views + use vars qw/ $dw $mo $mo_num $da $ti $yr $hr $min $hr12 $ampm /; + ($dw,$mo,$mo_num,$da,$ti,$yr) = nice_date($files{"$path_file"}); + ($hr,$min) = split /:/, $ti; + ($hr12, $ampm) = $hr >= 12 ? ($hr - 12,'pm') : ($hr, 'am'); + $hr12 =~ s/^0//; $hr12 == 0 and $hr12 = 12; + + # Only stories from the right date + my($path_info_yr,$path_info_mo_num, $path_info_da) = split /\//, $date; + next if $path_info_yr && $yr != $path_info_yr; last if $path_info_yr && $yr < $path_info_yr; + next if $path_info_mo_num && $mo ne $num2month[$path_info_mo_num]; + next if $path_info_da && $da != $path_info_da; last if $path_info_da && $da < $path_info_da; + + # Date + my $date = (&$template($path,'date',$flavour)); + + # Plugins: Date + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('date') and $entries = $plugin->date($currentdir, \$date, $files{$path_file}, $dw,$mo,$mo_num,$da,$ti,$yr) } + + $date = &$interpolate($date); + + $curdate ne $date and $curdate = $date and $output .= $date; + + use vars qw/ $title $body $raw /; + if (-f "$path_file" && $fh->open("< $path_file")) { + chomp($title = <$fh>); + chomp($body = join '', <$fh>); + $fh->close; + $raw = "$title\n$body"; + } + my $story = (&$template($path,'story',$flavour)); + + # Plugins: Story + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('story') and $entries = $plugin->story($path, $fn, \$story, \$title, \$body) } + + if ($content_type =~ m{\Wxml$}) { + # Escape <, >, and &, and to produce valid RSS + my %escape = ('<'=>'<', '>'=>'>', '&'=>'&', '"'=>'"'); + my $escape_re = join '|' => keys %escape; + $title =~ s/($escape_re)/$escape{$1}/g; + $body =~ s/($escape_re)/$escape{$1}/g; + } + + $story = &$interpolate($story); + + $output .= $story; + $fh->close; + + $ne--; + } + + # Foot + my $foot = (&$template($currentdir,'foot',$flavour)); + + # Plugins: Foot + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('foot') and $entries = $plugin->foot($currentdir, \$foot) } + + $foot = &$interpolate($foot); + $output .= $foot; + + # Plugins: Last + foreach my $plugin ( @plugins ) { $plugins{$plugin} > 0 and $plugin->can('last') and $entries = $plugin->last() } + + } # End skip + + # Finally, add the header, if any and running dynamically + $static_or_dynamic eq 'dynamic' and $header and $output = header($header) . $output; + + $output; +} + + +sub nice_date { + my($unixtime) = @_; + + my $c_time = ctime($unixtime); + my($dw,$mo,$da,$ti,$yr) = ( $c_time =~ /(\w{3}) +(\w{3}) +(\d{1,2}) +(\d{2}:\d{2}):\d{2} +(\d{4})$/ ); + $da = sprintf("%02d", $da); + my $mo_num = $month2num{$mo}; + + return ($dw,$mo,$mo_num,$da,$ti,$yr); +} + + +# Default HTML and RSS template bits +__DATA__ +html content_type text/html +html head <html><head><link rel="alternate" type="type="application/rss+xml" title="RSS" href="$url/index.rss" /><title>$blog_title $path_info_da $path_info_mo $path_info_yr</title></head><body><center><font size="+3">$blog_title</font><br />$path_info_da $path_info_mo $path_info_yr</center><p /> +html story <p><a name="$fn"><b>$title</b></a><br />$body<br /><br />posted at: $ti | path: <a href="$url$path">$path</a> | <a href="$url/$yr/$mo_num/$da#$fn">permanent link to this entry</a></p>\n +html date <h3>$dw, $da $mo $yr</h3>\n +html foot <p /><center><a href="http://www.blosxom.com/"><img src="http://www.blosxom.com/images/pb_blosxom.gif" border="0" /></a></body></html> +rss content_type text/xml +rss head <?xml version="1.0"?>\n<!-- name="generator" content="blosxom/$version" -->\n<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">\n\n<rss version="0.91">\n <channel>\n <title>$blog_title $path_info_da $path_info_mo $path_info_yr</title>\n <link>$url</link>\n <description>$blog_description</description>\n <language>$blog_language</language>\n +rss story <item>\n <title>$title</title>\n <link>$url/$yr/$mo_num/$da#$fn</link>\n <description>$body</description>\n </item>\n +rss date \n +rss foot </channel>\n</rss> +error content_type text/html +error head <html><body><p><font color="red">Error: I'm afraid this is the first I've heard of a "$flavour" flavoured Blosxom. Try dropping the "/+$flavour" bit from the end of the URL.</font>\n\n +error story <p><b>$title</b><br />$body <a href="$url/$yr/$mo_num/$da#fn.$default_flavour">#</a></p>\n +error date <h3>$dw, $da $mo $yr</h3>\n +error foot </body></html> +__END__ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-01 14:41:51
|
Revision: 107 http://rfic.svn.sourceforge.net/rfic/?rev=107&view=rev Author: vipintm Date: 2008-12-01 14:41:47 +0000 (Mon, 01 Dec 2008) Log Message: ----------- cgi-bin tags Added Paths: ----------- cgi-bin/tags/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-01 14:41:10
|
Revision: 106 http://rfic.svn.sourceforge.net/rfic/?rev=106&view=rev Author: vipintm Date: 2008-12-01 14:41:07 +0000 (Mon, 01 Dec 2008) Log Message: ----------- cgi-bin braches Added Paths: ----------- cgi-bin/branches/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-01 14:39:52
|
Revision: 105 http://rfic.svn.sourceforge.net/rfic/?rev=105&view=rev Author: vipintm Date: 2008-12-01 14:39:47 +0000 (Mon, 01 Dec 2008) Log Message: ----------- website cgi trubk folder Added Paths: ----------- cgi-bin/trunk/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-12-01 14:38:08
|
Revision: 104 http://rfic.svn.sourceforge.net/rfic/?rev=104&view=rev Author: vipintm Date: 2008-12-01 14:38:00 +0000 (Mon, 01 Dec 2008) Log Message: ----------- Website cgi folder Added Paths: ----------- cgi-bin/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-11-28 00:49:41
|
Revision: 103 http://rfic.svn.sourceforge.net/rfic/?rev=103&view=rev Author: vipintm Date: 2008-11-28 00:49:37 +0000 (Fri, 28 Nov 2008) Log Message: ----------- Added task links plan.html , removed join project link from inidex.html Modified Paths: -------------- www/trunk/index.html www/trunk/plan.html Modified: www/trunk/index.html =================================================================== --- www/trunk/index.html 2008-11-27 19:13:42 UTC (rev 102) +++ www/trunk/index.html 2008-11-28 00:49:37 UTC (rev 103) @@ -7,79 +7,7 @@ <title>RFiC - Remote File Integrity Check</title> </head> <body> - <div id="page" align="center"> - <div id="toppage" align="center"> - <div id="date"> - <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> - </div> - <div id="topbar"> - <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> - </div> - </div> - <div id="header" align="center"> - <div class="titletext" id="logo"> - <div class="logotext" style="margin:30px">RF<span class="orangelogotext">i</span>C</div> - </div> - <div id="pagetitle"> - <div id="title" class="titletext" align="right">Remote File Integrity Check</div> - </div> - </div> - <div id="content" align="center"> - <div id="menu" align="right"> - <div align="right" style="width:189px; height:8px;"><img src="images/mnu_topshadow.gif" width="189" height="8" alt="mnutopshadow" /></div> - <div id="linksmenu" align="center"> - <a href="index.html" title="Home">Home </a> - <a href="what.html" title="What is RFiC">What is RFiC</a> - <a href="peoples.html" title="Peoples">People</a> - <a href="randd.html" title="Researcch and Publication">Research & Publication</a> - <a href="documents.html" title="Documents">Documents</a> - <a href="download.html" title="Download">Download</a> - <a href="plan.html" title="Project Plan">Project Plan</a> - <a href="suport.html" title="Suport">Support</a> - <a href="contact.html" title="Contact Us">Contact Us</a> - - </div> - <div align="right" style="width:189px; height:8px;"><img src="images/mnu_bottomshadow.gif" width="189" height="8" alt="mnubottomshadow" /> - </div> - - - </p> - <p><br /> - <br /> - </p> - <div> - <p><a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=227859&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a> </p> - <p><a href="http://www.co.cc/?id=155496" target="_blank"><img src="http://www.co.cc/img/affiliates/cocc94_8.gif" border="0" alt="CO.CC:Free Domain" /></a></p> - </div> -<!-- End of SF Tag --> - - - - </div> - <div id="contenttext"> - <div class="bodytext" style="padding:12px;" align="justify"> - <p><strong>Integrity checking of any file in a not trusted computer is difficult. In RFiC system this is simplified by simple algorithms in efficent way. </strong><br /> - <br /> - This project is an initial step to develop a tool to keep integrity of large files stored in remote not trusted or compromised systems and the local files. This tool can be used for remote system integrity checking and remotely stored data integrity checking. This system will be faster and take less bandwidth per test. The required information to store in integrity checking system is minimal. All existing solutions are time and storage intensive.</p> - </div> - <div class="panel" align="justify"> - <p><span class="orangetitle">What RFiC Provide </span></p> - <p><span class="bodytext">An efficient protocol to verify remote file integrity on an not trusted host or local file with low error probabilities. It is found that this protocol is time and storage efficient in comparison to existing remote and local file integrity check protocols and secure against malicious intent. Further, the storage requirement is independent of the number of blocks of the file being verified per challenge.</span></p> - <p><span class="orangetitle">We Welcome More people</span></p> - <p> <span class="bodytext">We are interested to work with more peoples for this project. If you are interested please mail to us in mailing list - or submit a request in <a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1126111"><strong>here</strong></a>. </span></p> - </div> - </div> - </div> - <div id="footer" class="smallgraytext" align="center"> - <a href="index.html">Home</a> | <a href="contact.html">Contact Us</a><br /> - Sarad AV, Sankar K, Vipin M © 2008<br /> - <br /> - </div> - </div> - - - <script type="text/javascript"> +<script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> @@ -90,5 +18,54 @@ } catch(err) {}</script> +<div id="page" align="center"> + <div id="toppage" align="center"> + <div id="date"> + <div class="smalltext" style="padding:13px;"><strong>Bit By Bit Counting</strong></div> + </div> + <div id="topbar"> + <div align="right" style="padding:12px;" class="smallwhitetext"><span class="smallwhitetext" style="padding:12px;"><a href="index.html">Home</a> | <a href="http://mail.fileintegrity.co.cc/">Mail</a> |<a href="http://wiki.fileintegrity.co.cc/">Wiki</a> |<a href="http://docs.fileintegrity.co.cc/"> Docs</a> | <a href="http://calendar.fileintegrity.co.cc/">Calender</a> |<a href="http://fileintegrity.blogspot.com/"> DevBlog</a> | <a href="search.html">Search</a> | <a href="map.html">Sitemap</a> | <a href="contact.html">Contact Us</a></span></div> + </div> + </div> + <div id="header" align="center"> + <div class="titletext" id="logo"> + <div class="logotext" style="margin:30px">RF<span class="orangelogotext">i</span>C</div> + </div> + <div id="pagetitle"> + <div id="title" class="titletext" align="right">Remote File Integrity Check</div> + </div> + </div> + <div id="content" align="center"> + <div id="menu" align="right"> + <div align="right" style="width:189px; height:8px;"><img src="images/mnu_topshadow.gif" width="189" height="8" alt="mnutopshadow" /></div> + <div id="linksmenu" align="center"> <a href="index.html" title="Home">Home </a> <a href="what.html" title="What is RFiC">What is RFiC</a> <a href="peoples.html" title="Peoples">People</a> <a href="randd.html" title="Researcch and Publication">Research & Publication</a> <a href="documents.html" title="Documents">Documents</a> <a href="download.html" title="Download">Download</a> <a href="plan.html" title="Project Plan">Project Plan</a> <a href="suport.html" title="Suport">Support</a> <a href="contact.html" title="Contact Us">Contact Us</a> </div> + <div align="right" style="width:189px; height:8px;"><img src="images/mnu_bottomshadow.gif" width="189" height="8" alt="mnubottomshadow" /> </div> + <p></p> + <p><br /> + <br /> + </p> + <div> + <p><a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=227859&type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a> </p> + <p><a href="http://www.co.cc/?id=155496" target="_blank"><img src="http://www.co.cc/img/affiliates/cocc94_8.gif" border="0" alt="CO.CC:Free Domain" /></a></p> + </div> + <!-- End of SF Tag --> + </div> + <div id="contenttext"> + <div class="bodytext" style="padding:12px;" align="justify"> + <p><strong>Integrity checking of any file in a not trusted computer is difficult. In RFiC system this is simplified by simple algorithms in efficent way. </strong><br /> + <br /> + This project is an initial step to develop a tool to keep integrity of large files stored in remote not trusted or compromised systems and the local files. This tool can be used for remote system integrity checking and remotely stored data integrity checking. This system will be faster and take less bandwidth per test. The required information to store in integrity checking system is minimal. All existing solutions are time and storage intensive.</p> + </div> + <div class="panel" align="justify"> + <p><span class="orangetitle">What RFiC Provide </span></p> + <p><span class="bodytext">An efficient protocol to verify remote file integrity on an not trusted host or local file with low error probabilities. It is found that this protocol is time and storage efficient in comparison to existing remote and local file integrity check protocols and secure against malicious intent. Further, the storage requirement is independent of the number of blocks of the file being verified per challenge.</span></p> + </div> + </div> + </div> + <div id="footer" class="smallgraytext" align="center"> <a href="index.html">Home</a> | <a href="contact.html">Contact Us</a><br /> + Sarad AV, Sankar K, Vipin M © 2008<br /> + <br /> + </div> +</div> </body> </html> Modified: www/trunk/plan.html =================================================================== --- www/trunk/plan.html 2008-11-27 19:13:42 UTC (rev 102) +++ www/trunk/plan.html 2008-11-28 00:49:37 UTC (rev 103) @@ -8,6 +8,14 @@ <style type="text/css"> <!-- .style5 {font-weight: bold} +.style6 {font-weight: bold} +.style7 {font-weight: bold} +.style9 {font-weight: bold} +.style11 {font-weight: bold} +.style12 { + color: #FF440E; + font-weight: bold; +} --> </style> </head> @@ -61,29 +69,28 @@ <div id="contenttext"> <div class="bodytext" style="padding:12px;" align="justify"> <p align="left"><strong>“No planning No work”</strong></p> + <p align="left"><strong>Gneral out line of development </strong></p> <ul> - <li><strong>Stage 1</strong> - <blockquote> - <p> </p> - </blockquote> - <ol> - <li>Build simple system of RFiC as concept-of-proof (*) </li> - <li>Getting published the concept-of-proof of RFiC as a conference publication.(*)</li> - <li> Build a library for fast LFSR, BBS pseudo random number generator and RFiC Counting and other functions.(**)</li> - <li> Build a command line tool to check local files integrity (rfic).(***) - <ol> - <li>Perl Based rfic comand line tool - <ol> - <li><strong><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/TODO.Perl-RFiC.txt">TODO details</a></strong><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/TODO.Perl-RFiC.txt"> > </a></li> - <li><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/STATUS.Perl-RFiC.txt"><strong>Development Status > </strong></a></li> - </ol> - </li> - </ol> - </li> - <li>Run existence test on local files for performance analysis.(***)</li> - </ol> - </li> + <li><strong>Stage 1</strong></li> </ul> + <ul> + <ol> + <li>Build simple system of RFiC as concept-of-proof (*) </li> + <li>Getting published the concept-of-proof of RFiC as a conference publication.(*)</li> + <li> Build a library for fast LFSR, BBS pseudo random number generator and RFiC Counting and other functions.(**)</li> + <li> Build a command line tool to check local files integrity (rfic).(***) + <ol> + <li>Perl Based rfic comand line tool + <ol> + <li><strong><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/TODO.Perl-RFiC.txt">TODO details</a></strong><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/TODO.Perl-RFiC.txt"> > </a></li> + <li><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/STATUS.Perl-RFiC.txt"><strong>Development Status > </strong></a></li> + </ol> + </li> + </ol> + </li> + <li>Run existence test on local files for performance analysis.(***)</li> + </ol> + </ul> <p> </p> <ul> <li> @@ -96,7 +103,65 @@ <div align="left"><strong>(***) - Yet to start </strong></div> </li> </ul> - </div> + <p> </p> + <p><strong>Assigne / Modify Task </strong>( only for developers ) </p> + <p>Submit/view assigned tasks and their status. </p> + <blockquote> + <p class="style12">Currentely in development </p> + <p><span class="style6"><a href="https://sourceforge.net/pm/task.php?group_project_id=57796&group_id=227859&func=browse"> prfic</a> [ + Command utility build in perl ] </span></p> + <ul class="style7"> + <li>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57796&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57796&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57796&func=browse&set=open">Browse Open Tasks</a> | </li> + </ul> + <p><strong><a href="https://sourceforge.net/pm/task.php?group_project_id=57802&group_id=227859&func=browse"> study</a> [ + RFiC related study ] </strong></p> + <ul class="style9"> + <li>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57802&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57802&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57802&func=browse&set=open">Browse Open Tasks</a> |</li> + </ul> + <p><strong><a href="https://sourceforge.net/pm/task.php?group_project_id=57801&group_id=227859&func=browse"> res</a> [ + RFiC related Research ] </strong></p> + <ul class="style11"> + <li>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57801&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57801&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57801&func=browse&set=open">Browse Open Tasks</a> | </li> + </ul> + <p><strong><a href="https://sourceforge.net/pm/task.php?group_project_id=57803&group_id=227859&func=browse"> www</a> [ + RFiC www pages ] </strong></p> + <ul> + <li><strong>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57803&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57803&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57803&func=browse&set=open">Browse Open Tasks</a> |</strong></li> + </ul> + <p class="style12">Yet under discussion and planning </p> + <p><a href="https://sourceforge.net/pm/task.php?group_project_id=57799&group_id=227859&func=browse"> Crypt::rfic</a> [ + Perl Module ] </p> + <ul> + <li><strong> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57799&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_project_id=57794&group_id=227859&func=browse">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57799&func=browse&set=open">Browse Open Tasks</a> | </strong></li> + </ul> + <p><a href="https://sourceforge.net/pm/task.php?group_project_id=57800&group_id=227859&func=browse"> Documentation</a> [ + RFiC Documentation ] </p> + <ul> + <li><strong>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57800&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57800&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57800&func=browse&set=open">Browse Open Tasks</a> |</strong></li> + </ul> + <p><a href="https://sourceforge.net/pm/task.php?group_project_id=57798&group_id=227859&func=browse"> mod_rfic</a> [ + Apache Module ] </p> + <ul> + <li><strong>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57798&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57798&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57798&func=browse&set=open">Browse Open Tasks</a> |</strong></li> + </ul> + <p><a href="https://sourceforge.net/pm/task.php?group_project_id=57795&group_id=227859&func=browse"> rfic</a> [ + Command utility build in c ] </p> + <ul> + <li><strong>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57795&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57795&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57795&func=browse&set=open">Browse Open Tasks</a> | </strong></li> + </ul> + <p><a href="https://sourceforge.net/pm/task.php?group_project_id=57797&group_id=227859&func=browse"> rficd</a> [ + Dimon to use as a service ] </p> + <ul> + <li><strong>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57797&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57797&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57797&func=browse&set=open">Browse Open Tasks</a> |</strong></li> + </ul> + <p><a href="https://sourceforge.net/pm/task.php?group_project_id=57794&group_id=227859&func=browse"> rficp</a> [ + Protocole ] </p> + <ul> + <li><strong>| <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57794&func=addtask">Add Task</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57794&func=browse&set=my">My Tasks</a> | <a href="https://sourceforge.net/pm/task.php?group_id=227859&group_project_id=57794&func=browse&set=open">Browse Open Tasks</a> |</strong></li> + </ul> + <p> </p> + </blockquote> + </div> </div> </div> <div id="footer" class="smallgraytext" align="center"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-11-27 19:13:46
|
Revision: 102 http://rfic.svn.sourceforge.net/rfic/?rev=102&view=rev Author: vipintm Date: 2008-11-27 19:13:42 +0000 (Thu, 27 Nov 2008) Log Message: ----------- STATUS.Perl-RFiC.txt added all others name also Modified Paths: -------------- res/trunk/Documents/prfic/system/STATUS.Perl-RFiC.txt Modified: res/trunk/Documents/prfic/system/STATUS.Perl-RFiC.txt =================================================================== --- res/trunk/Documents/prfic/system/STATUS.Perl-RFiC.txt 2008-11-27 19:12:31 UTC (rev 101) +++ res/trunk/Documents/prfic/system/STATUS.Perl-RFiC.txt 2008-11-27 19:13:42 UTC (rev 102) @@ -1,4 +1,9 @@ -Author Vipin M < vi...@gm...> +Authors: Vipin M, Sankar K, Sarad AV rfic-00.01 - Thursday, November 27, 2008 - Added all requeired folder structure + Thursday, November 27, 2008 + - Added all requeired folder structure + - Started prfic based on drfic.pl program. + - Configured all mailing list to use by the developers. + - + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-11-27 19:12:36
|
Revision: 101 http://rfic.svn.sourceforge.net/rfic/?rev=101&view=rev Author: vipintm Date: 2008-11-27 19:12:31 +0000 (Thu, 27 Nov 2008) Log Message: ----------- Added all request trackers and details. Modified Paths: -------------- www/trunk/documents.html www/trunk/index.html www/trunk/peoples.html www/trunk/plan.html www/trunk/suport.html Modified: www/trunk/documents.html =================================================================== --- www/trunk/documents.html 2008-11-27 12:11:32 UTC (rev 100) +++ www/trunk/documents.html 2008-11-27 19:12:31 UTC (rev 101) @@ -56,7 +56,37 @@ <div id="contenttext"> <div class="bodytext" style="padding:12px;" align="justify"> <p><strong>Learn how it work and how to make it work</strong></p> - <blockquote> + <table width="579" height="161" border="1"> + <tr> + <td width="138">Discription</td> + <td width="52">Name</td> + </tr> + <tr> + <td> Protocole </td> + <td>rficp</td> + </tr> + <tr> + <td>Command utility build in c</td> + <td>rfic</td> + </tr> + <tr> + <td><p>Command utility build in perl </p></td> + <td> prfic</td> + </tr> + <tr> + <td> Dimon to use as a service </td> + <td> rficd</td> + </tr> + <tr> + <td>Apache Module </td> + <td>mod_rfic</td> + </tr> + <tr> + <td> Perl Module </td> + <td>Crypt::rfic</td> + </tr> + </table> + <blockquote> <p><strong><a href="http://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Manuals/">Manuals</a></strong></p> <ol> <li><a href="http://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Manuals/rficp/">rficp</a></li> @@ -110,7 +140,7 @@ <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.5/in/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/2.5/in/88x31.png" /></a> </em></strong></p> <p><strong><em>All the documents in this site by <a xmlns:cc="http://creativecommons.org/ns#" href="http://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Whitepapers/study/File%20Integrity%20Checking.txt" property="cc:attributionName" rel="cc:attributionURL">Vipin M, Sarad AV, Sanker K</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/2.5/in/">Creative Commons Attribution-Noncommercial-No Derivative Works 2.5 India License</a>.<br /> Permissions beyond the scope of this license may be available at <a xmlns:cc="http://creativecommons.org/ns#" href="http://www.fileintegrity.co.cc/permissions.html" rel="cc:morePermissions">permissions page.</a></em></strong></p> - </blockquote> + </blockquote> </div> </div> </div> Modified: www/trunk/index.html =================================================================== --- www/trunk/index.html 2008-11-27 12:11:32 UTC (rev 100) +++ www/trunk/index.html 2008-11-27 19:12:31 UTC (rev 101) @@ -63,10 +63,11 @@ This project is an initial step to develop a tool to keep integrity of large files stored in remote not trusted or compromised systems and the local files. This tool can be used for remote system integrity checking and remotely stored data integrity checking. This system will be faster and take less bandwidth per test. The required information to store in integrity checking system is minimal. All existing solutions are time and storage intensive.</p> </div> <div class="panel" align="justify"> - <p><span class="orangetitle">What RFiC Provide </span> - <span class="bodytext"><br /> - </span></p> + <p><span class="orangetitle">What RFiC Provide </span></p> <p><span class="bodytext">An efficient protocol to verify remote file integrity on an not trusted host or local file with low error probabilities. It is found that this protocol is time and storage efficient in comparison to existing remote and local file integrity check protocols and secure against malicious intent. Further, the storage requirement is independent of the number of blocks of the file being verified per challenge.</span></p> + <p><span class="orangetitle">We Welcome More people</span></p> + <p> <span class="bodytext">We are interested to work with more peoples for this project. If you are interested please mail to us in mailing list + or submit a request in <a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1126111"><strong>here</strong></a>. </span></p> </div> </div> </div> Modified: www/trunk/peoples.html =================================================================== --- www/trunk/peoples.html 2008-11-27 12:11:32 UTC (rev 100) +++ www/trunk/peoples.html 2008-11-27 19:12:31 UTC (rev 101) @@ -67,7 +67,7 @@ <p><span class="orangetitle">We Welcome More people</span></p> <p> <span class="bodytext">We are interested to work with more peoples for this project. If you are interested please mail to us in mailing list - . </span> </p> + or submit a request in <a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1126111"><strong>here</strong></a>. </span> </p> </div> </div> </div> Modified: www/trunk/plan.html =================================================================== --- www/trunk/plan.html 2008-11-27 12:11:32 UTC (rev 100) +++ www/trunk/plan.html 2008-11-27 19:12:31 UTC (rev 101) @@ -75,7 +75,7 @@ <li>Perl Based rfic comand line tool <ol> <li><strong><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/TODO.Perl-RFiC.txt">TODO details</a></strong><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/TODO.Perl-RFiC.txt"> > </a></li> - <li><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/STAUS.Perl-RFiC.txt"><strong>Development Status > </strong></a></li> + <li><a href="https://rfic.svn.sourceforge.net/svnroot/rfic/res/trunk/Documents/prfic/system/STATUS.Perl-RFiC.txt"><strong>Development Status > </strong></a></li> </ol> </li> </ol> Modified: www/trunk/suport.html =================================================================== --- www/trunk/suport.html 2008-11-27 12:11:32 UTC (rev 100) +++ www/trunk/suport.html 2008-11-27 19:12:31 UTC (rev 101) @@ -4,8 +4,7 @@ <meta name="author" content="Vipin M" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="images/style.css" type="text/css" /> - <title>Support for RFiC</title> -</head> + <title>Support for RFiC</title></head> <body> <div id="page" align="center"> <div id="toppage" align="center"> @@ -80,7 +79,57 @@ <p>This group is not just stuck with these results; we are trying for better performance and better security. To get update about all these and to involve in our search for better remote integrity checking system join in this</p> <p>To get subscribed follow this link <a href="https://lists.sourceforge.net/lists/listinfo/rfic-research">https://lists.sourceforge.net/lists/listinfo/rfic-research</a><br /> Mailing list id: <strong>rfi...@li...</strong></p> + <p> </p> </blockquote> + <p><strong>More Help </strong>( Make contact with developers ) </p> + <p>Note : Find the best to place to place your request. </p> + <table width="239" height="137" border="1"> + <tr> + <td width="148">Discription</td> + <td width="74">Name</td> + </tr> + <tr> + <td> Protocole </td> + <td>rficp</td> + </tr> + <tr> + <td>Command utility build in c</td> + <td>rfic</td> + </tr> + <tr> + <td><p>Command utility build in perl </p></td> + <td> prfic</td> + </tr> + <tr> + <td> Dimon to use as a service </td> + <td> rficd</td> + </tr> + <tr> + <td>Apache Module </td> + <td>mod_rfic</td> + </tr> + <tr> + <td> Perl Module </td> + <td>Crypt::rfic</td> + </tr> + </table> + <p>And submit in one of the below link </p> + <table width="476" height="44" border="1"> + <tr> + <td width="80" height="19">Bug Reporting </td> + <td width="86">Support Request </td> + <td width="86">Feature Request</td> + <td width="92">Patch Submission </td> + <td width="98">Get in to usears list </td> + </tr> + <tr> + <td height="17"><p><a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1072189">Submit</a> / <a href="https://sourceforge.net/tracker2/?func=browse&group_id=227859&atid=1072189">Browse</a></p></td> + <td><a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1072190">Submit</a> / <a href="https://sourceforge.net/tracker2/?func=browse&group_id=227859&atid=1072190">Browse</a></td> + <td><a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1072192">Submit</a> / <a href="https://sourceforge.net/tracker2/?func=browse&group_id=227859&atid=1072192">Browse</a></td> + <td><a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1072191">Submit</a> / <a href="https://sourceforge.net/tracker2/?func=browse&group_id=227859&atid=1072191">Browse</a></td> + <td><a href="https://sourceforge.net/tracker2/?func=add&group_id=227859&atid=1126111">Submit</a> / <a href="https://sourceforge.net/tracker2/?func=browse&group_id=227859&atid=1126111">Browse</a></td> + </tr> + </table> <p><strong>We are supported by </strong></p> <blockquote> <p><a href="http://sourceforge.net">Sourceforge.net</a> is the project hosting space and code repo and for all other </p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-11-27 12:11:36
|
Revision: 100 http://rfic.svn.sourceforge.net/rfic/?rev=100&view=rev Author: vipintm Date: 2008-11-27 12:11:32 +0000 (Thu, 27 Nov 2008) Log Message: ----------- Note to sankar please "Update" your SVN and add comment to core.pl file and "commit" back with note Finished. Modified Paths: -------------- prfic/trunk/core.pl Modified: prfic/trunk/core.pl =================================================================== --- prfic/trunk/core.pl 2008-11-27 12:06:03 UTC (rev 99) +++ prfic/trunk/core.pl 2008-11-27 12:11:32 UTC (rev 100) @@ -1,3 +1,4 @@ +#!/usr/bin/perl @lfsr=(1,0,0,0,1,0,0,0,0,1,0,1,1,1,0,1,0,1,1,1,1,0,1,0,0,0,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,1,0,1,0,1,1,1,1,0,1,0,0,0,0,1,0,1,1,1,0,1,0,0,1); @inputpos=(64, 60, 59, 57, 56, 55, 54, 52, 51, 46, 44, 43, 40, 39, 38, 37, 35, 33, 32, 31, 29, 27, 26, 24, 23, 22, 16, 15, 14, 10, 5, 2, 0);#33 $clock=0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2008-05-15 06:29:23
|
Revision: 36 http://rfic.svn.sourceforge.net/rfic/?rev=36&view=rev Author: vipintm Date: 2008-05-14 23:29:21 -0700 (Wed, 14 May 2008) Log Message: ----------- Effcient Maximum Period LFSR generator and related function Added Paths: ----------- rfic/trunk/src/lfsr.c rfic/trunk/src/lfsr.h Added: rfic/trunk/src/lfsr.c =================================================================== --- rfic/trunk/src/lfsr.c (rev 0) +++ rfic/trunk/src/lfsr.c 2008-05-15 06:29:21 UTC (rev 36) @@ -0,0 +1,19 @@ +/*************************************************************************** + * Copyright (C) 2008 by Sarad A V, Sankar K, Vipin M * + * rfi...@li... * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ Added: rfic/trunk/src/lfsr.h =================================================================== --- rfic/trunk/src/lfsr.h (rev 0) +++ rfic/trunk/src/lfsr.h 2008-05-15 06:29:21 UTC (rev 36) @@ -0,0 +1,19 @@ +/*************************************************************************** + * Copyright (C) 2008 by Sarad A V, Sankar K, Vipin M * + * rfi...@li... * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |