En cours

Bash script sending DHCP messages via netcat

Hi,

I need a small bash script that sends raw DHCP-RELEASE messages to a certain DHCP server using netcat (nc).

As arguments the script shall take the network the netmask and the server and an IP to exclude.

E.g.:

./dchp_release <NETWORK> <NETMASK> <DHCP-SERVER> <EXCLUDE>

./dhcp_release 192.168.0.0 255.255.255.0 192.168.0.1 [url removed, login to view]

For all IPs defined by <NETWORK> and <NETMASK> with exception of <EXCLUDE> a DHCP-RELEASE message shall be send to <DHCP-SERVER>. Please see RFC and wireshark how to construct such a message. The client identifier shall be left empty in this scenario.

After messages for all IPs are send the script shall sleep 30 seconds and start again.

Please state in your bid or personal message what experience you have with bash scripting and dhcp.

Looking forward to your bid.

Best regards,

Sebastian

Compétences : Programmation C, Logiciels Embarqués, Linux, Script Shell, Administration Système

Voir plus : netcat dhcp, dhcp netcat, netcat send dhcp, bash script dhcp, sending dhcp, send messages via netcat, dhcp bash script, netcat dhcp client, netcat send message server, dhcp server netcat, bash dhcp, dhcp bash, bash send dhcp, netcat dhcp server, netcat dhcp release, sending dhcp messages, sleep programming, script programming, nc programming, bash release dhcp, netcat bash script, netcat dhcp script, netcat script server, send script dhcp, scripting netcat

Concernant l'employeur :
( 53 commentaires ) Fentange, Germany

N° du projet : #1056963

Décerné à :

argento

Hi, please check PMB. Thanks.

100 $ USD en 7 jours
(17 Commentaires)
4.5

5 freelance ont fait une offre moyenne de 52 $ pour ce travail

gasparch

Please see PM

49 $ USD en 2 jours
(28 Commentaires)
5.3
brND

I can do this in time

30 $ USD en 2 jours
(18 Commentaires)
4.6
uldisp

Please see PMB

40 $ USD en 1 jour
(2 Commentaires)
1.0
coding4passion

Lets do this.

40 $ USD en 1 jour
(0 Commentaires)
0.0