[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версияПоследняя версияСледующая версия справа и слева | ||
ru:slackbook:basic_networking_utilities [2013/12/01 19:44 (UTC)] – ssh bormant | ru:slackbook:basic_networking_utilities [2014/01/25 14:33 (UTC)] – [Mail Clients] bormant | ||
---|---|---|---|
Строка 154: | Строка 154: | ||
==== tcpdump ==== | ==== tcpdump ==== | ||
- | So far all the tools we've looked at have focused on making connections | + | Все рассмотренные выше инструменты сфокусированы на создании соединений |
- | to other computers, but now we're going to look at the traffic itself. | + | к другим компьютерам, но сейчас мы собираемся посмотреть на сам трафик. |
- | **// | + | **// |
- | allows us to view all or part of the network traffic originating or | + | или часть сетевого трафика, |
- | received by our computer. **// | + | **// |
- | the raw data packets in a variety of ways with all the network headers | + | всеми нетронутыми сетевыми заголовками. Не пугайтесь, |
- | intact. Don't be alarmed if you don't understand everything it | + | показанного, **// |
- | displays, **// | + | инженеров и администраторов. По умолчанию он работает с первой из |
- | network engineers and system administrators. By default, it probes the | + | обнаруженных сетевых карт, но если у вас несколько сетевых интерфейсов, |
- | first network card it finds, but if you have multiple interfaces, | + | просто используйте параметр |
- | simply use the // | + | выводимые данные при помощи выражений, изменить способ отображения, |
- | interested in.You can also limit the data displayed using expressions | + | это намного лучше описано на странице руководства и в сопровождающей |
- | and change the manner in which it is displayed, but that is best | + | документации. |
- | explained by the man page and other reference material. | + | |
< | < | ||
Строка 187: | Строка 185: | ||
SMB PACKET: SMBtrans2 (REQUEST) | SMB PACKET: SMBtrans2 (REQUEST) | ||
</ | </ | ||
- | ==== nmap ==== | ||
- | Suppose you need to know what network services are running on a | ||
- | machine, or multiple machines, or you wish to determine if multiple | ||
- | machines are responsive? | ||
- | each one individually, | ||
- | you're interested in, and note every detail, but that's very tedious | ||
- | and time consuming. A much easier alternative is to use a port scanner, | ||
- | and **// | ||
+ | ==== nmap ==== | ||
- | **//nmap//** is capable of scanning TCP and UDP | + | Допустим, |
- | ports, determining the operating system of a network device, probing | + | нескольких, |
- | each located service to determine its specific type, and much much | + | использовать |
- | more.Perhaps the simplist way to use **//nmap//** | + | для подключения на каждый из проверяемых портов, |
- | is to //" | + | но это очень долго и утомительно. Более простой альтернативой является |
- | notation (CIDR) or specify a range of addresses and | + | использование сканера портов, |
- | **// | + | подходит. |
- | results to you when it's finished. You can even specify host names as | + | |
- | you like. | + | |
- | In order to //" | + | **//nmap//** способен сканировать порты TCP и UDP, определять операционную |
- | argument. The following command instructs | + | систему сетевого устройства, |
- | **// | + | типа, и многое многое другое. Пожалуй, |
- | IP addresses starting at 72.168.24.0 and ending at 72.168.24.15. | + | **// |
+ | использовать нотацию сетевых адресов (CIDR) или задать адреса диапазоном, | ||
+ | и **// | ||
+ | При желании, | ||
+ | **// | ||
+ | указывает **// | ||
+ | IP начиная с 72.168.24.0 и заканчивая 72.168.24.15. | ||
< | < | ||
Строка 219: | Строка 213: | ||
</ | </ | ||
- | + | Если необходимо выполнить сканирование портов, **// | |
- | Should you need to perform a port scan, **// | + | множеством способов. При запуске без аргументов, **// |
- | has many options for doing just that. When run without any arguments, | + | обычное сканирование портов TCP на всех заданных хостах. Есть параметры, |
- | **// | + | позволяющие повысить или понизить агрессивность сканирования, |
- | hosts specified. There are also options to make | + | время получения результатов либо обдурить службы обнаружения вторжений. За |
- | **// | + | полной информацией нужно обратиться к вполне исчерпывающей странице |
- | scanning to return results quicker or fool intrusion detection | + | руководства (man). Следующие три команды выполняют обычное сканирование |
- | services. For a full discussion, you should refer to the rather | + | портов, сканирование |
- | exhaustive | + | |
- | port scan, a SYN scan, and a //" | + | |
< | < | ||
Строка 238: | Строка 229: | ||
<note warning> | <note warning> | ||
- | + | Будьте осторожны! Некоторые провайдеры Интернет осуждают сканирование портов | |
- | Be warned! Some Internet Service Providers frown heavily on port | + | и могут принимать меры по недопущению подобной сетевой активности. |
- | scanning and may take measures to prevent you from doing it. | + | **// |
- | **// | + | системах для обслуживания и исследования безопасности, но не как сканер |
- | used on your own systems for maintenance and security purposes, | + | Интернет общего назначения. |
- | not as general purpose Internet scanners. | + | |
</ | </ | ||
==== host ==== | ==== host ==== | ||
- | Often network problems stem from a failure of DNS (Domain Name Service) | + | Часто сетевые проблемы являются результатом отказов |
- | which maps domain names to IP addresses. An easy way to perform quick | + | имён), сопоставляющей доменному имени адрес |
- | DNS lookups is the **// | + | выполнения поиска в DNS является команда |
- | this is run, your computer will perform a few common | + | компьютер сделает несколько общепринятых запросов к DNS и выведет результаты. |
- | return the results. | + | |
< | < | ||
Строка 261: | Строка 248: | ||
slackware.com mail is handled by 1 mail-mx.cwo.com. | slackware.com mail is handled by 1 mail-mx.cwo.com. | ||
</ | </ | ||
+ | |||
+ | |||
==== dig ==== | ==== dig ==== | ||
- | More complex | + | Более сложные запросы к DNS могут быть выполнены вручную командой |
- | **// | + | **// |
- | is //"the meanest dog in the pound"// when it comes to troubleshooting DNS | + | дело доходит до устранения неполадок с DNS. С её помощью можно выполнить |
- | issues. With this tool, you can perform virtually any DNS lookup from | + | практически любой запрос к DNS, от обратных зон до записей |
- | reverse lookups to A, CNAME, MX, SP, TXT records and more. There are | + | SP, TXT и прочих. Количество параметров командной строки слишком велико, |
- | far too many command-line options and lookup types to go into depth | + | чтобы заниматься их перечислением здесь, но страница руководства |
- | here, but the man page lists all the common use cases. | + | перечисляет все частые варианты использования. |
< | < | ||
Строка 298: | Строка 287: | ||
</ | </ | ||
- | Let's take a took at the command-line options used above.The | + | Рассмотрим использованные параметры. Параметр |
- | // | + | **//dig//**, к какому серверу |
- | **// | + | **// |
- | specified, **// | + | Параметр |
- | servers are listed in ''/ | + | мы искали запись |
- | //a// argument at the end is the type of DNS record to lookup. | + | |
- | In this case we looked for an //" | + | |
==== finger ==== | ==== finger ==== | ||
- | **// | + | **// |
- | tool as much as it is a network-user diagnostic tool. Using | + | инструмент диагностики сеть-пользователь. Используя |
- | **// | + | можно собрать горстку полезной информации о пользователях серверов, |
- | information about users on servers running the | + | работающих под управлением демона |
- | **// | + | немногие серверы всё ещё предоставляют |
- | still offer **// | + | что предоставляют, |
- | it can be a useful tool for keeping track of your friends and | + | друзей и коллег. |
- | co-workers. | + | |
< | < | ||
Строка 332: | Строка 320: | ||
No Plan. | No Plan. | ||
</ | </ | ||
- | ===== Web Browsers ===== | ||
- | Slackware | + | |
- | graphical desktop, you'll find **// | + | ===== Браузеры ===== |
- | **// | + | |
- | familiar with, but what about console access? Fortunately, there are a | + | Slackware |
- | number of capable web browsers here as well. | + | рабочий стол, к вашим услугам |
+ | другие, с которыми возможно уже знакомы, но как же насчёт консоли? | ||
+ | К счастью, | ||
+ | |||
==== lynx ==== | ==== lynx ==== | ||
- | The oldest console-based web browser included with Slackware | + | Старейший консольный браузер в составе |
- | definitely | + | весьма способный, |
- | somewhat limited web browser.**// | + | поддерживает фреймы, сценарии ява или изображения и является текстовым |
- | support frames, javascript, or pictures; it is strictly a text web | + | браузером. Навигация производится при помощи клавиатурных стрелок и, |
- | browser. Navigation is performed using your keyboard' | + | опционально, при помощи мыши. Хоть в нём и нет многих возможностей других |
- | optionally, a mouse. While it lacks many features that other browsers | + | браузеров, **// |
- | support, **// | + | Например, параметр |
- | browsers you'll ever use for gathering information. For example, the | + | напрямую в консоль, этот вывод легко перенаправить в другие программы. |
- | // | + | |
- | console, which can then be piped to other programs. | + | |
{{ : | {{ : | ||
+ | |||
+ | |||
==== links ==== | ==== links ==== | ||
- | A more feature-rich alternative is the popular | + | Более богатой возможностями альтернативой является |
- | **// | + | |
- | supports frames and has better table rendering than | + | |
- | **// | + | |
- | **// | + | |
- | the use of a mouse is supported.Unlike | + | |
- | **// | + | |
- | click on the top line with your mouse to activate) and generally | + | |
- | formats web pages better. | + | |
{{ : | {{ : | ||
==== wget ==== | ==== wget ==== | ||
- | Unlike the other browsers we've looked at, | + | В отличие от рассмотренных выше браузеров, **// |
- | **// | + | |
- | HTTP content, **// | + | |
- | the //" | + | |
- | browsers, **// | + | |
- | downloads; rather it copies the content in its exact form on the web | + | |
- | server with all tags and binary data in place. It also supports several | + | |
- | recursive options that can effectively mirror online content to your | + | |
- | local computer.**// | + | |
- | exclusively on HTTP content; it also supports | + | |
- | protocols. | + | |
< | < | ||
Строка 398: | Строка 371: | ||
2010-05-01 13:51:22 (110 KB/s) - `ChangeLog.txt' | 2010-05-01 13:51:22 (110 KB/s) - `ChangeLog.txt' | ||
</ | </ | ||
- | ===== Mail Clients | + | ===== Почтовые клиенты |
- | Slackware | + | Slackware |
- | graphical desktop, you'll find **// | + | |
- | **// | + | |
- | and others. As with web browsers, there are also applications that | + | |
- | function within the shell. Once you start using an email client in the | + | |
- | console, you may find yourself not wanting to use anything else; the | + | |
- | flexibility and configurability can be addicting. | + | |
==== pine ==== | ==== pine ==== | ||