Re: [gentoo-user] Introduction to Gentoo

2009-03-11 Thread Michael Thompson
> I went to the link and it said the video was no longer available.  Does
> it work for anyone else?
>
> Dale
>
> :-)  :-)
>
>

Works fine here too

-- 
Michael
http://photography.mthompson.me.uk
http://www.flickr.com/maverickapollo
PGP Key ID: E26BCAF1

To see a World in a Grain of Sand
And a Heaven in a Wild Flower,
Hold Infinity in the palm of your hand
And Eternity in an hour.
--William Blake



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 18:25, A. Khattri wrote:
> On Thu, 14 Jul 2005, Michael Thompson wrote:
> > Umm, I thought of that earlier, here is the complete ls -all of the
> > htdocs dir, nothing wrong here that I can see
>
> Do those sub-dectories have index.html file in them?
> If not, then you need to explicitly switch on directory listings (they are
> off by default). An example config:
>
> # allow dir listings for stats folders
> 
> AllowOverride FileInfo AuthConfig Limit
> Options MultiViews Indexes SymLinksIfOwnerMatch
> 
> Order allow,deny
> Allow from all
> 
> 

They were all working fine until the upgrade of apache, which I missed. They 
all have index files. 
-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 15:15, Craig Duncan wrote:

> Try adding a directory statement in the http.conf file
>
> 
> Options Indexes MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> 
>
> Then modify to suit your needs.
>
> Craig

Does not help any. That is already there in the default config, but I did try 
that earlier to see if it did help. No joy.


-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...


pgpTwvvkcinCo.pgp
Description: PGP signature


Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 14:04, Hans-Werner Hilse wrote:
> Hi,
>
> On Thu, 14 Jul 2005 13:40:42 +0100
>
> Michael Thompson <[EMAIL PROTECTED]> wrote:
> > On Thursday 14 July 2005 15:23, Emanuele Morozzi wrote:
> > > Try giving access to anyone to tost if it's a permissions related
> > > problem. (Perhaps using php files need also execution rights).
> >
> > The permissions have not changed. They are all apache:apache with a mask
> > of:
> >
> > drwxrwxr--  20 apache apache 4096 Jul 14 10:34 htdocs
>
> What about its subdirectories? They need to be executable to allow
> access to paths below themselves and need to be readable to allow
> directory listing (which also needs to be allowed as per httpd.conf).
>
> -hwh

Umm, I thought of that earlier, here is the complete ls -all of the htdocs 
dir, nothing wrong here that I can see

