mirror of
https://github.com/slackhq/nebula.git
synced 2025-12-06 02:30:57 -08:00
check that packet isn't bound for my vpn ip (#192)
This commit is contained in:
parent
179a369130
commit
a91a40212d
1 changed files with 5 additions and 0 deletions
|
|
@ -19,6 +19,11 @@ func (f *Interface) consumeInsidePacket(packet []byte, fwPacket *FirewallPacket,
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ignore packets from self to self
|
||||||
|
if fwPacket.RemoteIP == f.lightHouse.myIp {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
// Ignore broadcast packets
|
// Ignore broadcast packets
|
||||||
if f.dropMulticast && isMulticast(fwPacket.RemoteIP) {
|
if f.dropMulticast && isMulticast(fwPacket.RemoteIP) {
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue