Difference between revisions of "TCPDump"

From CBLFS
Jump to navigationJump to search
(Creating a page for TCPDump, still needs editing)
 
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.tcpdump.org/release/tcpdump-3.9.5.tar.gz
+
| http://www.tcpdump.org/release/tcpdump-{{Tcpdump-Version}}.tar.gz
 
|}
 
|}
  
----
+
{{Package-Introduction|TCPDump is a package that you can dump the packets from your network. This is also called/used for packet sniffing|http://www.tcpdump.org/}}
 
 
{{TCPDump is a package that U can dump the packets from your network. This is also called/used for packet sniffing. Home Page: http://www.tcpdump.org/}}
 
 
 
----
 
 
 
'''<font style="color: green">If there is some reason you are adding a package and are unable to provide a brief description of it's functionality, please do two things.  First, reconsider installing software that you have no idea what it does.  Second, please use this template.  It allows us to identify packages that need introductions without "hunting" through the wiki.</font>'''
 
 
 
{{Blank-Package-Introduction}}
 
  
 
== Dependencies ==
 
== Dependencies ==
 
 
 
 
  
 
=== Required ===
 
=== Required ===
http://cblfs.cross-lfs.org/index.php/Libpcap
+
* [[Libpcap]]
* [[Required Dependency #2]]
 
 
 
=== Recommended ===
 
* [[Recommended Dependency #1]]
 
* [[Recommended Dependency #2]]
 
 
 
=== Optional ===
 
* [[Optional Dependency #1]]
 
* [[Optional Dependency #2]]
 
 
 
== Creating the <NAME> User & Group ==
 
 
 
'''<font style="color: green">This is an optional section. If your package requires a user/group add this section to the page then append the table on the [[System User and Groups]] page. Below is an example.</font>'''
 
 
 
groupadd -g ''[id]'' ''[name]'' &&
 
useradd -c "''[desc]''" -d /dev/null \
 
        -u ''[id]'' -g ''[name]'' -s /bin/false ''[name]''
 
 
 
== Configuration Information ==
 
 
 
'''<font style="color: green">This section can contain options that you may want to include when configuring the package, but should be left as a choice, eg:</font>'''
 
 
 
{|
 
|-
 
|''--enable-someoption:'' brief description of the non-default functionality provided by someoption.
 
|-
 
|''--disable-someotheroption:'' brief description of the default functionality removed by disabling someotheroption.
 
|-
 
|''--with-somepackage=DIR:''
 
|}
 
 
 
'''<font style="color: green">Generally speaking, CBLFS packages are installed in the /usr hierarchy although there are some exceptions.  Even if you passed --prefix=/home/fubar/stuff/CBLFS/is/really/awesome/some/package/version/5.0/hope/this/works to the configure script, please use --prefix=/usr for the wiki.  Thanks.</font>'''
 
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 68: Line 24:
  
 
== Multilib ==
 
== Multilib ==
 
'''<font style="color: green">If appropriate, add this line:</font>'''
 
 
'''''This package does not provide any libraries so only one installation is required.'''''
 
 
'''<font style="color: green">If package documentation is not installed by the 'make install' step, only include the commands to install the documentation in the 64-bit section.</font>'''
 
  
 
=== 32Bit ===
 
=== 32Bit ===
Line 79: Line 29:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" ./configure \
 +
--prefix=/usr &&
 
  make
 
  make
  
Line 90: Line 41:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
+
  CC="gcc ${BUILDN32}" ./configure \
    --libdir=/usr/lib32 &&
+
--prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 102: Line 53:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr \
+
  CC="gcc ${BUILD64}" ./configure \
    --libdir=/usr/lib64 &&
+
--prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 109: Line 60:
  
 
  make install
 
  make install
 
== Configuring ==
 
 
'''<font style="color: green">This section should contain information about the post-installation configuration of a package, bootscript(s), other files, creating directories.  Omit this section if there is no post-installation configuration required.</font>'''
 
  
 
== Contents ==
 
== Contents ==
  
'''<font style="color: green">You can find a script [[User:Weibullguy|here]] that can be used in conjunction with [[InstallWatch]] to make creating this table reasonably pain free.</font>'''
+
To be done.....
 
 
{| style="text-align: left;"
 
|-valign="top"
 
!Installed Directories:
 
|/path/to/dir
 
|-valign="top"
 
!Installed Programs:
 
|Program 1, Program 2
 
|-valign="top"
 
!Installed Libraries:
 
|library1.{a,so}, library2.{a,so}
 
|}
 
 
 
=== Short Descriptions ===
 
  
{| style="text-align: left;"
+
[[Category:Network Applications]]
|-valign="top"
 
!Program 1
 
|is a program that converts pennies to dollars.
 
|-valign="top"
 
!Program 2
 
|is a program that converts dollars to pennies.
 
|-valign="top"
 
!library1.{so,a}
 
|is a library that contains functions necessary to convert from dollars to pennies and vice versa.
 
|}
 

Latest revision as of 17:26, 19 March 2009

Download Source: http://www.tcpdump.org/release/tcpdump-3.9.6.tar.gz

Introduction to TCPDump

TCPDump is a package that you can dump the packets from your network. This is also called/used for packet sniffing

Project Homepage: http://www.tcpdump.org/

Dependencies

Required

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure \
--prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure \
--prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure \
--prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

To be done.....