What is “inet prefix”?
Clash Royale CLAN TAG#URR8PPP
$ ss 'state = established'
Error: an inet prefix is expected rather than "state".
Cannot parse dst/src address.
What is "inet prefix"? What is valid "inet prefix"? Thanks.
iproute ss
add a comment |
$ ss 'state = established'
Error: an inet prefix is expected rather than "state".
Cannot parse dst/src address.
What is "inet prefix"? What is valid "inet prefix"? Thanks.
iproute ss
The syntax isss state established
rather thanss 'state = established'
I think (take a look at theUSAGE EXAMPLES
section of the man page)
– steeldriver
Feb 7 at 1:36
I can only guess that. So I ask What is "inet prefix"? What is valid "inet prefix"?
– Tim
Feb 7 at 1:38
add a comment |
$ ss 'state = established'
Error: an inet prefix is expected rather than "state".
Cannot parse dst/src address.
What is "inet prefix"? What is valid "inet prefix"? Thanks.
iproute ss
$ ss 'state = established'
Error: an inet prefix is expected rather than "state".
Cannot parse dst/src address.
What is "inet prefix"? What is valid "inet prefix"? Thanks.
iproute ss
iproute ss
asked Feb 7 at 1:23
TimTim
27.4k78264474
27.4k78264474
The syntax isss state established
rather thanss 'state = established'
I think (take a look at theUSAGE EXAMPLES
section of the man page)
– steeldriver
Feb 7 at 1:36
I can only guess that. So I ask What is "inet prefix"? What is valid "inet prefix"?
– Tim
Feb 7 at 1:38
add a comment |
The syntax isss state established
rather thanss 'state = established'
I think (take a look at theUSAGE EXAMPLES
section of the man page)
– steeldriver
Feb 7 at 1:36
I can only guess that. So I ask What is "inet prefix"? What is valid "inet prefix"?
– Tim
Feb 7 at 1:38
The syntax is
ss state established
rather than ss 'state = established'
I think (take a look at the USAGE EXAMPLES
section of the man page)– steeldriver
Feb 7 at 1:36
The syntax is
ss state established
rather than ss 'state = established'
I think (take a look at the USAGE EXAMPLES
section of the man page)– steeldriver
Feb 7 at 1:36
I can only guess that. So I ask What is "inet prefix"? What is valid "inet prefix"?
– Tim
Feb 7 at 1:38
I can only guess that. So I ask What is "inet prefix"? What is valid "inet prefix"?
– Tim
Feb 7 at 1:38
add a comment |
2 Answers
2
active
oldest
votes
By inet they mean a "network socket address" (inet4 or inet6 vs unix)
By prefix they mean the IP (1.2.3.4) of the IP:port pair required for a socket.
The manual written by the application author is more clear than the Debian maintainers version and lists examples like
dst prefix:port
dst 10.0.0.0/24:22
The IP may include a mask (/24) making prefix a reasonable abstraction.
Notably you did not ask how to fix your syntax and there is already a comment on that so I'll just keep on point with this answer.
There is no "Debian maintainers" manual. The manual in the Debian package is the one in the original software maintained by Stephen Hemminger, unaltered.
– JdeBP
Feb 7 at 8:49
Thanks. How can I find all the manuals written by the application author for all the commands in lprouter2?
– Tim
Feb 7 at 12:04
@JdeBP "AUTHOR ss was written by Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>. This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others)."
– user1133275
Feb 8 at 11:29
@Tim search the www
– user1133275
Feb 8 at 11:42
It is the manual page in the original software, as I showed you by pointing right to it, that has been modified by a fair number of people in the decade and a bit since it was first written, and Debian takes it from the original software as-is.
– JdeBP
Feb 8 at 12:10
add a comment |
The IP prefix, is the "192.168.1.0" part of 192.168.1.0/24, 24 being the suffix tells how many bits are in the entire address. A valid inet prefix is any prefix that matches the network you are attempting to communicate on that also aligns with the subnet. Whether that is a 10. or a 192. or other. network for example.
In your use case the error message you received was erroneous, as it was just ss's best guess as to what you were asking it to accomplish. Do to the fact that the syntax was off.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f499199%2fwhat-is-inet-prefix%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
By inet they mean a "network socket address" (inet4 or inet6 vs unix)
By prefix they mean the IP (1.2.3.4) of the IP:port pair required for a socket.
The manual written by the application author is more clear than the Debian maintainers version and lists examples like
dst prefix:port
dst 10.0.0.0/24:22
The IP may include a mask (/24) making prefix a reasonable abstraction.
Notably you did not ask how to fix your syntax and there is already a comment on that so I'll just keep on point with this answer.
There is no "Debian maintainers" manual. The manual in the Debian package is the one in the original software maintained by Stephen Hemminger, unaltered.
– JdeBP
Feb 7 at 8:49
Thanks. How can I find all the manuals written by the application author for all the commands in lprouter2?
– Tim
Feb 7 at 12:04
@JdeBP "AUTHOR ss was written by Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>. This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others)."
– user1133275
Feb 8 at 11:29
@Tim search the www
– user1133275
Feb 8 at 11:42
It is the manual page in the original software, as I showed you by pointing right to it, that has been modified by a fair number of people in the decade and a bit since it was first written, and Debian takes it from the original software as-is.
– JdeBP
Feb 8 at 12:10
add a comment |
By inet they mean a "network socket address" (inet4 or inet6 vs unix)
By prefix they mean the IP (1.2.3.4) of the IP:port pair required for a socket.
The manual written by the application author is more clear than the Debian maintainers version and lists examples like
dst prefix:port
dst 10.0.0.0/24:22
The IP may include a mask (/24) making prefix a reasonable abstraction.
Notably you did not ask how to fix your syntax and there is already a comment on that so I'll just keep on point with this answer.
There is no "Debian maintainers" manual. The manual in the Debian package is the one in the original software maintained by Stephen Hemminger, unaltered.
– JdeBP
Feb 7 at 8:49
Thanks. How can I find all the manuals written by the application author for all the commands in lprouter2?
– Tim
Feb 7 at 12:04
@JdeBP "AUTHOR ss was written by Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>. This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others)."
– user1133275
Feb 8 at 11:29
@Tim search the www
– user1133275
Feb 8 at 11:42
It is the manual page in the original software, as I showed you by pointing right to it, that has been modified by a fair number of people in the decade and a bit since it was first written, and Debian takes it from the original software as-is.
– JdeBP
Feb 8 at 12:10
add a comment |
By inet they mean a "network socket address" (inet4 or inet6 vs unix)
By prefix they mean the IP (1.2.3.4) of the IP:port pair required for a socket.
The manual written by the application author is more clear than the Debian maintainers version and lists examples like
dst prefix:port
dst 10.0.0.0/24:22
The IP may include a mask (/24) making prefix a reasonable abstraction.
Notably you did not ask how to fix your syntax and there is already a comment on that so I'll just keep on point with this answer.
By inet they mean a "network socket address" (inet4 or inet6 vs unix)
By prefix they mean the IP (1.2.3.4) of the IP:port pair required for a socket.
The manual written by the application author is more clear than the Debian maintainers version and lists examples like
dst prefix:port
dst 10.0.0.0/24:22
The IP may include a mask (/24) making prefix a reasonable abstraction.
Notably you did not ask how to fix your syntax and there is already a comment on that so I'll just keep on point with this answer.
edited Feb 8 at 11:37
answered Feb 7 at 4:03
user1133275user1133275
3,517723
3,517723
There is no "Debian maintainers" manual. The manual in the Debian package is the one in the original software maintained by Stephen Hemminger, unaltered.
– JdeBP
Feb 7 at 8:49
Thanks. How can I find all the manuals written by the application author for all the commands in lprouter2?
– Tim
Feb 7 at 12:04
@JdeBP "AUTHOR ss was written by Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>. This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others)."
– user1133275
Feb 8 at 11:29
@Tim search the www
– user1133275
Feb 8 at 11:42
It is the manual page in the original software, as I showed you by pointing right to it, that has been modified by a fair number of people in the decade and a bit since it was first written, and Debian takes it from the original software as-is.
– JdeBP
Feb 8 at 12:10
add a comment |
There is no "Debian maintainers" manual. The manual in the Debian package is the one in the original software maintained by Stephen Hemminger, unaltered.
– JdeBP
Feb 7 at 8:49
Thanks. How can I find all the manuals written by the application author for all the commands in lprouter2?
– Tim
Feb 7 at 12:04
@JdeBP "AUTHOR ss was written by Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>. This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others)."
– user1133275
Feb 8 at 11:29
@Tim search the www
– user1133275
Feb 8 at 11:42
It is the manual page in the original software, as I showed you by pointing right to it, that has been modified by a fair number of people in the decade and a bit since it was first written, and Debian takes it from the original software as-is.
– JdeBP
Feb 8 at 12:10
There is no "Debian maintainers" manual. The manual in the Debian package is the one in the original software maintained by Stephen Hemminger, unaltered.
– JdeBP
Feb 7 at 8:49
There is no "Debian maintainers" manual. The manual in the Debian package is the one in the original software maintained by Stephen Hemminger, unaltered.
– JdeBP
Feb 7 at 8:49
Thanks. How can I find all the manuals written by the application author for all the commands in lprouter2?
– Tim
Feb 7 at 12:04
Thanks. How can I find all the manuals written by the application author for all the commands in lprouter2?
– Tim
Feb 7 at 12:04
@JdeBP "AUTHOR ss was written by Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>. This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others)."
– user1133275
Feb 8 at 11:29
@JdeBP "AUTHOR ss was written by Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>. This manual page was written by Michael Prokop <mika@grml.org> for the Debian project (but may be used by others)."
– user1133275
Feb 8 at 11:29
@Tim search the www
– user1133275
Feb 8 at 11:42
@Tim search the www
– user1133275
Feb 8 at 11:42
It is the manual page in the original software, as I showed you by pointing right to it, that has been modified by a fair number of people in the decade and a bit since it was first written, and Debian takes it from the original software as-is.
– JdeBP
Feb 8 at 12:10
It is the manual page in the original software, as I showed you by pointing right to it, that has been modified by a fair number of people in the decade and a bit since it was first written, and Debian takes it from the original software as-is.
– JdeBP
Feb 8 at 12:10
add a comment |
The IP prefix, is the "192.168.1.0" part of 192.168.1.0/24, 24 being the suffix tells how many bits are in the entire address. A valid inet prefix is any prefix that matches the network you are attempting to communicate on that also aligns with the subnet. Whether that is a 10. or a 192. or other. network for example.
In your use case the error message you received was erroneous, as it was just ss's best guess as to what you were asking it to accomplish. Do to the fact that the syntax was off.
add a comment |
The IP prefix, is the "192.168.1.0" part of 192.168.1.0/24, 24 being the suffix tells how many bits are in the entire address. A valid inet prefix is any prefix that matches the network you are attempting to communicate on that also aligns with the subnet. Whether that is a 10. or a 192. or other. network for example.
In your use case the error message you received was erroneous, as it was just ss's best guess as to what you were asking it to accomplish. Do to the fact that the syntax was off.
add a comment |
The IP prefix, is the "192.168.1.0" part of 192.168.1.0/24, 24 being the suffix tells how many bits are in the entire address. A valid inet prefix is any prefix that matches the network you are attempting to communicate on that also aligns with the subnet. Whether that is a 10. or a 192. or other. network for example.
In your use case the error message you received was erroneous, as it was just ss's best guess as to what you were asking it to accomplish. Do to the fact that the syntax was off.
The IP prefix, is the "192.168.1.0" part of 192.168.1.0/24, 24 being the suffix tells how many bits are in the entire address. A valid inet prefix is any prefix that matches the network you are attempting to communicate on that also aligns with the subnet. Whether that is a 10. or a 192. or other. network for example.
In your use case the error message you received was erroneous, as it was just ss's best guess as to what you were asking it to accomplish. Do to the fact that the syntax was off.
edited Feb 7 at 6:37
answered Feb 7 at 6:10
Michael ProkopecMichael Prokopec
1,532218
1,532218
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- 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%2funix.stackexchange.com%2fquestions%2f499199%2fwhat-is-inet-prefix%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
The syntax is
ss state established
rather thanss 'state = established'
I think (take a look at theUSAGE EXAMPLES
section of the man page)– steeldriver
Feb 7 at 1:36
I can only guess that. So I ask What is "inet prefix"? What is valid "inet prefix"?
– Tim
Feb 7 at 1:38