bahamas10 / unifi-proxy

a hack to allow direct connections to unifi protect on a different layer 3 network
60 stars 8 forks source link

Getting two reports from each UNVR #5

Closed sborn closed 2 years ago

sborn commented 2 years ago

Running client.js gets me two reports from each of my two unvrs. Eg these two are from a single UNVR:

`message received from 192.168.1.16:10001 {"type":"Buffer","data":[1,0,0,141,2,0,10,104,215,154,107,122,68,192,168,1,16,47,0,10,104,215,154,107,122,68,192,168,1,16,1,0,6,104,215,154,107,122,68,48,0,49,54,56,100,55,57,97,54,98,55,97,52,52,48,53,57,55,xxxxxxxxxxxxxxxxxxxxxxxxxxxxx,48,54,54,55,57,57,51,46,105,100,46,117,105,46,100,105,114,101,99,116,11,0,10,65,115,116,114,97,45,85,78,86,82,12,0,4,85,78,86,82,14,0,1,1,13,0,0,3,0,6,50,46,51,46,49,53,10,0,4,0,13,30,158,23,0,1,0,15,0,4,0,0,27,168]}

message received from 192.168.1.16:10001 {"type":"Buffer","data":[1,0,0,124,2,0,10,104,215,154,107,122,68,192,168,1,16,1,0,6,104,215,154,107,122,68,11,0,10,65,115,116,114,97,45,85,78,86,82,12,0,5,85,78,86,82,52,14,0,1,1,13,0,24,54,48,54,56,51,xxxxxxxxxxxxxxxxxxxxxxxxxxxxx,48,48,51,101,57,3,0,33,117,110,105,102,105,45,112,114,111,116,101,99,116,46,97,114,109,54,52,46,118,49,46,50,49,46,50,46,48,46,48,46,48,10,0,4,0,13,30,154,15,0,4,0,0,27,168]}`

I've subbed in some garbage in case there are any security problems with posting these since I don't know what they are :)

Any reasons I'm getting these back with two each?

sborn commented 2 years ago

Either of them work, so I am closing this.