|
#1
| ||||
| ||||
| lack of promiscuity (in network interface) i'm sitting here with EtherPeek and ethereal, wondering how to set myself into promiscuous mode. Curiously this procedure is absent from the built in man pages, so I applied the standard procedure to no result. ifconfig en0 promisc ifconfig en0 192.168.1.x promisc both return: ifconfig: promisc: bad value any help is well appreciated, thankyou |
|
#2
| |||
| |||
| you dont. First off, only root can put the interface into promis. mode. Second, as I recall, you can only do it via the C API which ethereal will do. So, su to root and launch the tool. Or, if you like to live dangerously and you're the only user of the machine, suid the binary. |
|
#3
| ||||
| ||||
| ack (no pun intended) i kind of wanted to know what the actual call in the C API or wherever is... looks like i have a bit of source code digging to do! thankyou
__________________ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! |
|
#4
| |||
| |||
| well, try examining the source code for your favorite packet sniffer or check the Steven's book. you essentially need the IFF_PROMISC flag sent to the interface via ioctl. see 'man netintro' |
|
#5
| ||||
| ||||
| thanks thanks again, time to get reading!
__________________ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! |
![]() |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Firewire appears as a network port | bookem | Mac OS X System & Mac Software | 6 | October 16th, 2003 06:28 AM |
| windows network + wireless router = unable to browse school network? | diddy | Networking & Compatibility | 2 | May 1st, 2003 02:00 PM |
| USB as network interface | LordCoven | Unix & X11 | 4 | June 24th, 2002 04:13 PM |
| DSL, OS X, and PC network problem | ~vert | Mac OS X System & Mac Software | 6 | October 15th, 2001 01:19 PM |
| Setting network interface speed ? | otto | Mac OS X System & Mac Software | 1 | October 4th, 2001 02:26 PM |