packETH 1.8.1 SlackBuild and packages

Hi folks, I’ve found this interesting software which can be very useful for testing purposes. Its name is packETH.

packETH is a GUI and CLI packet generator tool for ethernet. It allows you to create and send any possible packet or sequence of packets on the ethernet link. It is very simple to use, powerful and supports many adjustments of parameters while sending sequence of packets.

Here below I link a brief tutorial which can be easily found by performing a quick search on YouTube:

You can find the official SlackBuild script at SlackBuilds.org. Into my “Slackware stuff” section you can also find a modified version of that SlackBuild script and the respective prebuilt packages for x86 and x86_64 architectures.

Let’s see how to build the package using the SlackBuild script:

Download the .tar.gz containing the SlackBuild script (packETH.tar.gz) and the sources (packETH-1.8.1.tar.bz2 in this case).

After having placed the two files in the same directory, open a terminal and place yourself into that directory using the cd command.

Unpack the SlackBuild archive, place the sources into the unpacked folder and enter into that folder:

tar -zxvf packETH.tar.gz
mv packeETH-1.8.1.tar.bz2 packETH
cd packETH

Now, give the execution permissions to the script:

chmod +x packETH.SlackBuild

Become super user (you must insert the root password) and then launch the script:

su
./packETH.SlackBuild

At the end of the building procedure you will find your package into the /tmp directory.
Now, to install the package give this command:

installpkg /tmp/packETH-*.t?z

This command, as we have seen in the previous post, covers all the possible cases, also depending on which SlackBuild script you use. In particular it takes in account of:

  • target architecture
  • package tag (if any)
  • package version
  • package format (can be .tgz or .txz)

Ok, if all succeeded, packETH is now installed on your system.

The easiest way to run it is to open a terminal, become root and launch the program with the packETH command.

Did you like this post? Share it! Email this to someoneShare on Google+Tweet about this on TwitterShare on FacebookShare on LinkedIn

Leave a Reply