Find Jobs
Hire Freelancers

Develope simple perl script with some shell and tcp-communication

$150-250 USD

Complété
Publié il y a environ 8 ans

$150-250 USD

Payé lors de la livraison
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).
N° de projet : 9817676

Concernant le projet

3 propositions
Projet à distance
Actif à il y a 8 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
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 en 3 jours
5,0 (4 commentaires)
3,5
3,5
3 freelances proposent en moyenne $222 USD pour ce travail
Avatar de l'utilisateur
Hello! I have the required skills to do this task and to meet your requirements( daemon, which periodically send data over TCP)
$222 USD en 7 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de NORWAY
OSLO, Norway
5,0
75
Méthode de paiement vérifiée
Membre depuis juin 14, 2002

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.