Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m sad, frustrated

Sony 4K 2014 TV IP control authentication

Hi All

I recently bought a new tv Sony KD-49X8505B en can't get IRule to work via IP, i can control the TV via sending http post commands in firefox.
It turns out that the remote has to be registered with the TV (i can send the command in firefox) and after registration is using HTTP cookie basic authentication with each packet, see example below.

Send via firefox authenticted

No. Time Source Destination Protocol Length Info
2549 1381.333993000 192.168.2.1 192.168.2.3 HTTP/XML 947 POST /sony/IRCC HTTP/1.1

Frame 2549: 947 bytes on wire (7576 bits), 947 bytes captured (7576 bits) on interface 0
Radiotap Header v0, Length 36
IEEE 802.11 QoS Data, Flags: ......F.
Transmission Control Protocol, Src Port: 52184 (52184), Dst Port: http (80), Seq: 826, Ack: 592, Len: 825

User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0\r\n
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n
Accept-Language: en-US,en;q=0.5\r\n
Content-Type: text/xml; charset=UTF-8\r\n
Content-Length: 308\r\n

Cookie: auth=73806bea832d5d40f3ba1a30c6017cf135288708feba3f53fad9c838419c92e3\r\n
Authorization: Basic OjE0Mjc=\r\n
Pragma: no-cache\r\n
Cache-Control: no-cache\r\n

Connection: keep-alive\r\n
\r\n
[Full request URI: http://192.168.2.3/sony/IRCC]
[HTTP request 2/8]
[Prev request in frame: 2545]
[Response in frame: 2550]
[Next request in frame: 2552]

send via IRule not authenticated

No. Time Source Destination Protocol Length Info
2312 1165.670353000 192.168.2.2 192.168.2.3 HTTP/XML 438 POST /sony/IRCC HTTP/1.1

Frame 2312: 438 bytes on wire (3504 bits), 438 bytes captured (3504 bits) on interface 0
Radiotap Header v0, Length 40
IEEE 802.11 QoS Data, Flags: .......TC
Transmission Control Protocol, Src Port: 57399 (57399), Dst Port: http (80), Seq: 308, Ack: 1, Len: 308
[2 Reassembled TCP Segments (615 bytes): #2311(307), #2312(308)]

User-Agent: iRule/2201 CFNetwork/672.1.15 Darwin/14.0.0\r\n
Accept: */*\r\n
Accept-Language: en-us\r\n
Content-Length: 308\r\n
Content-Type: text/xml\r\n

SOAPAction: "urn:schemas-sony-com:service:IRCC:1#X_SendIRCC"\r\n

Connection: keep-alive\r\n
\r\n
[Full request URI: http://192.168.2.3:80/sony/IRCC]
[HTTP request 1/18]
[Response in frame: 2319]

Now in the TV setup menu there is a entry for IP Control and the option to change the authentication but i can only select "Normal" (Cookie based http header authentication) or "Pre-shared key" (where a pre-shared key is in the http header) since i don't know of the ability to do the http header auth in rule im stuck.

Does anybody have any experience with this or knows how to disable the authentication on the sony tv (it's not in the service menu i checked :) ) or accommodate the authentication procedure in rule ?

Thanks

Kind regards

Barry
1 person has
this problem
+1
Reply