Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNSSnooper: error decoding packet: No decoder for layer type Dot1Q #2155

Closed
tomwilkie opened this issue Jan 26, 2017 · 6 comments
Closed

DNSSnooper: error decoding packet: No decoder for layer type Dot1Q #2155

tomwilkie opened this issue Jan 26, 2017 · 6 comments
Labels
chore Related to fix/refinement/improvement of end user or new/existing developer functionality

Comments

@tomwilkie
Copy link
Contributor

[12:48 PM]  
carlpett So, first feedback :slightly_smiling_face: We get a lot of this:
`<probe> ERRO: 2017/01/26 12:46:27.282902 DNSSnooper: error decoding packet: No decoder for layer type Dot1Q`

[12:48 PM]  
Problem related to running on physical hardware?

[1:27 PM]  
tom googles Dot1Q...

[1:27 PM]  
tom
> Dot1Q is an IEEE's open standard, which be used to create trunk connection between switches of different vendors. In ISL the original ethernet frame is not modified, it is encapsulated between an ISL header and an FCS.
@tomwilkie
Copy link
Contributor Author

We should at least rate limit the error messages

@2opremio 2opremio added the chore Related to fix/refinement/improvement of end user or new/existing developer functionality label Jan 26, 2017
@2opremio
Copy link
Contributor

We should at least rate limit the error messages

Yep

@rade
Copy link
Member

rade commented Jan 26, 2017

If the condition isn't causing any problems, then it shouldn't be reported as an error at all.

@2opremio
Copy link
Contributor

2opremio commented Jan 27, 2017

If the condition isn't causing any problems, then it shouldn't be reported as an error at all.

I believe it may be causing problems (i.e. AFAIU, if the link layer doesn't use plain Ethernet or LinuxSLL, the snooper won't work). Gopacket supports Dot1Q, so incorporating it to the decoder should be trivial.

BTW, wouldn't Weave Net have the same problem in Sleeve mode?

@rade
Copy link
Member

rade commented Jan 27, 2017

BTW, wouldn't Weave Net have the same problem in Sleeve mode?

cc @bboreham

@bboreham
Copy link
Collaborator

Weave Net generally only needs the source and destination MAC addresses. There is one case where an unexpected frame type would disrupt operation: an IPV4 packet which has DF set and is too big would not get a correct ICMP response.

However, as far as I know the kernel does not allow sending tagged packets via a virtual ethernet device, so this cannot happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Related to fix/refinement/improvement of end user or new/existing developer functionality
Projects
None yet
Development

No branches or pull requests

4 participants