Category: Chronological

  • Some work on a VyOS image with Let’s Encrypt certs

    I put some packages together this weekend. It’s been a while since I’ve debuilt anything officially.

    The plan is to build a binding to the libgnutls.so.30 API. The certtool CSR (REQ) generation interface does not allow me to create a CRL with “not critical” attributes set on purposes. Maybe if I do it a bit closer to the metal it will be easier…

  • LLC-Technologies-Collier/Demo-SCCC-Byte-AngularJS

    Hello dear readers and attendees,

    This is the post that I will be/ will have been referencing during my presentation to the Seattle Central Community College’s Byte club on Thursday, December 10th at 1500-1630.

    I will begin with a bit of an autobio and find out what kind of students we have in attendance. Please feel free to comment if you’d like to keep in touch before or after the presentation. I will discuss some of the bits and pieces of some industry standard platforms which I’ve developed, deployed, maintained, managed, co-operated, administered and replaced. We can discuss some of the patterns that work well in the industry, and some that are a bit harder to tame.

    Once we have touched most of the areas of specialization represented at the meeting, I will dive in to an AngularJS demo I am developing in github here:

    https://github.com/LLC-Technologies-Collier/Demo-SCCC-Byte-AngularJS/tree/master

    To follow along with the presentation, please run these commands or something similar. My development environment is Debian stable. So yes, this means that we’re not doing a demo of the state of the art. But it also means that the infrastructure has been exercised under load and in production.

    Install Debian package dependencies

    First, install the debian packages of nodejs and npm, the node package manager:

    cjac@debian0:~$ sudo apt-get install nodejs nodejs-dev nodejs-legacy npm
    

    Check out the git repository

    After this, check out the repository from github and create a branch for your work:

    cjac@debian0:~$ mkdir -p /usr/src/git/github/LLC-Technologies-Collier
    cjac@debian0:~$ cd /usr/src/git/github/LLC-Technologies-Collier
    cjac@debian0:/usr/src/git/github/LLC-Technologies-Collier$ git clone git@github.com:LLC-Technologies-Collier/Demo-SCCC-Byte-AngularJS.git
    ...
    cjac@debian0:/usr/src/git/github/LLC-Technologies-Collier$ cd Demo-SCCC-Byte-AngularJS
    cjac@debian0:.../Demo-SCCC-Byte-AngularJS$ git checkout -b $USER
    

    Upgrade to latest npm, install deps

    Once we have the git repository checked out, we’ll grab the latest version of npm and the rest of the node modules

    cjac@debian0:.../Demo-SCCC-Byte-AngularJS$ export PATH="$PWD/node_modules/.bin:$PATH"
    cjac@debian0:.../Demo-SCCC-Byte-AngularJS$ npm install --save-exact npm@"2.1.0"
    cjac@debian0:.../Demo-SCCC-Byte-AngularJS$ npm install --save-exact `cat pkgackage-list.txt`
    

    This post and the associated git repository will be updated between now and the presentation on Thursday. Please chime in and feel free to get involved!

    C.J.

  • I think I just accidentally the whole Seattle EDM scene

    It was unintentional, I promise.

    PS, what are you doing the night before Samhain this year? Feel like giving me and my bike a ride to Bellingham?

  • Some statistics from the router at the cabin

    sip0 is a GRE tunnel between the router and the colo box in Seattle, the payload of which is encapsulated as ipsec traffic before being transmitted over the Ubiquity equipment to the switch that the CenturyLink DSL modem attaches to. I don’t get centurylink easter eggs in my search results when I use this interface.

    eth9 is the local gigabit transceiver. Attached directly to a SIP phone which bridges to a gigabit switch, on which the Ubiquity equipment participates.

    lo is the local loopback interface, of course. Good old 127/8

    usb1 is the 100Mbit USB NIC to which the WRT54G with ssid ‘colliertech.org’ is attached. The vast majority of the traffic originates on this interface.

    cjac@wanjet1:~$ uptime
     09:11:18 up 32 days, 18:33,  6 users,  load average: 0.00, 0.01, 0.05
    cjac@wanjet1:~$ sudo ifconfig
    [sudo] password for cjac: 
    eth9      Link encap:Ethernet  HWaddr 00:26:b9:e3:9b:47  
              inet addr:10.0.0.7  Bcast:0.0.0.0  Mask:255.255.255.0
              inet6 addr: fe80::226:b9ff:fee3:9b47/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:176060020 errors:4 dropped:12 overruns:0 frame:2
              TX packets:131573705 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:216753073131 (201.8 GiB)  TX bytes:30777442696 (28.6 GiB)
              Interrupt:20 Memory:f5400000-f5420000 
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:3423 errors:0 dropped:0 overruns:0 frame:0
              TX packets:3423 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:392714 (383.5 KiB)  TX bytes:392714 (383.5 KiB)
    
    sip0      Link encap:UNSPEC  HWaddr 64-40-6A-02-30-30-3A-30-00-00-00-00-00-00-00-00  
              inet addr:100.64.107.2  P-t-P:100.64.107.1  Mask:255.255.255.252
              inet6 addr: fe80::200:5efe:6440:6a02/64 Scope:Link
              inet6 addr: 2607:ff08:f5:1338::6440:6b02/126 Scope:Global
              UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1414  Metric:1
              RX packets:468792 errors:0 dropped:0 overruns:0 frame:0
              TX packets:297314 errors:30556 dropped:5 overruns:0 carrier:30549
              collisions:0 txqueuelen:0 
              RX bytes:512744498 (488.9 MiB)  TX bytes:21652345 (20.6 MiB)
    
    usb1      Link encap:Ethernet  HWaddr 40:3c:fc:01:35:a5  
              inet addr:172.16.67.1  Bcast:0.0.0.0  Mask:255.255.255.0
              inet6 addr: fe80::423c:fcff:fe01:35a5/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:131960908 errors:0 dropped:0 overruns:0 frame:0
              TX packets:175522396 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:28447118558 (26.4 GiB)  TX bytes:216131320364 (201.2 GiB)
    
  • Happy Birthday to Collier Technologies LLC!

    Five years ago today, Hannah and I completed all of the forms necessary to stand up our LLC. Okay, alright. Our registered agent actually did all of the hard work. Thanks and happy birthday to you too, Molly!

  • Long Term Stable – 2014.04 @ 20141204T080801

    It’s been one of those nights:

    cjac@ubuntu0:/data/apps/prod$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    cjac@ubuntu0:/data/apps/prod$ sudo apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    

    All quiet on the Western Front, it seems.

  • Gotta’ get ’em all.

    And now I have them all. Maybe I can reduce the load on my wan pipe by setting up a mirror for the island.

    Gotta' get 'em all

  • I miss you. Please come back?

    I_miss_you._Please_come_back

    ...
    Creating var directory '/usr/src/git/debian/pkg-mariadb/builddir/mysql-test/var'...
    Checking supported features...
    MariaDB Version 5.5.32-MariaDB-1
    Installing system database...
     - SSL connections supported
    Collecting tests...
    Using server port 42388
    
    ==============================================================================
    
    TEST                                      RESULT   TIME (ms) or COMMENT
    --------------------------------------------------------------------------
    
    worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
    oqgraph.basic                            [ skipped ]  No OQGraph
    oqgraph.binlog                           [ skipped ]  No OQGraph
    sphinx.sphinx                            [ skipped ]  No Sphinx
    archive.archive-big                      [ skipped ]  Test needs --big-test
    binlog.binlog_multi_engine               [ skipped ]  ndbcluster disabled
    binlog.binlog_spurious_ddl_errors        [ disabled ]  BUG#11761680 2013-01-18 astha Fixed on mysql-5.6 and trunk
    binlog.binlog_truncate_innodb            [ disabled ]  BUG#11764459 2010-10-20 anitha Originally disabled due to BUG#42643. Product bug fixed, but test changes needed
    federated.federated_server               [ skipped ]  Test needs --big-test
    ...
    
  • Power blip in Tukwila – everything’s okay.

    There’s been a lot of weather here in Seattle this week. It looks like the Tukwila DC’s power blipped this morning. It gave me an excuse to update some configs on a few of the OpenVPN endpoints, re-configure some of the shorewall6 stuff, and enter a bunch of hosts and IPs into the BIG-IP’s node list. It gives me a quick way to know what needs fixing first when things start breaking and is a lot easier to configure than NAGIOS. If I really wanted to get fancy, I could even write me some hot external monitoring scripts in perl. I am growing fond of this machine.

  • Bitcoin WoT using PGP/SKS

    There was recently a post to the sks list prompting discussion regarding the use of PGP and SKS as a distributed web of trust for an alternative currency system called “Bitcoin.” This reminds me of a project I worked on in the early ’00s with the late Jeff Fairhall and Thomas Greco.

    Anyhow, I mumbled some things on IRC about my thoughts:

    08:23 < cj> nanotube: I got your email on the sks list
    08:32 < cj> nanotube: the reason SKS keyservers work at this 
                point is because there is little interest in PGP WoT
    08:32 < cj> or PGP in general
    08:33 < cj> cjac@pki:~$ df -h /var/lib/sks
    08:33 < cj> Filesystem            Size  Used Avail Use% Mounted 
                on
    08:33 < cj> /dev/xvda2             14G  9.0G  4.2G  69% 
                /var/lib/sks
    08:34 < cj> if a major monetary system were to "piggyback" on 
                the existing network, maintenance of pub keys would 
                become unmanageable
    08:34 < cj> nanotube: read through the sks archive with an eye 
                toward database size
    08:36 < cj> there are a total of a bit more than 3M keys in the 
                db at this point.
    08:36 < cj> http://keyserver.colliertech.org:11371/pks/lookup?op=stats
    08:38 < cj> My database becomes corrupt every 3 months or so 
                and I need to re-build it.  This may just be user 
                error, and probably is.  However, I do not seem to 
                be the only one who suffers from this problem.
    08:40 < cj> Assuming that there are on average about 5 keys in 
                the db per participant, that means the 9G of key 
                data represents 600K humans.
    08:42 < cj> which is roughly 0.000085719% of the world's 
                population
    08:43 < cj> if we want to support the other 100% of the 
                population, we need to implement intelligent 
                sharding or improve the efficiency of the data store
    09:04 -!- OneFixt is now known as Guest66546
    09:06 -!- Guest66546 is now known as OneFixt
    09:08 < cj> note that operating a key server which stores 
                anything less than the full set of public keys 
                compromises the integrity of the system.  The 
                primary objective of the key server is to be a 
                complete store of the set so that there is no 
                central authority.
    09:16 < cj> from the wiki page:  "Since the web of trust node 
                keys will over time grow long with a bunch of UIDs, 
                it is likely that you may not want to use your 
                regular key for this purpose, and would probably 
                want to create a separate key. If you want to tie 
                your regular PGP identity to this key, you can 
                simply cross-sign your regular key with your web of 
                trust key."
    09:18 < cj> this assumes that there is an infinite amount of 
                storage on each SKS key server.  If everybody's key 
                will over time grow long with a bunch of UIDs", 
                then we will see a very large number of very large 
                keys.
    09:19 < cj> I recommend that bitcoin participants manage their 
                own SKS pool while developing the proof of concept. 
                This will reduce the noise caused in the public 
                pool.
    09:20 < cj> and will give the developers an understanding of 
                the implications of their design decisions
    09:22 < cj> here are some thoughts I had on the subject a 
                decade or so ago and RMS' responses:
    09:22 < cj> http://web.archive.org/web/20030812201116/http://gnubucks.com/impressions/rms.html