![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Ubuntu Christian Edition Ubuntu Christian Edition. A project to bring Open Source software to the christian community. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
I Ubuntu, Therefore, I Am
![]() |
New Internet accountability software: Net Responsibility
I've been working on an Internet accountability program for Linux. The idea is to log the websites you visit, then periodically e-mail that log so someone else. It also writes a log entry when it is shutdown.
I'm looking for people to test it. Any comments (or code contributions) are welcome. Still to do:
NOTE: I keep this post up to date, and it is the canonical place for installation instructions, usage, known bugs, etc. The discussion later in the thread often deals with specific issues and/or versions of Net Responsibility, so a given post might not contain current information.
The core of Net Responsibility is a daemon that runs in the background. It is started automatically when you boot your computer. However, if you want to control it manually for testing purposes, here's how:
Code:
sudo net-responsibility-report Both net-responsibility-daemon and net-responsibility-report print an error message similar to the following to one or more of stderr, /var/log/syslog, or /var/log/daemon.log: Code:
net-responsibility-report[17580]: The following exception (SQLite3::BusyException) is caused by a known bug. If you know how to fix it, do tell! Otherwise, you can safely ignore it (I hope). net-responsibility-report[17580]: /usr/lib/ruby/1.8/sqlite3/errors.rb:94:in 'check': Unable to close due to unfinalised statements (SQLite3::BusyException) net-responsibility-report[17580]: => from /usr/lib/ruby/1.8/sqlite3/database.rb:153:in 'close' net-responsibility-report[17580]: => from /usr/local/bin/net-responsibility-report:100:in 'initialize' net-responsibility-report[17580]: => from /usr/local/bin/net-responsibility-report:116:in 'new' net-responsibility-report[17580]: => from /usr/local/bin/net-responsibility-report:116
__________________
What's a blub programmer? Registered Linux user #419974 My projects: Last edited by mssever; May 7th, 2008 at 12:02 AM.. Reason: New release means changes to this post |
|
|
|
|
|
#2 | |
|
Fresh Brewed Ubuntu
![]() Join Date: Feb 2005
Location: Japan
My beans are hidden!
Ubuntu CE
|
Re: New Internet accountability software: Net Responsibility
Quote:
Thanks, Jereme
__________________
|
|
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2006
Location: Germany
My beans are hidden!
Ubuntu CE
|
Re: New Internet accountability software: Net Responsibility
OK, now I have tested it. The installation worked and I can check the log file.
All visited websites and their parts are listed (tried Firefox and Opera). This is a lot of stuff and would need very time-consuming reading of the log-file. Perhaps the next step is to bundle all entries coming from one domain? |
|
|
|
|
|
#4 | ||
|
I Ubuntu, Therefore, I Am
![]() |
Re: New Internet accountability software: Net Responsibility
Quote:
Quote:
Code:
sudo net-responsibility-report | less
__________________
What's a blub programmer? Registered Linux user #419974 My projects: |
||
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2006
Location: Germany
My beans are hidden!
Ubuntu CE
|
Re: New Internet accountability software: Net Responsibility
No, I didn't use it. Looks very good. Perhaps later one can make a "tree-view" (like Nautilus-Folder-Tree) in the GUI. Then the accountability partner can choose on which domains he has to look closer...
If I have understood right, the ability to exclude certain domain names is a preference that the person who reads the reports can set. This would mean, that "secure" domains are not viewed in the report. That's a great feature, too. Do you have already an idea how to transfer the reports to the accountability partner? Do you think it is possible via E-Mail? |
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Oct 2006
Location: Germany
My beans are hidden!
Ubuntu CE
|
Re: New Internet accountability software: Net Responsibility
I think I know how to start the mailing process periodically. I would suggest using anacron.
It's like cron, but it doesn't assume that the machine is running continuously. It not a real deamon, but it works like one. If your computer is turned off during the intended time to send the mail, this is performed at the next session. By default anacron can only start root-commands (which is only needed in this case, I think), but I also figured out how to start user-commands with it... |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2007
Beans: 8
Ubuntu 7.04 Feisty Fawn
|
Re: New Internet accountability software: Net Responsibility
I'll download and test it as well. I'm looking forward to this.
|
|
|
|
|
|
#8 |
|
Gee! These Aren't Roasted!
![]() Join Date: Jun 2007
Beans: 190
|
Re: New Internet accountability software: Net Responsibility
These log files can get pretty extensive. Have you thought about compressing them? or are they already compressed?
Also, could you use a backend such as MySQL, pySQL, etc? If you used a backend to store the information, it could easily be read from anywhere on the local net.
__________________
In Mother Russia, Windows Vista runs you! |
|
|
|
|
|
#9 | ||
|
First Cup of Ubuntu
![]() Join Date: Sep 2007
Beans: 8
Ubuntu 7.04 Feisty Fawn
|
Re: New Internet accountability software: Net Responsibility
Doing the following command before any url request are in log will give the following error.
Quote:
Quote:
After I made some web request, it was fine. -chris |
||
|
|
|
|
|
#10 | ||||
|
I Ubuntu, Therefore, I Am
![]() |
Re: New Internet accountability software: Net Responsibility
Quote:
It might actually be good to create a web service that the accountability partner can log in to have more control over the report. Anyone want to build that? Quote:
I've thought a bit more about this feature now that you've mentioned it. I'm not sure that it's such a good idea, because it makes it trivial for the person being held accountable to cover his/her tracks. This needs to be re-thought. Should the report tool always generate full reports? Should it have a hard-coded exclude list that only covers stuff that (for example) Firefox downloads automatically? Or should it exclude based on some whitelist accessible from the Internet--assuming that a suitable list exists? The underlying traffic capturing program, urlsnarf, doesn't grab SSL (secure) URLs. I haven't investigated why, but it likely is due to the encryption. I'm not sure whether this is a feature or a bug. Quote:
Quote:
But this is a lower priority than getting some other stuff working. Oh, I also plan on including some logfile rotation eventually to ease up on the disk space. Thanks for the bug report. I believe that it's fixed now. I'll be releasing the next version soon.
__________________
What's a blub programmer? Registered Linux user #419974 My projects: |
||||
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|