From: Nick Griffin (ngriffin@sio.midco.net)
Date: Wed May 24 2006 - 23:52:11 ART
I don't know how many use this debug on the list, but I don't recall
seeing it yet, so I figured I'd toss it out there. "debug ip tcp trans".
This works nicely for bgp peering troublshooting to see if your getting
or sending a TCP RST, due to update source etc. I guess I found it a
little easier than debug ip packet, and an extended acl matching tcp 179.
00:50:11: %BGP-5-ADJCHANGE: neighbor 2.2.2.2 Down User reset
00:50:11: TCP0: state was ESTAB -> FINWAIT1 [11006 -> 2.2.2.2(179)]
00:50:11: TCP0: sending FIN
00:50:11: TCP0: state was FINWAIT1 -> FINWAIT2 [11006 -> 2.2.2.2(179)]
00:50:12: TCP0: FIN processed
00:50:12: TCP0: state was FINWAIT2 -> TIMEWAIT [11006 -> 2.2.2.2(179)]
00:50:21: TCB01669860 created
00:50:21: TCB01669860 setting property TCP_VRFTABLEID (14) 165380C
00:50:21: TCB01669860 setting property TCP_MD5KEY (2) 0
00:50:21: TCB01669860 setting property unknown (16) 16605AC
00:50:21: TCB01669860 setting property TCP_TOS (1) 1660598
00:50:21: TCB01669860 bound to 7.7.7.7.11007
00:50:21: TCP: sending SYN, seq 4282901678, ack 0
00:50:21: TCP0: Connection to 2.2.2.2:179, advertising MSS 536
00:50:21: TCP0: state was CLOSED -> SYNSENT [11007 -> 2.2.2.2(179)]
00:50:21: TCP0: state was SYNSENT -> ESTAB [11007 -> 2.2.2.2(179)]
00:50:21: TCP0: Connection to 2.2.2.2:179, received MSS 536, MSS is 536
00:50:21: TCB01669860 connected to 2.2.2.2.179
00:50:21: TCB01669860 setting property TCP_NO_DELAY (0) 16605B0
00:50:21: %BGP-5-ADJCHANGE: neighbor 2.2.2.2 Up
FWIW
This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:22 ART