Find Jobs
Hire Freelancers

Develope simple perl script with some shell and tcp-communication

$150-250 USD

Completed
Posted about 8 years ago

$150-250 USD

Paid on delivery
I want to have developed a short and sweet perl script that gathers and submit local LAN IP-addresses to a central server over tcp. Perl-script should run with regular intervalls set in a config file. In addition, it shall also include running services (ports) and mac for these IPs. 1. Gather data. 2. Submit these data over tcp. 1. Gather data (run as a service would be prefered, at intervalls) Run "arp-scan --quiet --interface=eth0 --localnet" (this gets all IP-addresses/mac on local network). Run "nmap" on each of these ip-addresses (get ALL running services for every IP detected above). Other ways to find IP/services that is fast/easy can also be considered, but it must be easly supported. 2. Send data to a master server Since it can be up to 512 IPs with port-data, you must find best way to limit or divide data if it goes over any sending limits. I think, by using $_POST, that it will not be a problem, but.. Before you send the data (one one big submit to a URL you will get from me) or even start scanning locally, your script must check if it has permission from the master server (reciver) to send over the data. If not permission, the script should disable it self (disable by setting flag scan=0 in [login to view URL]). Two files: 1. [login to view URL] (arp-scan, nmap, communucation-code) 2. [login to view URL] (enable=0, code=f4347F738FN,server=[login to view URL], interval=20m) The perl-script (or even bash-script) must check that it has everything it needs (like sockets, nmap and arp-scan) so that any errors can be detected and solved fast. I want short short code, few files (two) and no big library or seperate helper classes. Should work with very few tweaks on client system. At least Centos (6 and 7) must be supported on the client system. Communication over secure channels (https or similar).
Project ID: 9817676

About the project

3 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi there, Have done similar thing, but with python and was collecting data on localhosts only. However, can do similar to scan hosts in LAN, no problems. The question will be to format the sending data you mention you want it via HTTP(S), looks like the SOAP will be a good approach in this case, it'll give you good chance to have properly structured data (predefined XML) on server side. Python would be my preference in terms of implementation, but bash and perl are also OK cheers.
$222 USD in 3 days
5.0 (4 reviews)
3.5
3.5
3 freelancers are bidding on average $222 USD for this job
User Avatar
Hello! I have the required skills to do this task and to meet your requirements( daemon, which periodically send data over TCP)
$222 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of NORWAY
OSLO, Norway
5.0
75
Payment method verified
Member since Jun 14, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.