-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shuts down network? #45
Comments
If you installed everything, including the Elastic Search and Kibana on the Pi, its a good idea to turn off the graphical interface as the Raspberry Pi does not have enough ram to run the entire SweetSecurity suite plus a graphical interface all on its own. I also ran into the same issue as you, what I did was flush the iptables rules. SweetSecurity wipes all previous rules and applies its own set of rules which I find completely kill access to the Internet. |
I have the same problem. the reason is that the so-called "SweetSecurity" client service actually calls 'nmap' tool to scan your whole LAN. look at the line 33 in SweetSecurity/sweetSecurity/client/spoof.py:
I guess when you boot up your Pi, the 'sweetsecurity' service make your Pi pretend to be your LAN's gateway. when you use Wireshark to sniff the packcts, you will find many packets like:
dude, I think it's like an ARP spoofing attack....... I think we can improve this. maybe it's really not a good design? currently you can simply disable this service on your Pi. so your Pi will stop scanning and showing new devices in your LAN:
and restart your Pi. or you can just ignore this , but every time you start up your Pi, your home LAN will be down about 3-5 minutes.......when the scanning is done, disable other devices' network cards & re-enable them.... |
I didn't have issues with my home LAN being down. However, I setup the Pi as a sensor only and it is sending all the data back to a separate ELK server. |
both my router & PCs don't have an ARP policy or firewall, so my PC&Mac will disconnect from NAS server every time I start up Pi...... |
looks like the network down only occurs when Pi start to scan your LAN. after the scanning, all devices will back to normal. it may take about 3-5 minutes. you can shutdown your router's ARP policy and PC's ARP firewall, then reboot your Pi to give it a try. @rndrev plus: |
I set up my Pi 3 B+ as sensor, having a mirrored port on eth0 and normal network access on wlan0. Ouch! Disabling the sweetsecurity service put things straight in the end. Perhaps setup.py should ask whether you a) have a span/mirror port configured and want the sensor in passive mode |
I've installed everything, but now when I turn on the Rpi it doesn't allow devices on my home network to connect to the internet. Is this a situation where the pi is overloaded, its started locking up when I turn it on and try to even move the mouse around.
The text was updated successfully, but these errors were encountered: