Comments (3)
You are right; unfortunately Scapy is inherently slow at processing packets. This is because it will try to dissect each frame. If Scapy can't keep up, it will drop frames. I tried to mitigate the issue with the following line:
TCP.payload_guess = []
This removes the payload dissector for layers higher than TCP. You could try to do the same with the IP layer for slightly less overhead -- if you only need ICMP replies. So:
IP.payload_guess = []
Airbase-ng is written in C, uses libpcap, and does not automatically dissect, which makes it much faster at processing packets. If you require performance, libpcap is the way to go. If you quickly want to prototype or attack a Wi-Fi protocol and performance is not crucial, then scapy-fakeap will be more convenient :).
from scapy-fakeap.
Thanks for replying!
Actually, I am writing a tool making use of station probe packets to dynamically setup AP with the same SSID in probe packets. Yeah, it's a tool for pentest.
So, I have to provide stable Internet access for the stations.
Additionally, I translate dot11 frame to or from ethernet frame in my code. I think 'IP.payload_guess' may make some sense for me. I'll try it later.
Thanks again.
from scapy-fakeap.
You're welcome, sounds like a cool project too! I did the same thing a while ago with hostapd. Hostapd works by putting your interface in AP / master mode (which has the advantage of automatically responding to ACKs). Might be worth taking a look at as an alternative to airbase-ng.
from scapy-fakeap.
Related Issues (15)
- Add support for multiple clients to DHCP server HOT 1
- Could not find IP 224.0.0.251 in ARP table. HOT 1
- Unknown error at monitor interface: NameError
- Running a FakeAccessPoint() make my system freeze
- Getting passwords that were used to access the ap?
- Not showing up on other devices
- rpyutils module python reqirement HOT 1
- Remove airmon dependency HOT 3
- rpyutils directory missing after install HOT 4
- got a question.. HOT 12
- Cannot start dhcp interface on tun interface HOT 4
- Switching to BSD / MIT? HOT 5
- Substitute sendp with conf.L2socket.send [suggestion / enhancement]
- what's the use of get_radiotap_header ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scapy-fakeap.