gsoc-tcpregression
Sunday, October 11, 2009
Build Issues when Installing
PCS-0.5 Diff with PCS version used in TcpRegression
The highlight of the changes are:
- BitString class. The code for encoding individual bits, even if there is a lack of alignment on 8-bit boundaries, is a bit iffy (even the code says "This makes my head hurt"). The BitString class allows manipulation of individual bits just like a Python list object, and can be translated into an integer value, string value, binary string (via bin()), hex string (via hex()), and allows arbitrary manipulation.
- The names of the pcs.packets.tcp.tcp class fields were assigned variables. Instead of object['fieldName'] which is prone to typos going undetected, I made a bunch of variables so that they can be referred to as object[f_fieldname]. If mistyped, the interpreter picks up on the nonexistent variable.
Sunday, September 20, 2009
Yep, 10.6 Did It (Methinks)
Fixed the build script, will add it to Git soon. Read more...
Sunday, September 13, 2009
10.6 Breaks PyPcap?
Saturday, August 29, 2009
Docs Added
Lots of docs added to some of the core components. I'm on my way to the Apple store to have them fix this piece-o-junk, so hopefully I'll have it back soon!
Read more...
Monday, August 17, 2009
Committed all changes
All changes have been committed to P4 (TcpRegression) and Git (PyPcap). Eveyrthing works on my dev box, but we all know that means nothing. I'll sort out any odds and ends tomorrow. I need to get up for work in 3 hours.
- Zach
Read more...
Sunday, August 16, 2009
And so it ends
SoC is coming to an end tonight.
Overall, I think the project went very well. I'm going to try to bust out a few deliverable tests tonight since those were the original goal, but I think the volume of work that I got done will speak for itself.
- I forked PyPcap, fixed bugs, extended the functionality, wrote better tests.
- I forked PCS-0.5, fixed bugs, extended the functionality (although I didn't write tests for PCS).
- I've essentially implemented a reference userland implementation of TCP on top of PCS and PyPcap, which should allow for even more applications than a simple regression testing suite, complete with tests of the code itself, as well as a few deliverable tests that should validate functionality of various TCP stacks.
In addition to continuing work with the TcpRegression suite, I've sent an email to the Metasploit project to see if they could use another leisure-pace developer. That should be an interesting project, and maybe I'll be able to apply some of the knowledge about TCP that I gained over the summer. Overall, it's been very productive - for my personal benefit (fiscal and intellectual), and hopefully the FOSS community and FreeBSD as well.
I've got a few minor changes to PyPcap that need to go up -- mostly it's just the inclusion of a function that will print out a string of bytes in the same format that they appear in Wireshark's Packet Bytes view.
There's a load of TcpRegression functionality and tests that will be in the next commit. Over the next week or so, I'll work on the documentation and cleaning up the code, and getting Google their code sample. I'd like a nice, solid "0.1" release. It's also crossed my mind to separate the regression tests themselves from the main framework, and re-badging it "TCPython". The name looks like it hasn't been taken yet, but we'll see how that goes.
Special thanks to Titus Brown and George Neville-Neil for helping me throughout the summer, you both helped me out of a few ruts along the way that could've made the whole project a lot less enjoyable.
Read more...
Blog Archive
-
▼
2009
(95)
-
►
August
(25)
- Docs Added
- Committed all changes
- And so it ends
- Published changes...
- Busy Day
- C'mon Nose, stop being a stupid WHAAAAAAAAAT
- Time
- Nope, it was Python.
- Wtf?
- Yep.
- Not understanding the logic flow here
- HA!
- Modem dead
- The Issue [Nevermind, Fixed]
- Proper Building with Setup.py
- Massive Cleanup
- Problem Solved
- PyPcap issues when running in-directory
- Build system
- GitHub site, setup.py issues
- PyPcap Migrated to Git
- Forked, Fixed, Updating
- Perforce Woes
- PyPcap = Abandonware
- Okay, so that's done... but we're stuck with a han...
-
►
August
(25)
