James Willmore said:
On 29 Oct 2003 05:32:35 -0800
Not sure. Try using 'ppm' to 'search' for a DHCP module.
I found one in the news.
----------------------------
From: "nudnav" <
[email protected]>
Newsgroups: comp.lang.perl.modules
Subject: ANNOUNCE: Net-DHCP-Packet v0.1
Lines: 137
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Message-ID: <
[email protected]>
Date: Sat, 15 Dec 2001 16:10:46 GMT
NNTP-Posting-Host: 213.224.170.139
X-Complaints-To: (e-mail address removed)
X-Trace: afrodite.telenet-ops.be 1008432646 213.224.170.139 (Sat, 15
Dec 2001 17:10:46 MET)
NNTP-Posting-Date: Sat, 15 Dec 2001 17:10:46 MET
Organization: Telenet Internet
The uploaded file
Net-DHCP-Packet-0.1.tar.gz
has entered CPAN as
file: $CPAN/authors/id/F/FV/FVANDUN/Net-DHCP-Packet-0.1.tar.gz
size: 5661 bytes
----------------------------
But I'm not shure wether it works with my Active State Perl
Answer to "perl -v" is
"This is perl, version 5.005_03 built for MSWin32-x86-object ......."
Huh? That's a very difficult task to perform. The MAC address is a
hardware address. So, you _could_ use different NIC's to change the
MAC address - but that's not practical
I'm thinking that you _could_ do it in Perl, but it's a very difficult
task.
What is it you're trying to test?
Simply I want to prove whether a DHCP request for a specific Client PC
- and that isn't actually my PC - gets the right answer from the
Server.
Therefore I have to fake the MAC Address of the Client.
… But if I think about that … obviously the answer to that request
would get lost, because although my scanning PC has a different MAC
than the client to fake it would never listen to the answer, right ??
In that case I have to change to the promiscuous mode of a ‘sniffer'
with perl and filter the right packets for the faked client. That
might be the main problem. :-/
May perl be mighty to do that ??
..pl