Monday, September 28, 2009

*MASSIVE SIGH* Spec file....

*sigh* Where do I begin?

Well I learned how to write a simple spec file first after getting the rpmbuild directory. I chose ettercap to build from the spec file and I guess that was not the wisest choice but I stuck with it.

I first had an issue with the ettercap version since it doesnt start with a number it starts with a letter, Ettercap-NG-0.7.3. I simply had to add "%setup -q -n ettercap-NG-0.7.3" to the prep section with the "-n" allowing the letters.

Secondly I had an issue with O_CREAT only having 2 parameters and needing three, after searching countless forums I found out that this was a bug and needed to be fixed using patches. (https://bugzilla.redhat.com/show_bug.cgi?id=330971) I then searched for all the ettercap patches I could, added them to my SOURCES directory and put a section in my specfile to allow for patching. http://cvs.fedoraproject.org/viewvc/F-11/ettercap

My next issue was that in the %files section I had %{bindir}/* when it gave me an error I changed it to %{_bindir}/*. After this I got a whole bunch of packages that were installed but still unpackaged. To solve this I added %{_datadir}/*,
%{_libdir}/*, %{_mandir}/*.

The binary then showed up in the RPMS directory and I ran rpmlint. I had a bunch of errors that I could not fix (I spent a lot of time.) I then decided in another rpmbuild directory to look at what the actual spec file for ettercap should look like for it to run perfectly with no errors, it was huge. http://cvs.fedoraproject.org/viewvc/devel/ettercap/ettercap.spec?view=co

*sigh* Why did I choose ettercap...

Tuesday, September 22, 2009

Telephone conference with Jesse Keating

On Thursday my SBR600 class took a trip to the conference room in the Tell building to have a phone conference with Jesse Keating, a Fedora Release Engineer.

I found this conference to be very informative, Jesse was very clear and quite knowledgeable. I was quite interested to learn about the release process, containing such things as the alpha release stage, the beta release stage, and then the final release. I was also pleased to learn that fedora 12 is in between the Alpha release and the Beta release stages.

All of the questions I had come up with during the conference were pretty much answered by Jesse without me having to even ask. Even though it is a personal question I am still quite interested to know how much he makes.

For anyone interested in learning a little bit about the fedora release process and other fedora related topics you can at: http://cdot.senecac.on.ca/audio/sbr600/

Monday, September 14, 2009

Configure, Make, and Make install

Installing NLED from source.

I downloaded this using wget and it didn't have a configure feature so I used make right away. When using the make command I received an error saying that I was missing ncurses.h,so I had to go and download the ncurses package and configure it to my system, make (which took a while), and then make install. After I had this package fully installed I re-ran make for NLED and everything worked.

Installing Ettercap-NG-0.7.3 (Sniffer)

I downloaded this using wget (link location). I had to configure this before I could run make. The first issue was that libpcap was not found, so I had to search on google and downloaded libpcap0.8-dev.

The second issue was that libnet not found, this was a particularly annoying problem because after trial and error and google research it would seem that this version of ettercap was dependant on ONLY libnet1.1.2.1 even though it said I could get a higher version. So after downloading a higher version and failing I had to download libnet1.1.2.1.tar.gz .

Lastly, I had to configure ettercap, make, and make install it. It installed into the /usr/local directory so I just moved the executable file over to my home directory and was able to run it. You have to specify whether you want to view it in text mode or in Ncurses mode or GTK mode with -T -C -G respectively.

Wednesday, September 9, 2009

An Introduction to SBR600

Hello, my name is Jonathan. For all of you who don't know me I am a student in Semester 5 currently taking Chris Tylers' course coded "SBR600". The class sounds very interesting and I look forward to what is in store this semester. The following is a cut out of a message we had on Xchat just verifying if everything works:

X-Chat

ctyler: ping
jdeni: pong
ctyler: Hey Chris, I was just wondering if you were in class or something. Just making sure this all works
ctyler: jdeni: I'm down in my office. Seems to work fine!
What IRC client are you using?
I decided to go with xchat, however I am not really fond of the layout compared to the one you showed us.
its similar but for some reason, I can only open a window per channel, unlike how yours had all the chanels in one window and you could just choose from them
ctyler: jdeni: I was using xchat :-)
jdeni: ctyler: haha I was afraid you would say that, any idea how I can put all my chanels into one window? Right now I have a window for freenode and a window for mozilla
i'm using the channel-switcher, in 'tree' mode (vs. 'tab' mode)
jdeni: okay thanks
jdeni: That got one issue sorted out, however I will show you in class tommorow what I mean by the different windows
jdeni: ctyler: I was just informed I have to make dinner, I will see you tommorow, thanks for the help!
ctyler: see you

Seneca Wiki's User Page Link

http://zenit.senecac.on.ca/wiki/index.php/User:JonathanDeni

Fedora Wiki's User Page Link

https://fedoraproject.org/wiki/User:Jdeni