lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 14 Sep 2007 20:10:34 -0700 (PDT) From: David Miller <davem@...emloft.net> To: rick.jones2@...com Cc: netdev@...r.kernel.org Subject: Re: why does tcp_v[46]_conn_request not inc MIB stats From: Rick Jones <rick.jones2@...com> Date: Mon, 10 Sep 2007 11:42:18 -0700 > I've been digging around to see about inducing /proc/net/tcp to show > some "interesting" things for listen sockets (eg backlog depth, its max, > and dropped connection requests). While there I've noticed that both > tcp_v[46]_syn_recv_sock and tcp_v[46]conn_request both check that the > listen queue is full, but only tcp_v[46]_syn_recv_sock increments some > mib stats for dropped connection requests. They are checking two different things. tcp_v{4,6}_conn_request is checking whether we are hitting the limit for allowing the initial SYN and creating a new embryonic mini-socket. Exceeding that is not a listen overflow. tcp_v{4,6}_syn_recv_sock() is processing the end of the 3-way handshake and wants to create a full established state socket to queue into the listening parent. This is checking the listening socket queue limits, and indeed is a listen queue overflow if exceeded. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists