|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Andrey Ivanov 2:5020/400 23 Apr 2002 16:14:50 To : Andrew Khlebutin Subject : Re: Help with tcpdump --------------------------------------------------------------------------------
Andrew Khlebutin wrote:
>Привет Всем!
>
>Поправьте мне пожалуйста руки - как заставить tcpdump грабить только
>tcp? Пускаю так - говорит syntax error:
>#tcpdump -vvvxX -s 0 dst host x.x.x.x ip proto tcp > /home/andrew/dump
>tcpdump: syntax error
>
>Пытался так, всё равно:
>#tcpdump -vvvxX -s 0 dst host x.x.x.x ip proto \tcp\ > /home/andrew/dump
>
>т.к. в мане написано:
>...
>ip proto protocol
> True if the packet is an IP packet (see
> ip(4P)) of protocol type protocol. Protocol
> can be a number or one of the names icmp,
> icmp6, igmp, igrp, pim, ah, esp, udp, or
> tcp. Note that the identifiers tcp, udp,
> and icmp are also keywords and must be
> escaped via backslash (\), which is \\ in
> the C-shell. Note that this primitive does
> not chase protocol header chain.
>
а что это - "#tcpdump -vvvxX"?
--- ifmail v.2.15dev5
* Origin: okean (2:5020/400)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/101421fa714b5.html, оценка из 5, голосов 10
|