From 0df383007ef821963a14b0195beb01ee0c8fd5bd Mon Sep 17 00:00:00 2001 From: uhi22 Date: Wed, 26 Oct 2022 09:06:33 +0200 Subject: [PATCH] startup in listen mode. Results of listen mode added. --- pyPlcIpv6.py | 3 ++- readme.md | 9 +++++++++ ...tworkEstablishedButHiddenCommunication.pcapng | Bin 0 -> 9612 bytes 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 results/2022-10-26_WP4_networkEstablishedButHiddenCommunication.pcapng diff --git a/pyPlcIpv6.py b/pyPlcIpv6.py index 7c161e0..f22a2af 100644 --- a/pyPlcIpv6.py +++ b/pyPlcIpv6.py @@ -214,7 +214,8 @@ class ipv6handler(): self.evaluateTcpPacket() def __init__(self, transmitCallback): - self.enterEvseMode() + #self.enterEvseMode() + self.enterListenMode() self.transmit = transmitCallback # 16 bytes, a default IPv6 address for the charging station # self.SeccIp = [ 0xfe, 0x80, 0, 0, 0, 0, 0, 0, 0x06, 0xaa, 0xaa, 0xff, 0xfe, 0, 0xaa, 0xaa ] diff --git a/readme.md b/readme.md index b8a07c8..d91da24 100644 --- a/readme.md +++ b/readme.md @@ -177,6 +177,15 @@ Using the TPlink and Win10 laptop as evse, the python script runs successfully t neighbor solicitation (ICMP) to confirm the IPv6 address, and the Win10 responds to it. The car tries to open the TCP on port 15118, this is failing because of missing implementation of the listener on PC side. +### 2022-10-26 Network is established in sniffer mode +Using the TPlink in EVSE mode and Win10 laptop, listening to a communication setup between real car and real alpitronics, the python script +successfully extracts the NID and NMK from the SLAC_MATCH response, sets this information into the TPlink, and the TPlink turns three +LEDs on. Means: Network established. When we send a broadcast software version request, we get three responses: One from the TPlink, one from the +PLC modem of the car, and one from the PLC modem of the charger. This confirms, that the network is established. +But: From the higher level communication (IPv6, UDP, TCP) we see only the broadcast neighbor solicitation at the beginning. The remaining traffic +is hidden, most likely because the TPlink "too intelligent", it knows who has which MAC address and hides traffic which is not intended for the +third participant in the network. + ## List of open topics - add listener to socket at port 15118 (use case: evse) - add evaluation of the TP packets (use case: sniffer) diff --git a/results/2022-10-26_WP4_networkEstablishedButHiddenCommunication.pcapng b/results/2022-10-26_WP4_networkEstablishedButHiddenCommunication.pcapng new file mode 100644 index 0000000000000000000000000000000000000000..2590f70961ec082bb252a9bbaea4f22e8f567686 GIT binary patch literal 9612 zcmeHLe{2&~9DlE@U02%DnHUyEz}4&Zx^_5~(e4Mb!PsykhG^M#j^Y^0*ckF7 znZ_XrlI#yOBSr;dj1Y-sn+Ap85@P~LqDGAVfr)@YCVvswbKf_3D+ z$-8^+-S@uld!NsH-}}C2vDqv`gpjJ@1+ysJBQY_MLb9~ALvG2hDd7AY+vWUKRRvtg z!;6wzsN($9Pjibo(J2Y#6L-0?zF$bizBEqjz55 zo84>Ok}OG0g4kFDW1tK{L7#hLceG{zdusyn=1`-&W_fklbK6R#B|ew8(9ioku0mc4 zNIu@@TY^nd^pq^|mx-RD9q6-}ly+gs(1EU;<0_%zvi%64=fPg6+XSPRnQ?Y)8=iWTM(0iYXwDrpnjDZ$TT2 z+YOW7pp3Bdr=Vr#Y0{icZ+0u{KOf%rVa=7E?;-}J9le6SVXom3(!4T5wd<8RI<*gubcVXneW0(L?FunN;~QD~o$^9B;3kPBYDz^YDU&&PTgm936|z zCd8Y?{gbodBPnoqB*T3;jytYuR&?Aa!+j_Q70&mn&v*3S-SwLD?!8{G7iohM{J3D=oMIW3%HPKN+t@F=Vk^eT~KP_|=cD z&Kd=t6fEcFt5^zvpUde2EWH4rAR?G>4u3ZA(oQhb9r!LDnP>Z{y=d2E4HV`a!X7T*LZo`#ePif zu(;h3$flLV4e}M#;ub~Je8mJ9--Mi7ldn+Jf0cY&j;g9&us$zx6Z&a956AIvJz$JM z!Er4lV*q0omb)Fd_R@?2J#Hb=lgJ&!tqV35OFeESpn3;!Yb2Y+Qjc2+Sl%LTY2(M6 zTY4vnAJiHIqcpZBjP2tRhS4_ACdQ^Sn!HEc+B7ME^RJ5^&=Wq_no*= zOtSX`RbBo=1dv0P%ga41m+G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