Re: MTU size and 802.1x authentication

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



What you say does make sense. But I would expect the protocol driver (not
NDISUIO) to handle fragmenting the packets by looking at the MTU, just like
TCP. I am using the Windows Zero Config as my 802.1x supplicant. Looks like I
may be at a dead-end. I was hoping that there would be a registry key that
controls the fragment size for EAP-TLS which is used by Zero Config. I was
trying to avoid fragmentation login in my MP and let the protocol driver
handle it.

Anyway, thanks for your help. If you do come across something that would
help please forward it to me?

Thanks,
Shailendra



"Luv2Hike" wrote:

This sounds like a bug with NDISUIO. On the one hand it seems to check
what
the MTU is and on the other it does not honor it.

I believe it is doing both. Your MP is advertising an MTU of 1400, and
NDISUIO is rejecting any tx packets that exceed that MTU.


The EAP-TLS protocol has fragmentation login built into it. Is there a
registry setting which can be changed to manage that fragmentation size?
Hopefully this will cause zero config to transmit smaller packets which
would
be below the MTU size. Alternatively, is there a registry setting which
will
force NDISUIO to break down these large frames so they are smaller than
the
advertised MTU and pass them along?

AFAIK, NDISUIO is agnostic of the EAPOL packet payloads, and I don't know of
a registry setting that will help here. What you really need to look at is
the 802.1x supplicant and see if that can support fragmenting, although I
don't belive there's a way you can do this.


Thanks,
Shailendra



"Luv2Hike" wrote:

I ran into the same problem. By shrinking the MTU, you cause a problem
with
the 802.1x supplicant on XP which may send out an EAPOL packet > 1400
bytes.
What happens is the NDISUIO stack will not forward the EAPOL packet to
the
underlying miniport if the MTU < packet length.

Since we supported an 802.11 CAPWAP interface, we simply advertised an
MTU
of 1500 and then fragmented any packets with a length > our supported
MTU.

"Shailendra" <Shailendra@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F5D62957-BE6B-48CC-BCE9-10B1BFBAEB67@xxxxxxxxxxxxxxxx
Hi,

I have a mp driver which is modifying the MTU by trapping and tweaking
queries to OID_GEN_MAXIMUM_FRAME_SIZE (to 1400 from 1500) and
OID_GEN_MAXIMUM_TOTAL_SIZE (to 1414 from 1514) OIDs.

The issue is when I try to perform 802.1x authentication on a wired NIC
using zero config and smartcard (EAP-TLS) it stops midway through the
handshake and does not complete. Packet sniffing indicates that the
server
sends all its relevant information and is waiting for the client (the
machine
running my driver) to send its information, including it's certificate.
This
never happens. I don't see any response packets going through my driver
either.

If I do not tweak the MTU size or if my driver is not bound the 802.1x
authentication handshake completes successfully and I can pass traffic.
I
can
see the whole TLS handshake by sniffing packets.

What am I missing here? Does changing the MTU have no affect on zero
config
or is it not handling the changed MTU properly? Restarting the zero
config
service does not change this behavior either. Do I have to trap some
more
OIDs and change them? Has anyone see this kind of a problem? Any help
is
greatly appreciated.

Thanks,
Shailendra







.



Relevant Pages

  • Re: Strange MTU-ish problem
    ... using an alice.it ADSL modem. ... I tried changing the MTU with "ifconfig eth1 mtu 1492" ... also set the -M flag to control fragmentation. ... You should snoop packets to see if this is the issue because you get ...
    (Fedora)
  • Re: MTU size and 802.1x authentication
    ... but please note that NDISUIO IS the protocol driver in this case. ... NDISUIO) to handle fragmenting the packets by looking at the MTU, ... NDISUIO is rejecting any tx packets that exceed that MTU. ...
    (microsoft.public.development.device.drivers)
  • Re: SonicWall VPN says Fragmented Packet Dropped
    ... Scott Moseman wrote: ... I imagine that it'll only confirm that the packets are fragmented, and not necessarily showing me how to resolve it. ... Tried dropping the mtu size on the PC so that the packets don't get fragmented? ... I found in the past that some applications would use the largest packet they could, by the time it's been wrapped up in the security etc it always needed fragmentation. ...
    (comp.dcom.vpn)
  • Re: Max Packet Size in Kernel
    ... Do you mean that you're developing a driver for a network ... whose packets are limited to 256 bytes, or do you mean something else? ... > so setting MTU to 256 might be a violation of IP. ...
    (comp.os.linux.development.system)
  • Re: Router on 6.0-stable fails to route tcp packets due to NAT?? malfunction
    ... Further analysis brought me to a conclusion that the problem is in MTU ... packet "Need Fragmentation" should be sent to packet sender. ... As I know web and ftp packets dont have "dont fragment" bit set so ...
    (freebsd-net)