Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2339

From: <debian-user-digest-request(at)lists.debian.org>
Date: Sun Sep 09 2007 - 18:09:15 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2339

Today's Topics:

  Re: Sex spam again on the list        [ Nigel Henry  ]
  Re: Slow bash script                  [ Marty  ]
  Re: Slow bash script                  [ Andrew Sackville-West  ]
  modem works in sarge but not etch or [ "Nathan Salwen" <salwen.1@gmail.com ]

Date: Sun, 9 Sep 2007 23:38:03 +0200
From: Nigel Henry <cave.dnb@tiscali.fr>
To: debian-user@lists.debian.org
Subject: Re: Sex spam again on the list

Message-Id: <200709092338.03318.cave.dnb@tiscali.fr>
Content-Disposition: inline
Content-Type: text/plain;

  charset="utf-8"
Content-Transfer-Encoding: 7bit

On Sunday 09 September 2007 22:41, Hal Vaughan wrote:
> On Sunday 09 September 2007, Nigel Henry wrote:
> > On Sunday 09 September 2007 21:25, Andrew Sackville-West wrote:
> > > On Sun, Sep 09, 2007 at 09:15:32PM +0200, Nigel Henry wrote:
> > > > This has got more than a joke now. We are being bombarded with
> > > > s-x spam yet again.
> > >
> > > ...
> > >
> > > > Sorry if this sounds a bit sarcastic, but I'm feeling sarcastic
> > > > at the moment, as I don't want this cr-p on my machine.
> > >
> > > I know this doesn't really help you, but I've seen a *massive*
> > > increase in spam hitting my one server in the last couple of
> > > days. Previously I was seeing something like 50 spam a day hitting
> > > me (this is after clamav kicks out the virus laden ones, so its not
> > > an absolute number). In the last couple of days, I've seen that
> > > number pretty much quadruple to around 200 per day. My false
> > > negatives have gone up correspondingly as well from a couple
> > > getting through spamassassin per day to something like 30-50
> > > getting past s-a. Interestingly the subjects I'm seeing come
> > > through d-u are exactly the same as the ones getting through my
> > > local s-a, so some spammer has hit on a formula that is working at
> > > the moment. Apparently, this girl is having quite a problem make
> > > her extra-curricular activities work in a satisfactory manner...
> > > ;-O
> > >
> > > Not only has the overall number gone up, but the effectiveness has
> > > gone up by an order of magnitude.
> > >
> > > I wonder if this is a side-effect of the mis-named Storm Worm
> > > activity that's going on right now.
> > >
> > > > I don't have a shotgun, or hunting rifle, but I'd be game for an
> > > > organised shoot if the spammers were the targets.
> > >
> > > I need targets to practice my joint-locks and choke-holds on... ;)
> > >
> > > A
> >
> > I was thinking of the Roman arena, but I think that would be too
> > easy. Christians versus the lions are a a bit different to spammers
> > versus the shotguns.
> >
> > I think something more in line with a film I saw. The hunted
> > (spammers) were given a few minutes getaway time, then the hunters
> > (us with the shotguns) gave pursuit. I'm not sure how it ended up in
> > the film, but would like to think that the spammers would lose out in
> > this scenario.

>

> Either "The Most Dangerous Game" or "Running Man." Or it's possible you
> remember the same storyline as an episode of "Get Smart." Either way,
> in all three, the hunters end up dead when the hunted turned the tables
> on them. Maybe a T1000 as the spammers and us as the good ol' T101, an
> advanced killing machine with an Austrian accent, would be a better
> metaphor?

You've got me in hysterics here referencing Get Smart. I love that series.

I havn't seen any reruns lately though.

Do you need help?X

> "Violence is the last refuge of the incompetent."
> --Isaac Asimov

>
>

> Hal

Nigel.

Date: Sun, 09 Sep 2007 17:40:44 -0400
From: Marty <martyb@ix.netcom.com>
To: debian list <debian-user@lists.debian.org> Subject: Re: Slow bash script

Message-ID: <46E4685C.2000301@ix.netcom.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Andrew Sackville-West wrote:

> to clarify, you've done something to the normal .bz2 Packages files, I
> gather (like unzipped them, right?) and perhaps in the process you've
> mutated them into some other form resulting in more than one line of
> data being crammed into $inputline. just a thought.

There is an unzipped Packages file on debian-multimendia mirror I am using, so I use that instead. (This is the purpose of the "|grep -v z" in script.)

Do you need more help?X

Date: Sun, 9 Sep 2007 14:56:43 -0700
From: Andrew Sackville-West <andrew@farwestbilliards.com> To: debian-user@lists.debian.org
Subject: Re: Slow bash script
Message-ID: <20070909215643.GG25055@localhost.localdomain> Content-Type: multipart/signed; micalg=pgp-sha1;

        protocol="application/pgp-signature"; boundary="O8XZ+2Hy8Kj8wLPZ" Content-Disposition: inline

--O8XZ+2Hy8Kj8wLPZ

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Sep 09, 2007 at 05:35:12PM -0400, Marty wrote:

> Andrew Sackville-West wrote:
>> On Sun, Sep 09, 2007 at 04:23:42PM -0400, Marty wrote:
>>> The following script seems to run abnormally slow on a 400Mhz Sarge=20
>>> system, getting only about one iteration per second in the while loop. =
=20
>>> It extracts md5sums from a 180k Packages file and makes an indices file= =2E =20
>>> I've narrowed down the slowdown to the lines in the while loop startin= g=20
>>> with "search=3D..."
>> how have you determined this?
>

> I checked the output rate by outputing to stdout (instead of piping to gz=
ip=20
> after the "done" statement). I also timed it with the "time" command.

but, That only tells you how long it takes to iterate through the loop to get to the gzip command, not how much time is spent in each statement.

smth like:

while read inputline
do echo "input line is " $inputline

      search=3D`grep...`
      echo "search is " $search"
      if...
	echo "we got a good search"
      fi
      ...

done

so that you can see how long is actually spent on the creation of a value for $search, who long in the if comparison and so forth. You stated above that the slowdown is in the "search=3D" lines, and I'm curious to know how you determined that. =20

or did you do

Can we help you?X

time search=3D`grep...`

which could give meaningful output too.

=2E..

>
>> FTR, you may do much better using something like awk to do this,
>> though I'm no script master, just an observation.=20
>
>

> I tried awk instead of cut, with no dramatic change.

sorry, i meant replacing the whole operation with awk which, while a little heavy might be a better solution than instantiating a whole bunch of greps and cuts over and over. but that's just a guess. and your solution should certainly work pretty easily. and i see nothing that would cause it to take a full second per iteration. my brief testing (granted a much more powerful system) scrolled the output right by... faster than I could hope to read. There was definitely no noticeable delay anywhere in the process.

A

--O8XZ+2Hy8Kj8wLPZ

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG5GwbaIeIEqwil4YRAo5EAKDho2MMSTCYkOskt4zQ8dH3XwM2uACdFqT3 tE8q+SnV/SEckAla5cuX8dY=
=EqI/
-----END PGP SIGNATURE----- --O8XZ+2Hy8Kj8wLPZ--

Can't find what you're looking for?X

Date: Sun, 9 Sep 2007 23:42:14 +0200
From: Martin Zobel-Helas <zobel@ftbfs.de> To: debian-user@lists.debian.org
Subject: Re: My complaints to Murphy about sex spam on the list are being rejected

Message-ID: <20070909214214.GY10992@ftbfs.de>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

On Sun Sep 09, 2007 at 14:33:08 -0700, Andrew Sackville-West wrote:
> On Sun, Sep 09, 2007 at 05:26:56PM -0400, KS wrote:
> >
> > No. That was a statement in addition to my earlier post asking if an
> > email client can also "report spam" just as we can do via the web
> > interface manually. If it was possible, my client (and possibly several
> > others) could have already updated murphy about those spam messages.
>
> have your client move the spam mail to a folder and have a script
> watch for new files, bounce them to reportspam at murphy and then
> delete the mail.
>
> Probably that's a bad idea though as if you make a mistake, or your
> local filters get poisoned, you'll be automatically poisoning murphy.

no. we feed the mails send to reportspam to the db manualy, so that can't happen.

Greetings
Martin

-- 
[root@debian /root]# man real-life
No manual entry for real-life

Date: Sun, 9 Sep 2007 17:31:06 -0400 From: "Nathan Salwen" <salwen.1@gmail.com> To: debian-user@lists.debian.org Subject: modem works in sarge but not etch or lenny Message-ID: <23a3b60709091431k4155126bhd40b7e1e983a5039@mail.gmail.com> Content-Type: multipart/alternative; boundary="----=_Part_89130_10874851.1189373466882" ------=_Part_89130_10874851.1189373466882 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline If this is the wrong list, please tell me where to repost it. I have a V1456VQH-X pnp ISA card that I only use for sending and receiving faxes. It worked in Sarge but I have not been able to get it to work in my Lenny/Sid box. I reinstalled sarge on a different partition and the modem still works so it is not a hardware issue. I believe it is a kernel issue since it works with kernel2.4 and not with kernel 2.6. Although it works in 2.4 (sarge) I have not been able to find any log messages or dmesg output to tell me exactly what the kernel is doing iwth it. All I know is that minicom with /dev/ttyS1 returns OK when I type AT. I also went to an old partition with etch i(2.6.2.6.18-3-k7 #1 SMP Mon Dec 4 17:23:11 UTC 2006 i686 GNU/Linux) and it also doesn't seem to work. dmsg returns the following:
> isapnp: Scanning for PnP cards...
> isapnp: Card '56K PnP DATA FAX VOICE Modem'
> isapnp: 1 Plug & Play card detected total
> So it does seem like the kernel finds it. When I go to /sys/devices/pnp1/01:01/name I find "56K PnP DATA FAX VOICE Modem" and the file /sys/devices/pnp1/01:01/01:01.00/resources has "state = disabled" After "echo AUTO > resources" the file resources contains: state = disabled io 0x2e8-0x2ef irq 5 When I try running scanModem from linuxant it tells me that I need some proprietary driver from them but, as I said, the card worked in sarge. I don't know whether there was a decision to stop supporting some devices or this is a bug or I am just not configuring things right. (If it is a configuration issue that would also indicate a documentation bug.) I would like to post a bug but am not sure to which package it would go. I guess to the linux-image2.6 package. Any guidance would be appreciated. Thanks, Nathan Salwen ------=_Part_89130_10874851.1189373466882 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline If this is the wrong list, please tell me where to repost it.<br><br>I have a V1456VQH-X pnp ISA card that I only use for sending and receiving faxes.&nbsp; It worked in Sarge but I have not been able to get it to work in my Lenny/Sid box.&nbsp; <br>I reinstalled sarge on a different partition and the modem still works so it is not a hardware issue.&nbsp; I believe it is a kernel issue since it works with kernel2.4 and not with kernel 2.6.&nbsp; Although it works in 2.4 (sarge) I have not been able to find any log messages or dmesg output to tell me exactly what the kernel is doing iwth it.&nbsp; All I know is that minicom with /dev/ttyS1 returns OK when I type AT. <br><br>I also went to an old partition with etch i(2.6.2.6.18-3-k7 #1 SMP Mon Dec 4 17:23:11 UTC 2006 i686 GNU/Linux) and it also doesn&#39;t seem to work.<br><br>dmsg returns the following:<br><br>&gt; isapnp: Scanning for PnP cards... <br>&gt; isapnp: Card &#39;56K PnP DATA FAX VOICE Modem&#39;<br>&gt; isapnp: 1 Plug &amp; Play card detected total<br>&gt; <br><br>So it does seem like the kernel finds it.&nbsp; When I go to&nbsp; /sys/devices/pnp1/01:01/name I find &quot;56K PnP DATA FAX VOICE Modem&quot; <br>and the file /sys/devices/pnp1/01:01/01:01.00/resources has &quot;state = disabled&quot;<br><br>After &quot;echo AUTO &gt; resources&quot;&nbsp; the file resources contains:<br>state = disabled<br>io 0x2e8-0x2ef<br>irq 5<br> <br>When I try running scanModem from linuxant it tells me that I need some proprietary driver from them but, as I said, the card worked in sarge.&nbsp; I don&#39;t know whether there was a decision to stop supporting some devices or this is a bug or I am just not configuring things right.&nbsp; (If it is a configuration issue that would also indicate a documentation bug.)&nbsp; I would like to post a bug but am not sure to which package it would go. I guess to the linux-image2.6 package.<br><br>Any guidance would be appreciated.<br><br>Thanks,<br>Nathan Salwen<br> ------=_Part_89130_10874851.1189373466882-- End of debian-user-digest Digest V2007 Issue #2339 ************************************************** Received on Sun Sep 9 18:09:21 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:54:32 EDT

Don't know where to look next?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library