From gwbrown1 at gmail.com  Wed Apr  4 15:04:37 2012
From: gwbrown1 at gmail.com (Greg Brown)
Date: Wed, 4 Apr 2012 15:04:37 -0400
Subject: [Trilug-ontopic] nmap::scanner, perl and os matching
Message-ID: <CAB+J3A+B37rbtFUybKgwZK=W_L1Zza8P8MmDj3t4PQmjH1625A@mail.gmail.com>

I'm scratching my head on this one.  Is anyone using perl and nmap::scanner
along with guess_os() (a supposed built-in function)?  Here is a code
snippet:

  my $scan = Nmap::Scanner->new();

  $scan->tcp_syn_scan();
  $scan->add_scan_port('1-1024');
  # $scan->guess_os();
  $scan->add_target($address);

  my $results = $scan->scan();

  my $hosts = $results->get_host_list();

  # $os = $results->guess_os();

If I uncomment just $scan->guess_os() the script breaks about 3/4 of the
time with errors such as:

<nmap-error>
  <pid="29819"/>
  <cmdline="'/usr/bin/nmap' -v -v -v -sS -p 1-1024 -O  -oX -
10.239.237.135"/>
  <nmap-err>WARNING:  OS didn't match until try #2
</nmap-msg>
</nmap-error>

On the times it does work the BEST I'm able to do is get some kind of
binary returned instead of the OS matches.

Any ideas?

Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.trilug.org/pipermail/trilug-ontopic/attachments/20120404/4b843623/attachment.html>

From alexeyt at freeshell.org  Wed Apr  4 16:14:57 2012
From: alexeyt at freeshell.org (Alexey Toptygin)
Date: Wed, 4 Apr 2012 20:14:57 +0000 (UTC)
Subject: [Trilug-ontopic] nmap::scanner, perl and os matching
In-Reply-To: <CAB+J3A+B37rbtFUybKgwZK=W_L1Zza8P8MmDj3t4PQmjH1625A@mail.gmail.com>
References: <CAB+J3A+B37rbtFUybKgwZK=W_L1Zza8P8MmDj3t4PQmjH1625A@mail.gmail.com>
Message-ID: <Pine.NEB.4.64.1204042013010.9331@miku.sdf.org>

On Wed, 4 Apr 2012, Greg Brown wrote:

> I'm scratching my head on this one.  Is anyone using perl and nmap::scanner
> along with guess_os() (a supposed built-in function)?  Here is a code
> snippet:
>
>  my $scan = Nmap::Scanner->new();
>
>  $scan->tcp_syn_scan();
>  $scan->add_scan_port('1-1024');
>  # $scan->guess_os();
>  $scan->add_target($address);
>
>  my $results = $scan->scan();
>
>  my $hosts = $results->get_host_list();
>
>  # $os = $results->guess_os();
>
> If I uncomment just $scan->guess_os() the script breaks about 3/4 of the
> time with errors such as:
>
> <nmap-error>
>  <pid="29819"/>
>  <cmdline="'/usr/bin/nmap' -v -v -v -sS -p 1-1024 -O  -oX -
> 10.239.237.135"/>
>  <nmap-err>WARNING:  OS didn't match until try #2
> </nmap-msg>
> </nmap-error>
>
> On the times it does work the BEST I'm able to do is get some kind of
> binary returned instead of the OS matches.
>
> Any ideas?

What version of nmap do you have installed, and what is the OS on the 
machine you're testing against? If nmap can't tell what the OS is on the 
target it outputs a blob of data that you can submit to the nmap 
developers along with a description if the machine you got it from in 
order to add a new OS fingerprint, maybe that's the 'binary' that you're 
seeing?

 			Alxey

From Tom_Roche at pobox.com  Thu Apr 12 15:33:42 2012
From: Tom_Roche at pobox.com (Tom Roche)
Date: Thu, 12 Apr 2012 15:33:42 -0400
Subject: [Trilug-ontopic] list linux printers by rating?
Message-ID: <87fwc8rbhl.fsf@pobox.com>


Is there a way to view linux printer evaluations (ratings, reviews,
comparisons, whatever) *by rating* (e.g., high to low)? Why I ask:

