Description
Suggested-by: codespell --quiet-level=3
./CHANGELOG:28: shoudl ==> should
./CHANGELOG:117: somtimes ==> sometimes
./lib/constraint.c:332: initally ==> initially
./lib/logger.c:69: accross ==> across
./lib/util.h:33: priviledges ==> privileges
./test/test_sharding.py:18: convertion ==> conversion
./examples/forge-socket/README:71: occurances ==> occurrences
./src/zmap.1.ronn:186: sucessful ==> successful
./src/zmap.1.html:203: sucessful ==> successful
./src/zmap.1:195: sucessful ==> successful
./src/ztee.c:54: indicies ==> indices
./src/send.c:225: inital ==> initial
CHANGELOG.md | 4 ++--
examples/forge-socket/README | 2 +-
lib/constraint.c | 2 +-
lib/logger.c | 2 +-
lib/util.h | 2 +-
src/send.c | 2 +-
src/zmap.1 | 2 +-
src/zmap.1.html | 2 +-
src/zmap.1.ronn | 2 +-
src/ztee.c | 2 +-
test/test_sharding.py | 2 +-
11 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fff7b42..7fadb33 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,7 +24,7 @@
FEATURE
- Updated probe and output module interface that allows arbitrary data to be passed from the probe module (e.g. additional TCP fields) that can then be output as requested.
-* Replaced simple_file, and redis_file output modules with csv module that allows user controlled output of what fields shoudl be output to a csv file. As well, implemented--list-output-fields
that allows users to find what fields are available.
+* Replaced simple_file, and redis_file output modules with csv module that allows user controlled output of what fields should be output to a csv file. As well, implemented--list-output-fields
that allows users to find what fields are available. - Added output-filters that allow users to control what types of packets that want output (e.g. classification = "SYNACK" && is_repeat = 0).
- Drop root privileges after opening necessary sockets if run as privileged user.
- Added paged bitmap for removing duplicate responses so that if small subnets are scanned, large amount of memory is no longer required.
@@ -77,7 +77,7 @@
Add configurable UDP probes #2.1.0 2015-09-02BUGFIX
- ZMap now filters out packets that are from the local MAC instead of only capturing packets from the local gateway. The prior approach caused valid responses to be dropped for a fair number of users.
-* ZMap would somtimes segfault if the number of threads was greater than the number of destination hosts.
+* ZMap would sometimes segfault if the number of threads was greater than the number of destination hosts. - ZMap did not crash when it was unable to write to the output file. This would cause ZMap to continue running when it was piped into another application and that application died. We not log_fatal if the output is no longer accessible per ferror.
- Pcap filter captures outgoing packets.
- Install overwrites blacklist file.
diff --git a/examples/forge-socket/README b/examples/forge-socket/README
index 45a926a..8ebe3a3 100644
--- a/examples/forge-socket/README
+++ b/examples/forge-socket/README
@@ -68,6 +68,6 @@ OPTIONS:
-d, --data Optional data file. This data will be sent to each host
upon successful connection. Currently, this file does
not allow null characters, but supports up to 4-
occurances of the current host's IP address, by replacing
-
occurrences of the current host's IP address, by replacing %s with the string (inet_ntoa) of that host's IP address.
-
diff --git a/lib/constraint.c b/lib/constraint.c
index 3241341..5fa5701 100644
--- a/lib/constraint.c
+++ b/lib/constraint.c
@@ -329,7 +329,7 @@ uint64_t constraint_count_ips(constraint_t *con, value_t value)
}
// Initialize the tree.
-// All addresses will initally have the given value.
+// All addresses will initially have the given value.
constraint_t* constraint_init(value_t value)
{
constraint_t* con = xmalloc(sizeof(constraint_t));
diff --git a/lib/logger.c b/lib/logger.c
index 2f3812c..b96ec66 100644
--- a/lib/logger.c
+++ b/lib/logger.c
@@ -66,7 +66,7 @@ static int LogLogVA(enum LogLevel level, const char *loggerName,
log_output_stream = stderr;
}
// if logging to a shared output channel, then use a global
-
// lock accross ZMap. Otherwise, if we're logging to a file,
-
// lock across ZMap. Otherwise, if we're logging to a file, // only lockin with the module, in order to avoid having // corrupt log entries. if (log_output_stream == stdout || log_output_stream == stderr) {
diff --git a/lib/util.h b/lib/util.h
index 1e8f8e5..51df6a3 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -30,7 +30,7 @@ int check_range(int v, int min, int max);int file_exists(char *name);
-// If running as root, drops priviledges to that of user "nobody".
+// If running as root, drops privileges to that of user "nobody".
// Otherwise, does nothing.
int drop_privs();
diff --git a/src/send.c b/src/send.c
index 1f5018c..bad76e2 100644
--- a/src/send.c
+++ b/src/send.c
@@ -225,7 +225,7 @@ int send_run(sock_t st, shard_t *s)
delay = 10000;
if (send_rate < slow_rate) {
-
// set the inital time difference
-
// set the initial time difference sleep_time = nsec_per_sec / send_rate; last_time = now() - (1.0 / send_rate); } else {
diff --git a/src/zmap.1 b/src/zmap.1
index 484c4ba..38ca525 100644
--- a/src/zmap.1
+++ b/src/zmap.1
@@ -192,7 +192,7 @@ Hex-encoded binary to send to each destination host
Print information about the allowed template fields and exit.
.
.SS "OUPUT FILTERS"
-Results generated by a probe module can be filtered before being passed to the output module. Filters are defined over the output fields of a probe module. Filters are written in a simple filtering language, similar to SQL, and are passed to ZMap using the \fB--output-filter\fR option. Output filters are commonly used to filter out duplicate results, or to only pass only sucessful responses to the output module.
+Results generated by a probe module can be filtered before being passed to the output module. Filters are defined over the output fields of a probe module. Filters are written in a simple filtering language, similar to SQL, and are passed to ZMap using the \fB--output-filter\fR option. Output filters are commonly used to filter out duplicate results, or to only pass only successful responses to the output module.
.
.P
Filter expressions are of the form \fB \fR. The type of \fB\fR must be either a string or unsigned integer literal, and match the type of \fB\fR. The valid operations for integer comparisons are = !=, \fI,\fR, \fI=,\fR=. The operations for string comparisons are =, !=. The \fB--list-output-fields\fR flag will print what fields and types are available for the selected probe module, and then exit.
diff --git a/src/zmap.1.html b/src/zmap.1.html
index 40a3902..8c003d7 100644
--- a/src/zmap.1.html
+++ b/src/zmap.1.html
@@ -200,7 +200,7 @@ argument may be passed at a time.
output module. Filters are defined over the output fields of a probe module.
Filters are written in a simple filtering language, similar to SQL, and are
passed to ZMap using the--output-filter
option. Output filters are commonly
-used to filter out duplicate results, or to only pass only sucessful responses
+used to filter out duplicate results, or to only pass only successful responses
to the output module.Filter expressions are of the form
<fieldname> <operation> <value>
. The type of diff --git a/src/zmap.1.ronn b/src/zmap.1.ronn index 5f9cd88..bdfb530 100644 --- a/src/zmap.1.ronn +++ b/src/zmap.1.ronn @@ -183,7 +183,7 @@ Results generated by a probe module can be filtered before being passed to the output module. Filters are defined over the output fields of a probe module. Filters are written in a simple filtering language, similar to SQL, and are passed to ZMap using the `--output-filter` option. Output filters are commonly -used to filter out duplicate results, or to only pass only sucessful responses +used to filter out duplicate results, or to only pass only successful responses to the output module.Filter expressions are of the form
<fieldname> <operation> <value>
. The type of
diff --git a/src/ztee.c b/src/ztee.c
index eb77b24..bda8122 100644
--- a/src/ztee.c
+++ b/src/ztee.c
@@ -51,7 +51,7 @@ typedef struct ztee_conf {
// Monitor config
int monitor; -
// Field indicies
-
// Field indices size_t ip_field; size_t success_field;
diff --git a/test/test_sharding.py b/test/test_sharding.py
index e8fe22f..c466b4e 100644
--- a/test/test_sharding.py
+++ b/test/test_sharding.py
@@ -15,7 +15,7 @@ zmap_std_args = [ "-b",
zmap = sh.Command("../src/zmap").bake(*zmap_std_args)
def shard_file_name(shards, threads):
-
Use naming convertion -t
-
Use naming convention -t
return ''.join([str(shards), '-t', str(threads)])
def output_file_name(shards, shard, threads):
2.5.1