DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th March 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default tcpdump package

Where can i find tcpdump installation package?? I tried google it so many times but found nothing...
Reply With Quote
  #2   (View Single Post)  
Old 30th March 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Which BSD are you using? It is a part of the base install on all of them, as far as i know.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #3   (View Single Post)  
Old 30th March 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

openbsd ofcause. The PF faq mentioned tcpdump but i can't find the package to install..
Reply With Quote
  #4   (View Single Post)  
Old 30th March 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

I'm sure you'll find it is already there. I don't think there is a un*x that doesn't come with tcpdump
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #5   (View Single Post)  
Old 30th March 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,661
Thanked 214 Times in 189 Posts
Default

The tcpdump program is included in the base*.tgz fileset, and should have been installed already. The tcpdump(8) man page is included in the man*.tgz fileset.

I'm guessing you're using a shell which does not have /sbin or /usr/sbin in it's $PATH variable.

Edit: I just doublechecked, it's in /usr/sbin.

Last edited by jggimi; 30th March 2009 at 01:34 PM.
Reply With Quote
  #6   (View Single Post)  
Old 30th March 2009
bsdnewbie999 bsdnewbie999 is offline
Package Pilot
 
Join Date: May 2008
Posts: 145
Thanked 0 Times in 0 Posts
Default

oh, Thank you
Reply With Quote
  #7   (View Single Post)  
Old 30th March 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

If you want to know if a commands ready to execute in your shell, use type or which. If the systems configured for it, the locate and whereis commands might also be suitable for fighting installed programs that might not be in your path:

Code:
Terry☺@vectra☺$☺ type tcpdump
tcpdump is /usr/sbin/tcpdump
Terry@vectra$ which tcpdump
/usr/sbin/tcpdump
Terry@vectra$ locate tcpdump
/usr/sbin/tcpdump
/usr/share/man/cat8/tcpdump.0
Terry@vectra$ whereis tcpdump
/usr/sbin/tcpdump
Terry@vectra$
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
echo tcpdump date to an output bsdnewbie999 Programming 8 8th April 2009 02:58 PM
tcpdump snaplen WARNING bsdnewbie999 OpenBSD General 1 17th March 2009 03:24 AM
i would like to know about tcpdump chamnanpol FreeBSD General 8 17th September 2008 11:00 AM
Help with tcpdump file brokensilence General software and network 2 10th July 2008 03:45 PM
OpenJDK package aleunix OpenBSD Packages and Ports 2 2nd June 2008 07:54 AM


All times are GMT. The time now is 11:16 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick