homeworkc / lazycast

A Simple Wireless Display Receiver
GNU General Public License v3.0
709 stars 90 forks source link

how do open security? #32

Closed GRey-515 closed 4 years ago

GRey-515 commented 5 years ago

what mean?

wpa_cli set device_type 7-0050F204-1 wpa_cli set p2p_go_ht40 1 wpa_cli wfd_subelem_set 0 00060151022a012c wpa_cli wfd_subelem_set 1 0006000000000000 wpa_cli wfd_subelem_set 6 000700000000000000

where i can read about wfd_subelem_set arguments? is there any information anywhere about "wfd_subelem_set"?

how do "key_mgmt=NONE"? how do open security without password and any pin at all?

homeworkc commented 5 years ago

These are configurations defined in the standards. I don't think an open wifi connection is a good idea. It may be doable but the source may not support it. (WPS PIN is mandatory in the standard so every source has to support it.) Additionally, it complicates the configuration of the DHCP server and an attacker can easily connect to the network and see the screen content, which is a big security concern.

GRey-515 commented 5 years ago

i don't worried about security because i want to use it in moving car. i read then "Wi-Fi Display Technical Specification Version 2.1" and don't uderstand, how "wpa_cli wfd_subelem_set 0 00060151022a012c". In this docs i find "Table 27. WFD Subelement ID Definitions", "5.1.2 WFD Device Information Subelement", read it. in this doc only 16 bits, but "00060151022a012c" have 256 bits. can you help me to understand it? thank you.

homeworkc commented 4 years ago

It is in hex.