Find Jobs
Hire Freelancers

Develope simple perl script with some shell and tcp-communication

$150-250 USD

Ukończony
Opublikowano około 8 lat temu

$150-250 USD

Płatne przy odbiorze
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).
Identyfikator projektu: 9817676

Informację o projekcie

3 ofert
Zdalny projekt
Aktywny 8 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
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 w 3 dni
5,0 (4 opinii)
3,5
3,5
3 freelancerzy składają oferty o średniej wysokości $222 USD dla tej pracy
Awatar Użytkownika
Hello! I have the required skills to do this task and to meet your requirements( daemon, which periodically send data over TCP)
$222 USD w 7 dni
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga NORWAY
OSLO, Norway
5,0
75
Zweryfikowana metoda płatności
Członek od cze 14, 2002

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.