Date: Thu, 17 Jul 2008 02:29:23 GMT From: Victor Hugo Bilouro <bilouro@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 145349 for review Message-ID: <200807170229.m6H2TNSh063808@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=145349 Change 145349 by bilouro@bilouro_tcptest on 2008/07/17 02:29:09 Add some text, comments, todo... Affected files ... .. //depot/projects/soc2008/bilouro_tcptest/src/scripts/tests/cresetfromclosedstate.py#2 edit Differences ... ==== //depot/projects/soc2008/bilouro_tcptest/src/scripts/tests/cresetfromclosedstate.py#2 (text+ko) ==== @@ -44,12 +44,23 @@ import pdb import time -class TestResetFromClosedStateWithACK(unittest.TestCase): +class TestResetFromClosedState(unittest.TestCase): """ RFC 793 - Section 3.4 Establishing a Connection - Reset Generation 1) Sends a segment to a closed state with ACK bit set and check if the answer is conformant with protocol specification. + + [PREPARATION] + ==DEVICE UNDER TEST + inetd with descard server running (port 9) + possibility to kill -TERM inet process and /etc/rc.d/inetd stop + + [TESTS] + (a)SYN with and without ACK [80%] + (b)URG with and without ACK [0%] + (c)FIN with and without ACK [0%] + (d)RST with and without ACK [0%] """ def setUp(self): @@ -89,7 +100,7 @@ - def testSendSyn4BroadcastAddress(self): + def testResetFromClosedStateWithACKSYN(self): """ RFC 793 - Section 3.4 Establishing a Connection - Reset Generation @@ -98,6 +109,17 @@ """ tcptest.threewayhandshakenoopt(self, self.tcb, self.thisside, self.thatside) + ################ + # IMPORTANT NOTE + ################ + # + # At this time you shoud (a)kill -TERM the inetd server of the + # connection priviously set and stop inetd superserver at + # Device Under Test(DUT), this will cause: + # --> DUT to start active close + # --> avoid new connection at new socket + # + tcptest.passivecloseconnection(self, self.tcb, self.thisside, self.thatside) time.sleep(60) #2MSL(freebsd7) #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807170229.m6H2TNSh063808>