Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding a Renegade DHCP Server



On a mac, you can do:
    ipconfig getpacket en1
look for the "server_identifier" line.

On Aug 26, 2005, at 4:16 PM, Dan Shoop wrote:

At 4:31 PM +0200 8/26/05, âern˜ Robert wrote:

use nmap to scan for dhcp port on affected network range.

Except that DHCP is not a TCP service and hence has no port that's open ;)

We've replaced Dan's regular cup of coffee with new Folgers Crystals with UDP support. Let's see if he notices:


# nmap  -sU 10.1.240.1-2 -p 67-68

Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2005-08-27 12:34 EDT
Interesting ports on yyy.xxx.xxxxx.xxx (10.1.240.1):
PORT STATE SERVICE
67/udp closed dhcpserver
68/udp closed dhcpclient
MAC Address: 00:03:93:F3:25:54 (Apple Computer)


Interesting ports on xxx.xxx.xxxxx.xxx (10.1.240.2):
PORT   STATE SERVICE
67/udp open  dhcpserver
68/udp open  dhcpclient
MAC Address: 00:0F:F3:7a:B2:14 (Cisco Systems)

Nmap run completed -- 2 IP addresses (2 hosts up) scanned in 11.863 seconds

Seems like the .1 machine isn't running a DHCP server, but the .2 machine is (which is accurate).

Tom

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden


This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.