Subscribe via feed.

darwinPorts going further: running blackbox, ethereal and nessus

Posted by deepquest on February 19, 2004 – 5:41 pm

After couple days with darwinports it’s been a real surprise to the number of ports increasing. I remember trying this few months ago using fink it’s been a real nightmare. DarwinPorts allowed me to install successfully the following ports easylily: Blackbox, ethereal, nessus. When I mean install, I mean install and run not command line but with GUI. I’ll try to post few details for installing windows manager that doesn’t work by default despite a flawless install.

Blackbox

it has been the most frustrating packadge to run, I didn’t see much info about the setup.
1st get [url=http://www.apple.com/macosx/features/x11/download/]apple’s X11[/url]

– launch terminal and do “sudo port install blackbox”
FYI even if the install went fine you won’t be able to run it from terminal.app, it’s useless but you can try: open new terminal and type “blackbox”. You should get the following error message: “BaseDisplay::BaseDisplay: connection to X server failed.”

-still en terminal type “cp /etc/X11/xinit/xinitrc .”
make sur you put a space after xinitrc
WARNING: DO NOT EDIT /etc/X11/xinit/xinitrc, OSX could really messed up!

-“bbedit xinitrc” if you’re lazy or “vi xinitrc”, at the bottom of the file after “# start the window manager” replace “exec quartz-wm” by “#exec quartz-wm” and add the next as follow: “exec /opt/local/bin/blackbox”
meaning the 3 last lines should look like this:
“# start the window manager
#exec quartz-wm
exec /opt/local/bin/blackbox”

-in terminal type “mv xinitrc . xinitrc”

you’re done!

Run X11, you’d see the blackbox doc at the bottom center of your window, to see it you may have to move apple’s dock on the right or left or enable auto-hidding (applekey-option-d). If you don’t see it launch it xterm doing “blackbox”

Nessus

Finally got a the GUI of nessus running!

-In terminal “sudo port install nessus-core”, then “sudo port install nessus-plugins”, then “sudo port install nessus-librairies”.

before using nessus you will have to setup few things. You have to understand that nessus runs with a client-server architecture. A nessus daemon runs on your machin and you connect to it.
So in first of all in terminal:
-run “nessus-mkcert” as root follow the instructions, you answer to the default question by pressing enter key.

-run “nessus-adduser”
it will look like that:

Add a new nessusd user
———————-
Login : myusername
Authentication (pass/cert) [pass] : [press enter]
Login password : mypassword
User rules
———-
nessusd has a rules system which allows you to restrict the hosts
that foobar has the right to test. For instance, you may want
him to be able to scan his own host only.
Please see the nessus-adduser(8) man page for the rules syntax
Enter the rules for this user, and hit ctrl-D once you are done :
(the user can have an empty rules set)

so ctrl-d and confirm the creation of the user.

-in terminal “nessus-update-plugins”
it will update your [url=http://cgi.nessus.org/plugins/]plugins[/url] with the latest ones.

Now you’re ready to use Nessus.
-launch X11, in xterm type “nessusd” as root (it may take some times up to 60 sec to load). Open a new xterm and type “nessus”

You will now get nessus gui running, check [url=http://www.nessus.org/documentation.html]Nessus official documentations[/url]

ethereal
ethereal is used by network professionals around the world for troubleshooting, analysis, software and protocol development, and education. It has all of the standard features you would expect in a protocol analyzer, and several features not seen in any other product.

-in terminal.app “sudo port install”
it’ll take some times due to a lot depencies

-Lauch X11, in xterme “sudo ethereal”
you MUST sudo otherwise you won’t be able to select any interfaces to listen to (en0, en1 etc…)

feel free to mail if you have any problems.


This post is under “Apple” and has no respond so far.
If you enjoy this article, make sure you subscribe to my RSS Feed.

Post a reply

You must be logged in to post a comment.