Comments (3)
Thinking out loud here: Maybe in this new "matrix" of per-channel options on the admin page there should be a "kick" button that allows you to close the connection of a particular channel (rather than closing all of them by restarting). An easy way to kick off a user with a large connect time or make room for yourself to connect.
from beagle_sdr_gps.
It would be good to be able to kick folks off individually and very useful if there was a 'repeat offender' who you wished to dissuade from hogging the SDR.
Regards,
Martin - G8JNJ
from beagle_sdr_gps.
I haven't tested this extensively with kiwisdr, but I did use it extensively when running openwebrx on a raspberry pi-3 with four RTL-SDR rx to selectively kick individual users who insisted on hogging the system. It is IP based and would of course not prevent the same user from reconnecting from a different IP, BUT it does permit the sysop to selectively kick a particular user thus freeing up a slot for use without kicking everyone else :-^)...
This method assumes the following::
1 = You have access to the command prompt: root@kiwisdr:~#
2 = You know the IP number of the offending user and want to kick that user while NOT disturbing the connection to other users.
3 = For this example the IP number of the offending user is assumed to be: 111.222.333.444
Enter the following at the command prompt root@kiwisdr:~#
iptables -A OUTPUT -s 111.222.333.444 -j DROP
To see a list of IP numbers that are presently blocked, type the following:
iptables -L
To remove a blocked IP from the list (permit that user to log back in):
iptables -D OUTPUT 1
"1" assumes the first entry in the IPTABLE. (You can have more than one blocked IP address at a time and may want to clear IP 2 while leaving IP 1 still blocked, etc.)
It is possible to block connections by INPUT or OUTPUT. Using OUTPUT does NOT block INPUT connections from the blocked IP number. This permits the owner of the system to monitor connection attempts from the blocked user but the blocked user can never connect as they never see any output from the system. Blocking by INPUT makes the offending user go away completely which also means there is no way for the sysop to tell if that IP is still trying to connect.
As with all commands, you can get help by typing:
iptables --h
NOTE: If you decide to try this on a raspeberry pi, you will most likely need to use sudo:
sudo iptables -L
Rebooting the raspberry pi cleared IPTABLE (no blocked users). I assume kiwisdr would be the same, but have not tested this. There are ways of restoring IPTABLE when rebooting but that is probably more than what is needed for what is being discussed here....
from beagle_sdr_gps.
Related Issues (20)
- Feature request: Ability to turn off IP based geolocation
- Feature Request: Digimode-Decoders for APRS-Packet, FT4, FT8 ..., PSK31 HOT 4
- 'Squelch' feature in KiwiSDR? HOT 8
- Wrong RX numeration in WSPR Module HOT 3
- Feature Request: Switching Station with Stronger Signal? HOT 1
- log timestamping - inconsistent timezones HOT 5
- Status Page does not show User count for KiwiSDR setup with all channels passworded HOT 1
- Feature Request: Hide certain IP From log HOT 4
- Feature Request: Make robots.txt rules configurable
- Allow HTTPS and arbitrary ports in domain names on the Connect tab
- TODO: alt github name
- GPS testbench HOT 3
- Expanding KiwiSDR Software to Other Hardware HOT 2
- [Bug] Volume cannot be adjusted to 0 HOT 1
- Downloaded blacklist HOT 1
- LMS denoiser not automatically activated on selection HOT 1
- Changelog HOT 1
- ant_switch extension HOT 2
- Make the TDOA server address configurable HOT 1
- Unable to compile on Raspberry Pi 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 beagle_sdr_gps.