NSIS-ka
A free C++ implementation of NSIS protocols

Opened 10 years ago

Last modified 8 years ago

#89 new defect

Receiving interface should be stored in the routing state

Reported by: bless Owned by: bless
Priority: minor Milestone:
Component: GIST Version:
Keywords: Cc:

Description

routing state should store the interface and check for i/f change. We must get the interface from Query and thus from the responder cookie.

Change History (1)

comment:1 Changed 8 years ago by stud-lenk

For packages captured by TPqueryEncap::ipv{4|6}_catcher_thread_starter() the incoming interface is already correctly stored in the routing entry.

For packages received by other means (i.e. by recvfrom() in TPoverUDP::listener_thread()) it doesn't work yet because the incoming interface is only available with recvmsg() and some ancillary data in the cmsghdr argument.

Note: See TracTickets for help on using tickets.