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