On 06/11/2012 10:40 AM, Scott Talbert wrote: > On Mon, 11 Jun 2012, Phil Dibowitz wrote: > >>> Okay, I've got a v3 posted. It looks like there may have been a couple of >>> bugs in TCP_Read(). This one at least shouldn't loop endlessly. >> >> OK. It's gonna be a while, I'm traveling. > > You didn't bring your 895 with you? :-)
Still an infinite loop, but it looks like this time is because your boundary checks are bad. Here's the start: 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 Concordance 0.23+CVS Copyright 2007 Kevin Timmerman and Phil Dibowitz This software is distributed under the GPLv3. 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 ED ^H^H^H^H^H^H^H^H^H^H^H^H^H^H100% 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 (ReadRegion): READ_REGION_DATA: 6656 bytes DEBUG (TCP_Write): Writing packet: 06 40 2C F8 00 48 04 DEBUG (TCP_Read): Reading packet: 3B 40 F8 2F 01 48 54 50 54 50 39 BE 08 00 00 17 00 00 CC A1 03 00 D3 A1 03 00 6B A2 03 00 8A A2 03 00 9C A3 03 00 AA A3 03 00 E7 A4 03 00 EB A4 03 00 EC A4 03 00 EF A4 03 00 B0 56 DEBUG (ReadRegion): DATA 0, read 54 bytes, 6602 bytes left DEBUG (TCP_Write): Writing packet: 06 40 2F 30 00 48 04 DEBUG (TCP_Read): Reading packet: 3B 40 30 32 01 48 04 00 B0 5B 04 00 33 63 04 00 41 6F 04 00 43 6F 04 00 9C 6F 04 00 D6 6F 04 00 D6 73 04 00 41 74 04 00 6F 74 04 00 70 74 04 00 00 00 00 00 00 00 00 57 4C 57 4C 3B DEBUG (ReadRegion): DATA 0, read 54 bytes, 6548 bytes left DEBUG (TCP_Write): Writing packet: 06 40 32 68 00 48 04 DEBUG (TCP_Read): Reading packet: 3B 40 68 35 01 48 88 00 00 00 8B 00 00 00 8A 00 00 00 8D 00 00 00 8C 00 00 00 8F 00 00 00 06 07 00 7F 07 08 00 7F 8E 00 00 00 81 00 00 00 83 00 00 00 82 00 00 00 85 00 00 00 87 00 DEBUG (ReadRegion): DATA 0, read 54 bytes, 6494 bytes left DEBUG (TCP_Write): Writing packet: 06 40 35 A0 00 48 04 DEBUG (TCP_Read): Reading packet: 3B 40 A0 38 01 48 00 00 86 00 00 00 98 00 00 00 99 00 00 00 9A 00 00 00 9B 00 00 00 9D 00 00 00 9F 00 00 00 90 00 00 00 91 00 00 00 92 00 00 00 93 00 00 00 94 00 00 00 95 00 00 00 DEBUG (ReadRegion): DATA 0, read 54 bytes, 6440 bytes left DEBUG (TCP_Write): Writing packet: 06 40 38 D8 00 48 04 DEBUG (TCP_Read): Reading packet: 3B 40 D8 3B 01 48 96 00 00 00 97 00 00 00 AB 89 01 7F A9 00 00 00 A8 00 00 00 AE 00 00 00 AD 00 00 00 AC 00 00 00 A3 00 00 00 A2 00 00 00 A1 00 00 00 A0 00 00 00 2E 00 00 73 A6 00 and when I ^C'd it, we have: DEBUG (ReadRegion): DATA 0, read 54 bytes, -62302 bytes left DEBUG (TCP_Write): Writing packet: 06 40 23 50 00 48 04 DEBUG (TCP_Read): Reading packet: 3B 40 50 26 01 48 04 00 00 00 32 07 04 C3 07 04 34 08 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B9 08 04 00 00 00 00 00 00 00 00 00 38 09 04 00 00 00 A3 09 04 28 0A DEBUG (ReadRegion): DATA 0, read 54 bytes, -62356 bytes left DEBUG (TCP_Write): Writing packet: 06 40 26 88 00 48 04 DEBUG (TCP_Read): Reading packet: 3B 40 88 29 01 48 04 9E 0A 04 00 00 00 00 00 00 01 0B 04 00 00 00 00 00 00 50 0B 04 E2 0B 04 00 00 00 00 00 00 00 00 00 00 00 00 72 0C 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 I think you'll keep going for a while. :) -- 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
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