NONOS: Raw Ethernet Frame

AgentSmithers
Posts: 195
Joined: Sat Apr 01, 2017 1:21 am
Contact:

NONOS: Raw Ethernet Frame

Postby AgentSmithers » Thu Jan 25, 2018 1:30 am

Anyknow have the API call to forge a raw ethernet frame?
Do I need to use the 80211 freedom (wifi_send_pkt_freedom) api call to do this or is there one at the ethernet level?
Thanks,
-Agent

User avatar
iot-bits.com
Posts: 23
Joined: Tue Dec 05, 2017 2:53 pm
Location: Pune, India
Contact:

Re: NONOS: Raw Ethernet Frame

Postby iot-bits.com » Thu Feb 01, 2018 4:08 pm

You have to send a raw packet using packet freedom APIs, but note thatthe SDK blocks out any management frames if I recall correctly. Just to make sure you don't intentionally do something unethical with nearby WiFi networks. So if you really want a lot of freedom, you will have to switch to really old SDK versions such as the experimental 0.9x
- Pratik Panda
Nerd and Embedded Design Consultant
www.iot-bits.com

AgentSmithers
Posts: 195
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: NONOS: Raw Ethernet Frame

Postby AgentSmithers » Fri Feb 02, 2018 12:21 am

iot-bits.com wrote:You have to send a raw packet using packet freedom APIs, but note thatthe SDK blocks out any management frames if I recall correctly. Just to make sure you don't intentionally do something unethical with nearby WiFi networks. So if you really want a lot of freedom, you will have to switch to really old SDK versions such as the experimental 0.9x


I understand completely. Thank you!!'
I really don't want to alter the 802.11 frames really so is there a Flag or shortcut to leave the default frame intact or do I have to write logic to craft the packet with the BSSID and everything manually?

AgentSmithers
Posts: 195
Joined: Sat Apr 01, 2017 1:21 am
Contact:

Re: NONOS: Raw Ethernet Frame

Postby AgentSmithers » Tue Feb 06, 2018 7:50 am

iot-bits.com wrote:You have to send a raw packet using packet freedom APIs, but note thatthe SDK blocks out any management frames if I recall correctly. Just to make sure you don't intentionally do something unethical with nearby WiFi networks. So if you really want a lot of freedom, you will have to switch to really old SDK versions such as the experimental 0.9x


Do you know the restrction added from 0.9x to version IoT 1.3.0?
IoT is the same as NonOS Sdk Correct, they just went through a name change around version 1.5 right?

Does this mean that Raw Ethernet packets can only be generated on an "Open" wifi network due to encryption unless WPA encryption is done at the Userlevel for the ESP?

Who is online

Users browsing this forum: No registered users and 117 guests