Re: [CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread Banyan He
encryption/decryption I mean. The kernel can't decrypt the packet 
eventually, kernel sends out the icmp. Just remember this part last time 
I track it down to the kernel side. You may have to take a look at your 
application why the gre doesn't setup correctly.


Banyan He
Blog: http://www.rootong.com
Email: ban...@rootong.com

On 4/11/2013 9:29 AM, yihect wrote:
>
> At 2013-04-10 18:35:12,"Banyan He"  wrote:
>> I remember I saw this behavior before. Mostly important thing is to find
>> out if the enc/dec goes well. I was having this problem that triggers
>> kernel to send out the icmp.
>>
> enc/dec ??  You mean the content of ip header,  which has been added
> in my program while using raw socket??
>
> How to fix or hack it, is there some way to do research?? I feel the package
> is sent to the upper GRE protocol while been intercepted with raw socket.
> Is there one way to prevent this?? Thanks.
>   
>
>> 
>> Banyan He
>> Blog: http://www.rootong.com
>> Email: ban...@rootong.com
>>
>> On 4/10/2013 5:27 PM, yihect wrote:
>>>  
>>>Hi, all:
>>>
>>>I'm playing with Gre Tunnel programming in centos 6.
>>>
>>>I wrote my program in these steps:
>>>a, open /dev/net/tun  device and ioctl with TUNSETIFF, get fd to 
>>> tun device, say "tun0";
>>>b, create one socket and use it to set tun0's  ip address, 
>>> namyly SIOCSIFADDR and SIOCSIFDSTADDR; and then turn it up;
>>>c, create one raw socket to send things which got from the tun0 
>>> device to other machine, and to receive packages which should be feeded 
>>> into the tun0 device;
>>>
>>>Finally, I ran the program in two machines, say MA and MB, 
>>> synchronously, and set route info in MA and MB too. The last environment is 
>>> like this:
>>>
>>>10.0.3.1/24 192.168.0.31/24192.168.0.124/2410.0.4.1/24
>>> -- MA ---  MB 
>>> --
>>> tun0  eth0eth0  
>>> tun0
>>>
>>> When I ping MB in MA, and tcpdump eth0 in MA, I get:
>>>
>>>   15:06:39.712390 IP 192.168.0.31 > 192.168.0.124: GREv0, length 88: IP 
>>> 10.0.3.1 > 10.0.4.1: ICMP echo request, id 28797, seq 1, length 64
>>>   15:06:39.713232 IP 192.168.0.124 > 192.168.0.31: ICMP 192.168.0.124 
>>> protocol 47 port 2048 unreachable, length 116
>>>   15:06:39.713667 IP 192.168.0.124 > 192.168.0.31: GREv0, length 88: IP 
>>> 10.0.4.1 > 10.0.3.1: ICMP echo reply, id 28797, seq 1, length 64
>>>   15:06:39.713754 IP 192.168.0.31 > 192.168.0.124: ICMP 192.168.0.31 
>>> protocol 47 port 2048 unreachable, length 116
>>>
>>> The 1st and 3rd lines is easy to understand, but what about  
>>> the 2nd and 4th lines??? Is the raw package been sent up into gre protocol 
>>> while caught by my program??
>>>
>>> I have seen ICMP_PORT_UNREACH  stuff been placed in ip_gre.c 
>>> kernel code, but say it is "Impossible event". So, what's wrong,  have I 
>>> missed something in my program? Any suggestions are appreciated, thanks.
>>>
>>> 
>>>
>>>
>>>   ___
>>>   CentOS mailing list
>>>   CentOS@centos.org
>>>   http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread yihect


At 2013-04-10 18:35:12,"Banyan He"  wrote:
>I remember I saw this behavior before. Mostly important thing is to find 
>out if the enc/dec goes well. I was having this problem that triggers 
>kernel to send out the icmp.
>

enc/dec ??  You mean the content of ip header,  which has been added 
in my program while using raw socket?? 

How to fix or hack it, is there some way to do research?? I feel the package 
is sent to the upper GRE protocol while been intercepted with raw socket. 
Is there one way to prevent this?? Thanks.
 

>
>Banyan He
>Blog: http://www.rootong.com
>Email: ban...@rootong.com
>
>On 4/10/2013 5:27 PM, yihect wrote:
>>
>>  Hi, all:
>>
>>  I'm playing with Gre Tunnel programming in centos 6.
>>  
>>  I wrote my program in these steps:
>>  a, open /dev/net/tun  device and ioctl with TUNSETIFF, get fd to 
>>tun device, say "tun0";
>>  b, create one socket and use it to set tun0's  ip address, namyly 
>>SIOCSIFADDR and SIOCSIFDSTADDR; and then turn it up;
>>  c, create one raw socket to send things which got from the tun0 
>>device to other machine, and to receive packages which should be feeded into 
>>the tun0 device;
>>
>>  Finally, I ran the program in two machines, say MA and MB, 
>>synchronously, and set route info in MA and MB too. The last environment is 
>>like this:
>>
>>  10.0.3.1/24 192.168.0.31/24192.168.0.124/2410.0.4.1/24
>>   -- MA ---  MB 
>>--
>>   tun0  eth0eth0 
>> tun0
>>
>>   When I ping MB in MA, and tcpdump eth0 in MA, I get:
>>
>> 15:06:39.712390 IP 192.168.0.31 > 192.168.0.124: GREv0, length 88: IP 
>>10.0.3.1 > 10.0.4.1: ICMP echo request, id 28797, seq 1, length 64
>> 15:06:39.713232 IP 192.168.0.124 > 192.168.0.31: ICMP 192.168.0.124 protocol 
>>47 port 2048 unreachable, length 116
>> 15:06:39.713667 IP 192.168.0.124 > 192.168.0.31: GREv0, length 88: IP 
>>10.0.4.1 > 10.0.3.1: ICMP echo reply, id 28797, seq 1, length 64
>> 15:06:39.713754 IP 192.168.0.31 > 192.168.0.124: ICMP 192.168.0.31 protocol 
>>47 port 2048 unreachable, length 116
>>
>>   The 1st and 3rd lines is easy to understand, but what about  the 
>>2nd and 4th lines??? Is the raw package been sent up into gre protocol while 
>>caught by my program??
>>
>>   I have seen ICMP_PORT_UNREACH  stuff been placed in ip_gre.c 
>>kernel code, but say it is "Impossible event". So, what's wrong,  have I 
>>missed something in my program? Any suggestions are appreciated, thanks.
>>
>>   
>>
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtual Machine Manager error

2013-04-10 Thread Kahlil Hodgson
you might have more luck with

service libvirtd status

K


On Thu, Apr 11, 2013 at 4:04 AM, Luke  wrote:

>
> > [root  centos Desktop]# service libvert status
> > libvert: unrecognized service
> >
>
> service libvertd start
>
> libvertd meaning the libvert daemon.
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
Kahlil (Kal) Hodgson   GPG: C9A02289
Head of Technology (m) +61 (0) 4 2573 0382
DealMax Pty Ltd(w) +61 (0) 3 9008 5281

Suite 1415
401 Docklands Drive
Docklands VIC 3008 Australia

"All parts should go together without forcing.  You must remember that
the parts you are reassembling were disassembled by you.  Therefore,
if you can't get them together again, there must be a reason.  By all
means, do not use a hammer."  -- IBM maintenance manual, 1925
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Les Mikesell
On Wed, Apr 10, 2013 at 4:11 PM, Jason T. Slack-Moehrle
 wrote:
> Hi John,
>
> Thanks for this info. Drobo says no ext4:
> http://support.drobo.com/app/answers/detail/a_id/165/~/how-do-i-use-my-drobo-with-a-linux-machine%3F
>
That's interesting but it makes me wonder what they are doing wrong.
A block device should just deal with data blocks and not know/care
about what filesystem is implemented on top of the blocks.

--
  Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] About centos fresh install

2013-04-10 Thread John R Pierce
On 4/10/2013 2:47 PM, Andrei Rolando León Salas wrote:
> Hi, first of all i want to thank you all that do this help. Without this i
> cold never put my own webserver. Now my question. I know when i have to
> install some software, they recommend a "fresh" install of centos, but my
> provider (we have server via internet and webmin) every fresh install says
> that i need to pay like 50$ ( alittle expensive for me). Im live i Costa
> RIca and here internet sucks thats why i use panama server. Now my question
> is: theres any form to restore to "default" a centos server? like windows 8
> or like norton goback? i searh a lot via google but not sure if theres no
> way or i dont know how to search it. Sorry for my bad english. Hope could
> help me this time

I would pretty much ignore any such 'fresh install' requirement, and 
just figure out how to integrate this new software with what you have, 
if it even interacts at all.

such 'requirements' are most often born from lazy documentation.



-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] About centos fresh install

2013-04-10 Thread Frank Cox
On Wed, 10 Apr 2013 15:47:21 -0600
Andrei Rolando León Salas wrote:

> I know when i have to
> install some software, they recommend a "fresh" install of centos, 

Why would you have to reinstall Centos so often that it becomes a burden like
that?

Unlike some other Linux distributions like Fedora or Ubuntu, Centos is intended
to be a long term installation; you set it up once and run it for several
years..

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] About centos fresh install

2013-04-10 Thread m . roth
Andrei Rolando León Salas wrote:
> Hi, first of all i want to thank you all that do this help. Without this i
> cold never put my own webserver. Now my question. I know when i have to
> install some software, they recommend a "fresh" install of centos, but my
> provider (we have server via internet and webmin) every fresh install says
> that i need to pay like 50$ ( alittle expensive for me). Im live i Costa
> RIca and here internet sucks thats why i use panama server. Now my
> question
> is: theres any form to restore to "default" a centos server? like windows
> 8 or like norton goback? i searh a lot via google but not sure if theres no
> way or i dont know how to search it. Sorry for my bad english. Hope could
> help me this time

First, who is this they who recommend a "fresh" install of CentOS, and
what's the software? There's absolutely no reason I know of, nor am I
aware of any software, that requires you to do a complete new install of
the O/S (other than, maybe, for WinDoze...).

In short, I think a) they're full of it; b) they have no idea what they're
talking about, and don't know *Nix, or c) just what is it that's *in* that
software?

Thinking about it, the first thing that comes to mind is that iptables is
set to leave your box wide open.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] About centos fresh install

2013-04-10 Thread Andrei Rolando León Salas
Hi, first of all i want to thank you all that do this help. Without this i
cold never put my own webserver. Now my question. I know when i have to
install some software, they recommend a "fresh" install of centos, but my
provider (we have server via internet and webmin) every fresh install says
that i need to pay like 50$ ( alittle expensive for me). Im live i Costa
RIca and here internet sucks thats why i use panama server. Now my question
is: theres any form to restore to "default" a centos server? like windows 8
or like norton goback? i searh a lot via google but not sure if theres no
way or i dont know how to search it. Sorry for my bad english. Hope could
help me this time
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread John R Pierce
On 4/10/2013 2:12 PM, Les Mikesell wrote:
> On Wed, Apr 10, 2013 at 3:50 PM, John R Pierce  wrote:
>> >
>> >I would under NO conditions make a EXT3 volume anywheres NEAR as big as
>> >you're talking about.   my preference for large volumes is XFS.
> Is there some rule of thumb for how much RAM the system should have for that?

I've been putting 24-48GB in my servers with large multiterabyte XFS 
volumes.  so far, I haven't had any issues.   Some of these systems have 
74TiB file systems (81 TB), primarily used as long term retention 
archival nearline storage.




-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem building powerdns from EPEL

2013-04-10 Thread Leon Fauster
Am 09.04.2013 um 23:24 schrieb Nikolaos Milas :
> On 9/4/2013 11:56 μμ, m.r...@5-cent.us wrote:
> 
>> Interesting. Is there another ldap option in the configure? I ask, since
>> the above shows that the ldap_set_option is*not*  set
> 
> Thanks for the reply.
> 
> I don't see anything:
> 
>$ ./configure --help | grep -i ldap
>$
> 
> But, in any case, the problem seems to be that libldap library cannot be 
> found:
> 
>configure: error: ldap library (libldap) not found
> 
> What may be causing this?


What is the output of 

rpm -qa | grep -i ldap 

?

--
LF




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Les Mikesell
On Wed, Apr 10, 2013 at 3:50 PM, John R Pierce  wrote:
>
> I would under NO conditions make a EXT3 volume anywheres NEAR as big as
> you're talking about.   my preference for large volumes is XFS.

Is there some rule of thumb for how much RAM the system should have for that?

--
   Les Mikesell
  lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi John,

Thanks for this info. Drobo says no ext4:
http://support.drobo.com/app/answers/detail/a_id/165/~/how-do-i-use-my-drobo-with-a-linux-machine%3F

I will look up XFS.

Jason



On Wed, Apr 10, 2013 at 1:50 PM, John R Pierce  wrote:

> On 4/10/2013 9:54 AM, Jason T. Slack-Moehrle wrote:
> > # parted
> > GNU Parted 2.1
>
> here's my parted recipe for making very large volumes...   this will
> fill the disk, reserving 512K up front to be on a reasonable stripe
> boundary
>
> |parted /dev/sdb ||"mklabel gpt"|
> |parted -a none /dev/sdb ||"mkpart primary 1024s -1s"|
>
> I would under NO conditions make a EXT3 volume anywheres NEAR as big as
> you're talking about.   my preference for large volumes is XFS.
>
>  VG=vg_$(hostname -s)_data
>  vgcreate $VG /dev/sdb1
>  lvcreate --size 8T --name lv_data $VG
>  mkfs.xfs  /dev/$VG/lv_data
>  mount /dev/$VG/lv_data /data
>
> if your storage device presents the storage as a block device, then
> there's no 'support' issues I'm aware of for file systems, its just
> sectors as far as the storage device is concerned, the file system is
> strictly up to your OS.
>
>
> --
> john r pierce  37N 122W
> somewhere on the middle of the left coast
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread John R Pierce
On 4/10/2013 9:54 AM, Jason T. Slack-Moehrle wrote:
> # parted
> GNU Parted 2.1

here's my parted recipe for making very large volumes...   this will 
fill the disk, reserving 512K up front to be on a reasonable stripe boundary

|parted /dev/sdb ||"mklabel gpt"|
|parted -a none /dev/sdb ||"mkpart primary 1024s -1s"|

I would under NO conditions make a EXT3 volume anywheres NEAR as big as 
you're talking about.   my preference for large volumes is XFS.

 VG=vg_$(hostname -s)_data
 vgcreate $VG /dev/sdb1
 lvcreate --size 8T --name lv_data $VG
 mkfs.xfs  /dev/$VG/lv_data
 mount /dev/$VG/lv_data /data

if your storage device presents the storage as a block device, then 
there's no 'support' issues I'm aware of for file systems, its just 
sectors as far as the storage device is concerned, the file system is 
strictly up to your OS.


-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread m . roth
Jason T. Slack-Moehrle wrote:
> Thanks for the advice.
>
> What are you storing on your large RAIDS that you mention?

Disclaimer: I do not speak for my employer, or the US federal government
agency (non-DoD) that I work for... but let's just say serious bioscience
data.

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Thanks for the advice.

What are you storing on your large RAIDS that you mention?



On Wed, Apr 10, 2013 at 12:35 PM,  wrote:

> Jason T. Slack-Moehrle wrote:
> > Hi Mark,
> >
> > Do you override the automatic fsck check with tune2fs? It would be a huge
> > bummer to do through a check frequently, I forget the defaults but I
> think
> > 180 days or a certain number of mounts, iirc.
> >
> We do it manually, when we get to it, and when the users are going to be
> off long enough
>
> Btw, I saw that you said you'd started on 1M - good move. I always start
> parted with -a optimal. I've read that non-optimal alignment can result in
> serious slowdowns in throughput - half as fast, or even slower.
>
>   mark
> > Jason
> >
> >
> >
> > On Wed, Apr 10, 2013 at 11:39 AM,  wrote:
> >
> >> Jason T. Slack-Moehrle wrote:
> >> >
> >> > I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
> >> > /dev/sdg.
> >> >
> >> > I want to format it ext3 (as they dont support ext4) but when I try I
> >> get:
> >> 
> >> > So I run:
> >> > # parted
> >> > GNU Parted 2.1
> >> > Using /dev/sda
> >> > Welcome to GNU Parted! Type 'help' to view a list of commands.
> >> > (parted) select /dev/sdg
> >> > Using /dev/sdg
> >> > (parted) print
> >> > Model: DROBO DroboPro (scsi)
> >> > Disk /dev/sdg: 17.6TB
> >> > Sector size (logical/physical): 512B/512B
> >> > Partition Table: gpt
> >> >
> >> > Number  Start  End  Size  File system  Name  Flags
> >> >
> >> > (parted)
> >> >
> >> > and looking at an example of creating a partition: (parted) mkpart
> >> primary
> >> > 106 16179
> >> >
> >> > I dont know what to do next since I dont see any partitions listed. I
> >> dont
> >> > know what do to for the start and end point, although the man page
> >> says
> >> > "size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I
> >> know
> >> it
> >> > says 17.6 TB but this model drobo can only support partitions up to
> >> 16tb
> >> > without making a second partition.
> >> >
> >> > Can anyone provide some advice on that I am missing conceptually?
> >>
> >> Several issues. First, if you use 4k blocks, the max filesystem size for
> >> ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where,
> >> but
> >> on some filesystem tool's manpage, I read that the tools have problems
> >> going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
> >> literally. I'm setting up, right now, a humongous RAID box, and I'll
> >> probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
> >> they're going to be ext4.
> >>
> >> mark
> >>
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> http://lists.centos.org/mailman/listinfo/centos
> >>
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Fred Smith
On Wed, Apr 10, 2013 at 11:20:54AM -0700, Jason T. Slack-Moehrle wrote:
> I dont have a graphical desktop installed.

One other option is to boot from a gparted-live CD, which gives you
a GUI long enough to partition your volume, then reboot your normal
system.

Fred

> On Wed, Apr 10, 2013 at 11:09 AM, Les Mikesell wrote:
> 
> > On Wed, Apr 10, 2013 at 11:54 AM, Jason T. Slack-Moehrle
> >  wrote:
> > >
> > > I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
> > /dev/sdg.
> > >
> > > # parted
> > > GNU Parted 2.1
> > > Using /dev/sda
> > > Welcome to GNU Parted! Type 'help' to view a list of commands.
> > > (parted) select /dev/sdg
> > > Using /dev/sdg
> > > (parted) print
> > > Model: DROBO DroboPro (scsi)
> > > Disk /dev/sdg: 17.6TB
> > > Sector size (logical/physical): 512B/512B
> > > Partition Table: gpt
> > >
> > > Number  Start  End  Size  File system  Name  Flags
> > >
> > > (parted)
> > >
> > > and looking at an example of creating a partition: (parted) mkpart
> > primary
> > > 106 16179
> > >
> > > I dont know what to do next since I dont see any partitions listed. I
> > dont
> > > know what do to for the start and end point, although the man page says
> > > "size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I know
> > it
> > > says 17.6 TB but this model drobo can only support partitions up to 16tb
> > > without making a second partition.
> > >
> > > Can anyone provide some advice on that I am missing conceptually?
> >
> > If you have a GUI desktop installed you can install the gparted
> > package from EPEL. It is easier to use than raw parted and mkfs.
> >
> > --
> >   Les Mikesell
> >  lesmikes...@gmail.com
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
   I can do all things through Christ 
  who strengthens me.
-- Philippians 4:13 ---
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread m . roth
Jason T. Slack-Moehrle wrote:
> Hi Mark,
>
> Do you override the automatic fsck check with tune2fs? It would be a huge
> bummer to do through a check frequently, I forget the defaults but I think
> 180 days or a certain number of mounts, iirc.
>
We do it manually, when we get to it, and when the users are going to be
off long enough

Btw, I saw that you said you'd started on 1M - good move. I always start
parted with -a optimal. I've read that non-optimal alignment can result in
serious slowdowns in throughput - half as fast, or even slower.

  mark
> Jason
>
>
>
> On Wed, Apr 10, 2013 at 11:39 AM,  wrote:
>
>> Jason T. Slack-Moehrle wrote:
>> >
>> > I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
>> > /dev/sdg.
>> >
>> > I want to format it ext3 (as they dont support ext4) but when I try I
>> get:
>> 
>> > So I run:
>> > # parted
>> > GNU Parted 2.1
>> > Using /dev/sda
>> > Welcome to GNU Parted! Type 'help' to view a list of commands.
>> > (parted) select /dev/sdg
>> > Using /dev/sdg
>> > (parted) print
>> > Model: DROBO DroboPro (scsi)
>> > Disk /dev/sdg: 17.6TB
>> > Sector size (logical/physical): 512B/512B
>> > Partition Table: gpt
>> >
>> > Number  Start  End  Size  File system  Name  Flags
>> >
>> > (parted)
>> >
>> > and looking at an example of creating a partition: (parted) mkpart
>> primary
>> > 106 16179
>> >
>> > I dont know what to do next since I dont see any partitions listed. I
>> dont
>> > know what do to for the start and end point, although the man page
>> says
>> > "size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I
>> know
>> it
>> > says 17.6 TB but this model drobo can only support partitions up to
>> 16tb
>> > without making a second partition.
>> >
>> > Can anyone provide some advice on that I am missing conceptually?
>>
>> Several issues. First, if you use 4k blocks, the max filesystem size for
>> ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where,
>> but
>> on some filesystem tool's manpage, I read that the tools have problems
>> going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
>> literally. I'm setting up, right now, a humongous RAID box, and I'll
>> probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
>> they're going to be ext4.
>>
>> mark
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi Mark,

Do you override the automatic fsck check with tune2fs? It would be a huge
bummer to do through a check frequently, I forget the defaults but I think
180 days or a certain number of mounts, iirc.

Jason



On Wed, Apr 10, 2013 at 11:39 AM,  wrote:

> Jason T. Slack-Moehrle wrote:
> >
> > I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
> > /dev/sdg.
> >
> > I want to format it ext3 (as they dont support ext4) but when I try I
> get:
> 
> > So I run:
> > # parted
> > GNU Parted 2.1
> > Using /dev/sda
> > Welcome to GNU Parted! Type 'help' to view a list of commands.
> > (parted) select /dev/sdg
> > Using /dev/sdg
> > (parted) print
> > Model: DROBO DroboPro (scsi)
> > Disk /dev/sdg: 17.6TB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: gpt
> >
> > Number  Start  End  Size  File system  Name  Flags
> >
> > (parted)
> >
> > and looking at an example of creating a partition: (parted) mkpart
> primary
> > 106 16179
> >
> > I dont know what to do next since I dont see any partitions listed. I
> dont
> > know what do to for the start and end point, although the man page says
> > "size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I know
> it
> > says 17.6 TB but this model drobo can only support partitions up to 16tb
> > without making a second partition.
> >
> > Can anyone provide some advice on that I am missing conceptually?
>
> Several issues. First, if you use 4k blocks, the max filesystem size for
> ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where, but
> on some filesystem tool's manpage, I read that the tools have problems
> going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
> literally. I'm setting up, right now, a humongous RAID box, and I'll
> probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
> they're going to be ext4.
>
> mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
I found an article that led me to do:

(parted) mkpart primary 0GB 16TB
(parted) print
Model: DROBO DroboPro (scsi)
Disk /dev/sdg: 17.6TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End SizeFile system  Name Flags
 1  1049kB  16.0TB  16.0TB   primary




On Wed, Apr 10, 2013 at 11:50 AM, Jason T. Slack-Moehrle <
slackmoeh...@gmail.com> wrote:

> Hi Mark,
>
> > Can anyone provide some advice on that I am missing conceptually?
>>
>> Several issues. First, if you use 4k blocks, the max filesystem size for
>> ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where, but
>> on some filesystem tool's manpage, I read that the tools have problems
>> going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
>> literally. I'm setting up, right now, a humongous RAID box, and I'll
>> probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
>> they're going to be ext4.
>>
>
> 16tb is the max I would have for this device.
>
> Jason
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi Mark,

> Can anyone provide some advice on that I am missing conceptually?
>
> Several issues. First, if you use 4k blocks, the max filesystem size for
> ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where, but
> on some filesystem tool's manpage, I read that the tools have problems
> going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
> literally. I'm setting up, right now, a humongous RAID box, and I'll
> probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
> they're going to be ext4.
>

16tb is the max I would have for this device.

Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread m . roth
Jason T. Slack-Moehrle wrote:
>
> I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
> /dev/sdg.
>
> I want to format it ext3 (as they dont support ext4) but when I try I get:

> So I run:
> # parted
> GNU Parted 2.1
> Using /dev/sda
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) select /dev/sdg
> Using /dev/sdg
> (parted) print
> Model: DROBO DroboPro (scsi)
> Disk /dev/sdg: 17.6TB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
>
> Number  Start  End  Size  File system  Name  Flags
>
> (parted)
>
> and looking at an example of creating a partition: (parted) mkpart primary
> 106 16179
>
> I dont know what to do next since I dont see any partitions listed. I dont
> know what do to for the start and end point, although the man page says
> "size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I know it
> says 17.6 TB but this model drobo can only support partitions up to 16tb
> without making a second partition.
>
> Can anyone provide some advice on that I am missing conceptually?

Several issues. First, if you use 4k blocks, the max filesystem size for
ext3 is 16TB (see wikipedia on ext3). Second, I can't remember where, but
on some filesystem tool's manpage, I read that the tools have problems
going over 16TB. Third, fsck on a 16TB filesystem will take *days*,
literally. I'm setting up, right now, a humongous RAID box, and I'll
probably be divvying up the 42TB (mirrored!) as 3 14TB filesystems, and
they're going to be ext4.

mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Les Mikesell
On Wed, Apr 10, 2013 at 1:20 PM, Jason T. Slack-Moehrle
 wrote:
> I dont have a graphical desktop installed.

So far, when I've been in that situation I've installed X, the gnome
desktop, and the freenx package and connected from an NX client.
Seemed easier then dealing with the parted options

--
   Les Mikesell
lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
I dont have a graphical desktop installed.



On Wed, Apr 10, 2013 at 11:09 AM, Les Mikesell wrote:

> On Wed, Apr 10, 2013 at 11:54 AM, Jason T. Slack-Moehrle
>  wrote:
> >
> > I have a Drobo, connected to a CentOS 6.4 box. The box sees it as
> /dev/sdg.
> >
> > # parted
> > GNU Parted 2.1
> > Using /dev/sda
> > Welcome to GNU Parted! Type 'help' to view a list of commands.
> > (parted) select /dev/sdg
> > Using /dev/sdg
> > (parted) print
> > Model: DROBO DroboPro (scsi)
> > Disk /dev/sdg: 17.6TB
> > Sector size (logical/physical): 512B/512B
> > Partition Table: gpt
> >
> > Number  Start  End  Size  File system  Name  Flags
> >
> > (parted)
> >
> > and looking at an example of creating a partition: (parted) mkpart
> primary
> > 106 16179
> >
> > I dont know what to do next since I dont see any partitions listed. I
> dont
> > know what do to for the start and end point, although the man page says
> > "size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I know
> it
> > says 17.6 TB but this model drobo can only support partitions up to 16tb
> > without making a second partition.
> >
> > Can anyone provide some advice on that I am missing conceptually?
>
> If you have a GUI desktop installed you can install the gparted
> package from EPEL. It is easier to use than raw parted and mkfs.
>
> --
>   Les Mikesell
>  lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Formatting a USB Drive

2013-04-10 Thread Les Mikesell
On Wed, Apr 10, 2013 at 11:54 AM, Jason T. Slack-Moehrle
 wrote:
>
> I have a Drobo, connected to a CentOS 6.4 box. The box sees it as /dev/sdg.
>
> # parted
> GNU Parted 2.1
> Using /dev/sda
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) select /dev/sdg
> Using /dev/sdg
> (parted) print
> Model: DROBO DroboPro (scsi)
> Disk /dev/sdg: 17.6TB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
>
> Number  Start  End  Size  File system  Name  Flags
>
> (parted)
>
> and looking at an example of creating a partition: (parted) mkpart primary
> 106 16179
>
> I dont know what to do next since I dont see any partitions listed. I dont
> know what do to for the start and end point, although the man page says
> "size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I know it
> says 17.6 TB but this model drobo can only support partitions up to 16tb
> without making a second partition.
>
> Can anyone provide some advice on that I am missing conceptually?

If you have a GUI desktop installed you can install the gparted
package from EPEL. It is easier to use than raw parted and mkfs.

--
  Les Mikesell
 lesmikes...@gmail.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtual Machine Manager error

2013-04-10 Thread Luke

> [root  centos Desktop]# service libvert status
> libvert: unrecognized service
> 

service libvertd start

libvertd meaning the libvert daemon.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] No more support for chrome/chromium on rhel6

2013-04-10 Thread Robert Arkiletian
Update:
With Opera dropping Presto engine and following/forking Chrome and
with Chromium dropping support for CentOS that just leaves us with
only one main browser: Firefox ESR.

I commented asking for support past version 26. Got a reply,

"Note that these systems were never officially supported. I'd
recommend CentOS to make its own Chromium package."
https://groups.google.com/a/chromium.org/forum/?fromgroups#!forum/chromium-discuss

Also filed a feature request that got merged into the Debian 6 same request.
" Please file a new bug for CentOS, since this bug is about Debian. I
have a feeling we won't be able to support it though."
https://code.google.com/p/chromium/issues/detail?id=224389

--
Robert Arkiletian
Eric Hamber Secondary, Vancouver, Canada
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Formatting a USB Drive

2013-04-10 Thread Jason T. Slack-Moehrle
Hi All,

I have a Drobo, connected to a CentOS 6.4 box. The box sees it as /dev/sdg.

I want to format it ext3 (as they dont support ext4) but when I try I get:

# fdisk -u /dev/sdg

WARNING: GPT (GUID Partition Table) detected on '/dev/sdg'! The util fdisk
doesn't support GPT. Use GNU Parted.


WARNING: The size of this disk is 17.6 TB (17592186044416 bytes).
DOS partition table format can not be used on drives for volumes
larger than (2199023255040 bytes) for 512-byte sectors. Use parted(1) and
GUID
partition table format (GPT).


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
 switch off the mode (command 'c').

So I run:
# parted
GNU Parted 2.1
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) select /dev/sdg
Using /dev/sdg
(parted) print
Model: DROBO DroboPro (scsi)
Disk /dev/sdg: 17.6TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start  End  Size  File system  Name  Flags

(parted)

and looking at an example of creating a partition: (parted) mkpart primary
106 16179

I dont know what to do next since I dont see any partitions listed. I dont
know what do to for the start and end point, although the man page says
"size in MB". Do I just say 0 to (and convert 16.0TB to MB? Yes, I know it
says 17.6 TB but this model drobo can only support partitions up to 16tb
without making a second partition.

Can anyone provide some advice on that I am missing conceptually?

Jason
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Audit logs source of account triggering it.

2013-04-10 Thread Tilman Schmidt
Am 08.04.2013 07:04, schrieb Gregory Machin:
> type=USER_LOGIN msg=audit(1364926580.306:249814): user pid=22565 uid=0
> auid=4294967295 ses=4294967295 msg='op=login
> acct=28756E6B6E6F776E207573657229 exe="/usr/sbin/sshd" hostname=?
> addr=127.0.0.1 terminal=ssh res=failed'
> 
> What would typically cause this ? There are no other references in any of
> the other logs to 28756E6B6E6F776E207573657229 and its to long for our
> typical UID / GID .

Looks like a hex dump of an ASCII string:

28756E6B6E6F776E207573657229
 ( u n k n o w n   u s e r )

HTH
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to determine 64 vs 32 bit processor

2013-04-10 Thread Joseph Spenner
On 4/10/2013 9:58 PM, Robert Moskowitz wrote:


> I have been tied up with other work and Holidays.  Now back to some
> server work that is long overdue.  I lost an old server yesterday so it
> is crunch time.
>
> I believe my new platform is suppose to be an x86_64.  The order form
> says 64 bit.
>

If you check /proc/cpuinfo, the 'flags' section, look for "lm".
If that is present, it is 64bit.

http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/

__
If life gives you lemons, keep them-- because hey.. free lemons.
"♥ Sticker" fixer:  http://microflush.org/stuff/stickers/heartFix.html
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] web collaboration packages.

2013-04-10 Thread Jason T. Slack-Moehrle
Hi John,

I can get through the install but Zimbra wont start. It says it started,
but didn't I get LDAP errors, Sasl errors, AV and antispam. I worked though
them a lot yesterday but I still can not get the mta started and nothing
starts listening on 443 either. I have Apache not listening to 443, only
80. I turned off the firewall, postfix, sendmail, all just to be sure. Both
stopping the service and chkconfig so it wont start up again on startup.

I was really close yesterday but I gave up again. I even tried 7.2.3
instead of 8.0.3 and that seemed worse. I uninstalled everything and
removed all the pieces and figured that I would give it a shot again today.

Jason




On Wed, Apr 10, 2013 at 7:30 AM, John Doe  wrote:

> From: Jason T. Slack-Moehrle 
>
> > Try as I might, I cannot get Zimbra 8.0.3 to install on CentOS 6.4, even
> > with --platform override. I followed some tutorials even that show the
> > result working and nada.
>
> What do you mean by "cannot get to install"...?
> Up to where does the install process go?
> Any specific error message?
>
> JD
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to determine 64 vs 32 bit processor

2013-04-10 Thread m . roth
Robert Moskowitz wrote:
> On 04/10/2013 10:23 AM, Michael Mol wrote:
>> On 04/10/2013 09:58 AM, Robert Moskowitz wrote:

>> uname reports the architecture that the running operating system was
>> compiled for. Since you booted an i386-compiled OS, it will report as
>> such.
>
> Ah.  Got it.
>
>> To confirm the details of the hardware, examine /proc/cpuinfo .
>
> I have used cpuinfo a lot in the past, but recently I discovered
> dmidecode and find it very useful.

Try installing lshw, too - the way and data it reports is slightly
different than dmidecode, and in many cases more comprehensible.



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to determine 64 vs 32 bit processor

2013-04-10 Thread Robert Moskowitz

On 04/10/2013 10:23 AM, Michael Mol wrote:
> On 04/10/2013 09:58 AM, Robert Moskowitz wrote:
>> I have been tied up with other work and Holidays.  Now back to some
>> server work that is long overdue.  I lost an old server yesterday so it
>> is crunch time.
>>
>> I believe my new platform is suppose to be an x86_64.  The order form
>> says 64 bit.
>>
>> I booted Centos 6.3 i386 liveCD to check the system out before an install.
>>
>> uname -i
>>
>> reports i386
>>
>> dmidecode -t processor
>>
>> reports Characteristics of 64 bit capable.  The processor is an AMD
>> duo-core Opteron.
>>
>> I thought that in a prior thread I found that booting with an i386 live
>> CD and using uname would confirm the processor type.  It seems not.
>>
>> I am going to go with the various evidence and start a x86_64 install,
>> but what is with uname?
>>
>> thanks
> uname reports the architecture that the running operating system was
> compiled for. Since you booted an i386-compiled OS, it will report as such.

Ah.  Got it.

> To confirm the details of the hardware, examine /proc/cpuinfo .

I have used cpuinfo a lot in the past, but recently I discovered 
dmidecode and find it very useful.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] web collaboration packages.

2013-04-10 Thread John Doe
From: Jason T. Slack-Moehrle 

> Try as I might, I cannot get Zimbra 8.0.3 to install on CentOS 6.4, even
> with --platform override. I followed some tutorials even that show the
> result working and nada.

What do you mean by "cannot get to install"...?
Up to where does the install process go?
Any specific error message?

JD
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to determine 64 vs 32 bit processor

2013-04-10 Thread Banyan He
you can do this,

cat /proc/cpuinfo

Then, you can find the model of cpu, google it.


Banyan He
Blog: http://www.rootong.com
Email: ban...@rootong.com

On 4/10/2013 9:58 PM, Robert Moskowitz wrote:
> I have been tied up with other work and Holidays.  Now back to some
> server work that is long overdue.  I lost an old server yesterday so it
> is crunch time.
>
> I believe my new platform is suppose to be an x86_64.  The order form
> says 64 bit.
>
> I booted Centos 6.3 i386 liveCD to check the system out before an install.
>
> uname -i
>
> reports i386
>
> dmidecode -t processor
>
> reports Characteristics of 64 bit capable.  The processor is an AMD
> duo-core Opteron.
>
> I thought that in a prior thread I found that booting with an i386 live
> CD and using uname would confirm the processor type.  It seems not.
>
> I am going to go with the various evidence and start a x86_64 install,
> but what is with uname?
>
> thanks
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to patch a CentOS6 kernel

2013-04-10 Thread m . roth
Michael Mol wrote:
> On 04/10/2013 10:15 AM, Michael Mol wrote:
>> On 04/10/2013 10:00 AM, m.r...@5-cent.us wrote:
>>> Michael Mol wrote:
 So I have a couple patches supplied to me by upstream in relation to a
 kernel bug[1], but I can't figure out how to patch the kernel. The
 CentOS wiki page discusses retrieving the kernel source[2], but
 doesn't describe how to apply patches. Instructions I've found apply to
 CentOS5, and RH has changed their kernel packaging since then.

 I've been banging my head on this off and on for quite a while, now.
 I've mucked with Gentoo and Debian packaging, but kernel RPMs are a
 new one for me...
>>> 
>>> Um, if you got it from upstream, meaning, I presume, that you have a
>>> license, why not call their support and ask them - that's what you're
>>> spending money for
>>
>> Upstream meaning kernel developers, not RH themselves. Though the kernel
>> developer in question happens to be an RHEL employee.
>>
> RH employee. Doh. :)

Oh, so he's not a virtual employee 

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to determine 64 vs 32 bit processor

2013-04-10 Thread Michael Mol
On 04/10/2013 09:58 AM, Robert Moskowitz wrote:
> I have been tied up with other work and Holidays.  Now back to some 
> server work that is long overdue.  I lost an old server yesterday so it 
> is crunch time.
> 
> I believe my new platform is suppose to be an x86_64.  The order form 
> says 64 bit.
> 
> I booted Centos 6.3 i386 liveCD to check the system out before an install.
> 
> uname -i
> 
> reports i386
> 
> dmidecode -t processor
> 
> reports Characteristics of 64 bit capable.  The processor is an AMD 
> duo-core Opteron.
> 
> I thought that in a prior thread I found that booting with an i386 live 
> CD and using uname would confirm the processor type.  It seems not.
> 
> I am going to go with the various evidence and start a x86_64 install, 
> but what is with uname?
> 
> thanks

uname reports the architecture that the running operating system was
compiled for. Since you booted an i386-compiled OS, it will report as such.

To confirm the details of the hardware, examine /proc/cpuinfo .



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to determine 64 vs 32 bit processor

2013-04-10 Thread Robert Moskowitz

On 04/10/2013 10:04 AM, Reindl Harald wrote:
>
> Am 10.04.2013 15:58, schrieb Robert Moskowitz:
>> I believe my new platform is suppose to be an x86_64. The order form
>> says 64 bit.
>>
>> I booted Centos 6.3 i386 liveCD to check the system out before an install.
>>
>> uname -i
>>
>> reports i386
> no wonder, you boot a i386 kernel

OK.  I can 'llive' with this.  Just somewhere in some forgotten past I 
picked up that uname would still recognize that it was on a 64bit system 
even with the i386 kernel.

> simply boot a x86_64 liveCD
> hence i have not seen x86 systems since years
>
> Simply type "grep flags /proc/cpuinfo" and if you see lm
> you have a 64 bit CPU based system
thanks

>
> [root@rh:~]$ grep flags /proc/cpuinfo | grep lm
> flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
> cmov pat pse36 clflush dts acpi mmx fxsr
> sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts 
> rep_good nopl xtopology nonstop_tsc
> aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 
> cx16 xtpr pdcm pcid sse4_1 sse4_2
> x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt 
> pln pts dtherm tpr_shadow vnmi
> flexpriority ept vpid
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to patch a CentOS6 kernel

2013-04-10 Thread Michael Mol
On 04/10/2013 10:15 AM, Michael Mol wrote:
> On 04/10/2013 10:00 AM, m.r...@5-cent.us wrote:
>> Michael Mol wrote:
>>> So I have a couple patches supplied to me by upstream in relation to a
>>> kernel bug[1], but I can't figure out how to patch the kernel. The
>>> CentOS wiki page discusses retrieving the kernel source[2], but doesn't
>>> describe how to apply patches. Instructions I've found apply to CentOS5,
>>> and RH has changed their kernel packaging since then.
>>>
>>> I've been banging my head on this off and on for quite a while, now.
>>> I've mucked with Gentoo and Debian packaging, but kernel RPMs are a new
>>> one for me...
>> 
>> Um, if you got it from upstream, meaning, I presume, that you have a
>> license, why not call their support and ask them - that's what you're
>> spending money for
> 
> Upstream meaning kernel developers, not RH themselves. Though the kernel
> developer in question happens to be an RHEL employee.
> 
> 

RH employee. Doh. :)



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to patch a CentOS6 kernel

2013-04-10 Thread Michael Mol
On 04/10/2013 10:00 AM, m.r...@5-cent.us wrote:
> Michael Mol wrote:
>> So I have a couple patches supplied to me by upstream in relation to a
>> kernel bug[1], but I can't figure out how to patch the kernel. The
>> CentOS wiki page discusses retrieving the kernel source[2], but doesn't
>> describe how to apply patches. Instructions I've found apply to CentOS5,
>> and RH has changed their kernel packaging since then.
>>
>> I've been banging my head on this off and on for quite a while, now.
>> I've mucked with Gentoo and Debian packaging, but kernel RPMs are a new
>> one for me...
> 
> Um, if you got it from upstream, meaning, I presume, that you have a
> license, why not call their support and ask them - that's what you're
> spending money for

Upstream meaning kernel developers, not RH themselves. Though the kernel
developer in question happens to be an RHEL employee.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to patch a CentOS6 kernel

2013-04-10 Thread m . roth
Michael Mol wrote:
> So I have a couple patches supplied to me by upstream in relation to a
> kernel bug[1], but I can't figure out how to patch the kernel. The
> CentOS wiki page discusses retrieving the kernel source[2], but doesn't
> describe how to apply patches. Instructions I've found apply to CentOS5,
> and RH has changed their kernel packaging since then.
>
> I've been banging my head on this off and on for quite a while, now.
> I've mucked with Gentoo and Debian packaging, but kernel RPMs are a new
> one for me...

Um, if you got it from upstream, meaning, I presume, that you have a
license, why not call their support and ask them - that's what you're
spending money for

 mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to determine 64 vs 32 bit processor

2013-04-10 Thread Robert Moskowitz
I have been tied up with other work and Holidays.  Now back to some 
server work that is long overdue.  I lost an old server yesterday so it 
is crunch time.

I believe my new platform is suppose to be an x86_64.  The order form 
says 64 bit.

I booted Centos 6.3 i386 liveCD to check the system out before an install.

uname -i

reports i386

dmidecode -t processor

reports Characteristics of 64 bit capable.  The processor is an AMD 
duo-core Opteron.

I thought that in a prior thread I found that booting with an i386 live 
CD and using uname would confirm the processor type.  It seems not.

I am going to go with the various evidence and start a x86_64 install, 
but what is with uname?

thanks


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] floppy drives [gone OT, M$ Word 2010 rant]

2013-04-10 Thread m . roth
James B. Byrne wrote:
>
> On Tue, April 9, 2013 13:46, m.r...@5-cent.us wrote:
>> Fred Smith wrote:
>>> On Tue, Apr 09, 2013 at 12:21:10PM -0400, m.r...@5-cent.us wrote:
 Frank Cox wrote:
 > On Tue, 9 Apr 2013 10:19:33 -0400
 > m.r...@5-cent.us wrote:
 >
 >> Hmmm... didn't see it mounted, but I'll try more tonight. Last
 >> night included a) playing with system, and b) finishing up our
federal
 >> taxes
>> 
 I also can't seem to find the USB 3.5" drive I borrowed - lsusb
 sees it (at least since the last reboot), but trying to find it to
mount it
 is something I'm still digging at, and I doubt mtools can find it.

>> Even if there's nothing about floppies in /etc/fstab? Or is that
>> something I need to configure for autofs?
>>>
> Just to obtain some empirical data I have connected a usb 3.5 FDD unit
> to my CentOS-6.4 workstation and inserted a previously unused 3.5
> HDFD.  The Nautilus system automatically opened a window on my desktop
> and I was able to copy and removed files from the diskette without any
> difficulty.
>


I need to look at this more closely, which I'll do this evening. Last
night, I didn't get to touch it - got one state and one commonwealth worth
of taxes to finish, and then there was the document that I had to get to
my (contracting co) manager, whose formatting was screwed up in
libreoffice, and I *had* to use my work laptop and M$ Office, and Word

I thought 07, was it? was Not Good; this is absolute and UTTER CRAP. For
example, I want some bullet points, and if a sentence is longer than one
line, I want the second and any other lines indented from the start of the
bullet.

Couldn't do it. Wouldn't let me.

And trying to copy from an editable field, and it only giving me the whole
section, not just what I was highlighting And on, and on

In conclusion, Office 2010, esp. on a laptop, makes me want to beat the
laptop on fireplug until it's rubble, and then head on across the country
to Redmond, picking up a machine gun and grenades on the way.


Sorry, way off topic

   mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to patch a CentOS6 kernel

2013-04-10 Thread Michael Mol
On 04/10/2013 09:45 AM, Akemi Yagi wrote:
> On Wed, Apr 10, 2013 at 6:38 AM, Michael Mol  wrote:
>> So I have a couple patches supplied to me by upstream in relation to a
>> kernel bug[1], but I can't figure out how to patch the kernel. The
>> CentOS wiki page discusses retrieving the kernel source[2], but doesn't
>> describe how to apply patches. Instructions I've found apply to CentOS5,
>> and RH has changed their kernel packaging since then.
>>
>> I've been banging my head on this off and on for quite a while, now.
>> I've mucked with Gentoo and Debian packaging, but kernel RPMs are a new
>> one for me...
>>
>> [1] http://bugs.centos.org/view.php?id=6343
>> [2] http://wiki.centos.org/HowTos/I_need_the_Kernel_Source
> 
> This wiki article explains how to apply patches:
> 
> http://wiki.centos.org/HowTos/Custom_Kernel

That looks like *exactly* what I needed.

> 
> Or, you can download a source file for the centosplus kernel and see
> how the patches are added in there.

I think I've got what I needed, thanks.




signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to patch a CentOS6 kernel

2013-04-10 Thread Akemi Yagi
On Wed, Apr 10, 2013 at 6:38 AM, Michael Mol  wrote:
> So I have a couple patches supplied to me by upstream in relation to a
> kernel bug[1], but I can't figure out how to patch the kernel. The
> CentOS wiki page discusses retrieving the kernel source[2], but doesn't
> describe how to apply patches. Instructions I've found apply to CentOS5,
> and RH has changed their kernel packaging since then.
>
> I've been banging my head on this off and on for quite a while, now.
> I've mucked with Gentoo and Debian packaging, but kernel RPMs are a new
> one for me...
>
> [1] http://bugs.centos.org/view.php?id=6343
> [2] http://wiki.centos.org/HowTos/I_need_the_Kernel_Source

This wiki article explains how to apply patches:

http://wiki.centos.org/HowTos/Custom_Kernel

Or, you can download a source file for the centosplus kernel and see
how the patches are added in there.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to patch a CentOS6 kernel

2013-04-10 Thread Michael Mol
So I have a couple patches supplied to me by upstream in relation to a
kernel bug[1], but I can't figure out how to patch the kernel. The
CentOS wiki page discusses retrieving the kernel source[2], but doesn't
describe how to apply patches. Instructions I've found apply to CentOS5,
and RH has changed their kernel packaging since then.

I've been banging my head on this off and on for quite a while, now.
I've mucked with Gentoo and Debian packaging, but kernel RPMs are a new
one for me...

[1] http://bugs.centos.org/view.php?id=6343
[2] http://wiki.centos.org/HowTos/I_need_the_Kernel_Source



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] floppy drives

2013-04-10 Thread James B. Byrne

On Tue, April 9, 2013 13:46, m.r...@5-cent.us wrote:
> Fred Smith wrote:
>> On Tue, Apr 09, 2013 at 12:21:10PM -0400, m.r...@5-cent.us wrote:
>>> Frank Cox wrote:
>>> > On Tue, 9 Apr 2013 10:19:33 -0400
>>> > m.r...@5-cent.us wrote:
>>> >
>>> >> Hmmm... didn't see it mounted, but I'll try more tonight. Last
>>> night
>>> >> included a) playing with system, and b) finishing up our federal
>>> >> taxes
> 
>>> I also can't seem to find the USB 3.5" drive I borrowed - lsusb
>>> sees it
>>> (at least since the last reboot), but trying to find it to mount it
>>> is
>>> something I'm still digging at, and I doubt mtools can find it.
>>
>> As far as I remember (I'm not as young as I used to be, and it's
>> been a
>> while), the 3.5" USB floppy drive here would recognize a (formatted)
>> floppy when inserted and mount it automatically, on Centos 5.x.
>> (assuming it contained a recognizable filesystem...)
>
> Even if there's nothing about floppies in /etc/fstab? Or is that
> something I need to configure for autofs?
>>

Just to obtain some empirical data I have connected a usb 3.5 FDD unit
to my CentOS-6.4 workstation and inserted a previously unused 3.5
HDFD.  The Nautilus system automatically opened a window on my desktop
and I was able to copy and removed files from the diskette without any
difficulty.

A peek into /media shows this:


# tree /media
/media
└── disk

1 directory, 0 files


While /etc/fstab shows me nothing that obviously relates to the fdd:


# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Mon Sep 24 12:57:28 2012
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
info
#
/dev/mapper/vg_vhost04-lv_root /   ext4   
defaults1 1
UUID=a9a7cc59-bd0c-4362-9ab6-f721e25df2f8 /boot   ext4
   defaults1 2
/dev/mapper/vg_vhost04-lv_home /home   ext4   
defaults1 2
/dev/mapper/vg_vhost04-lv_tmp /tmpext4defaults
   1 2
/dev/mapper/vg_vhost04-lv_log /var/logext4defaults
   1 2
/dev/mapper/vg_vhost04-lv_spool /var/spool  ext4   
defaults1 2
/dev/mapper/vg_vhost04-lv_swap swapswap   
defaults0 0
tmpfs   /dev/shmtmpfs   defaults  
 0 0
devpts  /dev/ptsdevpts  gid=5,mode=620
 0 0
sysfs   /syssysfs   defaults  
 0 0
proc/proc   procdefaults  
 0 0
/dev/vg_vhost04/lv_centos_repos /var/data/centosext4defaults
00
/dev/vg_vhost04/lv_home_byrnejb /home/byrnejb   ext4defaults0   0

Mount on the other hand shows this:

/dev/sdb on /media/disk type vfat
(rw,nosuid,nodev,uhelper=udisks,uid=500,gid=500,shortname=mixed,dmask=0077,utf8=1,flush)

And udisks show this:

howing information for /org/freedesktop/UDisks/devices/sdb
  native-path:
/sys/devices/pci:00/:00:1a.0/usb3/3-1/3-1:1.0/host10/target10:0:0/10:0:0:0/block/sdb
  device:  8:16
  device-file: /dev/sdb
presentation:  /dev/sdb
by-id:
/dev/disk/by-id/usb-Y-E_DATA_USB_Floppy_Drive
by-path:  
/dev/disk/by-path/pci-:00:1a.0-usb-0:1:1.0-scsi-0:0:0:0
  detected at: Wed 10 Apr 2013 09:08:55  EDT
  system internal: 0
  removable:   1
  has media:   1 (detected at Wed 10 Apr 2013 09:09:07
 EDT)
detects change:1
detection by polling:  1
detection inhibitable: 1
detection inhibited:   0
  is read only:0
  is mounted:  1
  mount paths: /media/disk
  mounted by uid:  500
  presentation hide:   0
  presentation nopolicy:   0
  presentation name:
  presentation icon:
  size:1474560
  block size:  512
  job underway:no
  usage:   filesystem
  type:vfat
  version: FAT12
  uuid:
  label:
  drive:
vendor:Y-E DATA
model: USB Floppy Drive
revision:  0601
serial:
WWN:
detachable:1
can spindown:  0
rotational media:  Yes, unknown rate
write-cache:   unknown
ejectable: 0
adapter:   Unknown
ports:
similar devices:
media: floppy
  compat:  floppy
interface: usb
if speed:  1200 bits/s
ATA SMART: not available

-- 
***  E-Mail is NOT a SECURE channel  ***
James B. Byrnemailto:byrn...@harte-lyne.ca
Harte & 

[CentOS] [Solved] Re: fail2ban problem

2013-04-10 Thread Nikos Gatsis - Qbit
Well,
the answer is here:
https://github.com/fail2ban/fail2ban/commit/5becaf8ef2b8cd37d65de8079ce38d5e2c05be6d

thanks all


On 10/4/2013 2:30 μμ, Banyan He wrote:
> strace -s 512 -f -F -p 
>
> e.g.
> strace -s 512 -f -F -p 19420
>
> You can use -o  to redirect the output to a file. That would
> be easier to check later then.
> 
> Banyan He
> Blog: http://www.rootong.com
> Email: ban...@rootong.com
> On 4/10/2013 7:19 PM, Nikos Gatsis - Qbit wrote:
>> yes it doesn't!
>> i have never work with strace. Any suggestions?
>>
>> thank you
>>
>>
>>
>> On 10/4/2013 2:10 μμ, Banyan He wrote:
>>> This doesn't look enough for tracking. How about strace? Did you
>>> find anything interesting?
>>> 
>>> Banyan He
>>> Blog: http://www.rootong.com
>>> Email: ban...@rootong.com
>>> On 4/10/2013 6:52 PM, Nikos Gatsis - Qbit wrote:
 debug:

 fail2ban.server : INFO   Changed logging target to
 /var/log/fail2ban.log for Fail2ban v0.8.7
 fail2ban.comm   : DEBUG  Command: ['add', 'sasl-iptables', 'polling']
 fail2ban.jail   : INFO   Creating new jail 'sasl-iptables'
 fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
 'polling']

 fail2ba-server starts, but dont add rures in iptables.

 Thank you


 On 10/4/2013 1:31 μμ, Banyan He wrote:
> Try strace to follow all fork/exec to see which command is
> invalid. Or, debug log?
>
> 
> Banyan He
> Blog: http://www.rootong.com
> Email: ban...@rootong.com
>
> On 4/10/2013 6:06 PM, Nikos Gatsis - Qbit wrote:
>> Hello list
>> I'm trying to setup fail2ban specially sasl action but I'm facing
>> problems.
>> I have centos-release-5-9.el5.centos.1
>> and
>> fail2ban-0.8.7.1-1.el5.rf
>> installed
>> with selinux disabled
>>
>> The errors I get are:
>> INFO   Creating new jail 'sasl-iptables'
>> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
>> 'polling']
>>
>> I tried gemin against polling but I get the same error.
>> The strange thing is that if I enable ssh action, starts with no
>> problem.
>> So it appears to be problem with sasl action, witch is:
>>
>> [sasl-iptables]
>>
>> enabled  = true
>> filter   = sasl
>> backend  = polling
>> action   = iptables-multiport[name=sasl,
>> port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
>> sendmail-whois[name=sasl, dest=my@email]
>> logpath  = /var/log/maillog
>>
>> The same setup I have in several mailserver (fedora and centos 6
>> distro)
>> and all work fine.
>>
>> Does someone faced the same problem?
>>
>> Thak you in advance.
>>
>
>

 -- 
 Untitled Document
 
 *Γατσής Νίκος - Gatsis Nikos*
 Web developer
 tel.: 2108256721 - 2108256722
 fax: 2108256712
 email: ngat...@qbit.gr
 http://www.qbit.gr
>>>
>>
>> -- 
>> Untitled Document
>> 
>> *Γατσής Νίκος - Gatsis Nikos*
>> Web developer
>> tel.: 2108256721 - 2108256722
>> fax: 2108256712
>> email: ngat...@qbit.gr
>> http://www.qbit.gr
>

-- 
Untitled Document

*Γατσής Νίκος - Gatsis Nikos*
Web developer
tel.: 2108256721 - 2108256722
fax: 2108256712
email: ngat...@qbit.gr
http://www.qbit.gr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fail2ban problem

2013-04-10 Thread SilverTip257
On Wed, Apr 10, 2013 at 6:06 AM, Nikos Gatsis - Qbit wrote:

> Hello list
> I'm trying to setup fail2ban specially sasl action but I'm facing problems.
> I have centos-release-5-9.el5.centos.1
> and
> fail2ban-0.8.7.1-1.el5.rf
>

I'm using fail2ban from EPEL since I didn't have any luck with the package
from RPMForge.  I standardize on using EPEL if I can (but another admin
installed the rpmforge repo earlier).

I had to tweak the regex for the sasl filter to get it to match failed sasl
auth attempts though (EPEL package).

]# grep failregex /etc/fail2ban/filter.d/sasl.conf
# Option: failregex
#failregex = (?i): warning: [-._\w]+\[\]: SASL
(?:LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed(:
[A-Za-z0-9+/]*={0,2})?$
failregex = (?i): warning: [-._\w]+\[\]: SASL
(?:LOGIN|PLAIN|(?:CRAM|DIGEST)-MD5) authentication failed(:
[A-Za-z0-9+/\s]*={0,2})?$



> installed
> with selinux disabled
>
> The errors I get are:
> INFO   Creating new jail 'sasl-iptables'
> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
> 'polling']
>

I believe this is exactly what I saw before I bailed on the rpmforge
fail2ban packages.


>
> I tried gemin against polling but I get the same error.
>

You don't need to set it to gamin ... the sasl jail (by default) is set to
polling (and this works with the EPEL package).


> The strange thing is that if I enable ssh action, starts with no problem.
> So it appears to be problem with sasl action, witch is:
>
> [sasl-iptables]
>
> enabled  = true
> filter   = sasl
> backend  = polling
> action   = iptables-multiport[name=sasl,
> port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
>sendmail-whois[name=sasl, dest=my@email]
> logpath  = /var/log/maillog
>
> The same setup I have in several mailserver (fedora and centos 6 distro)
> and all work fine.
>
> Does someone faced the same problem?
>
> Thak you in advance.
>
> --
> Untitled Document
> 
> *Γατσής Νίκος - Gatsis Nikos*
> Web developer
> tel.: 2108256721 - 2108256722
> fax: 2108256712
> email: ngat...@qbit.gr
> http://www.qbit.gr
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
---~~.~~---
Mike
//  SilverTip257  //
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 98, Issue 4

2013-04-10 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CEBA-2013:0725  CentOS 6 libvirt Update (Johnny Hughes)
   2. CESA-2013:0727 Important CentOS 5 kvm Update (Johnny Hughes)


--

Message: 1
Date: Tue, 9 Apr 2013 15:19:51 +
From: Johnny Hughes 
Subject: [CentOS-announce] CEBA-2013:0725  CentOS 6 libvirt Update
To: centos-annou...@centos.org
Message-ID: <20130409151951.ga4...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Bugfix Advisory 2013:0725 

Upstream details at : https://rhn.redhat.com/errata/RHBA-2013-0725.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

i386:
18f6ec9e590d5048dd376c43b5285964c086859cb98c35e3fb9caf2e30fdfc27  
libvirt-0.10.2-18.el6_4.3.i686.rpm
aef29519bb5fd7533c8be4b2ad86c2128033b7913c60247d966c957da8a99d9c  
libvirt-client-0.10.2-18.el6_4.3.i686.rpm
5b7ac70b3e2b2631d8cdb2c1504c509874767c16cba666b8a2e5633b5c6c07a8  
libvirt-devel-0.10.2-18.el6_4.3.i686.rpm
cce875725d525c1610f5cbc5d1407ee713467a1b12639ed70969e83216ca9493  
libvirt-python-0.10.2-18.el6_4.3.i686.rpm

x86_64:
0e2499603eb3bbbf48788d01f45395fc36ee765b276e64e3fcf342e59c58e27d  
libvirt-0.10.2-18.el6_4.3.x86_64.rpm
aef29519bb5fd7533c8be4b2ad86c2128033b7913c60247d966c957da8a99d9c  
libvirt-client-0.10.2-18.el6_4.3.i686.rpm
696686053482a427159a354a0dd3594723d4b9f99260c881eec2c09d9c24fe87  
libvirt-client-0.10.2-18.el6_4.3.x86_64.rpm
5b7ac70b3e2b2631d8cdb2c1504c509874767c16cba666b8a2e5633b5c6c07a8  
libvirt-devel-0.10.2-18.el6_4.3.i686.rpm
9ccca92af3bda8614cf224b1c7f31de8e168fbdbdc106382a88e351ae559635c  
libvirt-devel-0.10.2-18.el6_4.3.x86_64.rpm
ff6369839e5db29fb3ff37f7ee99d09081c0c74229c2b1c911789e7c24b57981  
libvirt-lock-sanlock-0.10.2-18.el6_4.3.x86_64.rpm
c9f7884a8da76dde41a5783c28951e4355db3c555cacfa830ed1e20e257da43e  
libvirt-python-0.10.2-18.el6_4.3.x86_64.rpm

Source:
a8ba5bc49606ecacdf1c0387b52bed0fb4e88f5de0472702db2a1141beebb71c  
libvirt-0.10.2-18.el6_4.3.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

Message: 2
Date: Wed, 10 Apr 2013 03:55:37 +
From: Johnny Hughes 
Subject: [CentOS-announce] CESA-2013:0727 Important CentOS 5 kvm
Update
To: centos-annou...@centos.org
Message-ID: <20130410035537.ga10...@chakra.karan.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2013:0727 Important

Upstream details at : https://rhn.redhat.com/errata/RHSA-2013-0727.html

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 


x86_64:
e8f6713cbf13b9a0e2a1a1ac747a3a112485897362662a12591b87956dc8d1b9  
kmod-kvm-83-262.el5.centos.3.x86_64.rpm
33cfd1707f08f06f6f382ad193e2ebba5f0fee539b11cb19ba41512d468a0b60  
kmod-kvm-debug-83-262.el5.centos.3.x86_64.rpm
7fbd4547ebbe617cae2ea9efbf58250d7deb9eb026f2ead79b310713978aa809  
kvm-83-262.el5.centos.3.x86_64.rpm
49734f3733e6c696dbe36142081ecbc70dc768448f89bd4ae9f397381fdf1107  
kvm-qemu-img-83-262.el5.centos.3.x86_64.rpm
fd7b303cb46b00b3c147bbf2d0f127e1a415a042191036dc2b149ad5210a85a7  
kvm-tools-83-262.el5.centos.3.x86_64.rpm

Source:
8fdd7a43fee26f09c2bd63b31b4a2683d1cc9473420a11935c3a879ec5458fe8  
kvm-83-262.el5.centos.3.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net



--

___
CentOS-announce mailing list
centos-annou...@centos.org
http://lists.centos.org/mailman/listinfo/centos-announce


End of CentOS-announce Digest, Vol 98, Issue 4
**
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fail2ban problem

2013-04-10 Thread Nikos Gatsis - Qbit
I run strace -s 512 -f -F -p 9406
9406 is fail2ban-server pid

9406  poll([{fd=3, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 1,
3) = 0 (Timeout)
...

I think that the problem is not in server but the way actions "attached"
to iptables.
Python maybe?

Thanks again...

On 10/4/2013 2:30 μμ, Banyan He wrote:
> strace -s 512 -f -F -p 
>
> e.g.
> strace -s 512 -f -F -p 19420
>
> You can use -o  to redirect the output to a file. That would
> be easier to check later then.
> 
> Banyan He
> Blog: http://www.rootong.com
> Email: ban...@rootong.com
> On 4/10/2013 7:19 PM, Nikos Gatsis - Qbit wrote:
>> yes it doesn't!
>> i have never work with strace. Any suggestions?
>>
>> thank you
>>
>>
>>
>> On 10/4/2013 2:10 μμ, Banyan He wrote:
>>> This doesn't look enough for tracking. How about strace? Did you
>>> find anything interesting?
>>> 
>>> Banyan He
>>> Blog: http://www.rootong.com
>>> Email: ban...@rootong.com
>>> On 4/10/2013 6:52 PM, Nikos Gatsis - Qbit wrote:
 debug:

 fail2ban.server : INFO   Changed logging target to
 /var/log/fail2ban.log for Fail2ban v0.8.7
 fail2ban.comm   : DEBUG  Command: ['add', 'sasl-iptables', 'polling']
 fail2ban.jail   : INFO   Creating new jail 'sasl-iptables'
 fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
 'polling']

 fail2ba-server starts, but dont add rures in iptables.

 Thank you


 On 10/4/2013 1:31 μμ, Banyan He wrote:
> Try strace to follow all fork/exec to see which command is
> invalid. Or, debug log?
>
> 
> Banyan He
> Blog: http://www.rootong.com
> Email: ban...@rootong.com
>
> On 4/10/2013 6:06 PM, Nikos Gatsis - Qbit wrote:
>> Hello list
>> I'm trying to setup fail2ban specially sasl action but I'm facing
>> problems.
>> I have centos-release-5-9.el5.centos.1
>> and
>> fail2ban-0.8.7.1-1.el5.rf
>> installed
>> with selinux disabled
>>
>> The errors I get are:
>> INFO   Creating new jail 'sasl-iptables'
>> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
>> 'polling']
>>
>> I tried gemin against polling but I get the same error.
>> The strange thing is that if I enable ssh action, starts with no
>> problem.
>> So it appears to be problem with sasl action, witch is:
>>
>> [sasl-iptables]
>>
>> enabled  = true
>> filter   = sasl
>> backend  = polling
>> action   = iptables-multiport[name=sasl,
>> port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
>> sendmail-whois[name=sasl, dest=my@email]
>> logpath  = /var/log/maillog
>>
>> The same setup I have in several mailserver (fedora and centos 6
>> distro)
>> and all work fine.
>>
>> Does someone faced the same problem?
>>
>> Thak you in advance.
>>
>
>

 -- 
 Untitled Document
 
 *Γατσής Νίκος - Gatsis Nikos*
 Web developer
 tel.: 2108256721 - 2108256722
 fax: 2108256712
 email: ngat...@qbit.gr
 http://www.qbit.gr
>>>
>>
>> -- 
>> Untitled Document
>> 
>> *Γατσής Νίκος - Gatsis Nikos*
>> Web developer
>> tel.: 2108256721 - 2108256722
>> fax: 2108256712
>> email: ngat...@qbit.gr
>> http://www.qbit.gr
>

-- 
Untitled Document

*Γατσής Νίκος - Gatsis Nikos*
Web developer
tel.: 2108256721 - 2108256722
fax: 2108256712
email: ngat...@qbit.gr
http://www.qbit.gr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fail2ban problem

2013-04-10 Thread Banyan He
strace -s 512 -f -F -p 

e.g.
strace -s 512 -f -F -p 19420

You can use -o  to redirect the output to a file. That would be 
easier to check later then.


Banyan He
Blog: http://www.rootong.com
Email: ban...@rootong.com

On 4/10/2013 7:19 PM, Nikos Gatsis - Qbit wrote:
> yes it doesn't!
> i have never work with strace. Any suggestions?
>
> thank you
>
>
>
> On 10/4/2013 2:10 μμ, Banyan He wrote:
>> This doesn't look enough for tracking. How about strace? Did you find 
>> anything interesting?
>> 
>> Banyan He
>> Blog:http://www.rootong.com
>> Email:ban...@rootong.com
>> On 4/10/2013 6:52 PM, Nikos Gatsis - Qbit wrote:
>>> debug:
>>>
>>> fail2ban.server : INFO   Changed logging target to 
>>> /var/log/fail2ban.log for Fail2ban v0.8.7
>>> fail2ban.comm   : DEBUG  Command: ['add', 'sasl-iptables', 'polling']
>>> fail2ban.jail   : INFO   Creating new jail 'sasl-iptables'
>>> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables', 
>>> 'polling']
>>>
>>> fail2ba-server starts, but dont add rures in iptables.
>>>
>>> Thank you
>>>
>>>
>>> On 10/4/2013 1:31 μμ, Banyan He wrote:
 Try strace to follow all fork/exec to see which command is invalid. 
 Or, debug log?

 
 Banyan He
 Blog: http://www.rootong.com
 Email: ban...@rootong.com

 On 4/10/2013 6:06 PM, Nikos Gatsis - Qbit wrote:
> Hello list
> I'm trying to setup fail2ban specially sasl action but I'm facing 
> problems.
> I have centos-release-5-9.el5.centos.1
> and
> fail2ban-0.8.7.1-1.el5.rf
> installed
> with selinux disabled
>
> The errors I get are:
> INFO   Creating new jail 'sasl-iptables'
> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
> 'polling']
>
> I tried gemin against polling but I get the same error.
> The strange thing is that if I enable ssh action, starts with no 
> problem.
> So it appears to be problem with sasl action, witch is:
>
> [sasl-iptables]
>
> enabled  = true
> filter   = sasl
> backend  = polling
> action   = iptables-multiport[name=sasl,
> port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
> sendmail-whois[name=sasl, dest=my@email]
> logpath  = /var/log/maillog
>
> The same setup I have in several mailserver (fedora and centos 6 
> distro)
> and all work fine.
>
> Does someone faced the same problem?
>
> Thak you in advance.
>


>>>
>>> -- 
>>> Untitled Document
>>> 
>>> *Γατσής Νίκος - Gatsis Nikos*
>>> Web developer
>>> tel.: 2108256721 - 2108256722
>>> fax: 2108256712
>>> email: ngat...@qbit.gr
>>> http://www.qbit.gr
>>
>
> -- 
> Untitled Document
> 
> *Γατσής Νίκος - Gatsis Nikos*
> Web developer
> tel.: 2108256721 - 2108256722
> fax: 2108256712
> email: ngat...@qbit.gr
> http://www.qbit.gr

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fail2ban problem

2013-04-10 Thread Nikos Gatsis - Qbit
yes it doesn't!
i have never work with strace. Any suggestions?

thank you



On 10/4/2013 2:10 μμ, Banyan He wrote:
> This doesn't look enough for tracking. How about strace? Did you find
> anything interesting?
> 
> Banyan He
> Blog: http://www.rootong.com
> Email: ban...@rootong.com
> On 4/10/2013 6:52 PM, Nikos Gatsis - Qbit wrote:
>> debug:
>>
>> fail2ban.server : INFO   Changed logging target to
>> /var/log/fail2ban.log for Fail2ban v0.8.7
>> fail2ban.comm   : DEBUG  Command: ['add', 'sasl-iptables', 'polling']
>> fail2ban.jail   : INFO   Creating new jail 'sasl-iptables'
>> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
>> 'polling']
>>
>> fail2ba-server starts, but dont add rures in iptables.
>>
>> Thank you
>>
>>
>> On 10/4/2013 1:31 μμ, Banyan He wrote:
>>> Try strace to follow all fork/exec to see which command is invalid.
>>> Or, debug log?
>>>
>>> 
>>> Banyan He
>>> Blog: http://www.rootong.com
>>> Email: ban...@rootong.com
>>>
>>> On 4/10/2013 6:06 PM, Nikos Gatsis - Qbit wrote:
 Hello list
 I'm trying to setup fail2ban specially sasl action but I'm facing
 problems.
 I have centos-release-5-9.el5.centos.1
 and
 fail2ban-0.8.7.1-1.el5.rf
 installed
 with selinux disabled

 The errors I get are:
 INFO   Creating new jail 'sasl-iptables'
 fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
 'polling']

 I tried gemin against polling but I get the same error.
 The strange thing is that if I enable ssh action, starts with no
 problem.
 So it appears to be problem with sasl action, witch is:

 [sasl-iptables]

 enabled  = true
 filter   = sasl
 backend  = polling
 action   = iptables-multiport[name=sasl,
 port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
 sendmail-whois[name=sasl, dest=my@email]
 logpath  = /var/log/maillog

 The same setup I have in several mailserver (fedora and centos 6
 distro)
 and all work fine.

 Does someone faced the same problem?

 Thak you in advance.

>>>
>>>
>>
>> -- 
>> Untitled Document
>> 
>> *Γατσής Νίκος - Gatsis Nikos*
>> Web developer
>> tel.: 2108256721 - 2108256722
>> fax: 2108256712
>> email: ngat...@qbit.gr
>> http://www.qbit.gr
>

-- 
Untitled Document

*Γατσής Νίκος - Gatsis Nikos*
Web developer
tel.: 2108256721 - 2108256722
fax: 2108256712
email: ngat...@qbit.gr
http://www.qbit.gr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Greetings

2013-04-10 Thread Vishesh Kumar
Welcome to the List



On Wed, Apr 10, 2013 at 4:43 PM, santosh venkataswamy wrote:

> Hi,
>  I am new to this mailing list. I am an experienced Linux Corporate
> Trainer and Consultant. Look forward to share my views and technical info
> with you and
> participate in technical discussions,contribute and benefit from this
> mailing list.
>
> With Regards and  good wishes.
>
> V.SANTOSH
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
http://linuxmantra.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Greetings

2013-04-10 Thread santosh venkataswamy
Hi,
 I am new to this mailing list. I am an experienced Linux Corporate Trainer and 
Consultant. Look forward to share my views and technical info with you and
participate in technical discussions,contribute and benefit from this mailing 
list.
 
With Regards and  good wishes.

V.SANTOSH
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fail2ban problem

2013-04-10 Thread Banyan He
This doesn't look enough for tracking. How about strace? Did you find 
anything interesting?


Banyan He
Blog: http://www.rootong.com
Email: ban...@rootong.com

On 4/10/2013 6:52 PM, Nikos Gatsis - Qbit wrote:
> debug:
>
> fail2ban.server : INFO   Changed logging target to 
> /var/log/fail2ban.log for Fail2ban v0.8.7
> fail2ban.comm   : DEBUG  Command: ['add', 'sasl-iptables', 'polling']
> fail2ban.jail   : INFO   Creating new jail 'sasl-iptables'
> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables', 
> 'polling']
>
> fail2ba-server starts, but dont add rures in iptables.
>
> Thank you
>
>
> On 10/4/2013 1:31 μμ, Banyan He wrote:
>> Try strace to follow all fork/exec to see which command is invalid. 
>> Or, debug log?
>>
>> 
>> Banyan He
>> Blog: http://www.rootong.com
>> Email: ban...@rootong.com
>>
>> On 4/10/2013 6:06 PM, Nikos Gatsis - Qbit wrote:
>>> Hello list
>>> I'm trying to setup fail2ban specially sasl action but I'm facing 
>>> problems.
>>> I have centos-release-5-9.el5.centos.1
>>> and
>>> fail2ban-0.8.7.1-1.el5.rf
>>> installed
>>> with selinux disabled
>>>
>>> The errors I get are:
>>> INFO   Creating new jail 'sasl-iptables'
>>> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
>>> 'polling']
>>>
>>> I tried gemin against polling but I get the same error.
>>> The strange thing is that if I enable ssh action, starts with no 
>>> problem.
>>> So it appears to be problem with sasl action, witch is:
>>>
>>> [sasl-iptables]
>>>
>>> enabled  = true
>>> filter   = sasl
>>> backend  = polling
>>> action   = iptables-multiport[name=sasl,
>>> port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
>>> sendmail-whois[name=sasl, dest=my@email]
>>> logpath  = /var/log/maillog
>>>
>>> The same setup I have in several mailserver (fedora and centos 6 
>>> distro)
>>> and all work fine.
>>>
>>> Does someone faced the same problem?
>>>
>>> Thak you in advance.
>>>
>>
>>
>
> -- 
> Untitled Document
> 
> *Γατσής Νίκος - Gatsis Nikos*
> Web developer
> tel.: 2108256721 - 2108256722
> fax: 2108256712
> email: ngat...@qbit.gr
> http://www.qbit.gr

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread Banyan He
I remember I saw this behavior before. Mostly important thing is to find 
out if the enc/dec goes well. I was having this problem that triggers 
kernel to send out the icmp.


Banyan He
Blog: http://www.rootong.com
Email: ban...@rootong.com

On 4/10/2013 5:27 PM, yihect wrote:
>
>  Hi, all:
>
>  I'm playing with Gre Tunnel programming in centos 6.
>  
>  I wrote my program in these steps:
>  a, open /dev/net/tun  device and ioctl with TUNSETIFF, get fd to tun 
> device, say "tun0";
>  b, create one socket and use it to set tun0's  ip address, namyly 
> SIOCSIFADDR and SIOCSIFDSTADDR; and then turn it up;
>  c, create one raw socket to send things which got from the tun0 
> device to other machine, and to receive packages which should be feeded into 
> the tun0 device;
>
>  Finally, I ran the program in two machines, say MA and MB, 
> synchronously, and set route info in MA and MB too. The last environment is 
> like this:
>
>  10.0.3.1/24 192.168.0.31/24192.168.0.124/2410.0.4.1/24
>   -- MA ---  MB 
> --
>   tun0  eth0eth0  
> tun0
>
>   When I ping MB in MA, and tcpdump eth0 in MA, I get:
>
> 15:06:39.712390 IP 192.168.0.31 > 192.168.0.124: GREv0, length 88: IP 
> 10.0.3.1 > 10.0.4.1: ICMP echo request, id 28797, seq 1, length 64
> 15:06:39.713232 IP 192.168.0.124 > 192.168.0.31: ICMP 192.168.0.124 protocol 
> 47 port 2048 unreachable, length 116
> 15:06:39.713667 IP 192.168.0.124 > 192.168.0.31: GREv0, length 88: IP 
> 10.0.4.1 > 10.0.3.1: ICMP echo reply, id 28797, seq 1, length 64
> 15:06:39.713754 IP 192.168.0.31 > 192.168.0.124: ICMP 192.168.0.31 protocol 
> 47 port 2048 unreachable, length 116
>
>   The 1st and 3rd lines is easy to understand, but what about  the 
> 2nd and 4th lines??? Is the raw package been sent up into gre protocol while 
> caught by my program??
>
>   I have seen ICMP_PORT_UNREACH  stuff been placed in ip_gre.c kernel 
> code, but say it is "Impossible event". So, what's wrong,  have I missed 
> something in my program? Any suggestions are appreciated, thanks.
>
>   
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fail2ban problem

2013-04-10 Thread Banyan He
Try strace to follow all fork/exec to see which command is invalid. Or, 
debug log?


Banyan He
Blog: http://www.rootong.com
Email: ban...@rootong.com

On 4/10/2013 6:06 PM, Nikos Gatsis - Qbit wrote:
> Hello list
> I'm trying to setup fail2ban specially sasl action but I'm facing problems.
> I have centos-release-5-9.el5.centos.1
> and
> fail2ban-0.8.7.1-1.el5.rf
> installed
> with selinux disabled
>
> The errors I get are:
> INFO   Creating new jail 'sasl-iptables'
> fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
> 'polling']
>
> I tried gemin against polling but I get the same error.
> The strange thing is that if I enable ssh action, starts with no problem.
> So it appears to be problem with sasl action, witch is:
>
> [sasl-iptables]
>
> enabled  = true
> filter   = sasl
> backend  = polling
> action   = iptables-multiport[name=sasl,
> port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
> sendmail-whois[name=sasl, dest=my@email]
> logpath  = /var/log/maillog
>
> The same setup I have in several mailserver (fedora and centos 6 distro)
> and all work fine.
>
> Does someone faced the same problem?
>
> Thak you in advance.
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] fail2ban problem

2013-04-10 Thread Nikos Gatsis - Qbit
Hello list
I'm trying to setup fail2ban specially sasl action but I'm facing problems.
I have centos-release-5-9.el5.centos.1
and
fail2ban-0.8.7.1-1.el5.rf
installed
with selinux disabled

The errors I get are:
INFO   Creating new jail 'sasl-iptables'
fail2ban.comm   : WARNING Invalid command: ['add', 'sasl-iptables',
'polling']

I tried gemin against polling but I get the same error.
The strange thing is that if I enable ssh action, starts with no problem.
So it appears to be problem with sasl action, witch is:

[sasl-iptables]

enabled  = true
filter   = sasl
backend  = polling
action   = iptables-multiport[name=sasl,
port="imap,imaps,pop3,pop3s,smtp", protocol=tcp]
   sendmail-whois[name=sasl, dest=my@email]
logpath  = /var/log/maillog

The same setup I have in several mailserver (fedora and centos 6 distro)
and all work fine.

Does someone faced the same problem?

Thak you in advance.

-- 
Untitled Document

*Γατσής Νίκος - Gatsis Nikos*
Web developer
tel.: 2108256721 - 2108256722
fax: 2108256712
email: ngat...@qbit.gr
http://www.qbit.gr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] fsck - anyway to increase verbosity to show point in process

2013-04-10 Thread Santi Saez
El 09/04/13 20:41, Max Pyziur escribió:

> And there is no indication how much of the process has been completed
> (nothing like a %tage indicator), at least the way that I am running it.

Tip: if you have already launched "fsck" you can recover the progress 
bar sending SIGUSR1 signal, see this behavior in action:

http://www.youtube.com/watch?v=cS4eztFtS0U

SantiSaez
http://powerstack.org
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] What about port 2048 for GRE(47) packaged in ip protocol

2013-04-10 Thread yihect
  
    Hi, all: 

        I'm playing with Gre Tunnel programming in centos 6.
        
        I wrote my program in these steps: 
        a, open /dev/net/tun  device and ioctl with TUNSETIFF, get fd to tun 
device, say "tun0";
        b, create one socket and use it to set tun0's  ip address, namyly 
SIOCSIFADDR and SIOCSIFDSTADDR; and then turn it up;
        c, create one raw socket to send things which got from the tun0 device 
to other machine, and to receive packages which should be feeded into the tun0 
device;

        Finally, I ran the program in two machines, say MA and MB, 
synchronously, and set route info in MA and MB too. The last environment is 
like this:

    10.0.3.1/24     192.168.0.31/24    192.168.0.124/24    10.0.4.1/24
         -- MA ---  MB 
--
             tun0          eth0                                    eth0         
 tun0

         When I ping MB in MA, and tcpdump eth0 in MA, I get: 

15:06:39.712390 IP 192.168.0.31 > 192.168.0.124: GREv0, length 88: IP 10.0.3.1 
> 10.0.4.1: ICMP echo request, id 28797, seq 1, length 64
15:06:39.713232 IP 192.168.0.124 > 192.168.0.31: ICMP 192.168.0.124 protocol 47 
port 2048 unreachable, length 116
15:06:39.713667 IP 192.168.0.124 > 192.168.0.31: GREv0, length 88: IP 10.0.4.1 
> 10.0.3.1: ICMP echo reply, id 28797, seq 1, length 64
15:06:39.713754 IP 192.168.0.31 > 192.168.0.124: ICMP 192.168.0.31 protocol 47 
port 2048 unreachable, length 116

         The 1st and 3rd lines is easy to understand, but what about  the 2nd 
and 4th lines??? Is the raw package been sent up into gre protocol while caught 
by my program??

         I have seen ICMP_PORT_UNREACH  stuff been placed in ip_gre.c kernel 
code, but say it is "Impossible event". So, what's wrong,  have I missed 
something in my program? Any suggestions are appreciated, thanks.

 


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos