Đang Thực Hiện

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

Kỹ năng: Lập trình C, Phần mềm cài sẵn, Linux, Shell Script, Quản trị hệ thống

Xem thêm: 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

Về Bên Thuê:
( 53 nhận xét ) Fentange, Germany

Mã Dự Án: #1056963

Đã trao cho:

argento

Hi, please check PMB. Thanks.

$100 USD trong 7 ngày
(17 Đánh Giá)
4.5

5 freelancer đang chào giá trung bình $52 cho công việc này

gasparch

Please see PM

$49 USD trong 2 ngày
(28 Đánh Giá)
5.3
brND

I can do this in time

$30 USD trong 2 ngày
(18 Đánh Giá)
4.6
uldisp

Please see PMB

$40 USD trong 1 ngày
(2 Đánh Giá)
1.0
coding4passion

Lets do this.

$40 USD trong 1 ngày
(0 Đánh Giá)
0.0