Git Product home page Git Product logo

tcpdump-htdocs's People

Contributors

deltaevo avatar desowin avatar eexarevsky avatar fxlb avatar geraldcombs avatar guyharris avatar hchataing avatar infrastation avatar jamesvong avatar joswr1ght avatar kayoub5 avatar leonerd avatar martin-kaiser avatar mcr avatar pevik avatar pstavirs avatar seladb avatar skarg avatar stigbjorlykke avatar sultanqasim avatar tecimovic avatar vivien avatar wiresharkyyh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tcpdump-htdocs's Issues

Missing -W value type

-W Used in conjunction with the -C option, this will limit the num-

I was reading the man and was wondering why I had an error at execution :
tcpdump: invalid number of output files -z

There's a 'count' missing from the manpage at the -w parameter.

I'm expecting to read :

-W count
Used in conjunction with the -C option, this will limit the number of files created to the specified number, and begin overwriting ...

But we read :

-W
Used in conjunction with the -C option, this will limit the number of files created to the specified number, and begin overwriting ...

add /manpages/index.html

Add an index.html to the /manpages directory.
Some servers have directory indexing on, but we shouldn't depend upon that.

HTTPS version of www.tcpdump.org unavailable

In a bout of funny-to-me irony, it looks like one cannot safely download the TCPdump distribution (there's no HTTPS site). At the moment, https://www.tcpdump.org just goes to wireshark's distribution page.

Seems like right now the only way to securely get the source is via github at the moment.

Thanks so much for your work.

Remove very old pcapng specs ?

2012-01-01 20:09:52 -0500 pcap/pcap.html
2012-01-01 20:09:52 -0500 pcap/pcap.txt
They haven't been updated since the first commit.
Inside date: March 2004.

Should we remove them ?

marvell-switch-tag differs from Linux DSA driver

Hello,

According to

7 6 5 4 3 2 1 0
. . . . . . . . .
0 +---+---+---+---+---+---+---+---+
| Ether Destination Address |
+6 +---+---+---+---+---+---+---+---+
| Ether Source Address |
+6 +---+---+---+---+---+---+---+---+ --
| Prog. DSA Ether Type [15:8] | |
+1 +---+---+---+---+---+---+---+---+ |
| Prog. DSA Ether Type [7:0] | | EDSA tag
+1 +---+---+---+---+---+---+---+---+ |
| Reserved (0x00 0x00) | |
+2 +---+---+---+---+---+---+---+---+ | --
| Mode |b29| Switch Device | | |
+1 +---+---+---+---+---+---+---+---+ | |
| Switch Port |b18|b17|b16| | |
+1 +---+---+---+---+---+---+---+---+ | | DSA tag
| PRI [2:0] |b12| VID [11:8] | | |
+1 +---+---+---+---+---+---+---+---+ | |
| VID [7:0] | | |
+1 +---+---+---+---+---+---+---+---+ -- --
| Ether Length/Type |
+2 +---+---+---+---+---+---+---+---+

Bits b17, b16 and b12 are the frame type code bits 2, 1 and 0,
describing the kind of To_CPU frame:
<ul>
<li>0x0 for BPDU (MGMT) Trap</li>
<li>0x1 for Frame2Reg Response</li>
<li>0x2 for IGMP/MLD Trap</li>
<li>0x3 Policy Trap</li>
<li>0x4 for ARP Mirror</li>
<li>0x3 Policy Mirror</li>
</ul>
published at https://www.tcpdump.org/linktypes/LINKTYPE_DSA_TAG_DSA.html ,

frame type code is formed by (b17<<2 | b16 <<1 | b12 ), something like:

code = (dsa_header[1] & 0x3) | ((dsa_header[2] >> 4) & 1);

But the Linux driver code uses (b18<<2 | b17 <<1 | b12 ) or:

code = (dsa_header[1] & 0x6) | ((dsa_header[2] >> 4) & 1);

See: https://github.com/torvalds/linux/blob/655fedaad36c0b31a6f6cb8f469b739b2359d74f/net/dsa/tag_dsa.c#L207

I could confirm that b17b16b12 does not match the IGMP code (0x02) the chip sent (the only one I got) while b18b17b12 does match. I cannot confirm that b18 and b12 are correct as I didn't have other command samples but IGMP but b17 is the second most significant bit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.