Skip to content

Commit

Permalink
Merge pull request #543 from ArnoStiefvater/icmp-checksum
Browse files Browse the repository at this point in the history
Fix Icmp checksum calculation
  • Loading branch information
jjnicola authored Jul 6, 2020
2 parents b6e59a9 + 85970d2 commit 177b7b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix openvas-nasl. Add kb key/value for all vhosts. [#533](https://github.com/greenbone/openvas/pull/533)
- Wait for last plugin to finish before change to other category. [#534](https://github.com/greenbone/openvas/pull/534)
- Corrected function parameter names in nasl_perror calls. [#539](https://github.com/greenbone/openvas/pull/539)
- Fix icmp checksum calculation in openvas-nasl. [#543](https://github.com/greenbone/openvas/pull/543)

### Removed
- Removed "network scan" mode. This includes removal of NASL API methods "scan_phase()" and "network_targets()". Sending a "network_mode=yes" in a scanner configuration will have no effect anymore. [#493](https://github.com/greenbone/openvas/pull/493)
Expand Down
5 changes: 4 additions & 1 deletion nasl/nasl_packet_forgery_v6.c
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,11 @@ struct v6pseudo_icmp_hdr
{
struct in6_addr s6addr;
struct in6_addr d6addr;
char proto;
unsigned short len;
unsigned char zero1;
unsigned char zero2;
unsigned char zero3;
char proto;
struct icmp6_hdr icmpheader;
};

Expand Down

0 comments on commit 177b7b2

Please sign in to comment.