Port details |
- smbtcpdump Tcpdump(1) hacked to better understand SMB packets
- 3.4 net
=1 3.4Version of this port present on the latest quarterly branch. - Maintainer: obrien@FreeBSD.org
 - Port Added: unknown
- Last Update: 2002-05-08 20:55:15
- SVN Revision: UNKNOWN
- People watching this port, also watch:: p5-Gtk2
- Also Listed In: security
- License: not specified in port
- Description:
- tcpdump(1) hacked to better understand SMB packets.
smbtcpdump gives the ability to interpret NBT and SMB packets in a fair bit
of detail.
To capture all SMB packets going to or from host "fred" try this:
tcpdump -s 1500 'port 139 and host fred'
If you want name resolution or browse packets then try ports 137 and
138 respectively:
tcpdump -s 1500 '(port 139 or 138 or 137) and host fred'
Example Output:
Here is a sample of a capture of a "SMBsearch" directory search. If
you don't get output that looks like this then smbtcpdump is not working
correctly.
NBT Session Packet
Flags=0x0
Length=57
SMB PACKET: SMBsearch (REQUEST)
SMB Command = 0x81
Error class = 0x0
Error code = 0
Flags1 = 0x8
Flags2 = 0x3
Tree ID = 2048
Proc ID = 11787
UID = 2048
MID = 11887
Word Count = 2
smbvwv[]=
Count=98
Attrib=HIDDEN SYSTEM DIR
smbbuf[]=
Path=\????????.???
BlkType=0x5
BlkLen=0
cgit ¦ GitHub ¦ GitHub ¦ GitLab ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- No installation instructions:
- This port has been deleted.
- PKGNAME:
- Flavors: there is no flavor information for this port.
- distinfo:
- There is no distinfo for this port.
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- N/A
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 4
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
3.4 08 May 2002 20:55:15
 |
obrien  |
Remove smbtcpdump. AFAIK all this functionality is now in the offical
tcpdump. If it isn't, someone should work with tcpdump.org to get it in. |
3.4 08 May 2002 20:54:08
 |
obrien  |
To ports@freebsd.org. |
22 Nov 2000 00:57:34
    |
obrien  |
Add $FreeBSD$, which help me in problem reports. |
08 Oct 2000 07:19:09
    |
asami  |
Convert category net to new layout. |
Number of commits found: 4
|