Skip to content

TProxy UDP doesn't work #865

@spongebob888

Description

@spongebob888

TProxy UDP doesn't work. There is a small bug in dispather -> TProxy

.send_to(&pkt.data[..], pkt.dst_addr.must_into_socket_addr())

The code uses the tproxy listening socket to sending packet from proxy destination back to src_addr. This will force the packet of src_addr to be localhost with TProxy port. This is checked from wireshark

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions