Raised This Month: $ Target: $400
 0% 

[Linux] Source Query Proxy: DDoS Protection - Kernel redirection!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
pakgamerz
AlliedModders Donor
Join Date: Aug 2017
Old 01-12-2021 , 08:26   Re: [Linux] Source Query Proxy: DDoS Protection - Kernel redirection!
Reply With Quote #11

bpfcc-tools is sorted now i have new error.

2021-01-12 13:25:12,339 [INFO] [sqproxy.config] Confdir not found: /etc/sqproxy/conf.d
2021-01-12 13:25:12,340 [INFO] [sqproxy.config] Found config: conf.d/00-globals.yaml
2021-01-12 13:25:12,342 [INFO] [sqproxy.config] Found config: conf.d/01-hlds-game.yaml
2021-01-12 13:25:12,392 [INFO] [sqproxy] eBPF redirection enabled
2021-01-12 13:25:12,392 [INFO] [sqproxy] Wait all proxies to be ready ...
2021-01-12 13:25:12,392 [INFO] [HLDS-Server] Binding ...
2021-01-12 13:25:12,394 [INFO] [HLDS-Server] Binding ... done!
2021-01-12 13:25:12,394 [INFO] [HLDS-Server] Listen for client requests ...
2021-01-12 13:25:12,397 [INFO] [sqproxy] Wait all proxies to be ready ... Done!
2021-01-12 13:25:12,397 [WARNING] [pyroute2.ipdb.main] Deprecation warning https://docs.pyroute2.org/ipdb_toc.html
2021-01-12 13:25:12,402 [INFO] [source_query_proxy.epbf] Run ['python3', 'redirect.py', '-p', '27015:27915', '-i', 'eno1']
2021-01-12 13:25:12,507 [INFO] [main] Building eBPF program ...
2021-01-12 13:25:13,948 [INFO] [main] Attach eBPF program to interface ...
2021-01-12 13:25:13,948 [DEBUG] [main] Setup incoming hook (2) (b'incoming')
2021-01-12 13:25:13,949 [DEBUG] [main] Setup outgoing hook (2) (b'outgoing')
2021-01-12 13:25:13,950 [INFO] [main] Running ...
2021-01-12 13:25:14,720 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f39809ce400>
2021-01-12 13:25:15,210 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f39809ce3c8>
2021-01-12 13:25:16,761 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f3982a79fd0>
2021-01-12 13:25:17,625 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f39830c27f0>
2021-01-12 13:25:17,662 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f39830c2400>
2021-01-12 13:25:18,765 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f39830c25f8>
2021-01-12 13:25:20,287 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f39809ce400>
2021-01-12 13:25:20,825 [WARNING] [HLDS-Server] No response for <source_query_proxy.source.messages.RulesRequ est object at 0x7f39809ce4e0>
^C2021-01-12 13:25:21,943 [DEBUG] [main] Cleanup (2)
2021-01-12 13:25:21,951 [DEBUG] [main] Cleanup (2) done
2021-01-12 13:25:21,951 [DEBUG] [main] Cleanup (2)
2021-01-12 13:25:21,951 [DEBUG] [main] Cleanup (2) done

my 00-globals.yaml
network:
# Real game server IP address
server_ip: '51.38.60.x'
# IP address for listening incoming queries
bind_ip: '51.38.60.x'
# Real game server PORT (respect to server_ip)
server_port: 0 # don't set in globals, only for doc here
# PORT for listening incoming queries (respect to bind_ip)
bind_port: 0 # don't set in globals, only for doc here

after doing sqproxy run under tmux session some times query is not responsive . i have to off program to make it work. But i can see players coming to server.

https://snipboard.io/kRsm2Z.jpg [Screenshot of Server not responding for few seconds then click refresh works then goes off its like this while sqproxy is on]

i am not sure if its due to the warning i am getting

Last edited by pakgamerz; 01-12-2021 at 09:28.
pakgamerz is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode