View Single Post
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 06-18-2021 , 18:26   Re: [Linux] Source Query Proxy: DDoS Protection - Kernel redirection!
Reply With Quote #117

Updated (by uninstalling older and installing newer version) to the last version and now i can't manage to "hold" sqproxy in the background. Used this before and it was working fine:
Code:
nohup sqproxy run &
but now it is working until i close current terminal/session. After disconnecting sqproxy just disappears (commands like pgrep, ps aux etc. don't print PID) and server becomes "invisible" (which doesn't happen if you terminate sqproxy with Ctrl-C).
errors.log:
Code:
2021-06-18 20:49:06,026 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code 1
NoneType: None
2021-06-18 20:49:37,369 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code 1
NoneType: None
2021-06-18 20:51:57,145 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code 1
NoneType: None
2021-06-18 20:52:40,913 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code 1
NoneType: None
2021-06-18 20:58:29,929 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code 1
NoneType: None
2021-06-18 21:02:16,268 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code None
NoneType: None
2021-06-18 21:12:14,225 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code -1
NoneType: None
2021-06-18 21:18:21,153 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code -1
NoneType: None
2021-06-18 21:24:33,577 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code -1
NoneType: None
2021-06-18 21:43:31,935 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code 1
NoneType: None
2021-06-18 21:44:37,730 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code -1
NoneType: None
2021-06-18 21:45:36,289 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code -1
NoneType: None
2021-06-19 00:21:36,561 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code 1
NoneType: None
2021-06-19 01:11:19,651 [ERROR] [source_query_proxy.epbf] eBPF redirection exit with code -1
NoneType: None
Prints code -1 when sqproxy closes itself (after disconnecting from session).

Also found out that python -c 'import bcc; print(bcc.__version__);' throws this error:
Code:
AttributeError: 'module' object has no attribute '__version__'
python3.7 -c 'import bcc; print(bcc.__version__);' throws this:
Code:
AttributeError: module 'bcc' has no attribute '__version__'
__________________

Last edited by MAGNAT2645; 06-18-2021 at 18:28.
MAGNAT2645 is online now