polaris mike # ls -all /var/www/localhost/htdocs/
total 240
drwxrwxr--  20 apache apache  4096 Jul 14 10:34 .
drwxrwxr--   7 root   root4096 Feb 16 01:10 ..
-rwxrwxr--   1 apache apache  3612 Mar  8 05:34 Forwarded_eth1_All.png
-rwxrwxr--   1 apache apache  3026 Mar  8 05:34 Forwarded_eth1_out_All.png
-rwxrwxr--   1 apache apache  2640 Mar 17 00:40 Incoming_Total_Local.png
-rwxrwxr--   1 apache apache  2800 Mar 17 00:40 Incoming_Total_WAN.png
-rwxrwxr--   1 apache apache  2455 Mar  8 05:34 Incoming_eth0_All.png
-rwxrwxr--   1 apache apache  2951 Mar  8 05:34 Incoming_eth1_All.png
-rwxrwxr--   1 apache apache  2776 Mar 17 00:40 Outgoing_Total_Local.png
-rwxrwxr--   1 apache apache  2910 Mar 17 00:40 Outgoing_Total_WAN.png
-rwxrwxr--   1 apache apache  2763 Mar  8 05:34 Outgoing_eth0_Out_All.png
-rwxrwxr--   1 apache apache  2728 Mar  8 05:34 Outgoing_eth0_out_All.png
-rwxrwxr--   1 apache apache  2851 Mar  8 05:34 Outgoing_eth1_All.png
-rw-r--r--   1 root   root2326 Jul 13 09:51 apache_pb.gif
-rw-r--r--   1 root   root1385 Jul 13 09:51 apache_pb.png
-rw-r--r--   1 root   root2414 Jul 13 09:51 apache_pb2.gif
-rw-r--r--   1 root   root1463 Jul 13 09:51 apache_pb2.png
-rw-r--r--   1 root   root2160 Jul 13 09:51 apache_pb2_ani.gif
drwxrwxr--   5 apache apache  4096 Sep  1  2004 awstats-6.1
drwxrwxr--  11 apache apache  4096 Dec 31  2004 base
drwxrwxr--  10 apache apache  4096 Dec 30  2004 board
drwxrwxr--  10 apache apache  4096 Aug 31  2004 bugzilla
drwxrwxr--   7 apache apache  4096 Jun 17 19:57 catalog
drwxrwxr--  10 apache apache  4096 May 17 14:58 cpg133
-rwxrwxr--   1 apache apache 41100 Jan 16  2004 div_159.jpg
drwxrwxr--   2 apache apache  4096 Aug 31  2004 files
drwxrwxr--  11 apache apache  4096 Jan 19 11:37 geeklog-1.3.9sr1
drwxrwxr--  19 apache apache  4096 Feb  8 07:42 horde
-rwxrwxr--   1 apache apache   822 Mar  7 07:55 host-play.html
-rwxrwxr--   1 apache apache   840 Mar  8 05:29 host-polaris.html
drwxrwxr--   2 apache apache  4096 Feb 12 20:08 htdig
drwxrwxr--   2 apache apache  4096 Jan 22 03:02 images
-rwxrwxr--   1 apache apache   999 Jan 23 09:30 index.htm
drwxrwxr--   8 apache apache  4096 Jan 24 02:00 newsportal
-rwxrwxr--   1 apache apache 16067 Sep 22  2004 oe.JPG
drwxrwxr--   7 apache apache  4096 May  8 17:24 phpmyadmin
drwxrwsr-x  14 root   root4096 Jul 12 10:31 phpwebsite
-rwxrwxr--   1 apache apache  2376 Mar  8 05:29 polaris-internet-Daily.png
-rwxrwxr--   1 apache apache  2324 Mar  8 05:29 polaris-internet-Monthly.png
-rwxrwxr--   1 apache apache  2657 Mar  8 05:29 polaris-internet-Weekly.png
-rwxrwxr--   1 apache apache  2605 Mar  8 05:29 polaris-internet-Yearly.png
drwxrwxr--   5 apache apache  4096 Apr 11 19:43 squirrelmail
drwxrwxr--   2 apache apache  4096 Jun 16 12:35 temp
-rwxrwxr--   1 apache apache  1091 Mar  8 05:29 traf.html
-rwxrwxr--   1 apache apache  2818 Mar  8 05:34 traf2.html
drwxr-xr-x  14 root   root4096 Jul 14 10:35 xoops
drwxr-xr-x   2 root   root4096 Jun 10 10:09 zap

Even the drwxr-xr-x will not run at all. These have not changed since they 
were working previously. 

-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...


pgpMm2FEwezNc.pgp
Description: PGP signature


