From: Jan Engelhardt Date: Sun, 2 Apr 2023 16:24:10 +0000 (+0200) Subject: doc, src: improve spelling X-Git-Tag: v3.24~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97181e319b3417d0a99d998c6887e7199bdf76cc;p=thirdparty%2Fxtables-addons.git doc, src: improve spelling --- diff --git a/extensions/libxt_CHAOS.man b/extensions/libxt_CHAOS.man index 73b828f..8117c4c 100644 --- a/extensions/libxt_CHAOS.man +++ b/extensions/libxt_CHAOS.man @@ -11,7 +11,7 @@ closed/filtered. \fB\-\-tarpit\fP Use the REJECT and TARPIT target as a base to hold the connection until it times out. This consumes conntrack entries when connection tracking is loaded -(which usually is on most machines), and routers inbetween you and the Internet +(which usually is on most machines), and routers between you and the Internet may fail to do their connection tracking if they have to handle more connections than they can. .PP diff --git a/extensions/libxt_DNETMAP.c b/extensions/libxt_DNETMAP.c index 24a101c..e72b467 100644 --- a/extensions/libxt_DNETMAP.c +++ b/extensions/libxt_DNETMAP.c @@ -214,7 +214,7 @@ static void DNETMAP_save(const void *ip, const struct xt_entry_target *target) if (*flags & XT_DNETMAP_PERSISTENT) printf(" --persistent "); - /* ommited because default value can change as kernel mod param */ + /* omitted because the default value can change as the kernel modifies parameters */ if (*flags & XT_DNETMAP_TTL) printf(" --ttl %i ", tginfo->ttl); } diff --git a/extensions/pknock/xt_pknock.c b/extensions/pknock/xt_pknock.c index 07f14d1..1606eab 100644 --- a/extensions/pknock/xt_pknock.c +++ b/extensions/pknock/xt_pknock.c @@ -722,12 +722,6 @@ has_secret(const unsigned char *secret, unsigned int secret_len, uint32_t ipsrc, if (payload_len == 0) return false; - - /* - * hexa: 4bits - * ascii: 8bits - * hexa = ascii * 2 - */ hexa_size = crypto.size * 2; /* + 1 cause we MUST add NULL in the payload */ diff --git a/extensions/xt_DNETMAP.c b/extensions/xt_DNETMAP.c index 68074e7..0b6731e 100644 --- a/extensions/xt_DNETMAP.c +++ b/extensions/xt_DNETMAP.c @@ -458,7 +458,7 @@ bind_new_prefix: goto bind_new_prefix; } /* don't reset ttl if flag is set - or it is static entry*/ + or it is static entry */ if (jttl >= 0 && ! (e->flags & XT_DNETMAP_STATIC) ) { e->stamp = jiffies + jttl; p = e->prefix; diff --git a/extensions/xt_asn.c b/extensions/xt_asn.c index a7ed8ef..71d516a 100644 --- a/extensions/xt_asn.c +++ b/extensions/xt_asn.c @@ -129,10 +129,6 @@ static void asn_try_remove_node(struct asn_number_kernel *p) spin_unlock(&asn_lock); return; } - - /* So now am unlinked or the only one alive, right ? - * What are you waiting ? Free up some memory! - */ list_del_rcu(&p->list); spin_unlock(&asn_lock); @@ -214,7 +210,7 @@ xt_asn_mt6(const struct sk_buff *skb, struct xt_action_param *par) rcu_read_lock(); for (i = 0; i < info->count; i++) { if ((node = info->mem[i].kernel) == NULL) { - printk(KERN_ERR "xt_asn: what the hell ?? '%u' isn't loaded into memory... skip it!\n", + printk(KERN_ERR "xt_asn: %u is not loaded into memory\n", info->asn[i]); continue; } @@ -264,7 +260,7 @@ xt_asn_mt4(const struct sk_buff *skb, struct xt_action_param *par) rcu_read_lock(); for (i = 0; i < info->count; i++) { if ((node = info->mem[i].kernel) == NULL) { - printk(KERN_ERR "xt_asn: what the hell ?? '%u' isn't loaded into memory... skip it!\n", + printk(KERN_ERR "xt_asn: %u is not loaded into memory\n", info->asn[i]); continue; } @@ -328,9 +324,7 @@ static void xt_asn_mt_destroy(const struct xt_mtdtor_param *par) else /* Something strange happened. There's no memory allocated for this * number. Please send this bug to the mailing list. */ - printk(KERN_ERR - "xt_asn: What happened peejix ? What happened acidfu ?\n" - "xt_asn: please report this bug to the maintainers\n"); + printk(KERN_ERR "xt_asn: no memory allocated for this number\n"); } static struct xt_match xt_asn_match[] __read_mostly = { diff --git a/extensions/xt_geoip.c b/extensions/xt_geoip.c index 900e417..a57fd79 100644 --- a/extensions/xt_geoip.c +++ b/extensions/xt_geoip.c @@ -127,10 +127,6 @@ static void geoip_try_remove_node(struct geoip_country_kernel *p) spin_unlock(&geoip_lock); return; } - - /* So now am unlinked or the only one alive, right ? - * What are you waiting ? Free up some memory! - */ list_del_rcu(&p->list); spin_unlock(&geoip_lock); @@ -212,7 +208,7 @@ xt_geoip_mt6(const struct sk_buff *skb, struct xt_action_param *par) rcu_read_lock(); for (i = 0; i < info->count; i++) { if ((node = info->mem[i].kernel) == NULL) { - printk(KERN_ERR "xt_geoip: what the hell ?? '%c%c' isn't loaded into memory... skip it!\n", + printk(KERN_ERR "xt_geoip: %c%c is not loaded into memory\n", COUNTRY(info->cc[i])); continue; } @@ -262,7 +258,7 @@ xt_geoip_mt4(const struct sk_buff *skb, struct xt_action_param *par) rcu_read_lock(); for (i = 0; i < info->count; i++) { if ((node = info->mem[i].kernel) == NULL) { - printk(KERN_ERR "xt_geoip: what the hell ?? '%c%c' isn't loaded into memory... skip it!\n", + printk(KERN_ERR "xt_geoip: %c%c is not loaded into memory\n", COUNTRY(info->cc[i])); continue; } @@ -326,9 +322,7 @@ static void xt_geoip_mt_destroy(const struct xt_mtdtor_param *par) else /* Something strange happened. There's no memory allocated for this * country. Please send this bug to the mailing list. */ - printk(KERN_ERR - "xt_geoip: What happened peejix ? What happened acidfu ?\n" - "xt_geoip: please report this bug to the maintainers\n"); + printk(KERN_ERR "xt_geoip: no memory allocated for this number\n"); } static struct xt_match xt_geoip_match[] __read_mostly = {