Seagull is a handy tool for generating very specific traffic types, and provides many scenarios already configured. To get going on Windows, all that I had to do was edit the IP addresses in some XML config files and I was up and running. Nice.
---
I'll document some of the pains that I went through here during compilation under Ubuntu 10.10 for Seagull in case someone else happens to try this out. There has been some time since Seagull was updated, and compilers have changed a bit since then. Fortunately I ran into this blog post that helped me to understand some of the problems that I was running into.
At first, KSH and GCC are missing from Ubuntu, so you have to install them.
# apt-get install ksh build-essential bison flex libntl-dev libsctp-dev
Source files that generate the error "error: memset was not declared in this scope" need to have this include line added.
#include <cstring>
Source files that generate the error "X" need to have this include line added.
#include <cstdlib>Source files that generate the error "Y" need to have = changed to == in some if statements.
Source files that generate the error "fatal error: asm/page.h: No such file or directory" need to have a specific include line to point at the actual page.h file. From http://forums.fedoraforum.org/showthread.php?t=190186.
#include "/usr/src/linux-headers-2.6.35-22/arch/x86/include/asm/page.h"
Source files that generate the error "/usr/bin/ld: cannot find -lTTL" can be fixed by commenting a line and uncommenting a line in TCAP section of build.conf.
And lastly, I have not yet solved this one. Error message is "library-trans-extsctp/socketSCTP_t.hpp:23: fatal error: ext_socket.h: No such file or directory". I cant seem to find a library that provides sctp_initLibrary() as ext_socket.h used to, also cant find ext_socket.h on my system or in an available package.
So, use the windows version, because it works.
So, use the windows version, because it works.

0 comments:
Post a Comment