Re: [gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
On Thursday 14 July 2005 15:23, Emanuele Morozzi wrote:
> Try giving access to anyone to tost if it's a permissions related
> problem. (Perhaps using php files need also execution rights).

The permissions have not changed. They are all apache:apache with a mask of:

drwxrwxr--  20 apache apache 4096 Jul 14 10:34 htdocs


> Does the apache server run with apache user rights (check with "ps aux")?

ps aux

root 19093  0.0  0.8  22312  8872 ?Ss   12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19098  0.0  0.6  21600  6924 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19099  0.0  0.8  22336  9072 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19100  0.0  0.8  22336  9072 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19101  0.0  0.8  22312  8904 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19102  0.0  0.8  22312  8904 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19103  0.0  0.8  22312  8904 ?S12:26   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN
apache   19310  0.0  0.8  22312  8904 ?S12:30   
0:00 /usr/sbin/apache2 -k start -D SSL -D PHP4 -D MAILMAN

The main page loads, the user pages load, just *anything* in a subdirectory 
of /var/www/localhost/htdocs fails with a forbidden.





-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache Sub directorys

2005-07-14 Thread Michael Thompson
All my previously working apache sub directorys have started to throw a 
forbidden message. 
 
 I have checked my configs and they have not changed at all. I did a emerge 
world the other day that installed the new PHP, but thats all. I really can 
not think of any reason why this has happend. All the permisions are right 
apache:apache. 
 
 There was a update to Apache, which went through the other night, but 
everything looks just fine here, so i do not understand why! 
 
 Any one got any ideas?

-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
http://www.thompsonmike.co.uk

I don't need to outrun the bear, just the guy next to me...
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: quote

2005-07-08 Thread Michael Thompson
On Friday 08 July 2005 17:32, Jason Cooper wrote:
> Michael Thompson ([EMAIL PROTECTED]) scribbled:
> [snip]
>
> > --
> > Mike
> >
> > To see the world in a grain of sand,
> > and to see heaven in a wild flower,
> > hold infinity in the palm of your hands,
> > and eternity in an hour.
>
> This one bugged me for a week till I remembered a moment ago where I
> heard it.  Tomb Raider, right?

Yeap

You proboly know it from Lara Croft, Cradle of Life, when Lara opens the book 
of her father and splits the cover, it is a message from her father. But it 
was a poem by William Blake called Auguries of Innocence.

-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A


pgppFlgEbe4Qg.pgp
Description: PGP signature


Re: [gentoo-user] 161 UDP Constant Connections

2005-07-08 Thread Michael Thompson
On Friday 08 July 2005 16:11, Hans-Werner Hilse wrote:
> Well, two possibilities.
> 1.) the packets are already mirrored at your own box
> 2.) the packets are mirrored at the target box
>
> I guess it's #2, you can find out by tcptracing the wire.
>
> If I were to reproduce this behaviour of the remote box I'd set up an
> iptables rule with the "MIRROR" target. See "man iptables" for an
> explanation.

I am aware of the MIRROR Target, and I agree that this would be the way to do 
this.

>
> This may be some scary tactics to irritate the support persons in
> charge of managing the network - and has, according to you notes,
> proven to work for that :-)

Well it is certainly bugging me.

>
> My interpretion is:
> hacked box, shell services running on UDP 161, mirroring everything
> else to scare people :-) I think they've chosen SNMP port to hide their
> traffic, maybe to get through some firewalls.
>

Umm, quite possible. How about they have set their SNMP broadcast to a too 
wide range, which includes the whole subnet? 

> -hwh

Many thanks for your input, you have been helpful!

-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 161 UDP Constant Connections

2005-07-08 Thread Michael Thompson
On Friday 08 July 2005 15:32, Tim Igoe wrote:
> Michael Thompson wrote:
> > This IP 212.56.68.108 has been attempting to contact Port 161 UDP for
> > Months.
>
> Are you running SNMP on your box? Port 161 is SNMP, if you have it open
> to the outside world, could it be collecting data - hence often
> connections?

Nope. It is closed off and I dont have SNMP running.

>
> > No when I try and run a NMAP scan against the box, I get my own logs
> > filled with the NMAP Scan. It is like 212.56.68.108 is mirroring to my IP
> > Space. And I dont Understand why!
> >
> > The connecting IP is in my ISP range, however it has no rDNS which the
> > ISP would do according to their technical support. It maps back to
> > hugeglobal.net
>
> Contact your ISPs support department - see if they can help at all?

Have done, they are looking into it, but they admit it is strange and have no 
clue.

>
> > I'm not entirely sure it is a customer's machine, even though it is
> > within the ISP IP range.  It's rDNS shows it is
> >
> > hugeglobal.net.
> >
> > The odd thing to me, is if one does a lookup on hugeglobal.net one gets
> >
> > 82.103.128.2  and the rDNS of that is
> >
> > e82-103-128-2s.easyspeedy.com
>
> Possible the original hugeglobal.net machine has since changed ISPs but
> the old IP has been re-assigned without the rDNS entry being changed?
>

That is possible, but the ISP says they are still in control of the subnet.

> > Any one got any ideas?
>
> you could just try blackholing the IP at your firewall, or as i've
> already mentioned - try and contact your ISP with all you know and see
> if htey can shed any light on it - its possible a comprimised box.

It is firewalled, and blacklisted. Has been for months. I am just curious as 
to why it is coming back to me.

-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] 161 UDP Constant Connections

2005-07-08 Thread Michael Thompson
This IP 212.56.68.108 has been attempting to contact Port 161 UDP for
Months.