My old MFP (scanner, printer, copier) is getting flaky, so I'd like to
replace it. My GF (who also runs mint) wants a cheap laser. I don't
particularly care about the brand (though my old prejudice is for HP--
do they still generally have the best linux support?) I just want
something that works Out Of The Box with minimal fiddling. (And is
reasonably cheap both up-front and per-page--I am a cheap @#$%^&!)

I went to linuxprinting.org hoping to list their reviews by rating
(i.e., show me all the printers with 3-penguin, everything-works
reviews), but I could not make their UI do that. Is there a site or
resource that will list printers in order of their linux compatibility?

TIA, Tom Roche <Tom_Roche at pobox.com>

From gwbrown1 at gmail.com  Wed Apr 25 15:22:37 2012
From: gwbrown1 at gmail.com (Greg Brown)
Date: Wed, 25 Apr 2012 15:22:37 -0400
Subject: [Trilug-ontopic] apt-get broken again on my debian box
Message-ID: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>

When I try to run apt-get I get the following errors (where it had been
working previously):

debian:/etc/apt# apt-get install php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  php5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1078B of archives.
After this operation, 20.5kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  php5
Install these packages without verification [y/N]? y
Err http://security.debian.org lenny/updates/main php5
5.2.6.dfsg.1-1+lenny16
  404 Not Found
Failed to fetch
http://security.debian.org/pool/updates/main/p/php5/php5_5.2.6.dfsg.1-1+lenny16_all.deb
404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
(fix-missing does nothing to fix this)

my sources file is:

debian:/etc/apt# cat sources.list
#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################
###### Debian Main Repos
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib
###### Debian Update Repos
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ lenny-proposed-updates main contrib
non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny-proposed-updates main
contrib non-free
##############################################################
##################### UNOFFICIAL  REPOS ######################
##############################################################
###### 3rd Party Binary Repos
#### Google Linux Software Repositories - http://www.google.com
## Run this command: wget -q -O -
https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free main


Does anyone running debian see any obvious red flags?  I question why this
was working just a matter of weeks ago and it's broken now.

Any thoughts or direction would be greatly appreciated.

Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.trilug.org/pipermail/trilug-ontopic/attachments/20120425/a5e11572/attachment.html>

From jackhill at jackhill.us  Wed Apr 25 15:38:22 2012
From: jackhill at jackhill.us (Jack Hill)
Date: Wed, 25 Apr 2012 15:38:22 -0400
Subject: [Trilug-ontopic] apt-get broken again on my debian box
In-Reply-To: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>
References: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>
Message-ID: <20120425153822.30cdb9a2@pocket-time.jackhill.us>

On Wed, 25 Apr 2012 15:22:37 -0400
Greg Brown <gwbrown1 at gmail.com> wrote:
>
> Err http://security.debian.org lenny/updates/main php5
> 5.2.6.dfsg.1-1+lenny16
>   404 Not Found

The problem is that lenny has been EOLed, so its packages are not
available in the regular archive anymore. They should still be
available on archive.debian.org, so you could change your sources.list
to point there, but you really should upgrade to a supported release.

Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.trilug.org/pipermail/trilug-ontopic/attachments/20120425/45f0f9f9/attachment.pgp>

From gwbrown1 at gmail.com  Wed Apr 25 15:53:52 2012
From: gwbrown1 at gmail.com (Greg Brown)
Date: Wed, 25 Apr 2012 15:53:52 -0400
Subject: [Trilug-ontopic] apt-get broken again on my debian box
In-Reply-To: <20120425153822.30cdb9a2@pocket-time.jackhill.us>
References: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>
	<20120425153822.30cdb9a2@pocket-time.jackhill.us>
Message-ID: <CAB+J3A++Co1w3xdbggvXSE+D=m4g1c8LbyXHLe3GkLUVHcruRQ@mail.gmail.com>

Looks like I missed the boat to do an apt-get dist-upgrade (which is what
I'm trying to do in order to upgrade to the latest distribution).  The
machine isn't right in front of me so setting this up to be able to
dist-upgrade remotely would be preferred.  I'll poke around and see what I
can get working.

Greg

On Wed, Apr 25, 2012 at 3:38 PM, Jack Hill <jackhill at jackhill.us> wrote:

> On Wed, 25 Apr 2012 15:22:37 -0400
> Greg Brown <gwbrown1 at gmail.com> wrote:
> >
> > Err http://security.debian.org lenny/updates/main php5
> > 5.2.6.dfsg.1-1+lenny16
> >   404 Not Found
>
> The problem is that lenny has been EOLed, so its packages are not
> available in the regular archive anymore. They should still be
> available on archive.debian.org, so you could change your sources.list
> to point there, but you really should upgrade to a supported release.
>
> Jack
>
> _______________________________________________
> Trilug-ontopic mailing list
> Trilug-ontopic at trilug.org
> http://www.trilug.org/mailman/listinfo/trilug-ontopic
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.trilug.org/pipermail/trilug-ontopic/attachments/20120425/0c1a3bf9/attachment.html>

From porter at trilug.org  Wed Apr 25 16:16:02 2012
From: porter at trilug.org (Alan Porter)
Date: Wed, 25 Apr 2012 16:16:02 -0400
Subject: [Trilug-ontopic] apt-get broken again on my debian box
In-Reply-To: <CAB+J3A++Co1w3xdbggvXSE+D=m4g1c8LbyXHLe3GkLUVHcruRQ@mail.gmail.com>
References: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>
	<20120425153822.30cdb9a2@pocket-time.jackhill.us>
	<CAB+J3A++Co1w3xdbggvXSE+D=m4g1c8LbyXHLe3GkLUVHcruRQ@mail.gmail.com>
Message-ID: <4F985B82.5060604@trilug.org>


> Looks like I missed the boat to do an apt-get dist-upgrade

Remember that dist-upgrade does not upgrade you to a new release. It's
very similar to plain old upgrade. The difference is that upgrade pulls
in new versions of packages that you already have, and dist-upgrade will
also pull in any newly referenced packages.

To upgrade to a new release, you need to update the source lists in
/etc/apt/sources and then do an "apt-get update" and "apt-get
dist-upgrade". Ubuntu systems have a nice wrapper script that does all
of this for you, called "do-release-upgrade".

-- 
# ????o? u?l?


From porter at trilug.org  Wed Apr 25 16:18:51 2012
From: porter at trilug.org (Alan Porter)
Date: Wed, 25 Apr 2012 16:18:51 -0400
Subject: [Trilug-ontopic] apt-get broken again on my debian box
In-Reply-To: <4F985B82.5060604@trilug.org>
References: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>
	<20120425153822.30cdb9a2@pocket-time.jackhill.us>
	<CAB+J3A++Co1w3xdbggvXSE+D=m4g1c8LbyXHLe3GkLUVHcruRQ@mail.gmail.com>
	<4F985B82.5060604@trilug.org>
Message-ID: <4F985C2B.2010600@trilug.org>



> To upgrade to a new release, you need to update the source lists in
> /etc/apt/sources

Actually, if your sources use the release meta-names "stable", "testing"
and "unstable"; you do not need to edit the sources list. If you use
their individual names like "lenny", then you WILL need to change them
(to "squeeze").

See http://www.debian.org/releases/

-- 
# ????o? u?l?


From aaron at schrab.com  Wed Apr 25 16:15:11 2012
From: aaron at schrab.com (Aaron Schrab)
Date: Wed, 25 Apr 2012 16:15:11 -0400
Subject: [Trilug-ontopic] apt-get broken again on my debian box
In-Reply-To: <CAB+J3A++Co1w3xdbggvXSE+D=m4g1c8LbyXHLe3GkLUVHcruRQ@mail.gmail.com>
References: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>
	<20120425153822.30cdb9a2@pocket-time.jackhill.us>
	<CAB+J3A++Co1w3xdbggvXSE+D=m4g1c8LbyXHLe3GkLUVHcruRQ@mail.gmail.com>
Message-ID: <20120425201510.GA12867@pug.qqx.org>

At 15:53 -0400 25 Apr 2012, Greg Brown <gwbrown1 at gmail.com> wrote:
>Looks like I missed the boat to do an apt-get dist-upgrade (which is what
>I'm trying to do in order to upgrade to the latest distribution).  The
>machine isn't right in front of me so setting this up to be able to
>dist-upgrade remotely would be preferred.  I'll poke around and see what I
>can get working.

Since your sources.list file is explicitly referring to lenny, you'll 
need to update that to either refer to the "stable" release (which would 
cause the machine to automatically switch to following the next stable 
release when that happens) or to "squeeze" which is the codename for the 
current stable release.  That will allow you to fetch updated package 
lists and do a dist-upgrade.  This would have been necessary even before 
support for lenny was dropped.

But, I'd advise looking at the release notes for squeeze before doing 
the upgrade.  IIRC, it advises specifically updating a few key packages 
before running dist-upgrade to do the majority of the upgrade, to help 
avoid some problems.

From aaron at schrab.com  Wed Apr 25 20:12:21 2012
From: aaron at schrab.com (Aaron Schrab)
Date: Wed, 25 Apr 2012 20:12:21 -0400
Subject: [Trilug-ontopic] IPv6 mail on pilot
Message-ID: <20120426001221.GB12867@pug.qqx.org>

Even though pilot now has IPv6 connectivity the mail services on it are 
only listening on the IPv4 address.  So other systems with IPv6 
connectivity are likely trying that first, then falling back to v4 when 
that connection is denied.  Both postfix and dovecot are pretty easy to 
get running with both.

For postfix, just adding "inet_protocols = ipv4,ipv6" to the main.cf 
should suffice.  Although adding IPv6 networks to the mynetworks 
variable would likely be a good idea as well.  My configuration 
automatically had "[::ffff:127.0.0.0]/104 [::1]/128" included in that to 
allow the IPv6 loopback address and the IPv4 loopback network mapped to 
IPv6.  Adding "2001:470:8:11ec::2/64" would allow other hosts on the 
trilug network to relay mail through pilot.

For dovecot it should just require changing the listen and ssl_listen 
directives.  On my server I just have "listen = *, [::]" at the top 
level of my dovecot.conf, telling it to listen on all IPv4 and IPv6 
addresses with the default port for each protocol.  To do the same on 
pilot, the listen and ssl_listen directives in the "protocol imap" 
section would need to be removed.  Since the default ports are being 
used, this shouldn't be a problem.

From gwbrown1 at gmail.com  Thu Apr 26 12:34:41 2012
From: gwbrown1 at gmail.com (Greg Brown)
Date: Thu, 26 Apr 2012 12:34:41 -0400
Subject: [Trilug-ontopic] apt-get broken again on my debian box
In-Reply-To: <20120425201510.GA12867@pug.qqx.org>
References: <CAB+J3A+2j+-xH22yMxmcubw=rzXcM2S_cw6K8qLwzQuccvj3Hw@mail.gmail.com>
	<20120425153822.30cdb9a2@pocket-time.jackhill.us>
	<CAB+J3A++Co1w3xdbggvXSE+D=m4g1c8LbyXHLe3GkLUVHcruRQ@mail.gmail.com>
	<20120425201510.GA12867@pug.qqx.org>
Message-ID: <CAB+J3ALtK5JNLKDCO5YiTe_XHBA3hJOJbh7uGPz71dnKzyKRJA@mail.gmail.com>

You people are brilliant!  Brilliant I say!

Thanks everyone, I'm updating and upgrading now.

Greg

On Wed, Apr 25, 2012 at 4:15 PM, Aaron Schrab <aaron at schrab.com> wrote:

> At 15:53 -0400 25 Apr 2012, Greg Brown <gwbrown1 at gmail.com> wrote:
>
>> Looks like I missed the boat to do an apt-get dist-upgrade (which is what
>> I'm trying to do in order to upgrade to the latest distribution).  The
>> machine isn't right in front of me so setting this up to be able to
>> dist-upgrade remotely would be preferred.  I'll poke around and see what I
>> can get working.
>>
>
> Since your sources.list file is explicitly referring to lenny, you'll need
> to update that to either refer to the "stable" release (which would cause
> the machine to automatically switch to following the next stable release
> when that happens) or to "squeeze" which is the codename for the current
> stable release.  That will allow you to fetch updated package lists and do
> a dist-upgrade.  This would have been necessary even before support for
> lenny was dropped.
>
> But, I'd advise looking at the release notes for squeeze before doing the
> upgrade.  IIRC, it advises specifically updating a few key packages before
> running dist-upgrade to do the majority of the upgrade, to help avoid some
> problems.
>
> ______________________________**_________________
> Trilug-ontopic mailing list
> Trilug-ontopic at trilug.org
> http://www.trilug.org/mailman/**listinfo/trilug-ontopic<http://www.trilug.org/mailman/listinfo/trilug-ontopic>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.trilug.org/pipermail/trilug-ontopic/attachments/20120426/03a2fddc/attachment.html>

