hyperboria / bugs

Peer-to-peer IPv6 networking, secure and near-zero-conf.
154 stars 17 forks source link

TAP interface not responding for ARP queries on Windows #71

Closed Kubuxu closed 8 years ago

Kubuxu commented 8 years ago

As in case of Windows Cjdns is implemented as TAP interface (link layer) and not TUN interface (internet layer) ARP is not handled automagically.

Queries for detestation address are sent to the interface but get no response as Cjdns does not handle them.

It is no problem in case of Linux as there Cjdns uses TUN interface.

It is also only problem in case of IPv4 tunnelling as IPv6 does not use ARP but NDP which is handled by Cjdns.

Logic for handling ARP would be simple: Is requested address in range of those tunnelled, respond with ARP with the same same sender MAC as target and opcode changed to reply.

Kubuxu commented 8 years ago

Ok, got it to work, PRing soon.

Kubuxu commented 8 years ago

Fixed in cjdelisle/cjdns#863