In Progress

Streamline and modify PERL code

I have some Perl scripts modified myself already a little bit,

which are used to analyze the log file of a proxy, and to limit the traffic based on userid or IP.

However, I need some help to streamline and to modify this code even more.

Necessary simplification of existing code:

The actual code allows limits both on traffic and on (approximated) time spent online. All code regarding time spent should be removed.

Additionally, the actual code stores a lot of historical traffic data. This can also be drastically reduced.

Only historical data, relevant for the traffic limits and the period of time, the limits are applied to, needs to be kept.

Additions to actual code:

When the time period of the traffic limit expires, relevant historical data should be purged.

The PERL code to analyze the log runs periodically, and "remembers" the last log line processed. The actual strategy, to read and skip these lines for processing

during next run, is not efficient for long log files. This should be modified to store a pointer within the file instead.

However, there might be a new, but empty log file.

Attached you find the actual code.

I will provide old log files for basic testing and can participate in final test, to keep the budget low for this project.

Skills: Perl

See more: streamline perl, run code online, find perl, find code, code line, code store online, help modify, code test, little code, code read, need code help, testing perl, read code, perl log, traffic log, attached find files project, lines code, files modify, code testing, perl online, online store traffic, strategy code, read existing code, historical data, line code

About the Employer:
( 36 reviews ) Marl, Germany

Project ID: #2524817

Awarded to:

kyrmit

Hi, thank you for letting me bid on your "Streamline and modify PERL code" project.

$80 USD in 3 days
(0 Reviews)
1.8

3 freelancers are bidding on average $143 for this job

PerlIsFun

Maybe you have some preferences about which Perl to use ? On which platform ? Maybe the logfile[s] can have different formats, depending on Squid version and user preferences ? I had a glimpse on the code and it looks More

$149 USD in 5 days
(10 Reviews)
4.1
hddh

I can do it.

$200 USD in 3 days
(3 Reviews)
3.4
keiespro

I can help you.

$150 USD in 3 days
(0 Reviews)
0.0