kernel-ark/net/ipv6
Wei Yongjun 3687b1dc6f [TCP]: SNMPv2 tcpAttemptFails counter error
Refer to RFC2012, tcpAttemptFails is defined as following:
  tcpAttemptFails OBJECT-TYPE
      SYNTAX      Counter32
      MAX-ACCESS  read-only
      STATUS      current
      DESCRIPTION
              "The number of times TCP connections have made a direct
              transition to the CLOSED state from either the SYN-SENT
              state or the SYN-RCVD state, plus the number of times TCP
              connections have made a direct transition to the LISTEN
              state from the SYN-RCVD state."
      ::= { tcp 7 }

When I lookup into RFC793, I found that the state change should occured
under following condition:
  1. SYN-SENT -> CLOSED
     a) Received ACK,RST segment when SYN-SENT state.

  2. SYN-RCVD -> CLOSED
     b) Received SYN segment when SYN-RCVD state(came from LISTEN).
     c) Received RST segment when SYN-RCVD state(came from SYN-SENT).
     d) Received SYN segment when SYN-RCVD state(came from SYN-SENT).

  3. SYN-RCVD -> LISTEN
     e) Received RST segment when SYN-RCVD state(came from LISTEN).

In my test, those direct state transition can not be counted to
tcpAttemptFails.

Signed-off-by: Wei Yongjun <yjwei@nanjing-fnst.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-08-02 13:38:19 -07:00
..
netfilter
addrconf.c [IPV6] ADDRCONF: NLM_F_REPLACE support for RTM_NEWADDR 2006-08-02 13:38:12 -07:00
af_inet6.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
ah6.c
anycast.c
datagram.c
esp6.c
exthdrs_core.c
exthdrs.c
icmp.c
inet6_connection_sock.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
inet6_hashtables.c
ip6_fib.c
ip6_flowlabel.c
ip6_input.c [IPV6]: Clean skb cb on IPv6 input. 2006-07-24 23:44:44 -07:00
ip6_output.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
ip6_tunnel.c
ipcomp6.c
ipv6_sockglue.c
ipv6_syms.c
Kconfig
Makefile
mcast.c
ndisc.c
netfilter.c
proc.c
protocol.c
raw.c [IPV4/IPV6]: Setting 0 for unused port field in RAW IP recvmsg(). 2006-07-25 17:05:35 -07:00
reassembly.c
route.c
sit.c
sysctl_net_ipv6.c
tcp_ipv6.c [TCP]: SNMPv2 tcpAttemptFails counter error 2006-08-02 13:38:19 -07:00
tunnel6.c
udp.c [IPV6]: Audit all ip6_dst_lookup/ip6_dst_store calls 2006-08-02 13:38:14 -07:00
xfrm6_input.c
xfrm6_mode_transport.c
xfrm6_mode_tunnel.c
xfrm6_output.c [XFRM]: Fix protocol field value for outgoing IPv6 GSO packets 2006-08-02 13:38:13 -07:00
xfrm6_policy.c
xfrm6_state.c
xfrm6_tunnel.c [IPV6] xfrm6_tunnel: Delete debugging code. 2006-07-24 13:49:06 -07:00