Skip to content

Doesn't recognize IP6T_SO_ORIGINAL_DST #87

Closed

Description

@wongsyrone

strace gives me the output:

getsockopt(17<TCPv6:[1273563]>, SOL_IPV6, 0x50 /* IPV6_??? */, "\n\0\1\273\0\0\0\0&\7\370\260@\7\10\10\0\0\0\0\0\0 \3\0\0\0\0", [28]) = 0

It's getsockopt(fd, SOL_IPV6, IP6T_SO_ORIGINAL_DST, destaddr, &v6_len);

Activity

  1. wongsyrone commented on Nov 22, 2018

    @wongsyrone
    Author

    Just noticed we don't have SO_ORIGINAL_DST in the source tree. The use case is getsockopt (fd, SOL_IP, SO_ORIGINAL_DST, &dstaddr, &n)

  2. wongsyrone commented on Nov 23, 2018

    @wongsyrone
    Author

    @esyr Any progress on SO_ORIGINAL_DST ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions