-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from jemcek/gtk3ready
Gtk3ready
- Loading branch information
Showing
53 changed files
with
7,036 additions
and
14,766 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,8 @@ missing | |
packETH | ||
src/*.o | ||
src/.deps/* | ||
src/pixmaps.[ch] | ||
src/ui.[ch] | ||
cli/*.o | ||
stamp-h1 | ||
!configure.ac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,64 +2,79 @@ | |
|
||
packETH is 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 packets. It runs on Linux. | ||
|
||
With the GUI version (packETH) you can create and send packets. With the CLI version (packETHcli) you can only send already stored packets from pcap file. The CLI version also has a receiver mode, that can count packets and check if all packets that were sent were also received. | ||
With the GUI version (packETH) you can create and send packets. With the CLI version (packETHcli) you can only send already stored packets from pcap file. The CLI version also has a receiver mode, that can count packets and check if all packets that were sent were also received. | ||
|
||
More information about installation, usage, GUI and CLI version and FAQ can be found here: | ||
Some more information about installation, usage, GUI and CLI version and FAQ can also be found [here](https://packeth.sourceforge.net/packeth/Home.html). | ||
|
||
http://packeth.sourceforge.net/packeth/Home.html | ||
[Blog](https://packeth.wordpress.com) with some use cases. | ||
|
||
Blog with some use cases: | ||
## NEWS | ||
|
||
https://packeth.wordpress.com | ||
### OCT 2023 | ||
|
||
- migrated to GTK3 (many thanks to @qarkai) | ||
|
||
### JUL 2019 | ||
|
||
## NEWS JUL 2019: | ||
- packETHcli added burst mode (-m -6) | ||
|
||
## NEWS 27.11.2018: | ||
### 27.11.2018 | ||
|
||
- packETHcli added receiver option (mode -m -9) to count received packets | ||
- packETHcli added option to incluce pattern (predifined or custom) which can be checked by packETHcli in receiver mode if all packets that were sent were also correctly received at the receiver site | ||
- packETHcli - nanoseconds support | ||
- Receiver mode: https://packeth.wordpress.com/2018/12/05/reciver-mode-check-for-dropped-packets/ | ||
- CLI tips: https://packeth.wordpress.com/2018/11/12/packethcli-some-practical-tips-1/ | ||
- [Receiver mode](https://packeth.wordpress.com/2018/12/05/reciver-mode-check-for-dropped-packets/) | ||
- [CLI tips](https://packeth.wordpress.com/2018/11/12/packethcli-some-practical-tips-1/) | ||
|
||
## INSTALLATION | ||
|
||
### GUI | ||
|
||
git clone https://github.com/jemcek/packETH.git | ||
```sh | ||
git clone https://github.com/jemcek/packETH.git | ||
|
||
cd packETH | ||
./autogen.sh (you will need aclocal,autoconf,autoheader and automake installed to run this) | ||
autoreconf -f -i (optional) - in case you get automake version mismatch, missing files etc... | ||
./autogen.sh # you will need aclocal, autoconf, autoheader and automake installed to run this | ||
autoreconf -f -i # optional - in case you get automake version mismatch, missing files etc... | ||
./configure | ||
make | ||
make install (optional) | ||
./packETH | ||
make install # optional | ||
./packETH | ||
``` | ||
|
||
Depending on your Linux distribution and type of installation additional packages may be needed. For example: | ||
|
||
#### Centos 7.4 (minimal): | ||
#### Centos 7.4 (minimal) | ||
|
||
```sh | ||
yum groupinstall 'Development Tools' | ||
yum install gtk2-devel.x86_64 | ||
yum install gtk3-devel.x86_64 | ||
``` | ||
|
||
#### Ubuntu 18.04 server | ||
|
||
```sh | ||
sudo apt-get install build-essential | ||
sudo apt-get install autoconf | ||
sudo apt-get install pkg-config | ||
sudo apt-get install gtk+2.0 | ||
sudo apt-get install libgtk-3-dev | ||
``` | ||
|
||
### CLI (you can also only compile cli version if you want) | ||
|
||
```sh | ||
cd cli | ||
make | ||
``` | ||
|
||
## USAGE | ||
|
||
### GUI version | ||
### GUI version | ||
|
||
`./packETH` (or `packETH` if you did the `make install`) | ||
|
||
./packETH (or packETH if you did the make install) | ||
The usage of the program should be pretty straightforward. As you will see, there are 4 main windows (first four buttons from the left side). I call them: | ||
|
||
The usage of the program should be pretty straightforward. As you will see, there are 4 main windows (first four buttons from the left side). I call them: | ||
- Builder - the page where you build the packet and send it once | ||
- Gen-b - generator for sending packet currently build inside Builder with many options how to send it | ||
- Gen-s - generator that allows you to select up to 10 previosly built packets and send them in different manner | ||
|
@@ -68,23 +83,25 @@ The usage of the program should be pretty straightforward. As you will see, ther | |
To send the packets you need the SuperUser rights. | ||
|
||
### CLI version | ||
Type ./packETHcli -h for available options. | ||
|
||
Type `./packETHcli -h` for available options. | ||
|
||
### RECEIVER mode | ||
|
||
packETHcli also has a reveiver mode (-m 9). In this mode packEThcli counts packets and displays statistics. If you add a pattern into packets sent by packETH or packETHcli then only packets with valid pattern will be counted. See manual for more help. | ||
|
||
## DONATIONS | ||
|
||
If you would like to increase my motivation for further development, you can make a donation. | ||
The amount is not important at all, it is just a sign for me, that time I spent for this project helps someone. | ||
If you would like to increase my motivation for further development, you can make a donation. | ||
The amount is not important at all, it is just a sign for me, that time I spent for this project helps someone. | ||
|
||
[DONATE](https://www.paypal.com/donate/?token=BHZTfBAMBs5OPJB8ab3dF7sR25aftV-rsqcPH4uipHAUMgFaHWHm2ej4J_T_2TCIt6qHjWymXfvQWKRI&locale.x=SI) | ||
https://www.paypal.com/donate/?business=FZ8CFZHYDW2RJ&no_recurring=0¤cy_code=EUR | ||
|
||
## AUTHORS & SUPPORT | ||
|
||
If you get into problems, please feel free to contact me. | ||
If you get into problems, please feel free to contact me. | ||
|
||
Miha Jemec | ||
[email protected] | ||
packETH (C) 2003-2019 by Miha Jemec, <[email protected]> | ||
<[email protected]> | ||
packETH (C) 2003-2023 by Miha Jemec, <[email protected]> | ||
Covered under the GPL. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.