X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2Fgoodfet.cc;fp=client%2Fgoodfet.cc;h=e431c903cc45caa25ac6fd8cefdfdf6b7eacb796;hp=3b3ade48cd9424e8312a2d2d59dd454fed7dbcfe;hb=d104aae4508ff7fbbe99a1d12fed27f6d859518f;hpb=01579c8ee0a90c0e9d34377f344c7a0885104fe7 diff --git a/client/goodfet.cc b/client/goodfet.cc index 3b3ade4..e431c90 100755 --- a/client/goodfet.cc +++ b/client/goodfet.cc @@ -68,9 +68,9 @@ def handlesimplicitipacket(packet): port, 0x21, seq, 0x81, tid, #reply, tid - 0x20,0x00,0xad,0xde, #Join token - 0x00]; #no security - printpacket(reply); + 0x20,0x00,0xad,0xde, #link token + 0x00]; #no security + #printpacket(reply); print "#FIXME FAST: repeatedly broadcasting ACK to catch LINK on the next attempt."; for foo in range(1,50): client.RF_txpacket(reply); @@ -78,6 +78,7 @@ def handlesimplicitipacket(packet): pass; elif port==0x03: #print "Join request."; + #printpacket(packet); if packet[12]!=1: print "Not a join request. WTF?"; return; @@ -90,11 +91,12 @@ def handlesimplicitipacket(packet): 0xef,0xbe,0xad,0xde, #Join token 0x00]; #no security - printpacket(reply); + #printpacket(reply); print "#FIXME FAST: repeatedly broadcasting ACK to catch JOIN on the next attempt."; + #printpacket(reply); for foo in range(1,50): client.RF_txpacket(reply); - #printpacket(reply); + elif port==0x04: print "Security request.";