Re: Review of fierce

2020-04-12 Thread Eriberto
Em dom., 12 de abr. de 2020 às 06:38, Marcos Fouces
 escreveu:
>
> El dom, 12-04-2020 a las 01:13 -0300, Eriberto Mota escribió:
> >
> > 2. debian/copyright
> >
> > - Where I can find the year 2007 for RSnake?
>
> It is in the original upstream release. This author don't maintain this
> tool, but you can see this date on some forks like this:
>
> *
> https://raw.githubusercontent.com/davidpepper/fierce-domain-scanner/master/fierce.pl
>
> Also in the Kali repo:
>
> *
> https://gitlab.com/kalilinux/packages/fierce/-/blob/kali/master/fierce.pl
>
> It is important to note that the current package is a complete rewrite.
> The original source is Perl code while this one is written in Python


Please, add a Comment field to help the FTP-Masters and to guide other
packagers in the future.


> > - Please, use the texts from /usr/share/debhelper/dh_make/licenses
> > for
> > license texts. Currently, neither Debian nor FSF uses street
> > addresses[2].
> >
> > [2] https://www.gnu.org/licenses/gpl-3.0.en.html
> >
> > - In GPL-3 the text must be changed to remove the reference for
> > "later version".
> >
> > - Only to remember, the GPL-3 license text is pointing to GPL-2.
>
> Done.


Not ready. ;-)

- The GPL-3 text remains saying about "any later version" but the
license is not GPL-3+.
- The GPL-2+ text was not updated yet,


> > - (optional) Is a good idea put the license texts after all blocks to
> > make easier the conference of data. It is good for sponsors and
> > FTP-Masters.
>
> I believe that is already done.

What I really meant was put the full license texts (for GPL-3 and
GPL2+) after the end of the block "Files: debian/*". It is to make
easier the view. Also, please, put the copyright years/names for
"Files: *" in chronological order, aligning the names vertically.
Please see an example here[10].

[10] 
https://salsa.debian.org/pkg-security-team/nbtscan/-/blob/debian/master/debian/copyright

Thank you.

Eriberto



Re: small patch for arno

2020-04-12 Thread Sven Geuer
Hello Julia,

thank you for your email. Would you mind to open a bug against arno-
iptables-firewall containing the very same text you sent to me? This
would help to trigger the processes the Debian project has in place to
track and solve issues.

To open the bug please email to sub...@bugs.debian.org with adescriptive 
subject and a body as follows  

  Package: arno-iptables-firewall
  Version: 2.1.0-2

  

Please refer to [1] for more details and other methods of how to report
bugs in Debian.

Thanks,
Sven

[1] https://www.debian.org/Bugs/Reporting

Am Freitag, den 10.04.2020, 19:48 + schrieb Julia Longtin:
> 90-rpc.plugin does not see carriage return as a line break when
> running
> rpcinfo -p |awk "/tcp.*$service/"' { print $4 }' |uniq
> 
> this causes arno to fail to start if you have NFS services, and have
> turned
> this plugin on.
> 
> --- 90rpc.plugin~   2020-01-03 10:38:03.0 +
> +++ 90rpc.plugin2020-04-10 20:34:11.124131255 +0100
> @@ -38,7 +38,7 @@
> 
>echo "${INDENT}Enabling RPC service(s) $RPC_SERVICES for net(s)
> $RPC_NETS"
> 
> -  IFS=' ,'
> +  IFS=$" ,\n"
>for service in $RPC_SERVICES; do
>  ports="$(rpcinfo -p |awk "/tcp.*$service/"' { print $4 }'
> |uniq)"
>  echo "${INDENT}Adding TCP ports $ports for RPC service $service"
> 
> fixes it.


signature.asc
Description: This is a digitally signed message part


Re: Review of fierce

2020-04-12 Thread Marcos Fouces
El dom, 12-04-2020 a las 01:13 -0300, Eriberto Mota escribió:
> Hi Marcos,
> 
> I will review fierce now. I will use the package currently in Salsa.
> 
> 1. debian/control:
> 
> - The package should use the Section "net", not "utils". Please, see
> here[1].
> 
> [1] https://packages.debian.org/unstable/

IMHO, this package also fits in "utils" section. Anyway, it is changed
now.
> 
> - The Build-Depends line is very long. Please, run wrap-and-sort
> command in upstream place or break the lines by hand.

Done.
> 
> - (optional): I suggest put a point before the paragraph starting
> with
> "Because it uses" to create two distincts paragraphs.

Done.

> 
> 
> 2. debian/copyright
> 
> - Where I can find the year 2007 for RSnake?

It is in the original upstream release. This author don't maintain this
tool, but you can see this date on some forks like this:

* 
https://raw.githubusercontent.com/davidpepper/fierce-domain-scanner/master/fierce.pl

Also in the Kali repo:

* 
https://gitlab.com/kalilinux/packages/fierce/-/blob/kali/master/fierce.pl

It is important to note that the current package is a complete rewrite.
The original source is Perl code while this one is written in Python

> 
> - Please, use the texts from /usr/share/debhelper/dh_make/licenses
> for
> license texts. Currently, neither Debian nor FSF uses street
> addresses[2].
> 
> [2] https://www.gnu.org/licenses/gpl-3.0.en.html
> 
> - In GPL-3 the text must be changed to remove the reference for
> "later version".
> 
> - Only to remember, the GPL-3 license text is pointing to GPL-2.

Done.

> 
> - (optional) Is a good idea put the license texts after all blocks to
> make easier the conference of data. It is good for sponsors and
> FTP-Masters.

I believe that is already done.
> 
> 3. debian/fierce.1
> 
> - (optional) Is a common practice in Debian put a section AUTHORS
> saying the manpage can be used by others. Please, see here an
> example[3].
> 
> [3] 
> https://salsa.debian.org/pkg-security-team/chaosreader/-/blob/debian/master/debian/manpage/chaosreader.1
> 
I did it with another tools i maintain but i decided not to do it
anymore. 

I just formated a bit the "--help" output and i believe that this is
not deserve this credit. Maybe if i write a good manpage.

> 
> 4.  The package doesn't build twice. I can see:
> 
> dpkg-source: info: local changes detected, the modified files are:
>  fierce/fierce.egg-info/PKG-INFO
>  fierce/fierce.egg-info/SOURCES.txt
>  fierce/fierce.egg-info/dependency_links.txt
>  fierce/fierce.egg-info/entry_points.txt
>  fierce/fierce.egg-info/requires.txt
>  fierce/fierce.egg-info/top_level.txt
> 
> Please, create a debian/clean file with the following content:
> 
> fierce.egg-info/*

Done. I added it in d/rules instead.
> 
> 
> 5. (optional) Is a good idea include a basic CI test
> (debian/tests/control). I can help you, if needed / if you want a
> test.

I need some time to write it. I prefer to do it for next release.


> 6. The README.md file has several interesting examples of use. Can
> you
> add this file to the package or transcript the examples to manpage?

Done. I transcripted the examples to manpage as README file contains no
more useful info.
> 
> Thanks a lot for your work!

Thanks for your time and advice!
> 
> Cheers,
> 
> Eriberto