Blog

  • You say I’m a hacker

    Whell, I’m not the only one.

    image

  • NIST::NVD::Store::SQLite3

    I published an SQLite3 storage back-end to NIST::NVD on the CPAN. It’s pretty quick. About as fast as the DB_File one, but without the down side of being tied to DB_File. It shouldn’t be too difficult to re-factor this code to any DBI-based database. MariaDB anyone?

    I know it works on Debian. The nightly CPAN test results should come back shortly and I’ll find out how well it works on other platforms.

  • SELinux on Wheezy

    So, Collier Technologies LLC needs to pass annual audits to operate a certification authority recognized by the SoS. To this end, I’m working with the fine group of developers who maintain SELinux. It seems that the configuration of Xorg that I’m using while typing this here blog post does not have a policy set up for it in the Debian packages. Or if it does, I don’t know enough about it to figure it out.

    I’ve been keeping logs and publishing them here:

    http://www.colliertech.org/federal/nsa/

    I’ll update this post as progress is made.

    [edit 20120608T1042]

    It looks like loading all .pp files (except alsa) makes X run:

    cjac@foxtrot:/usr/share/selinux/default$ time sudo \
    semodule -i `ls *.pp | grep -v -e 'base.pp' -e 'alsa.pp'`
    
    real	0m24.148s
    user	0m23.249s
    sys	0m0.628s
    

    I had to boot into single user mode and load the policies before switching to runlevel 2. To get the kernel args added to the grub command line, I modified /etc/default/grub to include this line:

    cjac@foxtrot:/usr/share/selinux/default$ grep -i selinux /etc/default/grub
    GRUB_CMDLINE_LINUX=" selinux=1 security=selinux"
    

    Next steps:

    [edit 20120208T1305]

    It looks like the seinfo package has not been updated in the last 18 months.

    cjac@foxtrot:/usr/src/git/debian/setools$ grep url .git/config 
    	url = git://git.debian.org/git/users/srivasta/debian/setools.git
    cjac@foxtrot:/usr/src/git/debian/setools$ git log | head -4
    commit 22a5d3e451d8a1e60a3c746466c865e63089a92a
    Merge: fa238f0 149e283
    Author: Manoj Srivastava 
    Date:   Tue Jul 20 23:10:06 2010 -0700
    

    [edit 20120208T1346]

    Stephen tells me that the modules are persistent across re-boots.

    > What's the best way to do this at boot?
    
    You just do it once and it remains until/unless you remove it with
    semodule -r.  No need to do it on each boot.  Normally it is done when
    you install the policy package, but since your policy package apparently
    didn't install all modules, I'm suggesting that you do so manually.  
    
  • RIP James Richardson Adams II

    James Richardson (Dick) Adams of Hampton, died Tuesday, Jan 31 at the Oceanside Rehabilitation Center.

    He was born April 15th, 1918 in Philadelphia, PA, He attended George School Preparatory and the University of Pennsylvania. Dick was the child of James Richardson and Dorothy Hendren Adams. Dick Adams was in the Navy during World War II and served as a midshipman. After the war he was an engineer and later was involved with Marketing for Honeywell and NCR advanced computers for the medical industry. He found great passion in painting and photography for which his art was presented in many shows and galleries in New England. His wife of 49 years, Norma C Adams, died in 2008 as did his son Russell Adams of Northampton MA in 2010, the surviving members of his family include his sister Susie Munger of Scottsdale AZ, daughter Leslie Hollan of Winston Salem, NC, son Peter Adams of North Hampton, NH, daughter Katharine Murta Adams of Los Angeles CA, son Nathaniel Adams of Hampton, NH and daughter Hannah Adams of Orcas Island, WA.

    There are no scheduled services but flowers and cards can be sent to JR Adams, c/o Nathaniel Adams, 26 Dearborn Ave, Hampton NH , 03842.

  • Birthday pizzas!

    Happy birthday, Scarlet, Teresa, Hannah and Tyra!

    image

  • SOPA response from Representative Rick Larsen, WA 2nd District

    Below is an email I received from Representative Rick Larsen‘s office. I don’t recall ever having identifying myself as PVT Adams-Collier in any communications with his office, though I could have done so at some point. Maybe. I also don’t recall contacting his office directly concerning SOPA. I blogged a few things and mentioned him on facebook a couple of times, though. It is good to know that I don’t always have to go directly to my representative to have my voice heard.

    For those playing along at home, I think the best course of action would be for producers to perform searches for their work on peer-to-peer file sharing search engines such as http://thepiratebay.org/ and http://scrapetorrent.com/. If producers find that their work is being distributed in a way which is contrary to their wishes, I advise the producer or their agent to contact the individuals operating seeds with high share ratio in order to ensure that they perform AAA before accepting new peers into the swarm. Those seed operators who refuse to negotiate reasonable AAA terms should be issued C&D orders, and legal action should be taken, should they fail to comply with the request.

    [edit 2012-01-24T05:27:44]

    It would probably be wise to impose a minimum fee of $5 for seed operators per content package they distribute. This will encourage them to pass this fee on to their subscribers in a legal and responsible manner. I recommend that it be distributed in the same fair and concise way in which the tickets are distributed for toll violations on the Tacoma Narrows Bridge. Ask me how I know.

    This will provide content producers a valuable distribution channel which is closely in touch with the consumers of the producers’ media. I believe that if the producer puts forth effort in good faith to develop and maintain relationships with key distribution points, we will see a situation where both content producers and consumers get what they want.

    The authorization phase of the AAA system could charge a Payment Card Industry or bitcoin account a reasonable fee. My employer produces content delivery appliances which would serve quite well the role of AAA gateway.

    For an example of this use case in action (sans account billing), I recommend contacting seeding participants of the Debian CD/DVD swarms. I will proxy such requests if there is interest.

    An alternative might be a tool developed for the online gaming community with a strange name:

    http://www.evenbalance.com/


    Dear Pvt. Adams-Collier:

    Thank you for contacting me about the Stop Online Piracy Act (SOPA) and the Protect IP Act (PIPA). I wanted to update you on my views on this important issue.

    I am opposed to SOPA and PIPA in their current forms. I believe that these bills create unacceptable threats to free speech and free access to the internet. I have heard from many of you in Northwest Washington who are deeply concerned about the potential impacts of SOPA and PIPA.

    Online piracy is a serious problem that costs U.S. businesses billions of dollars. Government agencies must be empowered to stop and prosecute intellectual property thieves. But in doing so we cannot undermine freedom of speech or jeopardize the free flow of information on the internet. I will work with my colleagues to see that any final anti-online piracy legislation protects the internet and does not encroach on free speech rights.

    Please be assured that I will keep your thoughts in mind should I have the opportunity to vote on any legislation that would impact online piracy and internet freedom on the House floor.

    Again, thank you for contacting me. I encourage you to contact me in the future about this or any other issue of importance to you.

    Sincerely,

    Rick Larsen
    United States Representative
    Washington State, 2nd District

    [edit 2012-01-24T05:28:09]

    Sincerely,

    C.J. Adams-Collier
    San Juan County Democratic Central Committee (*whew*) PCO
    San Juan County, Washington State, Orcas 3 District

  • Working that partition like I mean it

    I’m finding myself asking myself, “self, do you really need all 11 gigs of the android build tree checked out locally when you have three SANs scattered about western washington which could probably host that more efficiently?”

    image

    [edit 20120209T1710 -0800]

    [/edit]

    Hey, Sawicki and Reber, what is your policy on hosting regional mirrors of things like kernel trees, debian packages for i386, amd64, kfreebsd-i386, kfreebsd-amd64, arm, ppc and source?  If it’s hosted at uwb, would you consider footing the bill for domain registration of uwbosl.org?  It would probably be as awesome as osuosl, only norse of there.

  • My credentials expire in 22 minutes

    After re-starting gdm3.  Debian, you’re doing it right again.