Find Jobs
Hire Freelancers

Fix IPTables IP authentication based PHP Script bug

$10-30 USD

Kapalı
İlan edilme: 6 yıldan fazla önce

$10-30 USD

Teslimde ödenir
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
Proje No: 16120125

Proje hakkında

4 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 6 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
4 freelancer bu proje için ortalama $44 USD teklif veriyor
Kullanıcı Avatarı
Hi, can you share your php/shell script to check it, also your linux distro and version Thanks David
$111 USD 1 gün içinde
5,0 (19 değerlendirme)
5,7
5,7
Kullanıcı Avatarı
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 gün içinde
5,0 (8 değerlendirme)
4,6
4,6
Kullanıcı Avatarı
Hello Client, I would like to discuss with you more details, please come on chat for more info; Thanks Best Regards
$25 USD 3 gün içinde
4,3 (24 değerlendirme)
3,9
3,9
Kullanıcı Avatarı
A proposal has not yet been provided
$15 USD 3 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   CANADA bayrağı
Darmstadt, Canada
4,9
161
Ödeme yöntemi onaylandı
Mar 16, 2011 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.