Find Jobs
Hire Freelancers

Fix IPTables IP authentication based PHP Script bug

$10-30 USD

Закрито
Опублікований over 6 years ago

$10-30 USD

Оплачується при отриманні
I have a PHP front-end script that allows me to add authorized IP and expire date via IPtables. For example, if i want Iptables to allow this IP [login to view URL] to have access to the server , I would add this IP using the PHP script. The PHP script then adds the IP and the expiry date (unix time e.g 1 month from today would be: 1519510914) to the Iptables. The script works but sometimes, I have noticed that some IPs added just get removed before the expiry date. Am not sure if this a bug or scripting bug from the PHP or issue with the Iptables. I need a experienced Linux admin with PHP to fix this and make the script very reliable and stable. Only serious bidders only.... Thanks
ID проекту: 16120125

Про проект

4 пропозицій(-ї)
Дистанційний проект
Активність 6 yrs ago

Хочете заробити?

Переваги подання заявок на Freelancer

Вкажіть свій бюджет та терміни
Отримайте гроші за свою роботу
Опишіть свою пропозицію
Реєстрація та подання заявок у проекти є безкоштовними
4 фрілансерів(-и) готові виконати цю роботу у середньому за $44 USD
Аватарка користувача
Hi, can you share your php/shell script to check it, also your linux distro and version Thanks David
$111 USD за 1 день
5,0 (19 відгуки(-ів))
5,7
5,7
Аватарка користувача
Hi. There could be multiple causes for the rules being removed prematurely. If no mechanism is being used to save and restore the chain rules, for example, then any changes will be lost when the system is rebooted or iptables is restarted. Is an ancillary data store - e.g. an SQL database or CSV file - being used to store a list of the IP addresses and expiry dates? Or is the expiry date being stored in the firewall rule itself - e.g. using the 'time' IPtables extension? Rules which use the 'time' match extension (with --datestart and --datestop parameters) are not automatically removed when 'datestop' is passed, so the PHP script would have to be selectively removing them. It may be that the script is not examining or reading these rules correctly. You mention timestamps in the UNIX epoch format, for example, but iptables typically accepts and shows the timestamps in YYYY-MM-DDTHH:MM:SS form. How soon before the expiry date are the rules being removed? Timezones may also be an issue - depending on the time-frames involved and how accurate the timing needs to be. Is a CRON job being used to trigger the PHP script? I am based in Ireland - so my operating hours are a bit different to those in Canada.
$25 USD за 2 дні(-в)
5,0 (8 відгуки(-ів))
4,6
4,6
Аватарка користувача
Hello Client, I would like to discuss with you more details, please come on chat for more info; Thanks Best Regards
$25 USD за 3 дні(-в)
4,3 (24 відгуки(-ів))
3,9
3,9
Аватарка користувача
A proposal has not yet been provided
$15 USD за 3 дні(-в)
0,0 (0 відгуки(-ів))
0,0
0,0

Про клієнта

Прапор CANADA
Darmstadt, Canada
4,9
161
Спосіб оплати верифіковано
На сайті з бер. 16, 2011

Верифікація клієнта

Дякуємо! Ми надіслали на вашу електронну пошту посилання для отримання безкоштовного кредиту.
Під час надсилання електронного листа сталася помилка. Будь ласка, спробуйте ще раз.
Зареєстрованих користувачів Загальна кількість опублікованих робіт
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Завантажуємо для перегляду
Дозвіл на визначення геолокації надано.
Ваш сеанс входу закінчився, і сеанс було закрито. Будь ласка, увійдіть знову.