Displaying 2 results from an estimated 2 matches for "tcps_established".
Did you mean:
tcp_established
2005 Jun 29
10
TCP Snoop & wrapper shell script posted
Hi ,
I have posted DTrace script to snoop tcp traffic and also provided a
wrapper script
for it to filter out unwanted traffic.
http://blogs.sun.com/roller/comments/raviswam/Weblog/tcp_snoop_using_dtrace
Please let me know if you have any feedback/comments on this.
Thanks
Ravi
2004 Apr 23
1
Proposed RST patch
...-------------- next part --------------
diff -u -r /usr/src/sys.old/netinet/tcp_input.c /usr/src/sys/netinet/tcp_input.c
--- /usr/src/sys.old/netinet/tcp_input.c Thu Apr 22 01:15:15 2004
+++ /usr/src/sys/netinet/tcp_input.c Fri Apr 23 22:13:18 2004
@@ -1570,6 +1570,10 @@
goto close;
case TCPS_ESTABLISHED:
+ if (tp->last_ack_sent != th->th_seq) {
+ tcpstat.tcps_badrst++;
+ goto drop;
+ }
case TCPS_FIN_WAIT_1:
case TCPS_FIN_WAIT_2:
case TCPS_CLOSE_WAIT:
diff -u -r /usr/src/sys.old/netinet/tcp_var.h /usr/src/sys/netinet/tcp_var.h
--- /usr/src/sys.old/netinet/tcp_var.h T...