Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jun 2012 14:10:55 +0300
From:      Tzanetos Balitsaris <tzabal@it.teithe.gr>
To:        soc-status@freebsd.org
Subject:   [Status Report - Week 02] Automated Kernel Crash Reporting System
Message-ID:  <20120605141055.1576277vqxjbeukf@webmail.teithe.gr>

next in thread | raw e-mail | index | archive | help
In the second week of coding I concentrated on the following things:
* Testing and debugging the work done in the Client Side part (crashreport)
* Considering alternative methods about how to send the reports from  
the client to the server and then deciding and implementing the  
selected method.
* Update the wiki page of the project.

Now, the Client Side part is complete.

I was not sure about the method of how to send the reports that I  
proposed last week. Thus, a good portion of the second week was spent  
on investigating alternative methods. My main alternative was the use  
of the HTTP PUT method using the cURL program. Also, I considered  
again the use of the SSH protocol after getting contact with Ilya  
Bakulin that explained me some aspects that I did not know regarding  
how the SSH protocol works. Finally, I decided to implement it with  
the use of OpenSSH (as I initially proposed) but now with confidence  
and arguments that prove my choice.

HTTP PUT
* Easier to implement the Server Side part of how to receive the  
reports (PHP HTTP library) but we have not any tool in the base system  
for this job (I was considering the cURL program). Also, we won't have  
any security when transfering the reports.

SSH
* Harder to implement the Server Side part of how to receive the  
reports (probably a daemon that runs on the server and notify a script  
when a new report is arrived) but we have OpenSSH in the base system  
for this job. Also, it is secure to transfer the reports.

Finally, Lars Engels sent me a patch for crashreport that mainly fixes  
security issues of crashreport (better and more use of quotes,  
substituted the basename and dirname commands with some shell magic).  
The patch has been applied.

-- 
Tzanetos Balitsaris

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120605141055.1576277vqxjbeukf>