{"id":655,"date":"2016-01-29T08:00:49","date_gmt":"2016-01-29T04:30:49","guid":{"rendered":"http:\/\/www.pahlevanzadeh.org\/?p=655"},"modified":"2019-05-29T23:33:04","modified_gmt":"2019-05-29T19:03:04","slug":"iproute2-%d8%af%d8%b1-%d9%85%d9%82%d8%a7%d8%a8%d9%84-net-tools-%d8%a7%db%8c%d9%86-%d9%82%d8%b3%d9%85%d8%aa-ss-%d9%82%d8%b3%d9%85%d8%aa-%da%86%d9%87%d8%a7%d8%b1%d9%85","status":"publish","type":"post","link":"https:\/\/pahlevanzadeh.net\/?p=655","title":{"rendered":"iproute2 \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 net-tools (\u0627\u06cc\u0646 \u0642\u0633\u0645\u062a: ss) (\u0642\u0633\u0645\u062a \u0686\u0647\u0627\u0631\u0645)"},"content":{"rendered":"<p>\u0686\u0646\u062f\u06cc \u067e\u06cc\u0634 \u0645\u06cc\u200c\u062e\u0648\u0627\u0633\u062a\u0645 \u0628\u0631\u0627\u06cc netstat \u0645\u0637\u0644\u0628\u06cc \u0628\u0646\u0648\u06cc\u0633\u0645 \u06a9\u0647 \u0648\u0642\u062a\u06cc \u0642\u0631\u0627\u0631 \u0634\u062f iproute2 \u0631\u0627 \u0642\u0644\u0645 \u0628\u0632\u0646\u0645 \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0646\u062f\u06cc\u062f\u0645. \u0632\u06cc\u0631\u0627 \u0641\u0631\u0645\u0627\u0646 ss \u0646\u0633\u062e\u0647 iproute2 \u0647\u0645\u0627\u0646 netstat \u0628\u0633\u062a\u0647 net-tools \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0648\u0642\u062a\u06cc ss \u0631\u0627 \u0646\u0648\u0634\u062a\u0647\u200c\u0627\u0646\u062f\u060c \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u062f\u0642\u062a \u0628\u0633\u06cc\u0627\u0631\u06cc \u06a9\u0631\u062f\u0647\u200c\u0627\u0646\u062f \u06a9\u0647 option \u0647\u0627\u06cc \u0642\u062f\u06cc\u0645\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0646\u06a9\u0646\u0646\u062f \u0648 \u0634\u062e\u0635\u06cc \u06a9\u0647 \u0627\u0632 netstat \u0645\u0647\u0627\u062c\u0631\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c\u200c \u0638\u0631\u0641 \u06cc\u06a9 \u0631\u0628\u0639 \u06cc\u0627 \u06a9\u0645\u062a\u0631 \u0647\u0645\u0647 \u0645\u0633\u0627\u06cc\u0644 \u0622\u0646 \u0631\u0627 \u06cc\u0627\u062f \u0628\u06af\u06cc\u0631\u062f. <a href=\"http:\/\/www.pahlevanzadeh.net\/wp-content\/uploads\/2015\/10\/linux_foundation.png\" rel=\"attachment wp-att-629\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.pahlevanzadeh.net\/wp-content\/uploads\/2015\/10\/linux_foundation.png\" alt=\"linux_foundation\" width=\"300\" height=\"91\" class=\"alignleft size-full wp-image-629\" \/><\/a><br \/>\n<strong>\u0646\u06a9\u062a\u0647:<\/strong> \u06cc\u06a9\u06cc \u0627\u0632 \u0642\u0627\u0628\u0644\u06cc\u062a\u200c\u0647\u0627\u06cc \u0628\u0632\u0631\u06af \u0627\u06cc\u0646 \u0641\u0631\u0645\u0627\u0646\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0641\u06cc\u0644\u062a\u0631 \u0645\u06cc\u200c\u0628\u0627\u0634\u062f \u06a9\u0647 \u062f\u0631 \u062c\u0644\u0648\u062a\u0631 \u0628\u0627 \u0645\u062b\u0627\u0644 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f. <!--more--><\/p>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0627\u06cc\u0646 \u0641\u0631\u0645\u0627\u0646 \u06cc\u06a9 \u0632\u06cc\u0631 \u0641\u0631\u0645\u0627\u0646 \u0627\u0632 \u0641\u0631\u0645\u0627\u0646 ip \u0646\u0645\u06cc\u200c\u0628\u0627\u0634\u062f \u0648 \u0628\u0647 \u0635\u0648\u0631\u062a \u062a\u0646\u0647\u0627 \u0628\u0647 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u0631\u0648\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># ss -tn\r\nState      Recv-Q Send-Q                         Local Address:Port                                        Peer Address:Port              \r\nESTAB      0      0                                192.168.1.6:36910                                       192.230.65.4:443                \r\nESTAB      0      0                                192.168.1.6:50924                                      185.13.228.84:80                 \r\nESTAB      0      0                                192.168.1.6:58296                                     108.177.15.100:443                \r\nESTAB      0      0                                192.168.1.6:56430                                     108.177.15.189:443                \r\nESTAB      0      0                                192.168.1.6:33094                                     198.252.206.25:443                \r\nESTAB      0      0                                192.168.1.6:58298                                     108.177.15.100:443                \r\n<\/pre>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0627\u06cc\u0646 \u0641\u0631\u0645\u0627\u0646 \u0645\u062e\u0641\u0641 Socket Statistics \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<\/p>\n<p style=\"font-size:19px;\"><strong>\u06f1. \u06a9\u0627\u0631 \u06a9\u0631\u062f\u0646 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0627 ss<\/strong><\/p>\n<p style=\"font-size:18px;\"><strong>\u06f1.\u06f1 option \u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc \u0641\u0631\u0645\u0627\u0646 ss<\/strong><\/p>\n<p>\u0627\u06af\u0631 \u0641\u0642\u0637 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0627\u0639\u062f\u0627\u062f \u0648 \u0627\u0631\u0642\u0627\u0645 \u062f\u0631 \u0633\u0637\u062d \u062e\u0644\u0627\u0635\u0647 \u0628\u0627\u0634\u06cc\u0645\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u0639\u0645\u0644 \u06a9\u0631\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># ss -s\r\nTotal: 641 (kernel 650)\r\nTCP:   16 (estab 4, closed 2, orphaned 0, synrecv 0, timewait 0\/0), ports 0\r\n\r\nTransport Total     IP        IPv6\r\n*\t  650       -         -        \r\nRAW\t  1         0         1        \r\nUDP\t  15        12        3        \r\nTCP\t  14        9         5        \r\nINET\t  30        21        9        \r\nFRAG\t  0         0         0        \r\n<\/pre>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u062f\u0631 \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u0633\u060c \u0641\u0627\u06cc\u0644\u06cc \u0628\u0627 \u0639\u0646\u0648\u0627\u0646 etc\/services\/  \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u067e\u0648\u0631\u062a\u200c\u0647\u0627\u06cc UDP \u0648 TCP \u062f\u0631 \u0622\u0646 \u0628\u0647 \u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 \u0646\u0633\u0628\u062a \u062f\u0627\u062f\u0647 \u0634\u062f\u0647\u200c\u0627\u0646\u062f. \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u062f\u0631 \u0628\u0633\u062a\u0647 netbase \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u062f\u0631 \u0628\u0633\u062a\u0647 netbase \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0645\u0647\u0645 \u062f\u06cc\u06af\u0631\u06cc \u0631\u0627 \u0646\u06cc\u0632 \u067e\u06cc\u062f\u0627 \u06a9\u0631\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># dpkg -L netbase\r\n\/.\r\n\/etc\r\n\/etc\/rpc\r\n\/etc\/protocols\r\n\/etc\/services\r\n\/etc\/network\r\n\/usr\r\n\/usr\/share\r\n\/usr\/share\/doc\r\n\/usr\/share\/doc\/netbase\r\n\/usr\/share\/doc\/netbase\/copyright\r\n\/usr\/share\/doc\/netbase\/changelog.gz\r\n<\/pre>\n<p>\u0628\u0647 \u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u062a\u0645\u0627\u0645 \u067e\u0648\u0631\u062a\u200c\u0647\u0627 \u0627\u0632 \u0631\u0648\u06cc \u0627\u06cc\u0646 \u0641\u0627\u06cc\u0644 \u062e\u0648\u0627\u0646\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u0648 \u0627\u06af\u0631 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0647 \u0635\u0648\u0631\u062a numeric \u062e\u0648\u0627\u0646\u062f\u0647 \u0634\u0648\u0646\u062f\u060c \u0647\u0645\u0627\u0646\u0646\u062f netstat \u0628\u0627\u06cc\u062f \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647 n- \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># ss -lnt\r\nState      Recv-Q Send-Q                         Local Address:Port                                        Peer Address:Port              \r\nLISTEN     0      80                                 127.0.0.1:3306                                                   *:*                  \r\nLISTEN     0      50                                         *:139                                                    *:*                  \r\nLISTEN     0      5                                  127.0.0.1:81                                                     *:*                  \r\nLISTEN     0      128                                        *:22                                                     *:*                  \r\nLISTEN     0      50                                         *:445                                                    *:*                  \r\nLISTEN     0      50                                        :::139                                                   :::*                  \r\nLISTEN     0      128                                       :::80                                                    :::*                  \r\nLISTEN     0      32                                        :::21                                                    :::*                  \r\nLISTEN     0      128                                       :::22                                                    :::*                  \r\nLISTEN     0      50                                        :::445                                                   :::*                  \r\n<\/pre>\n<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u0686\u0646\u062f \u0634\u0645\u0627\u0631\u0647 \u067e\u06cc\u0634\u06cc\u0646 \u0645\u0637\u0627\u0644\u0628 \u0642\u0628\u0644\u06cc\u200c\u0627\u0645 \u0627\u0634\u0627\u0631\u0647 \u06a9\u0631\u062f\u0647\u200c \u0628\u0648\u062f\u0645\u060c \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u0627\u0632 grep \u0648 \u0686\u06cc\u0632\u06cc \u06a9\u0647 \u0628\u0647 \u0641\u0631\u0645\u0627\u0646 \u062f\u0648\u0645 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u06a9\u0646\u06cc\u0645. \u0632\u06cc\u0631\u0627 \u0628\u0631\u0627\u06cc \u0645\u0627\u0634\u06cc\u0646 overhead \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u0648\u0642\u062a\u06cc \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u0628\u0647 \u067e\u0648\u0631\u062a\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 listen \u062f\u0627\u0631\u0646\u062f \u0686\u0647 \u0628\u0647\u062a\u0631 \u06a9\u0647 \u0627\u0632 l- \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0627\u06cc\u06cc\u0645.<br \/>\n<strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u0631 \u062a\u0645\u0627\u0645 \u0641\u0631\u0645\u0627\u0646\u200c\u0647\u0627\u06cc iproute2 \u062f\u06cc\u062f\u06cc\u062f\u060c 4- \u0648 6- \u0628\u0631\u0627\u06cc \u0641\u06cc\u0644\u062a\u0631 \u06a9\u0631\u062f\u0646 \u0646\u0633\u062e\u0647 IP \u0628\u06a9\u0627\u0631 \u0645\u06cc\u200c\u0631\u0648\u0646\u062f \u06a9\u0647 \u0628\u0633\u06cc\u0627\u0631 \u0645\u0641\u06cc\u062f \u0645\u06cc\u200c\u0628\u0627\u0634\u0646\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644 \u0647\u0645\u06cc\u0646 \u0641\u0631\u0645\u0627\u0646 \u0628\u0627\u0644\u0627 \u0631\u0627 \u0628\u0631\u0627\u06cc \u0646\u0633\u062e\u0647 4 \u0627\u06af\u0631 \u0628\u0647 \u06a9\u0627\u0631 \u0628\u0628\u0631\u06cc\u0645 \u0627\u06cc\u0646\u06af\u0648\u0646\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># ss -4lnt\r\nState      Recv-Q Send-Q                         Local Address:Port                                        Peer Address:Port              \r\nLISTEN     0      80                                 127.0.0.1:3306                                                   *:*                  \r\nLISTEN     0      50                                         *:139                                                    *:*                  \r\nLISTEN     0      5                                  127.0.0.1:81                                                     *:*                  \r\nLISTEN     0      128                                        *:22                                                     *:*                  \r\nLISTEN     0      50                                         *:445                                                    *:*                  \r\n<\/pre>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0627\u06af\u0631 \u0628\u0647 \u062e\u0627\u0637\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f\u060c \u062f\u0631 netstat \u06af\u0632\u06cc\u0646\u0647\u200c\u0627\u06cc \u062f\u0627\u0634\u062a\u06cc\u0645 \u06a9\u0647 \u0647\u0631\u062f\u0648\u06cc listening \u0648 \u063a\u06cc\u0631 listening \u0631\u0627 \u0644\u06cc\u0633\u062a \u0645\u06cc\u200c\u06a9\u0631\u062f. \u0647\u0645\u0627\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0639\u06cc\u0646\u0627\u064b \u062f\u0631 ss \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f: a-<br \/>\n\u062e\u0648\u0628\u06cc \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0628\u0631\u0627\u06cc \u0632\u0645\u0627\u0646\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0634\u0645\u0627 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 \u06cc\u06a9\u0633\u0631\u06cc IP \u060c \u0645\u0639\u062f\u0644 \u0628\u06af\u06cc\u0631\u06cc\u062f \u0648 \u06cc\u0627 \u0628\u0627 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0628\u0647 \u06a9\u0627\u0631 \u0628\u0628\u0631\u06cc\u062f:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\nUDP : -u<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nTCP : -t<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nRAW Socket : -w<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nUNIX Socket Domain : -x<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n\u0648 \u062f\u06cc\u06af\u0631 \u0627\u0646\u0648\u0627\u0639 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0647\u0627 <\/p>\n<\/li>\n<p><\/u><br \/>\n<strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0645\u0648\u0627\u0631\u062f \u0628\u0627\u0644\u0627 \u0628\u0627 \u0647\u0645 \u0642\u0627\u0628\u0644 \u062a\u0631\u06a9\u06cc\u0628 \u0645\u06cc\u200c\u0628\u0627\u0634\u0646\u062f. \u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062f\u0642\u062a \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># ss -lntu\r\nNetid  State      Recv-Q Send-Q                      Local Address:Port                                     Peer Address:Port              \r\nudp    UNCONN     0      0                                       *:68                                                  *:*                  \r\nudp    UNCONN     0      0                           192.168.1.255:137                                                 *:*                  \r\nudp    UNCONN     0      0                             192.168.1.6:137                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:137                                                 *:*                  \r\nudp    UNCONN     0      0                           192.168.1.255:138                                                 *:*                  \r\nudp    UNCONN     0      0                             192.168.1.6:138                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:138                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:161                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:33909                                               *:*                  \r\nudp    UNCONN     0      0                                       *:5353                                                *:*                  \r\nudp    UNCONN     0      0                                       *:46317                                               *:*                  \r\nudp    UNCONN     0      0                                       *:1900                                                *:*                  \r\nudp    UNCONN     0      0                                      :::35707                                              :::*                  \r\nudp    UNCONN     0      0                                     ::1:161                                                :::*                  \r\nudp    UNCONN     0      0                                      :::5353                                               :::*                  \r\ntcp    LISTEN     0      80                              127.0.0.1:3306                                                *:*                  \r\ntcp    LISTEN     0      50                                      *:139                                                 *:*                  \r\ntcp    LISTEN     0      5                               127.0.0.1:81                                                  *:*                  \r\ntcp    LISTEN     0      128                                     *:22                                                  *:*                  \r\ntcp    LISTEN     0      50                                      *:445                                                 *:*                  \r\ntcp    LISTEN     0      50                                     :::139                                                :::*                  \r\ntcp    LISTEN     0      128                                    :::80                                                 :::*                  \r\ntcp    LISTEN     0      32                                     :::21                                                 :::*                  \r\ntcp    LISTEN     0      128                                    :::22                                                 :::*                  \r\ntcp    LISTEN     0      50                                     :::445                                                :::*       <\/pre>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u06cc\u06a9\u06cc \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0632 \u0642\u0644\u0645 \u0627\u0641\u062a\u0627\u062f\u060c p- \u0628\u0648\u062f \u06a9\u0647 \u0628\u0647 \u0647\u0645\u06cc\u0646 \u0646\u0627\u0645 \u062f\u0631 netstat \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u0648 \u0646\u0627\u0645 \u0628\u0631\u0646\u0627\u0645\u0647 \u0648 PID \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u0628\u0631 \u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># ss -apnu\r\nState      Recv-Q Send-Q Local Address:Port               Peer Address:Port              \r\nUNCONN     0      0            *:68                       *:*                   users:((\"dhclient\",pid=1809,fd=6))\r\nUNCONN     0      0      192.168.1.255:137                      *:*                   users:((\"nmbd\",pid=2075,fd=20))\r\nUNCONN     0      0      192.168.1.6:137                      *:*                   users:((\"nmbd\",pid=2075,fd=19))\r\nUNCONN     0      0            *:137                      *:*                   users:((\"nmbd\",pid=2075,fd=17))\r\nUNCONN     0      0      192.168.1.255:138                      *:*                   users:((\"nmbd\",pid=2075,fd=22))\r\nUNCONN     0      0      192.168.1.6:138                      *:*                   users:((\"nmbd\",pid=2075,fd=21))\r\nUNCONN     0      0            *:138                      *:*                   users:((\"nmbd\",pid=2075,fd=18))\r\nUNCONN     0      0            *:161                      *:*                   users:((\"snmpd\",pid=1808,fd=9))\r\nUNCONN     0      0            *:33909                    *:*                   users:((\"avahi-daemon\",pid=826,fd=14))\r\nUNCONN     0      0            *:5353                     *:*                   users:((\"avahi-daemon\",pid=826,fd=12))\r\nUNCONN     0      0            *:46317                    *:*                   users:((\"snmpd\",pid=1808,fd=11))\r\nUNCONN     0      0            *:1900                     *:*                   users:((\"minissdpd\",pid=959,fd=4))\r\n<\/pre>\n<p style=\"font-size:18px;\"><strong>\u06f2.\u06f1 query \u06af\u0631\u0641\u062a\u0646 \u0628\u0631 \u0627\u0633\u0627\u0633 socket:<\/strong><\/p>\n<p>\u0628\u0627 \u06af\u0632\u06cc\u0646\u0647 socket&#8211; \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0631 \u0645\u0628\u0646\u0627\u06cc \u06cc\u06a9 \u0646\u0648\u0639 socket \u062e\u0627\u0635 query \u06af\u0631\u0641\u062a. \u0644\u06cc\u0633\u062a \u0633\u0648\u06a9\u062a\u200c\u0647\u0627 \u062f\u0631 \u0630\u06cc\u0644 \u0622\u0645\u062f\u0647\u200c\u0627\u0646\u062f:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\nall<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\ninet<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\ntcp<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nudp<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nraw<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nunix<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nnetlink<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nunix_dgram<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nunix_stream<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nunix_seqpacket<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\npacket_raw<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\npacket_raw<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u06af\u0648\u06cc\u06cc\u062f \u0628\u0639\u0636\u06cc \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u0628\u0627\u0644\u0627 \u062f\u0631 option \u0647\u0627 \u0647\u0645\u0627\u0646\u0646\u062f t- \u0622\u0645\u062f\u0647\u200c\u0627\u0646\u062f\u060c \u0627\u0645\u0627 \u0648\u0627\u0642\u0639\u06cc\u062a \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0628\u0639\u0636\u06cc \u0627\u0632 \u0622\u0646\u200c\u0647\u0627 \u06cc\u0627alias \u0647\u0633\u062a\u0646\u062f \u0647\u0645\u0686\u0648\u0646 tcp \u0648 \u06cc\u0627 \u0627\u0635\u0644\u0627\u064b \u0648\u062c\u0648\u062f \u0646\u062f\u0627\u0631\u062f.<br \/>\n\u0646\u06a9\u062a\u0647: \u0647\u0631\u06af\u0627\u0647 \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0631\u0627\u06cc \u06cc\u06a9\u06cc \u0627\u0632 \u0633\u0648\u06a9\u062a\u200c\u0647\u0627\u06cc RAW \u0648 \u06cc\u0627 UNIX socket domain \u0641\u06cc\u0644\u062a\u0631 \u0628\u06af\u06cc\u0631\u06cc\u062f\u060c \u0628\u0647 \u0647\u06cc\u0686 \u0639\u0646\u0648\u0627\u0646 \u0627\u0632 \u06af\u0632\u06cc\u0646\u0647 \u06cc\u0627 \u06af\u0632\u06cc\u0646\u0647 \u0647\u0627\u06cc 4- \u06cc\u0627 6- \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0646\u0645\u0627\u06cc\u06cc\u062f. \u0632\u06cc\u0631\u0627 \u0622\u0646\u200c\u0647\u0627 \u0645\u0639\u0631\u0641 inet4 \u0648 inet6 \u0645\u06cc\u200c\u0628\u0627\u0634\u0646\u062f \u0648 \u0648\u0642\u062a\u06cc \u0647\u0631 \u062f\u0648\u06af\u0632\u06cc\u0646\u0647 \u0631\u0627 \u0628\u0647 ss \u0628\u062f\u0647\u06cc\u0645\u060c \u062f\u06cc\u06af\u0631 \u0641\u06cc\u0644\u062a\u0631 \u0645\u0627 \u0627\u062b\u0631\u06cc \u0646\u062f\u0627\u0631\u062f \u0648 \u0627\u0632 \u0647\u0631\u062f\u0648\u06cc unix_stream \u0648 inet family \u0628\u0631\u0627\u06cc\u0645\u0627\u0646 \u0644\u06cc\u0633\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0628\u0627 \u062e\u0648\u0627\u0633\u062a\u0647 \u0645\u0627 \u062c\u0648\u0631 \u062f\u0631 \u0646\u0645\u06cc\u200c\u0622\u06cc\u062f. <\/p>\n<p style=\"font-size:19px;\"><strong>\u06f2. \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0641\u06cc\u0644\u062a\u0631:<\/strong><\/p>\n<p>\u0641\u06cc\u0644\u062a\u0631\u0647\u0627 \u0628\u0631 \u062f\u0648 \u0646\u0648\u0639\u0646\u062f:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\n\u0641\u06cc\u0644\u062a\u0631 \u0628\u0631 \u0627\u0633\u0627\u0633 state<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n\u0641\u06cc\u0644\u062a\u0631 \u0628\u0631 \u0627\u0633\u0627\u0633 port \u0648 address<\/p>\n<\/li>\n<\/ul>\n<p style=\"font-size:18px;\"><strong>\u06f1.\u06f2 \u0641\u06cc\u0644\u062a\u0631 \u0628\u0631 \u0627\u0633\u0627\u0633 state :<\/strong><\/p>\n<p>\u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0628\u0631 \u062f\u0648 \u0627\u0633\u0627\u0633 \u0641\u06cc\u0644\u062a\u0631 \u0646\u0645\u0648\u062f: <\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\nstate \u0647\u0627\u06cc TCP<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nstate \u0647\u0627\u06cc \u062a\u0631\u06a9\u06cc\u0628\u06cc<\/p>\n<\/li>\n<\/ul>\n<p>state \u0647\u0627\u06cc TCP :<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\nestablished<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nsyn-sent<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nsyn-recv<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nfin-wait-1<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nfin-wait-2<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\ntime-wait<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nclosed<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nclose-wait<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nclosing<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nlast-ack<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nlistening<\/p>\n<\/li>\n<\/ul>\n<p>state \u0647\u0627\u06cc \u062a\u0631\u06a9\u06cc\u0628\u06cc:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\nall : \u0634\u0627\u0645\u0644 \u062a\u0645\u0627\u0645 state \u0647\u0627\u06cc \u0645\u0631\u062a\u0628\u0637 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nstate : bucket \u0647\u0627\u06cc  time-wait \u0648 syn-recv \u0631\u0627 \u0634\u0627\u0645\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nbig : \u062a\u0645\u0627\u0645 state \u0647\u0627 \u0631\u0627 \u0628\u0647 \u062c\u0632 time-wait \u0648 syn-recv \u0634\u0627\u0645\u0644 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nconnected : \u0634\u0627\u0645\u0644 \u062a\u0645\u0627\u0645 state \u0647\u0627 \u0628\u0647 \u062c\u0632 closed \u0648 listening \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nsynchronized : \u0634\u0627\u0645\u0644 \u062f\u0648 state \u06cc\u06a9\u06cc connected \u0648 \u062f\u06cc\u06af\u0631\u06cc syn-sent \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0641\u0631\u0645\u0627\u0646 ss state all \u0645\u062a\u0631\u0627\u062f\u0641 a- \u0645\u06cc\u200c\u0628\u0627\u0634\u062f.<br \/>\n<strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0686\u0646\u062f state \u0631\u0627 \u06a9\u0646\u0627\u0631 \u0647\u0645 OR \u06a9\u0631\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\">$  ss   -n4 state time-wait state close --socket=inet\r\nNetid  State      Recv-Q Send-Q                                   Local Address:Port                                     Peer Address:Port \r\nraw    UNCONN     0      0                                                    *:1                                                   *:*     \r\nudp    UNCONN     0      0                                                    *:46028                                               *:*     \r\nudp    UNCONN     0      0                                                    *:730                                                 *:*     \r\nudp    UNCONN     0      0                                                    *:111                                                 *:*   <\/pre>\n<p><strong>\u0646\u06a9\u062a\u0647:<\/strong> \u0627\u06af\u0631 \u0627\u0632 query \u0628\u0631\u0627\u06cc inet \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f 4- \u06cc\u0627 6- \u06cc\u06a9 \u0627\u062c\u0628\u0627\u0631 \u0627\u0633\u062a.<br \/>\n\u0632\u0645\u0627\u0646\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645 \u062a\u0627 \u0627\u0632 \u06cc\u06a9 \u0644\u06cc\u0633\u062a state \u060c\u200c\u06cc\u06a9\u0633\u0631\u06cc \u0627\u0632 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u062d\u0630\u0641 \u0646\u0645\u0627\u06cc\u06cc\u0645 \u0628\u062f\u06cc\u0646 \u0645\u0646\u0638\u0648\u0631 \u0641\u0631\u0645\u0627\u0646 ss \u06a9\u0644\u0645\u0647\u200c\u0627\u06cc \u0631\u0627 \u0641\u0631\u0627\u0647\u0645 \u0646\u0645\u0648\u062f\u0647 \u0627\u0633\u062a \u062a\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u062f. \u0628\u0647 \u0645\u062b\u0627\u0644 \u0631\u0648\u0628\u0631\u0648 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\"># ss -4ntu state all   exclude time-wait exclude  listening exclude established\r\nNetid  State      Recv-Q Send-Q                      Local Address:Port                                     Peer Address:Port              \r\nudp    UNCONN     0      0                                       *:68                                                  *:*                  \r\nudp    UNCONN     0      0                           192.168.1.255:137                                                 *:*                  \r\nudp    UNCONN     0      0                             192.168.1.6:137                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:137                                                 *:*                  \r\nudp    UNCONN     0      0                           192.168.1.255:138                                                 *:*                  \r\nudp    UNCONN     0      0                             192.168.1.6:138                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:138                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:161                                                 *:*                  \r\nudp    UNCONN     0      0                                       *:33909                                               *:*                  \r\nudp    UNCONN     0      0                                       *:5353                                                *:*                  \r\nudp    UNCONN     0      0                                       *:46317                                               *:*                  \r\nudp    UNCONN     0      0                                       *:1900                                                *:*                  <\/pre>\n<p>\u062f\u0631 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627 state all \u0647\u0631 \u0686\u0647 state \u0628\u0648\u062f \u0644\u06cc\u0633\u062a \u06a9\u0631\u062f\u06cc\u0645 \u0648 \u0627\u0632 \u0645\u06cc\u0627\u0646 \u0622\u0646\u200c\u0647\u0627 \u06f3 state \u06a9\u0647 \u0628\u0627 \u06a9\u0644\u0645\u0647 \u0631\u0632\u0631\u0648 \u0634\u062f\u0647 exclude \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f\u06cc\u0645 \u0631\u0627 \u0644\u06cc\u0633\u062a \u06a9\u0631\u062f\u06cc\u0645 \u0648 \u0622\u0646\u200c\u0647\u0627 \u0627\u0632 \u062e\u0631\u0648\u062c\u06cc \u062d\u0630\u0641 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0628\u0627 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 state \u0647\u0627\u06cc \u062a\u0631\u06a9\u06cc\u0628\u06cc \u0646\u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0648\u0642\u062a\u06cc \u062f\u0648 \u06af\u0632\u06cc\u0646\u0647 u- \u0648 t- \u0631\u0627 \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f\u06cc\u0645 \u0628\u062f\u06cc\u0646 \u0645\u0639\u0646\u0627 \u0628\u0648\u062f \u06a9\u0647 \u0641\u0642\u0637 \u0627\u0632 inet family \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u0645 \u06af\u0632\u0627\u0631\u0634 \u0628\u06af\u06cc\u0631\u06cc\u0645.<\/p>\n<p style=\"font-size:18px;\"><strong>\u06f2.\u06f2 \u0641\u06cc\u0644\u062a\u0631 \u0628\u0631 \u0627\u0633\u0627\u0633 port \u0648 address : <\/strong><\/p>\n<p>\u0641\u06cc\u0644\u062a\u0631\u0647\u0627 \u06cc\u06a9\u0633\u0631\u06cc rule \u0627\u0632 \u0646\u0648\u0639 boolean \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0647\u0645 &#038;&#038; \u0648 || \u0648 \u062e\u0648\u062f \u0622\u0646 \u0631\u0627 ! \u06a9\u0631\u062f.<br \/>\n\u0633\u0631\u06cc \u0627\u0648\u0644 \u0622\u0646\u200c\u0647\u0627 \u06a9\u0647 \u0628\u0631\u0627\u06cc \u0622\u062f\u0631\u0633\u200c\u0647\u0627 \u0628\u06a9\u0627\u0631 \u0645\u06cc\u200c\u0631\u0648\u062f \u062f\u0631 \u0630\u06cc\u0644 \u0644\u06cc\u0633\u062a \u0634\u062f\u0647\u200c\u0627\u0646\u062f:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\ndst prefix:port<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nsrc prefix:port<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nsrc unix:string<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nsrc link:protocol:ifindex<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nsrc nl:channel:pid<\/p>\n<\/li>\n<\/ul>\n<p>\u0628\u0647 \u062f\u0648 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062f\u0642\u062a \u0646\u0645\u0627\u06cc\u06cc\u062f :<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\">ss dst 104.16.115.182:80\r\nNetid  State      Recv-Q Send-Q                    Local Address:Port                                     Peer Address:Port                \r\ntcp    ESTAB      0      0                           192.168.1.6:42532                                  104.16.115.182:http<\/pre>\n<p>\u0648 \u0647\u0645\u0686\u0646\u06cc\u0646:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\">ss  state listening  src 127.0.0.1:*\r\nNetid  Recv-Q Send-Q                         Local Address:Port                                          Peer Address:Port                \r\ntcp    0      80                                 127.0.0.1:mysql                                                    *:*                    \r\ntcp    0      5                                  127.0.0.1:81                                                       *:*      <\/pre>\n<p>\u0628\u0647 \u0645\u062b\u0627\u0644 \u0632\u06cc\u0631 \u062a\u0648\u062c\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<pre class=\"theme:dark-terminal font:liberation-mono font-size:14 nums:false line-height:20 toolbar:2 scroll:true lang:sh decode:true plain:false\">$ ss -an4 state established dport lt 1024\r\nNetid  State      Recv-Q Send-Q                      Local Address:Port                                     Peer Address:Port              \r\ntcp    ESTAB      0      0                             192.168.1.6:38292                                  198.252.206.25:443                \r\ntcp    ESTAB      0      0                             192.168.1.6:56428                                   185.13.228.84:80                 \r\ntcp    ESTAB      0      0                             192.168.1.6:55510                                   74.125.133.18:443                \r\ntcp    ESTAB      0      0                             192.168.1.6:37312                                  74.125.133.113:443                \r\ntcp    ESTAB      0      0                             192.168.1.6:55528                                    185.11.124.4:443                \r\ntcp    ESTAB      0      0                             192.168.1.6:37624                                  74.125.133.189:443                <\/pre>\n<p>\u0628\u06cc\u0646 \u0633\u0647 \u0648\u062c\u0647\u0647 AND \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\ninet4<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\nstate established<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n\u067e\u0648\u0631\u062a\u200c\u0647\u0627\u06cc \u06a9\u0648\u0686\u06a9\u062a\u0631 \u0627\u0632 \u06f1\u06f0\u06f2\u06f4<\/p>\n<\/li>\n<\/ul>\n<p>\u0628\u0631\u0627\u06cc \u067e\u0648\u0631\u062a\u200c\u0647\u0627 \u0627\u0632 \u062f\u0648 \u06a9\u0644\u0645\u0647 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\nsource port : sport <\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\ndestination port : dport<\/p>\n<\/li>\n<\/ul>\n<p>\u0647\u0645\u0686\u0646\u06cc\u0646 \u0639\u0645\u0644\u06af\u0631\u200c\u0647\u0627\u06cc \u0632\u06cc\u0631 \u0645\u0648\u062c\u0648\u062f\u0646\u062f:<\/p>\n<ul>\n<li style=\"margin-right:30px;\">\n<p>\neq \u06cc\u0627 ==<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n> \u06cc\u0627 lt<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n> \u06cc\u0627 gt<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n=! \u06cc\u0627 ne<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n=> \u06cc\u0627 le<\/p>\n<\/li>\n<li style=\"margin-right:30px;\">\n<p>\n=< \u06cc\u0627 ge<\/p>\n<\/li>\n<\/ul>\n<p>\u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u062f\u06cc\u062f \u0645\u06cc\u200c\u062a\u0648\u0627\u0646 \u0627\u0632 \u0639\u0645\u0644\u06af\u0631\u200c\u0647\u0627\u06cc \u0634\u0644 \u0645\u0627\u0646\u0646\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u0648\u062f.<br \/>\n<em><strong>\u06cc\u06a9 \u0646\u06a9\u062a\u0647 \u0627\u0633\u0627\u0633\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f state \u0647\u0627 :<\/strong><\/em> \u0627\u0635\u0648\u0644\u0627\u064b \u0627\u0632 \u06a9\u0644\u0645\u0647 exclude \u0632\u06cc\u0627\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u062a\u0627 \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u0628\u0647 \u0622\u0646\u0686\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u062f \u0628\u0631\u0633\u0627\u0646\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0686\u0646\u062f\u06cc \u067e\u06cc\u0634 \u0645\u06cc\u200c\u062e\u0648\u0627\u0633\u062a\u0645 \u0628\u0631\u0627\u06cc netstat \u0645\u0637\u0644\u0628\u06cc \u0628\u0646\u0648\u06cc\u0633\u0645 \u06a9\u0647 \u0648\u0642\u062a\u06cc \u0642\u0631\u0627\u0631 \u0634\u062f iproute2 \u0631\u0627 \u0642\u0644\u0645 \u0628\u0632\u0646\u0645 \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0646\u062f\u06cc\u062f\u0645. \u0632\u06cc\u0631\u0627 \u0641\u0631\u0645\u0627\u0646 ss \u0646\u0633\u062e\u0647 iproute2 \u0647\u0645\u0627\u0646 netstat \u0628\u0633\u062a\u0647 net-tools \u0645\u06cc\u200c\u0628\u0627\u0634\u062f. \u0648\u0642\u062a\u06cc ss \u0631\u0627 \u0646\u0648\u0634\u062a\u0647\u200c\u0627\u0646\u062f\u060c \u0628\u0647 \u0627\u06cc\u0646 \u0645\u0648\u0636\u0648\u0639 \u062f\u0642\u062a \u0628\u0633\u06cc\u0627\u0631\u06cc \u06a9\u0631\u062f\u0647\u200c\u0627\u0646\u062f \u06a9\u0647 option \u0647\u0627\u06cc \u0642\u062f\u06cc\u0645\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0646\u06a9\u0646\u0646\u062f \u0648 \u0634\u062e\u0635\u06cc \u06a9\u0647 \u0627\u0632 netstat \u0645\u0647\u0627\u062c\u0631\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c\u200c \u0638\u0631\u0641 &hellip; <a href=\"https:\/\/pahlevanzadeh.net\/?p=655\" class=\"more-link\">\u0627\u062f\u0627\u0645\u0647 \u062e\u0648\u0627\u0646\u062f\u0646 <span class=\"screen-reader-text\">iproute2 \u062f\u0631 \u0645\u0642\u0627\u0628\u0644 net-tools (\u0627\u06cc\u0646 \u0642\u0633\u0645\u062a: ss) (\u0642\u0633\u0645\u062a \u0686\u0647\u0627\u0631\u0645)<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,111,109],"tags":[97,93,90,233,235,234],"_links":{"self":[{"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=\/wp\/v2\/posts\/655"}],"collection":[{"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=655"}],"version-history":[{"count":6,"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=\/wp\/v2\/posts\/655\/revisions"}],"predecessor-version":[{"id":894,"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=\/wp\/v2\/posts\/655\/revisions\/894"}],"wp:attachment":[{"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=655"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=655"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pahlevanzadeh.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=655"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}