Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

packet corrupt with awge0



Hi everybody,

on Olimex-lime2 board (Allwinner A20, with awge0 gigabit ethernet), I have some errors on long connections.

Using ssh, it aborts with ‘packet corrupt’.

And if using SSL I’ve:
"SSL error while writing: error:1409E10F:SSL routines:SSL3_WRITE_BYTES:bad length” on client.
"SSL error while reading: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac” on server.

I see some input/ouput errors on ifconfig:

awge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        media: Ethernet autoselect (1000baseT full-duplex)
        input: 129932 packets, 30365771 bytes, 10304 multicasts, 123 errors
        output: 104008 packets, 48195670 bytes, 7 multicasts, 3 errors

(netstat output at the end of the mail).

I’ve seen some time ago a discussion about checksum errors on awge, but I remember it have been corrected.

Is someone experiencing the same ? Can anybody help about this issue ?

Thank you :-)

Regards,
jym




Netstat output:

igmp:
        0 messages received
        0 messages received with too few bytes
        0 messages received with bad checksum
        0 membership queries received
        0 membership queries received with invalid field(s)
        0 membership reports received
        0 membership reports received with invalid field(s)
        0 membership reports received for groups to which we belong
        0 membership reports sent
tcp:
        92189 packets sent
                63573 data packets (36144990 bytes)
                10071 data packets (2532288 bytes) retransmitted
                16143 ack-only packets (44404 delayed)
                0 URG only packets
                0 window probe packets
                1353 window update packets
                1049 control packets
                0 send attempts resulted in self-quench
        115150 packets received
                57417 acks (for 35688120 bytes)
                1250 duplicate acks
                0 acks for unsent data
                52647 packets (18973388 bytes) received in-sequence
                80 completely duplicate packets (27753 bytes)
                0 old duplicate packets
                19 packets with some dup. data (114 bytes duped)
                359 out-of-order packets (175869 bytes)
                0 packets (0 bytes) of data after window
                0 window probes
                212 window update packets
                691 packets received after close
                0 discarded for bad checksums
                0 discarded for bad header offset fields
                0 discarded because packet too short
        371 connection requests
        1823 connection accepts
        2166 connections established (including accepts)
        6370 connections closed (including 727 drops)
        28 embryonic connections dropped
        0 delayed frees of tcpcb
        57663 segments updated rtt (of 50286 attempts)
        9572 retransmit timeouts
                678 connections dropped by rexmit timeout
        0 persist timeouts (resulting in 0 dropped connections)
        25 keepalive timeouts
                0 keepalive probes sent
                25 connections dropped by keepalive
        242 correct ACK header predictions
        24887 correct data packet header predictions
        4000 PCB hash misses
        71 dropped due to no socket
        0 connections drained due to memory shortage
        732 PMTUD blackholes detected
        144 bad connection attempts
        1833 SYN cache entries added
                0 hash collisions
                1823 completed
                0 aborted (no space to build PCB)
                3 timed out
                0 dropped due to overflow
                0 dropped due to bucket overflow
                7 dropped due to RST
                0 dropped due to ICMP unreachable
                1830 delayed free of SYN cache entries
        19 SYN,ACKs retransmitted
        4 duplicate SYNs received for entries already in the cache
        0 SYNs dropped (no route or no space)
        0 packets with bad signature
        0 packets with good signature
        196 successful ECN handshakes
        0 packets with ECN CE bit
        1874 packets ECN ECT(0) bit
udp:
        1847 datagrams received
        0 with incomplete header
        0 with bad data length field
        0 with bad checksum
        0 dropped due to no socket
        841 broadcast/multicast datagrams dropped due to no socket
        0 dropped due to full socket buffers
        1006 delivered
        1013 PCB hash misses
        10373 datagrams output
ip:
        109746 total packets received
        0 bad header checksums
        0 with size smaller than minimum
        0 with data size < data length
        0 with length > max ip packet size
        0 with header length < data size
        0 with data length < header length
        0 with bad options
        0 with incorrect version number
        0 fragments received
        0 fragments dropped (dup or out of space)
        0 fragments dropped (out of ipqent)
        0 malformed fragments dropped
        0 fragments dropped after timeout
        0 packets reassembled ok
        109733 packets for this host
        0 packets for unknown/unsupported protocol
        0 packets forwarded (0 packets fast forwarded)
        13 packets not forwardable
        0 redirects sent
        0 packets no matching gif found
        96635 packets sent from this host
        0 packets sent with fabricated ip header
        0 output packets dropped due to no bufs, etc.
        0 output packets discarded due to no route
        0 output datagrams fragmented
        0 fragments created
        0 datagrams that can't be fragmented
        0 datagrams with bad address in header
ip6:
        12162 total packets received
        0 with size smaller than minimum
        0 with data size < data length
        0 with bad options
        0 with incorrect version number
        0 fragments received
        0 fragments dropped (dup or out of space)
        0 fragments dropped after timeout
        0 fragments that exceeded limit
        0 packets reassembled ok
        10799 packets for this host
        0 packets forwarded
        0 packets fast forwarded
        0 fast forward flows
        45 packets not forwardable
        0 redirects sent
        7783 packets sent from this host
        0 packets sent with fabricated ip header
        0 output packets dropped due to no bufs, etc.
        7 output packets discarded due to no route
        0 output datagrams fragmented
        0 fragments created
        0 datagrams that can't be fragmented
        0 packets that violated scope rules
        45 multicast packets which we don't join
        Input packet histogram:
                TCP: 10745
                UDP: 59
                ICMP6: 1358
        Mbuf statistics:
                0 one mbufs
                12162 one ext mbufs
                0 two or more ext mbufs
        0 packets whose headers are not continuous
        0 tunneling packets that can't find gif
        0 packets discarded due to too many headers
        0 failures of source address selection
        11208 forward cache hit
        131 forward cache miss
