Re: rtentry and rtrequest



Yar Tikhiy wrote:
----
Disconnecting: Corrupted MAC on input.
----

That looks like data corruption happening when TCP segments and/or
IP packets become relatively large, i.e., approach or reach the mtu
limit.

Indeed that would appear to be the case.


I'm sure it's something to do with how I'm doing the output. Does this
look sane?

Well, there's certain space for improvement,

Aww it's not _that_ bad is it. :) hehe

but now I fail to find a
bug that would result in corrupted data.

Phew /me wipes brow... so I'm not _totally_ useless then. :)

Would you mind testing the link with ping using packets of size
equal to, just below, and slightly above the mtu, and with different
data patterns? See -s and -p options to ping. You can observe the
patterns in echo replies with tcpdump -X. The data patterns in
echo requests and echo replies should be exactly the same. If they
aren't, the character of corruption can hint you at the bug.

I've done a pretty preliminary tcpdump'ing and the packets seem ok above and below the MTU via the bpf taps. I wonder if it's a bug in the SP side... then again I could be completely off base and it's all my dodgy codes fault. :)

I'll poke around with tcpdump and ping a bit more.

Many thanks again Yar,

Alan.
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: SBS 2003 Setup recommendation
    ... Your suggestion about MTU looks very interesting. ... We want something lige the following setup: http://pings.dk/sbssetup.gif ... agaist SBS2003 server. ... IPSec adds a small overhead the size of a packet which would make packets ...
    (microsoft.public.windows.server.sbs)
  • Re: MTU or Fragmentation Problems on 7.0?
    ... If I change the MTU on 192.168.1.1 to 1450 and the corresponding MTU ... the "DF" bit on all their TCP packets, ... The reception of these ICMP messages is crucial to this process working, ... In another message you mentioned that you have no firewalls in place, ...
    (freebsd-net)
  • 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: Problem of blocking ICMP packet while calculating Path MTU
    ... > I am in process of implementing Path MTU detection technique. ... > process the received ICMP ECHO reply packets. ... > there is no need to write server code at all. ...
    (comp.os.linux.networking)
  • Re: MTU size and 802.1x authentication
    ... But I would expect the protocol driver (not ... NDISUIO) to handle fragmenting the packets by looking at the MTU, ... NDISUIO is rejecting any tx packets that exceed that MTU. ... The EAP-TLS protocol has fragmentation login built into it. ...
    (microsoft.public.development.device.drivers)