[Rack] [Noisebridge-discuss] minotaur is down

Jonathan Lassoff jof at thejof.com
Tue Jul 9 06:10:49 UTC 2013


Aww... bummer.
The only thing I changed was firewalling off the gateman daemon from
the outside world. That allowed any competent hacker to unlock the
gate with no code.
Now, a code would be required.

Is there a link to the app or details about what it's trying to do
that's failing?

Cheers,
jof

On Mon, Jul 8, 2013 at 8:29 PM, daravinne <daravinne at gmail.com> wrote:
> the noisegate-debug app that Josh Juran made doesn't work anymore after the
> rebuild, it seems.  is that Josh's thing to fix or something on minotaur?
>
>
> On Mon, Jul 8, 2013 at 12:02 AM, Jonathan Lassoff <jof at thejof.com> wrote:
>>
>> Methinks that's what's going on.
>> But yes, the lock is missing.
>>
>>
>> On Sunday, July 7, 2013, Henner Zeller wrote:
>>>
>>> On 7 July 2013 22:47, Jonathan Lassoff <jof at thejof.com> wrote:
>>>>
>>>> Now that I'm sure the baron->API->gateman request flow is good and
>>>> working, I stoppe by 2169 to check functionality.
>>>> I dialed a working code, and engaged the buzzer. It seems to be latching
>>>> now, which is good.
>>>>
>>>> However, the hardware lock is in a somewhat precarious position...
>>>
>>>
>>> Hard to tell from the picture: is the lock missing ?
>>> There were reported problems with the lock earlier (key didn't engage),
>>> so maybe someone removed it to get some replacement ?
>>>
>>> -h
>>>>
>>>>
>>>>
>>>>
>>>> On Sunday, July 7, 2013, Jonathan Lassoff wrote:
>>>>>
>>>>> I should add a little more detail:
>>>>>
>>>>> Work is happening in the baron repo:
>>>>> https://github.com/noisebridge/noisebridge-baron/commits
>>>>> the gateman repo: https://github.com/noisebridge/gateman/commits
>>>>>
>>>>> And in the git repo in /etc on minotaur.
>>>>>
>>>>> To see the status of the barons, run:
>>>>>   sudo monit status baron_upstairs
>>>>>   sudo monit status baron_downstairs
>>>>>
>>>>> "status" can be replaced with "stop" and "start" to do that to the
>>>>> baron instance.
>>>>> The baron.py script now daemonizes and writes a pidfile to
>>>>> /var/run/baron_[instance].pid, where "instance" is an instance name
>>>>> passed to the daemon with "--instance" (e.g. "downstairs").
>>>>> By default the instance is "default".
>>>>>
>>>>> Hope this helps! Just needs to be tested! :p
>>>>>
>>>>> Cheers,
>>>>> jof
>>>>>
>>>>> On Sun, Jul 7, 2013 at 7:46 PM, Jonathan Lassoff <jof at thejof.com>
>>>>> wrote:
>>>>> > Ok, so, I added some monit configuration for the baron daemons, and
>>>>> > now everything will start automatically.
>>>>> > Monit will be a watchdog for the processes, re-starting them if they
>>>>> > fail.
>>>>> >
>>>>> > Cheers,
>>>>> > jof
>>>>> >
>>>>> > On Sun, Jul 7, 2013 at 12:05 PM, Jonathan Lassoff <jof at thejof.com>
>>>>> > wrote:
>>>>> >> On Sun, Jul 7, 2013 at 11:59 AM, Henner Zeller <h.zeller at acm.org>
>>>>> >> wrote:
>>>>> >>> On 6 July 2013 02:26, Jonathan Lassoff <jof at thejof.com> wrote:
>>>>> >>>>
>>>>> >>>> First, gateman needs to come up.
>>>>> >>>>
>>>>> >>>> I'm stuck interacting with the parallel port as a parallel port :(
>>>>> >>>>
>>>>> >>>> open("/dev/usb/lp0", O_RDWR)            = 3
>>>>> >>>> ioctl(3, PPCLAIM, 0x7fff85442ba8)       = -1 ENOTTY (Inappropriate
>>>>> >>>> ioctl for device)
>>>>> >>>
>>>>> >>>
>>>>> >>> It is one of these USB -> parallel port adaptors, so might not be
>>>>> >>> 100%
>>>>> >>> compatible with a 'standard'  parallel port.
>>>>> >>> However, writing bytes to it should still work (if I understand
>>>>> >>> correctly,
>>>>> >>> there is only one bit used to operate the buzzer ?)
>>>>> >>
>>>>> >> Yup -- those adapters/port emulators aren't good for any bit-banging
>>>>> >> operations that are timing-dependent.
>>>>> >>
>>>>> >> I took the conversation onto the rack@ mailing list.
>>>>> >>
>>>>> >> I ended up figuring out what was happening, the driver presented two
>>>>> >> interfaces, one as the raw port and the other as a line printer. I
>>>>> >> was
>>>>> >> using the line printer interface, and not the raw port access.
>>>>> >> We're all good (other than the downstairs buzzer hardware being
>>>>> >> broken) now.
>>>>> >>
>>>>> >> Cheers,
>>>>> >> jof
>>>
>>>
>>
>> _______________________________________________
>> Noisebridge-discuss mailing list
>> Noisebridge-discuss at lists.noisebridge.net
>> https://www.noisebridge.net/mailman/listinfo/noisebridge-discuss
>>
>



More information about the Rack mailing list