No when I try and run a NMAP scan against the box, I get my own logs filled
with the NMAP Scan. It is like 212.56.68.108 is mirroring to my IP Space.
And I dont Understand why!

The connecting IP is in my ISP range, however it has no rDNS which the ISP
would do according to their technical support. It maps back to
hugeglobal.net

I'm not entirely sure it is a customer's machine, even though it is within
the ISP IP range.  It's rDNS shows it is

hugeglobal.net.  

The odd thing to me, is if one does a lookup on hugeglobal.net one gets

82.103.128.2  and the rDNS of that is

e82-103-128-2s.easyspeedy.com

Not one of the local ISP I am using. 

Telnetting to the IP gives this:

Telnet 212.56.68.108 connects giving...

__  _
   ___ | |_ _ ___ __ ___  __ _ _   ()_ __ ___  __| |
  / _ \| __| '_ \  | '__/ _ \/ _` | | | | | '__/ _ \/ _` |
| (_) | |_| |_) | | | |  __/ (_| | |_| | | | |  __/ (_| |
  \___/ \__| .__/  |_|  \___|\__, |\__,_|_|_|  \___|\__,_|
   |_|  |_|
   If you do not have a CMN registered OTP device you
   will not be able to login.

   OTP USERS:  THIS CONNECTION IS NOT ENCRYPTED, BE SMART

larabee login:


Any one got any ideas?


-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A


pgpcEsauQbqhU.pgp
Description: PGP signature


Re: [gentoo-user] Potential Supid question re Grep

2005-07-07 Thread Michael Thompson
On Thursday 07 July 2005 19:32, A. Khattri wrote:
> On Thu, 7 Jul 2005, Michael Thompson wrote:
> > I am trying to extract information in my logs for a abuse department and
> > am using the code:
> >
> > Code:
> >
> > zcat /var/log/messages.*?.gz | grep 212.56.68.108 >> /home/mike/abuse1
> >
> > The logs are standard: messages.??.gz
> >
> > However, when I examine the output, it starts on the 1st may, however the
> > logs contain details from the 25th Febuary. What am I doing wrong?
>
> Show us some sample log lines.

Apr 24 06:39:51 polaris INPUT BLOCKED: IN=eth1 OUT= 
MAC=00:09:5b:1f:16:42:06:05:5d:9f:a3:74:08:00 SRC=212.56.68.108 
DST=212.159.25.17 LEN=71 TOS=0x00 PREC=0xA0 TTL=58 ID=0 DF PROTO=UDP 
SPT=46245 DPT=161 LEN=51


-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Potential Supid question re Grep

2005-07-07 Thread Michael Thompson
I am trying to extract information in my logs for a abuse department and am 
using the code:

Code:

zcat /var/log/messages.*?.gz | grep 212.56.68.108 >> /home/mike/abuse1

The logs are standard: messages.??.gz

However, when I examine the output, it starts on the 1st may, however the logs 
contain details from the 25th Febuary. What am I doing wrong?


-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] install fails

2005-07-03 Thread Michael Thompson
On Sunday 03 July 2005 16:08, Juan wrote:
> Hi, I am trying to install gentoo following the instructions in the
> manaul. When doing (progressing from stage2 to stage3):
>
> emerge --emptytree system
>
> I get an error that one file's size is different that recorded size and
> stops.  Message reads:
> !!! Digest verification Failed
> !!!   /usr/portage/distfiles/libpng-manual.txt
> !!! Reason: Filesize does not match recorded size
>
> Any idea how to skip-the-file (it does not seem very important) or othe
> way to solve the problem and continue installing? I tried two or three
> times, even removing all usr/portage/distfiles/libpng* files first but
> it did not work. One of the problem is that I don't know where the
> libpng-manual.txt file belongs to. In the manifest of libpng-1.2.8 does
> not appear this file. Any idea?
>
>
> Thanks,
> Juan

Try doing another emerge sync and then doing that stage again.
-- 
Mike

To see the world in a grain of sand,
and to see heaven in a wild flower,
hold infinity in the palm of your hands,
and eternity in an hour.

GnuGPG KeyID:=FC0D8D9A
-- 
gentoo-user@gentoo.org mailing list