DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th July 2008
kardon33 kardon33 is offline
New User
 
Join Date: Jul 2008
Posts: 2
Default Setting a nic to promiscuous mode?

I am running OpenBSD 4.3, I would like to set my secound NIC to promiscuous for monitoring reasons and suggestions?
Reply With Quote
  #2   (View Single Post)  
Old 30th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The pcap(3) library may be useful to you, it's in base, also.. tcpdump(8) sets the PROMISC flag on the appropriate interface, the version of tcpdump in base was audited by the OpenBSD developers though.
Reply With Quote
  #3   (View Single Post)  
Old 31st July 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

Snort 2.8.0.1 is in packages, and is lots of fun. BASE is a web front-end that makes it even more fun.
__________________
Network Firefighter
Reply With Quote
  #4   (View Single Post)  
Old 31st July 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by kardon33 View Post
I would like to set my secound NIC to promiscuous for monitoring reasons...
Unless you are constructing your own tools, other tools such as tcpdump(8) or nmap do this automatically. Unless you have other reasons, perhaps it is worth looking through what third-party applications are already available in packages & ports. The following third-party site tracks what OpenBSD has available:

http://openports.se/net
Reply With Quote
  #5   (View Single Post)  
Old 31st July 2008
kardon33 kardon33 is offline
New User
 
Join Date: Jul 2008
Posts: 2
Default

Thanks all for the replies,

Quote:
Originally Posted by ocicat View Post
Unless you are constructing your own tools, other tools such as tcpdump(8) or nmap do this automatically. Unless you have other reasons....

My objective is to just set my NIC into promiscuous mode so for any program I use I will have that stetting, I dont even know if that's possible. If it isnt I will be needing a way to set it in that mode in C so my program I am writing will work right.
Reply With Quote
Reply

Tags
promiscuous mode

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
Freebsd Ath0 mode monitor mateusrico FreeBSD General 3 8th April 2009 09:34 AM
wlan -> monitor mode ccc FreeBSD Security 2 4th November 2008 09:19 PM
How to check CPU state in non-interactive mode? bsddaemon FreeBSD General 2 18th October 2008 04:50 PM
playing songs in text mode rex FreeBSD General 4 27th August 2008 08:48 PM
Does this wireless NIC support hostap-mode? Seb74 FreeBSD General 22 27th June 2008 12:46 PM


All times are GMT. The time now is 03:17 PM.


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