icmp6:
        0 calls to icmp6_error
        0 errors not generated because old message was icmp6 or so
        0 errors not generated because of rate limitation
        Output packet histogram:
                echo: 2
                multicast listener report: 6
                neighbor solicitation: 441
                neighbor advertisement: 479
        0 messages with bad code fields
        0 messages < minimum length
        0 bad checksums
        0 messages with bad length
        Input packet histogram:
                unreach: 12
                echo reply: 2
                router advertisement: 389
                neighbor solicitation: 479
                neighbor advertisement: 438
        Histogram of error messages to be generated:
                0 no route
                0 administratively prohibited
                0 beyond scope
                0 address unreachable
                0 port unreachable
                0 packet too big
                0 time exceed transit
                0 time exceed reassembly
                0 erroneous header field
                0 unrecognized next header
                0 unrecognized option
                0 redirect
                0 unknown
        0 message responses generated
        0 messages with too many ND options
        0 messages with bad ND options
        0 bad neighbor solicitation messages
        0 bad neighbor advertisement messages
        0 bad router solicitation messages
        0 bad router advertisement messages
        0 router advertisement routes dropped
        0 bad redirect messages
        0 path MTU changes
tcp6:
        92222 packets sent
                63606 data packets (36154078 bytes)
                10071 data packets (2532288 bytes) retransmitted
                16143 ack-only packets (44404 delayed)
                0 URG only packets
                0 window probe packets
                1353 window update packets
                1049 control packets
                0 send attempts resulted in self-quench
        115160 packets received
                57427 acks (for 35691688 bytes)
                1250 duplicate acks
                0 acks for unsent data
                52647 packets (18973388 bytes) received in-sequence
                80 completely duplicate packets (27753 bytes)
                0 old duplicate packets
                19 packets with some dup. data (114 bytes duped)
                359 out-of-order packets (175869 bytes)
                0 packets (0 bytes) of data after window
                0 window probes
                212 window update packets
                691 packets received after close
                0 discarded for bad checksums
                0 discarded for bad header offset fields
                0 discarded because packet too short
        371 connection requests
        1823 connection accepts
        2166 connections established (including accepts)
        6370 connections closed (including 727 drops)
        28 embryonic connections dropped
        0 delayed frees of tcpcb
        57673 segments updated rtt (of 50293 attempts)
        9572 retransmit timeouts
                678 connections dropped by rexmit timeout
        0 persist timeouts (resulting in 0 dropped connections)
        25 keepalive timeouts
                0 keepalive probes sent
                25 connections dropped by keepalive
        242 correct ACK header predictions
        24887 correct data packet header predictions
        4000 PCB hash misses
        71 dropped due to no socket
        0 connections drained due to memory shortage
        732 PMTUD blackholes detected
        144 bad connection attempts
        1833 SYN cache entries added
                0 hash collisions
                1823 completed
                0 aborted (no space to build PCB)
                3 timed out
                0 dropped due to overflow
                0 dropped due to bucket overflow
                7 dropped due to RST
                0 dropped due to ICMP unreachable
                1830 delayed free of SYN cache entries
        19 SYN,ACKs retransmitted
        4 duplicate SYNs received for entries already in the cache
        0 SYNs dropped (no route or no space)
        0 packets with bad signature
        0 packets with good signature
        196 successful ECN handshakes
        0 packets with ECN CE bit
        1874 packets ECN ECT(0) bit
udp6:
        52 datagrams received
        0 with incomplete header
        0 with bad data length field
        0 with bad checksum
        0 with no checksum
        0 dropped due to no socket
        0 multicast datagrams dropped due to no socket
        0 dropped due to full socket buffers
        52 delivered
        52 datagrams output
pim6:
        0 messages received
        0 messages received with too few bytes
        0 messages received with bad checksum
        0 messages received with bad version
        0 registers received
        0 bad registers received
        0 registers sent
rip6:
        0 messages received
        0 checksum calculations on inbound
        0 messages with bad checksum
        0 messages dropped due to no socket
        0 multicast messages dropped due to no socket
        0 messages dropped due to full socket buffers
        0 delivered
        0 datagrams output
arp:
        780 packets sent
                772 reply packets
                8 request packets
        8596 packets received
                3 reply packets
                8592 valid request packets
                7826 broadcast/multicast packets
                0 packets with unknown protocol type
                0 packets with bad (short) length
                1 packet with null target IP address
                160 packets with null source IP address
                0 could not be mapped to an interface
                0 packets sourced from a local hardware address
                0 packets with a broadcast source hardware address
                0 duplicates for a local IP address
                0 attempts to overwrite a static entry
                0 packets received on wrong interface
                0 entrys overwritten
                0 changes in hardware address length
        2 packets deferred pending ARP resolution
                2 sent
                0 dropped
        0 failures to allocate llinfo




Home | Main Index | Thread Index | Old Index