Skip to content

How to verify that it is working? #110

@incognico

Description

@incognico

I just set up sqproxy/sqredirect with bpf and have no idea if it is working correctly.
Using HLDS, or rather SvenDS (Sven Co-op).

All I see in the log occasionally is 2021-11-19 08:59:20,827 [WARNING] [HLDS-Server] No response for <class 'source_query_proxy.source.messages.RulesRequest'>({'request_type': 86, 'challenge': 2145834309})

eBPF rule seems to be active when sqproxy is running:

# tc filter show dev ens3
filter parent 1: protocol all pref 49152 u32 chain 0
filter parent 1: protocol all pref 49152 u32 chain 0 fh 800: ht divisor 1
filter parent 1: protocol all pref 49152 u32 chain 0 fh 800::2 order 2 key ht 800 bkt 0 flowid 1:2 not_in_hw
  match 00000000/00000000 at 0
        action order 1: bpf outgoing id 67 tag 76420d702d0a2d1d jited default-action pass
         index 2 ref 1 bind 1

I'm proxying 27015<->30015 but with tcpdump I don't see any traffic on port 30015.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions