On 06/05/2012 08:04 PM, Scott Talbert wrote:
> I took a stab at implementing config dumping for zwave-hid remotes, based 
> on what I did for usbnet.
> 
> Note that this has not been tested yet.  Phil, if you (or someone else 
> with a zwave-hid remote) could test this, it would be greatly appreciated.
> 
> Patch is attached here:
> https://sourceforge.net/tracker/?func=detail&aid=3532365&group_id=201579&atid=978130

Nope:

[phil@rider libconcord]$ sudo concordance -c/tmp/tout
Concordance 0.23+CVS
Copyright 2007 Kevin Timmerman and Phil Dibowitz
This software is distributed under the GPLv3.

Requesting identity:  100%             done
[phil@rider libconcord]$ ls /tmp/tout
ls: cannot access /tmp/tout: No such file or directory
[phil@rider libconcord]$ sudo concordance -c /tmp/tout
Concordance 0.23+CVS
Copyright 2007 Kevin Timmerman and Phil Dibowitz
This software is distributed under the GPLv3.

ERROR: failed to requesting identity
Failed with error 1


It failed and left my remote in an unusable state.

Lets turn on debug... oh wait, it segfaulted:

Jun  6 22:04:17 rider kernel: [3891617.142570] concordance[6782]: segfault at
42221 ip 00007fa44378dac0 sp 00007fff7513a858 error 4 in
libconcord.so.2.0.0[7fa44377f000+1b000]

Nice. OK, back to DEBUG:

DEBUG (FindRemote): bNumEndpoints 2
DEBUG (check_ep): address 81 attrib 03 max_length 64
DEBUG (check_ep): address 02 attrib 03 max_length 64
DEBUG (UDP_Write): Writing packet:
03 01 00 61
DEBUG (UDP_Read): Reading packet:
13 01 01 61 01 6D 04 12 C1 0A 00 04 00 09 00 00 17 00 16 00
Requesting identity:   50%          DEBUG (ParseParams): ParseParams, 01 01 61
01 6d 04

DEBUG (UDP_Write): Writing packet:
03 01 00 67
DEBUG (UDP_Read): Reading packet:
34 01 01 67 01 00 F7 2E C3 EE EE EE EE EE EE EE EE EE EE EE EE F5 C0 89 EE 49
C5 46 4C A5 58 08 94 D1 08 A8 60 A3 25 8F AC 5D 51 41 99 97 BE 06 36 D7 47 2F
100%             done
DEBUG (ParseParams): ParseParams, 01 01 67 01 00 f7

DEBUG (UDP_Write): Writing packet:
03 01 00 40
DEBUG (UDP_Read): Reading packet:
04 01 01 40 01
DEBUG (ReadRegion): Looking for syn
DEBUG (TCP_Read): Reading packet:
03 80 F0 FF
DEBUG (ReadRegion): READ_REGION
DEBUG (TCP_Write): Writing packet:
06 C0 28 F1 00 47 04
DEBUG (TCP_Read): Reading packet:
0A 40 F1 2C 01 47 01 00 00 1A 00
DEBUG (ParseParams): ParseParams, 40 f1 2c 01 47 01

-- 
Phil Dibowitz                             p...@ipom.com
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't matter
 and those who matter don't mind."
 - Dr. Seuss


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to