In Progress

Perl-Script, handling iptables, to be modifed

An existing Perl script has to be modified.

Actually, the script reads a sequential text-file, containing IPs, and specifies some rules for iptables, using the IPs from the file. The actual script is run only once.

This behaviour has to be changed the following way:

- A sequential text-file, containing the list of IPs, is not to be used any more.

- Instead, in the config-file for the new script "[url removed, login to view]", called "[url removed, login to view]", a list of variable length, containing the paths to various directories have to be specified, which must to be searched for the IPs to be processed.

- Within the specified directories, there exist files with the exact names of the IPs to be processed, like "[url removed, login to view]".

But there might be other files, too, not obeying the syntax of an IP. These files have to be ignored.

- The new script "[url removed, login to view]" needs to run like a daemon, to be started only once, with the cycle time to repeat the complete processing.

For example, to be started like "[url removed, login to view] --cycle=n", with "n" as the cycle time in seconds.

- The new script has to store its PID in "/var/run" in "[url removed, login to view]"

All the other functionality has to be taken from th existing script,

which will be provided to qualified bidder to refine their bids.

Skills: Linux, Perl

See more: iptables perl script, perl iptables script, iptables using perl script, perl script iptables, perl iptables, perl linux, iptables, behaviour, run script linux, perl text processing, perl script file, perl linux daemon, script text processing, perl update file, sequential, script needs modified, file handling, linux perl script, linux script seconds, perl script file handling, perl script text, config file perl, linux script run, perl daemon, reinerotto

About the Employer:
( 36 reviews ) Marl, Germany

Project ID: #1127450

Awarded to:

brND

I can do this

$70 USD in 4 days
(20 Reviews)
4.7

7 freelancers are bidding on average $63 for this job

gangabass

I can do this for you. See PM for details.

$30 USD in 1 day
(140 Reviews)
5.9
srinichal

I can make the changes as required

$120 USD in 3 days
(32 Reviews)
5.7
tuxadmin

Hi, please see my profile for my Perl & iptables skills. Thank you.

$100 USD in 7 days
(28 Reviews)
5.4
sunblink

Can do this in to 2-3 hours.

$50 USD in 0 days
(4 Reviews)
3.4
erozaxx

Hello, I have vast experience with scripting in Perl aimed on OSS/BSS integration and your needs are exactly from that area. I can start immediately and three days approximation is just a safe-date estimation. I think More

$40 USD in 3 days
(0 Reviews)
0.0
excellsoftware

I am enough confident of doing it.............

$30 USD in 2 days
(0 Reviews)
0.0