that1guy15 wrote:
The only risk I see with this is your native (untagged) vlan is the same vlan that control traffic (CDP/DTP/STP etc...) resides on.
Well, I said it's fine so long as *nothing* (user traffic) uses VLAN 1. There's a legacy VLAN traversal attack where that's not true: allowing trunks to use an access VLAN is dangerous there. The way I usually configure things, the only traffic that goes untagged is control traffic.
Quote:
So even if VLAN 1 is pruned from the trunk, control traffic still uses vlan 1. Not knowing 100%, thinking through it I would think an untagged frame would still be able to pass to the switch on vlan 1, if generated correctly.
I think you'll find that you're unable to put an untagged frame onto such a trunk if VLAN 1 is prohibited from all trunk interfaces, and has no access ports.
Quote:
So that leads me to wonder how control traffic is differentiated over normal user traffic??? Is it marked (CoS 6 or 7), or sourced from a special control plan interface, or is there some other magic that happens under the hood???
It's magic - you can prohibit user traffic, but not CDP, etc...
Quote:
So with that thought in mind i would assume if you can generate a false control packet destined to a switch without a tag and marked as a control packet then wouldn't the switch process the frame as control traffic and then maybe send that frame out all trunk interfaces towards other switches?
First the attacker is going to have to get the bogus packet into VLAN 1 - quite a trick from an access port on VLAN not-1. Then the attacker will have to deal with the fact that most of this control plane traffic is addressed to special non-bridgable L2 addresses.
Assuming those hurdles are past, what difference does changing the native VLAN make? If we can VLAN-hop from not-1 to untagged-1, surely we can VLAN hop from not-1 to tagged-1

...and then there's that other category of control traffic that unlike CDP and friends (always VLAN 1), always goes untagged. Changing the native VLAN does nothing to, say, DTP.
It's all just a bunch of extra typing in my opinion.