The community websdr-plus-github can be found here: https://github.com/ny4qphil/PhantomSDR-Plus ..it is compatible with the normal version, but enhanced.

Security Issue: code injection attack

Started by hb3xdc, May 06, 2025, 09:22 AM

Previous topic - Next topic

Bas ON5HB

#15
Linux has a nice option: man command

To know iptables and what it does, type: man iptables

It will tell you what everything does.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

9a7aof

Quote from: Bas ON5HB on May 27, 2025, 01:00 PMLiunux has a nice option: man command

To know iptables and what it does, type: man iptables

It will tell you what everything does.


Thanks,

I know that but there are people who don't.

Old Linux/Unix masters used to answer similar questions with the acronym RTFM.
I guarantee, that acronym ALWAYS HELPS!  ;)

Best regards,
Darko, 9a7aof

Bas ON5HB

#17
And they managed again....different line....so I adopted the iptables:

iptables -D INPUT -m string --algo kmp --string "%3C%" -j DROP
iptables -D INPUT -m string --algo kmp --string "device.rsp" -j DROP
iptables -A INPUT -m string --algo kmp --string "%3C%" -j DROP
iptables -A INPUT -m string --algo kmp --string "device.rsp" -j DROP

As they attack the device.rsp all the time, I added that too.

Also replaced algo with KMP as KMP can scan over multiple TCP-packets, where BM may miss it.

Hopefully it's over now.
Best regards,

Bas ON5HB

Ps. the Community Edition can be found here: https://github.com/ny4qphil/PhantomSDR-Plus

Powered by EzPortal