Development

Packet sniffing for Admins and Developers

Why would a network admin, security admin or a network developer be concerned with packet tracing software like Wireshark or Snort? To some that answer might be extremely clear, but others maybe not so much. The basic premises is that a packet tracing program like Wireshark or my own sniff is that it can read all the traffic that is coming in on the network adapter.

Bouncy Ball with Ncurses

So a while ago now I had an assignment in school to write a program for algorithm design. The basis of the program was to have an O go across the screen leaving a trail of Xs for each spot that it occupied. The original program I wrote was in MS Visual Studio using C++ .net functionality and was fairly fast but not that fast in terms of running speed. That was the one I submitted though as it was part of the requirements. But I couldn't leave it at that and went back and converted it over to be a straight unix program and used ncurses to draw.

Guess a Number between 1 and 100

Going through a few of my archives of various what nots I came across this bit of C++ code, it was the first program I wrote after the typical hello world program. Very simple C++ program just generates a random number between 1 and 100 and gives the user a couple of tries to guess it. Guess even back then I used a fair amount of shorthand at least not to the point that I can't look at it myself and see what is going on.

#include <iostream.h>
#include <stdlib.h>
#include <time.h>

void main(void)
{
        int i, magic, guess, j;
        j=0;
        srand ( (unsigned)time( NULL ));

Development Update

So I have spent some time thinking about how best to approach my projects vorilon and revcon. Part of it is that I figured that git would be better suited to this than mercurial even though mercurial is good and has a lot of functionality. I just think git would be better suited to general development. Also with vorilon I wanted to move all the stuff that I have hosted here to the repo site for now until I actually got somewhere with it. With RevCon I was trying to decide if I wanted to make it a mac only project or still consider the possibility of having it cross platform.

C# Network Promiscuous Mode

Figured I could share the C# code that I used to listen on a network adapter in promiscuous mode for the packet sniffing program. Really not a whole lot to it, but it does have a flaw in the form that it can not read any packet off the network adapter that isn't an IP Packet. So really it is an IP packet sniffer instead of a general network sniffer (last time I checked). The code was written for .Net 2.0 and I haven't really updated or ran the program with any version of .net later than 2.0 or on windows 7.

Mac Version Control GUIs

After spending quite a bit of time on this one, I have come to the conclusion that none of the ones out there really work all that well. Regardless of the actual version system that they are interfacing like mercurial, or subversion etc. At least on the mac at any rate. Now there are a few that are decent and a few that I haven't really dug into and at this point really not all that particular about any that are out there. Out of the ones that I have used for subversion I pretty much settled with SmartSVN, which is feature limited free.

Thoughts on Adobe Flex

After spending the last couple of days digging around adobe flex and I have to say I could easily get into it quite a bit. They basically took the action scripting from flash and made it more of a programming language and with the mxml files to tell how to display the data. Then the added bonus that adobe flex can easily accept data from a variety of back ends including php and .net makes it more viable to build a front end using it.

Mercurial for the win

In the last couple of days I somehow got turned towards Mercurial as a Versioning system, and after a pretty in depth look decided that it would be the better of the versioning system. At least significantly better than Subversion at any rate not sure about the other versioning systems but I decided to go with this one in particular. Some of the things that I gathered that make it better than Subversion is that it is a distributed system and the way these particular ones work is that the whole repository is cloned instead of a revision being checked out.

One man Development team

Trying to get everything up and going as a one man team is really quite time consuming and sucks. I find my time heavily divided between just getting the support structure up and running and actual coding of anything. Which unfortunately open source projects that are just starting out this is usually how it happens until a fair amount of code is in place possibly even all the way up to an alpha/beta release of the project. Unless one gets some friends or some other people initially on the idea of the project right from the onset but even then.

Developer Tools of the Trade

Figured I would talk a bit about what tools I use under what circumstances for Development. Primarily I am a whatever shoe fits best kind of developer so I use a very broad range of tools to accomplish a variety of tasks. Very much dependent on what I am working on at that particular time.
Computers

  • My primary daily use/development box is an iMac 24" intel based machine. I have Vmware fusion and use bootcamp for windows and a variety of *nix flavors.
  • Amd 3300+ that is running vista
  • an older dell gx110 that is being used as a router
Syndicate content