Size: 2438
Comment:
|
← Revision 4 as of 2008-08-04T19:25:12+0000 ⇥
Size: 2485
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
After some weeks without report I have news. Now tcptest had a module and its own style. |
. After some weeks without report I have news. Now tcptest had a module and its own style. |
Line 12: | Line 11: |
Focus on RFC, working to reset generation | . Focus on RFC, working to reset generation |
Line 15: | Line 14: |
It's a module, with methods used by test scripts. Made to make easy test creation. The asserts have clearly message Several RFC and personal code comments *assertAcknowledgmentPresent(self, tcp): *assertSynPresent(self, tcp): *assertSequencePresent(self, tcp): *assertExpectedSequence(self, tcb, tcp, from_, to): *assertExpectedAcknowledgment(self, tcb, tcp, from_, to): *assertSequenceAcknowledgmentOK(self, tcb, tcp, from_, to): *assertReset(self, tcb, tcp, from_, to, tcp_sent): *assertFin(self, tcp): *createsyn(self, tcb, from_, to): *createrstfromreceivedtcp(self, tcb, from_, to, tcp_received): *createfakerstfromtcb(self, tcb, from_, to): *createoutofwindowack(self, tcb, from_, to): *createfin(self, tcb, from_, to): *createip(self, tcb, from_, to): *createtcp(self, tcb, ip, from_, to): *receive(self, tcb, from_, to): *createethernet(self, tcb, from_, to): *createwritepacket(self, tcb, ip, tcp, from_, to): *tcp_cksum(self, ip, data = ""): *ip_cksum(ip): *threewayhandshakenoopt(self, tcb, from_, to): *closeconnection(self, tcb, from_, to): *passivecloseconnection(self, tcb, from_, to): |
. It's a module, with methods used by test scripts. . Made to make easy test creation. . The asserts have clearly message. . Several RFC and personal code comments. * assertAcknowledgmentPresent(self, tcp): * assertSynPresent(self, tcp): * assertSequencePresent(self, tcp): * assertExpectedSequence(self, tcb, tcp, from_, to): * assertExpectedAcknowledgment(self, tcb, tcp, from_, to): * assertSequenceAcknowledgmentOK(self, tcb, tcp, from_, to): * assertReset(self, tcb, tcp, from_, to, tcp_sent): * assertFin(self, tcp): * createsyn(self, tcb, from_, to): * createrstfromreceivedtcp(self, tcb, from_, to, tcp_received): * createfakerstfromtcb(self, tcb, from_, to): * createoutofwindowack(self, tcb, from_, to): * createfin(self, tcb, from_, to): * createip(self, tcb, from_, to): * createtcp(self, tcb, ip, from_, to): * receive(self, tcb, from_, to): * createethernet(self, tcb, from_, to): * createwritepacket(self, tcb, ip, tcp, from_, to): * tcp_cksum(self, ip, data = ""): * ip_cksum(ip): * threewayhandshakenoopt(self, tcb, from_, to): * closeconnection(self, tcb, from_, to): * passivecloseconnection(self, tcb, from_, to): |
Line 43: | Line 44: |
. Reset Generation tests to closed state connection | |
Line 44: | Line 46: |
Reset Generation tests to closed state connection *testResetFromClosedStateSYNwithACK(self): *testResetFromNonExistentConnectionSYN(self): *testResetFromNonExistentConnectionFIN(self): *testResetFromNonExistentConnectionRST(self): |
* testResetFromClosedStateSYNwithACK(self): * testResetFromNonExistentConnectionSYN(self): * testResetFromNonExistentConnectionFIN(self): * testResetFromNonExistentConnectionRST(self): |
Line 51: | Line 52: |
. Reset Generation tests to non Synchronized state connections | |
Line 52: | Line 54: |
Reset Generation tests to non Synchronized state connections *testResetFromNonSyncStateListen(self): *testResetFromNonSyncStateSynReceived(self): |
* testResetFromNonSyncStateListen(self): * testResetFromNonSyncStateSynReceived(self): |
Line 57: | Line 58: |
. Reset Generation tests to Synchronized state connections | |
Line 58: | Line 60: |
Reset Generation tests to Synchronized state connections *testResetFromSyncStateEstablished(self): *testResetFromSyncStateCloseWait(self): |
* testResetFromSyncStateEstablished(self): * testResetFromSyncStateCloseWait(self): |
Line 63: | Line 64: |
*Finish reset tests *Explore push bit *start sliding window test |
* Finish reset tests * Explore push bit * start sliding window test |
HI!
Abstract
- After some weeks without report I have news. Now tcptest had a module and its own style.
Planned
- create new release
- implement some set of tcp options negotiation test scripts.
- make a summary, submit the sources, feedback, control tasks
Accomplished
- Focus on RFC, working to reset generation
tcptest.py
- It's a module, with methods used by test scripts.
- Made to make easy test creation.
- The asserts have clearly message.
- Several RFC and personal code comments.
- assertAcknowledgmentPresent(self, tcp):
- assertSynPresent(self, tcp):
- assertSequencePresent(self, tcp):
- assertExpectedSequence(self, tcb, tcp, from_, to):
- assertExpectedAcknowledgment(self, tcb, tcp, from_, to):
- assertSequenceAcknowledgmentOK(self, tcb, tcp, from_, to):
- assertReset(self, tcb, tcp, from_, to, tcp_sent):
- assertFin(self, tcp):
- createsyn(self, tcb, from_, to):
- createrstfromreceivedtcp(self, tcb, from_, to, tcp_received):
- createfakerstfromtcb(self, tcb, from_, to):
- createoutofwindowack(self, tcb, from_, to):
- createfin(self, tcb, from_, to):
- createip(self, tcb, from_, to):
- createtcp(self, tcb, ip, from_, to):
- receive(self, tcb, from_, to):
- createethernet(self, tcb, from_, to):
- createwritepacket(self, tcb, ip, tcp, from_, to):
- tcp_cksum(self, ip, data = ""):
- ip_cksum(ip):
- threewayhandshakenoopt(self, tcb, from_, to):
- closeconnection(self, tcb, from_, to):
- passivecloseconnection(self, tcb, from_, to):
cresetfromclosedstate.py
- Reset Generation tests to closed state connection
- testResetFromClosedStateSYNwithACK(self):
- testResetFromNonExistentConnectionSYN(self):
- testResetFromNonExistentConnectionFIN(self):
- testResetFromNonExistentConnectionRST(self):
cresetFromNonSyncState.py
- Reset Generation tests to non Synchronized state connections
- testResetFromNonSyncStateListen(self):
- testResetFromNonSyncStateSynReceived(self):
cresetFromSyncState.py
- Reset Generation tests to Synchronized state connections
- testResetFromSyncStateEstablished(self):
- testResetFromSyncStateCloseWait(self):
Next Week
- Finish reset tests
- Explore push bit
- start sliding window test
Problems
- The latest pcs version don't work in my environment, yet! :|
Highlights
Base Knowledgment