Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.0.4 #7

Merged
merged 38 commits into from Aug 24, 2016
Merged

Version 0.0.4 #7

merged 38 commits into from Aug 24, 2016

Conversation

rafael-santiago
Copy link
Owner

The main features are:

  • Introducing the concept of sub-tasks.
  • PCAP files importing.
  • Ethernet frame composing.
  • Operation modes for the endless crafter (random [the default] and sequential).
  • Now the application can also be built using Clang (GCC remains the default).
  • Including a file with additional remarks about how to build the application.
  • Including a how to for the new sub-task related with PCAP importing.
  • Addition of installing and uninstalling build tasks.
  • Now also including a pretty basic man page.

As well as some unit testing for these stuff.
- Adding support for UDP packets.

- Improving the unit test related with this feature.
- Adding ICMP support.

- Adding ARP support.

Unit testing for these new additional stuff.
- IP and UDP payloads already being extracted.

- Some unit test for this new ability implemented into the pktslicer.
- ICMP stuff.

- TCP stuff.

- ARP stuff.

Unit tests for the implemented stuff.
It will be useful for the PCAP importing feature.

Besides of allowing a more generic network packet assembling, breaking the "arp", "tcp/ip" and "udp/ip" limitation.
#defining some pigsty exporting prefixes.
This inclusion is optional. Being driven by the passed flag option "incl_ethframe".
I have forgotten them.
If some packet field is passed by the user using the command line, this passed data is used (without any check) in repleacement of the PCAP's slice.
Bug fix: When using --no-echo option the gateway's is not really acquired.

Some code vet: Simplifying the main() function.
Improving the unit tests related with pcap importing. Now some generated pigsties are actually compiled and loaded in order to check any sort of error.
Minor improvement on mkpkt module. Saving useless allocs. Now the main mk_pkt() function does not alloc anything.
Only filling up (on going) the ethernet frame MACs when we do not have these data explicitly indicated into the packet signature.
By now the endless crafter has two modes. The random mode (by the way, the default mode) which randomically picks some signature for sending. The sequential mode which sequentially traverses the loaded pigsties sending one by one.
Using the user defined data for it when possible. With it we have the entire Ethernet frame composing possibility.
Minor change. Updating the libcutest's submodule.
For installing: "hefesto --install".

For uninstalling: "hefesto --uninstall".

Bonus track: Including a man page.
The errno was not checked in some points. Now it is being also locally handled by the verifiers.
Detailing the possibilities of using this powerful "hidden" feature.
@rafael-santiago rafael-santiago merged commit 32b0967 into master Aug 24, 2016
@rafael-santiago rafael-santiago self-assigned this Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant