public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Matthias Fischer <matthias.fischer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: IPCop Banish Addon for IPFire
Date: Mon, 07 Jan 2019 15:48:58 +0100	[thread overview]
Message-ID: <2c5fe15a-a98f-8778-fb8c-5b84d09ab7ae@ipfire.org> (raw)
In-Reply-To: <q0vh8u$hiq$1@tuscan3.grantura.co.uk>

[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]

Hi,

On 07.01.2019 13:38, Bob Brewer wrote:
> Bob Brewer wrote:
> 
>> Matthias Fischer wrote:
>>> ...
>>> But the install script has a problem:

>>> ...

>> Ahhh... I made a late change to the init system and thought I had tested
>> it out ok on my test system here before I uploaded it.
>> 
>> Thank you for the feedback, I'll create a corrected 0.2 version and upload
>> it to github.
>> 
> 
> Looking closer line 170 should have been:
> 
>  /bin/cp -p Banish/etc/rc.d/init.d/rc.banish /etc/rc.d/init.d/rc.banish
> 
> then the symlinks would be OK
> ...

Some findings:

1. For keeping the "naming conventions" in '/etc/init.d', I'd suggest to
name this script just 'banish', not 'rc.banish'. This way it can be
found more easily. Every other script in this dir is named accordingly
to the program its starting/stopping...

2. With '1.0.2', installation throws no errors anymore, but I can't add
any IP-Addresses. List stays empty. And everytime 'BanishGeo.cgi' is
opened, '/var/log/httpd/error_log' says:

***SNIP***
...
Usage: host [-aCdilrTvVw] [-c class] [-N ndots] [-t type] [-W time]
            [-R number] [-m flag] hostname [server]
       -a is equivalent to -v -t ANY
       -c specifies query class for non-IN data
       -C compares SOA records on authoritative nameservers
       -d is equivalent to -v
       -i IP6.INT reverse lookups
       -l lists all hosts in a domain, using AXFR
       -m set memory debugging flag (trace|record|usage)
       -N changes the number of dots allowed before root lookup is done
       -r disables recursive processing
       -R specifies number of retries for UDP packets
       -s a SERVFAIL response should stop query
       -t specifies the query type
       -T enables TCP/IP mode
       -v enables verbose output
       -V print version number and exit
       -w specifies to wait forever for a reply
       -W specifies how long to wait for a reply
       -4 use IPv4 query transport only
       -6 use IPv6 query transport only
...
***SNAP**

It seems there are some syntax errors in 'BanishGeo.cgi' (line 773!?).

3. $Lang::tr{'apply'} - used in 'BanishGeo.cgi' line 232 - is missing in
the language-files.

4. Uninstaller didn't remove '/var/ipfire/menu.d/EX-banish.menu' and
'EX-Banishlog.menu'. They're not shown anymore, but files are still there.

5. None of the given URLs is working here:
http://wiki.sidsolutions.net/ => "Can't be found".
http://banish.sidsolutions.net
is redirected to
ww2.banish.sidsolutions.net => no answer...

HTH,
Matthias

  reply	other threads:[~2019-01-07 14:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-06 18:12 Bob Brewer
2019-01-07  7:39 ` Daniel Weismüller
2019-01-07 10:07   ` Bob Brewer
2019-01-07 12:17     ` Daniel Weismüller
2019-01-07 14:36       ` Bob Brewer
2019-01-07 12:13 ` Matthias Fischer
2019-01-07 12:26   ` Bob Brewer
2019-01-07 12:38     ` Bob Brewer
2019-01-07 14:48       ` Matthias Fischer [this message]
2019-01-07 19:28         ` Bob Brewer
2019-01-07 21:13           ` Matthias Fischer
2019-01-08 16:42             ` Bob Brewer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c5fe15a-a98f-8778-fb8c-5b84d09ab7ae@ipfire.org \
    --to=matthias.fischer@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox