converting a snapshot to a regular lv?

2008-04-30 Thread Amos Shapira
Hello,

We use LVM snapshots a lot during development in order to start the
automatic process of building a Xen guest image from just after the
basic OS install (CentOS, but doesn't matter for this level).

So in order to create an instance, the process include a command like:

# lvcreate -s xen02/orig -n $instance_name -L 2G

Now, I'd like to be able to disconnect the snapshot after the setup is
done so it'll become a stand-alone copy of the original.

According to the lvconvert manual page:

lvconvert will change a linear logical volume to a mirror logical
volume or to a snapshot of linear volume and vice versa.

The part I'm hanging onto is vice versa, which I interpret as
including convert a snapshot into a regular logical volume.

But the results I get are:
# lvconvert -m0 xen02/instance
  Can't convert snapshot logical volume instance

Do I mis-interpret this? Is there another way to achieve this short of
shutting down the Xen guest and manually DD'ing the entire logical
volume snapshot into a regular LV?

Thanks,

--Amos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



How to deal with bounce messages spam?

2008-04-30 Thread Omer Zak
My E-mail address somehow found its way into the reservoir of E-mail
addresses used by some spambots for forging the From: line in E-mail
messages.

The consequence is that during recent days I have been flooded with
bounce messages from mailer-daemon and postmaster of various domains,
which bounced back spam messages whose delivery to the final destination
failed.

My practice so far has been to filter spam messages into a junk folder
and manually inspectdelete them, so that I can catch any false
positives.
However, given the flood of the bounce messages spam, I'll need to
automatically get rid of them.

Fortunately, almost all of the messages which I want to automatically
delete seem to match the rule that the original message has a From:
line with my E-mail address but with another name.

The question is - is it possible and how to configure SpamAssasin and/or
Evolution (my E-mail client) to reject those messages (or file them in a
junk2 folder, for rapid deletion)?

  Thanks,
   --- Omer

-- 
MS-Windows is the Pal-Kal of the PC world.
My own blog is at http://www.zak.co.il/tddpirate/

My opinions, as expressed in this E-mail message, are mine alone.
They do not represent the official policy of any organization with which
I may be affiliated in any way.
WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Programatically configure VLAN

2008-04-30 Thread Noam Rathaus
Hi,

I am trying to extend the software cfgsh by Gilad to support VLAN, anyone can 
point me to Linux API that would allow me to do this?

I rather not access /proc/net/vlan/ directly if possible.

-- 
Noam Rathaus
CTO
[EMAIL PROTECTED]
http://www.beyondsecurity.com

Know that you are safe.

Beyond Security Finalist for the Red Herring 100 Global Awards 2007

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



SourceForge down?

2008-04-30 Thread ronys
Hi,

Is it only me, or is sourceforge.net unavailable over the last few hours?

I can't reach them from Netvision or from Bezeqint.

Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).

Rony


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: SourceForge down?

2008-04-30 Thread Dotan Cohen
2008/4/30 ronys [EMAIL PROTECTED]:
 Hi,

  Is it only me, or is sourceforge.net unavailable over the last few hours?

  I can't reach them from Netvision or from Bezeqint.

  Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).

  Rony


Down for me too. Actcom (Neqeq Beinleumi), Nesher.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: SourceForge down?

2008-04-30 Thread Amos Shapira
On Wed, Apr 30, 2008 at 9:47 PM, ronys [EMAIL PROTECTED] wrote:
 Hi,

  Is it only me, or is sourceforge.net unavailable over the last few hours?

I'm trying them from an address outside Israel and also can't get a
response (not even a connect for telnet sourceforge.net 80).


  I can't reach them from Netvision or from Bezeqint.

  Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).

Same here. Both resolve to IP's on the same subnet.

On the face of it - it looks like a DDOS attack (I would say that
slashdot was slashdotted but that would be a bit lame :)

Nothing about it in Google News (yet).

Maybe someone who knows Twitter can listen for echos about this?

--Amos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: SourceForge down?

2008-04-30 Thread Omer Zak
Upon seeing the following E-mail, I tested sourceforge.net and
slashdot.org.  As of 15:15 I can reach neither of them, and I am
connected via Golden Lines (012.net).

Anyone from outside of Israel, check both sites please?


On Wed, 2008-04-30 at 14:47 +0300, ronys wrote:
 Hi,
 
 Is it only me, or is sourceforge.net unavailable over the last few hours?
 
 I can't reach them from Netvision or from Bezeqint.
 
 Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).
 
 Rony



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: need advice: how to cancel my parents netvision account

2008-04-30 Thread Shachar Shemesh

michael shiloh wrote:

Hiya,

Ideally, I'd like a URL I can visit and enter some information and get 
a big
are you sure you want to close this account button. Second choice 
would be a

secret phone number or email address where I can say please close this
account and they will say ok, done.
That may not work. What will work better is for you not to get pulled 
into their sales pitch.


You: I want to disconnect
Rep: May I ask why?
Y: No.
Rep: I need to write down a reason
You: It's none of your business. I just want to disconnect.
Rep: Is something wrong?
You: Please just disconnect me now.
Rep: Maybe if we offered you a better place
You: Please just disconnect me now.
Rep: We have great deals
You: Please just disconnect me now.

etc.

Eventually they will run out of threads to pull you into, and will 
disconnect you.


Shachar

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: SourceForge down?

2008-04-30 Thread Constantine Shulyupin
I too. from 012

On Wed, Apr 30, 2008 at 2:47 PM, ronys [EMAIL PROTECTED] wrote:
 Hi,

  Is it only me, or is sourceforge.net unavailable over the last few hours?

  I can't reach them from Netvision or from Bezeqint.

  Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).

  Rony


  =
  To unsubscribe, send mail to [EMAIL PROTECTED] with
  the word unsubscribe in the message body, e.g., run the command
  echo unsubscribe | mail [EMAIL PROTECTED]





-- 
Constantine Shulyupin
Freelance Embedded Linux Engineer
054-4234440
http://www.linuxdriver.co.il/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Programatically configure VLAN

2008-04-30 Thread Rami Rosen
Hi,

If you are talking only about tasks as create and remove vlan-devices
(8021.q) ,
then this is merely  matter of building a request and sending it by
ioctls (like SIOCSIFVLAN for adding /removing
with ADD_VLAN_CMD or DEL_VLAN_CMD).

See: /usr/include/linux/if_vlan.h and /usr/include/linux/sockios.h

As far as I understand, cfgsh can be easily extended using this mechanism.

Or are you talking about doing more than that ?

Regards,
Rami Rosen




On Wed, Apr 30, 2008 at 2:35 PM, Noam Rathaus [EMAIL PROTECTED] wrote:
 Hi,

  I am trying to extend the software cfgsh by Gilad to support VLAN, anyone can
  point me to Linux API that would allow me to do this?

  I rather not access /proc/net/vlan/ directly if possible.

  --
  Noam Rathaus
  CTO
  [EMAIL PROTECTED]
  http://www.beyondsecurity.com

  Know that you are safe.

  Beyond Security Finalist for the Red Herring 100 Global Awards 2007

  =
  To unsubscribe, send mail to [EMAIL PROTECTED] with
  the word unsubscribe in the message body, e.g., run the command
  echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: SourceForge down?

2008-04-30 Thread Geoff Shang

Hi,

At 3:52 pm looks like they are back.

Geoff.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: SourceForge down?

2008-04-30 Thread ronys
It's official:

http://www.theregister.co.uk/2008/04/30/slashdot_website_down/ 

:-(

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Omer Zak
Sent: Wednesday, April 30, 2008 3:06 PM
To: linux-il
Subject: Re: SourceForge down?

Upon seeing the following E-mail, I tested sourceforge.net and
slashdot.org.  As of 15:15 I can reach neither of them, and I am
connected via Golden Lines (012.net).

Anyone from outside of Israel, check both sites please?


On Wed, 2008-04-30 at 14:47 +0300, ronys wrote:
 Hi,
 
 Is it only me, or is sourceforge.net unavailable over the last few hours?
 
 I can't reach them from Netvision or from Bezeqint.
 
 Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).
 
 Rony



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: SourceForge down?

2008-04-30 Thread Constantine Shulyupin
http://sourceforge.net/ is back!

On Wed, Apr 30, 2008 at 3:59 PM, ronys [EMAIL PROTECTED] wrote:
 It's official:

  http://www.theregister.co.uk/2008/04/30/slashdot_website_down/

  :-(



  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  On Behalf Of Omer Zak
  Sent: Wednesday, April 30, 2008 3:06 PM
  To: linux-il
  Subject: Re: SourceForge down?

  Upon seeing the following E-mail, I tested sourceforge.net and
  slashdot.org.  As of 15:15 I can reach neither of them, and I am
  connected via Golden Lines (012.net).

  Anyone from outside of Israel, check both sites please?


  On Wed, 2008-04-30 at 14:47 +0300, ronys wrote:
   Hi,
  
   Is it only me, or is sourceforge.net unavailable over the last few hours?
  
   I can't reach them from Netvision or from Bezeqint.
  
   Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).
  
   Rony



  =
  To unsubscribe, send mail to [EMAIL PROTECTED] with
  the word unsubscribe in the message body, e.g., run the command
  echo unsubscribe | mail [EMAIL PROTECTED]


  =
  To unsubscribe, send mail to [EMAIL PROTECTED] with
  the word unsubscribe in the message body, e.g., run the command
  echo unsubscribe | mail [EMAIL PROTECTED]





-- 
Constantine Shulyupin
Freelance Embedded Linux Engineer
054-4234440
http://www.linuxdriver.co.il/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: How to deal with bounce messages spam?

2008-04-30 Thread Nadav Har'El
On Wed, Apr 30, 2008, Omer Zak wrote about How to deal with bounce messages 
spam?:
 My E-mail address somehow found its way into the reservoir of E-mail
 addresses used by some spambots for forging the From: line in E-mail
 messages.
 The consequence is that during recent days I have been flooded with
 bounce messages from mailer-daemon and postmaster of various domains,
 which bounced back spam messages whose delivery to the final destination
 failed.

You're lucky that this is a new problem for you. For several years now,
there are many periods when the number of these spam bounces messages
I got greatly exceeded the number of actual spams I got.

..
 However, given the flood of the bounce messages spam, I'll need to
 automatically get rid of them.

And luckily this isn't hard, because unlike spam, these bounces don't
try to disguise themselves, so you can recognize most of them with hardly
any false positives.

The key is that bounced mail should, by the SMTP standard, contain the
Messege-id header of the original mail. And since your real mail always
has a message-id formatted in a certain way and spam usually has random
message-ids, it's easy to recognize bounces of mails you never sent -
even without needing to record the specific message ids you actually
sent.

For example, here is the procmail rule I use:

:0 BH:
*^from +MAILER-DAEMON[ @]
* !^Message-id: [EMAIL PROTECTED]
spambounces

-- 
Nadav Har'El|Wednesday, Apr 30 2008, 25 Nisan 5768
[EMAIL PROTECTED] |-
Phone +972-523-790466, ICQ 13349191 |Unix is simple, but it takes a genius to
http://nadav.harel.org.il   |understand its simplicity.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: SourceForge down?

2008-04-30 Thread Dotan Cohen
2008/4/30 ronys [EMAIL PROTECTED]:
 Hi,

 Is it only me, or is sourceforge.net unavailable over the last few hours?

 I can't reach them from Netvision or from Bezeqint.

 Slashdot.org also seems down (both are owned by SourceForge Inc. - odd).

 Rony


Unexpected Slashdot Downtime
http://news.slashdot.org/article.pl?sid=08/04/30/1455205


Netcraft confirmed it... Slashdot was dying for several hours (along
with SourceForge which share a corporate overlord and router). Some
planned downtime from our provider apparently didn't come back up
quite as planned. Sorry for the inconvenience. On the upside, we're
moving to a new network and hardware soon, so the site should be much
faster and more stable rsn.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: Programatically configure VLAN

2008-04-30 Thread Gilad Ben-Yossef

Hi,


Noam Rathaus wrote:


Hi,

I am trying to extend the software cfgsh by Gilad to support VLAN, anyone can 
point me to Linux API that would allow me to do this?


  
As both cfgsh and Busybox are GPL v2,  just copy the code off of the 
vconfig applet of Busybox:


http://busybox.net/cgi-bin/viewcvs.cgi/branches/busybox_1_10_stable/networking/vconfig.c?rev=21451view=markup

I wonder, anyone else here happens to still be using cfgsh as well these 
days?


Gilad

--
Gilad Ben-Yossef 
Chief Coffee Drinker


Codefidence Ltd.
The code is free, your time isn't.(TM)

Web:http://codefidence.com
Email:  [EMAIL PROTECTED]
Office: +972-8-9316883 ext. 201
Fax:+972-8-9316885
Mobile: +972-52-8260388



Re: 3G connection, Bluetooth, Fedora 8

2008-04-30 Thread Shay Ohayon
On Tue, Apr 29, 2008 at 1:47 PM, Hetz Ben Hamo [EMAIL PROTECTED] wrote:
 Hi,

  After spending few hours with tons of docs, I found the following info:

  1. 3G connection is different from WAP connection, as it requires
  different APN (Access Point Number). For WAP/GPRS, it's internet
  while for 3G/UMTS it's uinternet (with Orange, I don't know about
  Cellcom).

Just for those who are interested, the access point for Cellcom is
internetg (for G3/HSDPA).

If someone has troubles connecting to Cellcom, I can send my wvdial.conf too.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]