Iptables LOG causes No chain/target/match errorIPTables: No chain/target/match by that nameiptables - Target to route packet to specific interface?How to Enable IPtables TRACE Target on Debian Squeeze (6)iptables No chain target match by nameHow to remove all rules referring to a chain in iptables?Error with IPTables commandiptables match output rule for supplementary groupsiptables: How does DROP policy is working with custom chainiptables string match for spam not workingIptables “No Chain/Target/Match by that name ” for Established/Related input
Creating Fictional Slavic Place Names
California: "For quality assurance, this phone call is being recorded"
What does War Machine's "Canopy! Canopy!" line mean in "Avengers: Endgame"?
Is there a term for this?
Restoring order in a deck of playing cards (II)
Will dual-learning in a glider make my airplane learning safer?
Is it grammatical to use "car" like this?
How can I add depth to my story or how do I determine if my story already has depth?
Does Peach's float negate shorthop knockback multipliers?
Is there any Biblical Basis for 400 years of silence between Old and New Testament?
Can The Malloreon be read without first reading The Belgariad?
How do I get a cleat that's stuck in a pedal, detached from the shoe, out?
Accidentally cashed a check twice
Hygienic footwear for prehensile feet?
Is having a hidden directory under /etc safe?
Why is Colorado so different politically from nearby states?
Have powerful mythological heroes ever run away or been deeply afraid?
Applicants clearly not having the skills they advertise
Short story written from alien perspective with this line: "It's too bright to look at, so they don't"
Story about a toddler with god-like powers, dangerous tantrums
Was the 1959 Tibetan Uprising really an uprising?
Why use water tanks from a retired Space Shuttle?
Credit card offering 0.5 miles for every cent rounded up. Too good to be true?
What's the most polite way to tell a manager "shut up and let me work"?
Iptables LOG causes No chain/target/match error
IPTables: No chain/target/match by that nameiptables - Target to route packet to specific interface?How to Enable IPtables TRACE Target on Debian Squeeze (6)iptables No chain target match by nameHow to remove all rules referring to a chain in iptables?Error with IPTables commandiptables match output rule for supplementary groupsiptables: How does DROP policy is working with custom chainiptables string match for spam not workingIptables “No Chain/Target/Match by that name ” for Established/Related input
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I have used the following commands to build a chain in iptables:
iptables -N logaborted
iptables -A logaborted -j LOG
However, whenever this is run I get the following error:iptables: No chain/target/match by that name
If I change LOG
to any other target it starts working. The man page says nothing about this being deprecated and all the examples I have seen have LOG working, so why does it not work if I even dare to include the word LOG
in my table?
iptables
|
show 1 more comment
I have used the following commands to build a chain in iptables:
iptables -N logaborted
iptables -A logaborted -j LOG
However, whenever this is run I get the following error:iptables: No chain/target/match by that name
If I change LOG
to any other target it starts working. The man page says nothing about this being deprecated and all the examples I have seen have LOG working, so why does it not work if I even dare to include the word LOG
in my table?
iptables
What is your Linux distribution and kernel version?
– Michael Hampton♦
May 17 at 18:21
Ubuntu 18.04, kernel version 4.9, iptables 1.6.1
– Austin
May 17 at 18:39
That is not a normal Ubuntu 18.04 kernel version. Exacty what kernel version? Where did you get it?
– Michael Hampton♦
May 17 at 18:41
My team has a custom version we have been editing. I think thats the base version we used, but that was before my time.
– Austin
May 17 at 18:44
1
Well, that's a new one. I've never heard of anybody doing that; it makes very little sense. (There are rare circumstances where it makes sense to replace the distribution kernel, but it generally doesn't make sense to do so as a matter of course.) You're going to have to chat with whoever built the kernel, then, or go back to the distribution kernel.
– Michael Hampton♦
May 17 at 18:47
|
show 1 more comment
I have used the following commands to build a chain in iptables:
iptables -N logaborted
iptables -A logaborted -j LOG
However, whenever this is run I get the following error:iptables: No chain/target/match by that name
If I change LOG
to any other target it starts working. The man page says nothing about this being deprecated and all the examples I have seen have LOG working, so why does it not work if I even dare to include the word LOG
in my table?
iptables
I have used the following commands to build a chain in iptables:
iptables -N logaborted
iptables -A logaborted -j LOG
However, whenever this is run I get the following error:iptables: No chain/target/match by that name
If I change LOG
to any other target it starts working. The man page says nothing about this being deprecated and all the examples I have seen have LOG working, so why does it not work if I even dare to include the word LOG
in my table?
iptables
iptables
edited May 17 at 18:04
Austin
asked May 17 at 17:43
AustinAustin
315
315
What is your Linux distribution and kernel version?
– Michael Hampton♦
May 17 at 18:21
Ubuntu 18.04, kernel version 4.9, iptables 1.6.1
– Austin
May 17 at 18:39
That is not a normal Ubuntu 18.04 kernel version. Exacty what kernel version? Where did you get it?
– Michael Hampton♦
May 17 at 18:41
My team has a custom version we have been editing. I think thats the base version we used, but that was before my time.
– Austin
May 17 at 18:44
1
Well, that's a new one. I've never heard of anybody doing that; it makes very little sense. (There are rare circumstances where it makes sense to replace the distribution kernel, but it generally doesn't make sense to do so as a matter of course.) You're going to have to chat with whoever built the kernel, then, or go back to the distribution kernel.
– Michael Hampton♦
May 17 at 18:47
|
show 1 more comment
What is your Linux distribution and kernel version?
– Michael Hampton♦
May 17 at 18:21
Ubuntu 18.04, kernel version 4.9, iptables 1.6.1
– Austin
May 17 at 18:39
That is not a normal Ubuntu 18.04 kernel version. Exacty what kernel version? Where did you get it?
– Michael Hampton♦
May 17 at 18:41
My team has a custom version we have been editing. I think thats the base version we used, but that was before my time.
– Austin
May 17 at 18:44
1
Well, that's a new one. I've never heard of anybody doing that; it makes very little sense. (There are rare circumstances where it makes sense to replace the distribution kernel, but it generally doesn't make sense to do so as a matter of course.) You're going to have to chat with whoever built the kernel, then, or go back to the distribution kernel.
– Michael Hampton♦
May 17 at 18:47
What is your Linux distribution and kernel version?
– Michael Hampton♦
May 17 at 18:21
What is your Linux distribution and kernel version?
– Michael Hampton♦
May 17 at 18:21
Ubuntu 18.04, kernel version 4.9, iptables 1.6.1
– Austin
May 17 at 18:39
Ubuntu 18.04, kernel version 4.9, iptables 1.6.1
– Austin
May 17 at 18:39
That is not a normal Ubuntu 18.04 kernel version. Exacty what kernel version? Where did you get it?
– Michael Hampton♦
May 17 at 18:41
That is not a normal Ubuntu 18.04 kernel version. Exacty what kernel version? Where did you get it?
– Michael Hampton♦
May 17 at 18:41
My team has a custom version we have been editing. I think thats the base version we used, but that was before my time.
– Austin
May 17 at 18:44
My team has a custom version we have been editing. I think thats the base version we used, but that was before my time.
– Austin
May 17 at 18:44
1
1
Well, that's a new one. I've never heard of anybody doing that; it makes very little sense. (There are rare circumstances where it makes sense to replace the distribution kernel, but it generally doesn't make sense to do so as a matter of course.) You're going to have to chat with whoever built the kernel, then, or go back to the distribution kernel.
– Michael Hampton♦
May 17 at 18:47
Well, that's a new one. I've never heard of anybody doing that; it makes very little sense. (There are rare circumstances where it makes sense to replace the distribution kernel, but it generally doesn't make sense to do so as a matter of course.) You're going to have to chat with whoever built the kernel, then, or go back to the distribution kernel.
– Michael Hampton♦
May 17 at 18:47
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f967816%2fiptables-log-causes-no-chain-target-match-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f967816%2fiptables-log-causes-no-chain-target-match-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What is your Linux distribution and kernel version?
– Michael Hampton♦
May 17 at 18:21
Ubuntu 18.04, kernel version 4.9, iptables 1.6.1
– Austin
May 17 at 18:39
That is not a normal Ubuntu 18.04 kernel version. Exacty what kernel version? Where did you get it?
– Michael Hampton♦
May 17 at 18:41
My team has a custom version we have been editing. I think thats the base version we used, but that was before my time.
– Austin
May 17 at 18:44
1
Well, that's a new one. I've never heard of anybody doing that; it makes very little sense. (There are rare circumstances where it makes sense to replace the distribution kernel, but it generally doesn't make sense to do so as a matter of course.) You're going to have to chat with whoever built the kernel, then, or go back to the distribution kernel.
– Michael Hampton♦
May 17 at 18:47