RE: Question on making the partitions

2004-06-09 Thread Avrahami David
Title: RE: Question on making the partitions > -Original Message- > From: Ehud Karni [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 09, 2004 6:44 PM > To: Avrahami David > Cc: [EMAIL PROTECTED] > Subject: Re: Question on making the partitions > > > -BEGIN PGP SIGNED MESSAG

[JOB OFFER] Linux sys. admin position

2004-06-09 Thread Avrahami David
Title: [JOB OFFER] Linux sys. admin position Job Description:     *   Develop & support Linux (Red-Hat) infrastructure for most of Comverse application servers.     *  Full time job Job Requirements:     *   Developer with at least 3 years experience as Linux s

RE: My initiative to detect worms that send spam

2004-06-09 Thread Kovriga, Gregory
Hi, couldn't you get the same logging capabilities by closing outgoing SMTP connections (using iptables) for users other than "smtp" and relaying all applications through the local smtp daemon ? Thanks, Gregory. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Beha

Re: multiple mail booxes for poor people

2004-06-09 Thread Omer Zak
On Wed, 9 Jun 2004, Diego Iastrubni wrote: > Hi, > > I am in an "interesting" situation. I have two accounts on the same machine. > I would like both of them to share the same mail box (I will be able to see > the same folders on both accounts). > > I tried putting the mailbox on a "shared" dir :

Optimal number of mount points (was: Re: Question on making the partitions)

2004-06-09 Thread Omer Zak
On Wed, 9 Jun 2004, Ehud Karni wrote: > My suggestion is to have only 2 partitions: / (with /usr, /bin and any > not changing much dirs - 7-8 GB will be more than enough for RH or FC), > and another for mostly user dirs (/home, /tmp). I put /var in the root > partition because although changing,

RE: My initiative to detect worms that send spam

2004-06-09 Thread Tzahi Fadida
I think it's a nice idea. Might I suggest a similar solution that seems to me more airtight. If you already have access to the smtp machine you might consider filtering all newly arriving mails to a temorary folder and your warning email that you send to the client will include a confirmation hyper

My initiative to detect worms that send spam

2004-06-09 Thread David Harel
Hi, Some time ago I asked this group about an idea of mine to track smtp activity. The reason I want to do so is that a while ago I was suspected of sending spam messages. Knowing that I would never do such a thing I assumed I got infected with some kind of a worm. (I understand that there are

Re: multiple mail booxes for poor people

2004-06-09 Thread Alexander V. Karelin
Diego, I think the best way would be to use procmail in-between, piping the messages to Your chosen location and keeping the permissions intact. Check "man procmailrc" and "man procmailex" for some more information. Basicaly I'd do it this way: PATH=/usr/bin:/usr/local/bin:whatever TARGET=/my-sha

Re: Running ping, need help

2004-06-09 Thread Shachar Shemesh
Oron Peled wrote: On Wednesday 09 June 2004 19:18, Shachar Shemesh wrote: Maxim Kovgan wrote: man pthread_create man pthread_mutex_init Why would threads and mutexes help me at all? They won't, wrong direction. Instead, why blocking SIGCHLD and getting to possible critical races

Re: Running ping, need help

2004-06-09 Thread Shachar Shemesh
Muli Ben-Yehuda wrote: how about replacing the signal with e.g. a pipe? i.e. fork twice, have the first son share a pipe with the father, then fork & exec the ping, and wait on it. Once the ping returns, write to the pipe. In the father, select on the pipe with the timeout you want. No async events

Re: Running ping, need help

2004-06-09 Thread Oron Peled
On Wednesday 09 June 2004 19:18, Shachar Shemesh wrote: > Maxim Kovgan wrote: > >man pthread_create > >man pthread_mutex_init > Why would threads and mutexes help me at all? They won't, wrong direction. Instead, why blocking SIGCHLD and getting to possible critical races? An simpler alternative se

Re: Running ping, need help

2004-06-09 Thread Muli Ben-Yehuda
On Wed, Jun 09, 2004 at 06:52:16PM +0300, Shachar Shemesh wrote: > Now here's the thing. Sometimes, I can see that the ping returned fairly > immediately, but the full timeout was spent. I suspect that, due to the > fact pselect is not a system call in Linux, ping has indeed finished > before t

Re: multiple mail booxes for poor people

2004-06-09 Thread Amir Hardon
On Thursday 10 June 2004 00:43, Diego Iastrubni wrote: > Hi, > > I am in an "interesting" situation. I have two accounts on the same > machine. I would like both of them to share the same mail box (I will be > able to see the same folders on both accounts). > > I tried putting the mailbox on a "sha

Re: Running ping, need help

2004-06-09 Thread Ehud Karni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 09 Jun 2004 19:31:31 +0300, Shachar Shemesh <[EMAIL PROTECTED]> wrote: > > The more serious problem is that ALRM has a resolution of "seconds", > which is not good enough. You can use `setitimer(2)' instead. It has microseconds resolution, but

Re: [OT]DB structure efficiency

2004-06-09 Thread Amir Hardon
On Wednesday 09 June 2004 21:40, Shlomi Fish wrote: > On Wednesday 09 June 2004 16:50, Amir Hardon wrote: > > Hi, > > I'm planning a DB structure for an e-commerce system, and facing some > > question about the DB efficiency that I don't know how to approach. > > > > For example what will be better

multiple mail booxes for poor people

2004-06-09 Thread Diego Iastrubni
Hi, I am in an "interesting" situation. I have two accounts on the same machine. I would like both of them to share the same mail box (I will be able to see the same folders on both accounts). I tried putting the mailbox on a "shared" dir : "/usr/local/mail", and set that dir G+RW (both users

Re: [OT]DB structure efficiency

2004-06-09 Thread Shlomi Fish
On Wednesday 09 June 2004 16:50, Amir Hardon wrote: > Hi, > I'm planning a DB structure for an e-commerce system, and facing some > question about the DB efficiency that I don't know how to approach. > > For example what will be better, storing all items information in one table > with one column f

Re: IrDA

2004-06-09 Thread Eitan Isaacson
hi, i got a usb irda from office-depot. it is a generic brand, when i plug it in i see in /prob/bus/usb/devices: .. P: Vendor=066f ProdID=4200 Rev= 0.08 S: Manufacturer= Sigmatel Inc S: Product= IrDA/USB Bridge .. notice that sigmatel is a different driver than most irda devices. its called st

Re: Off Topic (or not) What whould you have done insted ?

2004-06-09 Thread Stanislav Malyshev
i>> Do you have an idea what can i do ? Well, if I had this situation I probably would call the provider and say "Guys, I pay you money and my connection is not working. Why won't you fix it *right now* or I find somebody who would provide me with service for my money?" If they don't fix it, I'd c

Re: IrDA

2004-06-09 Thread Alexander V. Karelin
Eran, I am using linux irda support (irda-utils + kernel modules) to operate my SonyEricsson T68i as a GPRS modem, but I do that not through a Dongle (I think that's how USB->IrDA thingie is generally called), but directly. Check the kernel documentation for the supported USB->IrDA interfaces a

Re: Firewall on Thin Computers ?

2004-06-09 Thread Arnon Klein
Look for FreeSco (www.freesco.org , I think) It runs from a floppy disk, but it doesn't look like putting it on a bootable flash disk will be an issue. It will run on any box (well, maybe 486 and up...) with 2 NICs and 8 megs of memory... Maybe an old laptop with 2 NICs (PCMCIA)? Probably a lot c

Re: Running ping, need help

2004-06-09 Thread Shachar Shemesh
Ehud Karni wrote: Caution: untested suggestion. You can use alarm(2) in the child process before `exec'ing the ping. Then it either will finish normally (exit 0) or will fail for any reason (including SIGALRM). No good In this way, you can use blocking `waitpid' in the parent process. If you try

Re: Running ping, need help

2004-06-09 Thread Shachar Shemesh
Maxim Kovgan wrote: man pthread_create man pthread_mutex_init good luck. M. I'm afraid you will have to be WAY more specific than this. Why would threads and mutexes help me at all? Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd. http://www.lingnu.com/ ==

Re: Running ping, need help

2004-06-09 Thread Ehud Karni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 09 Jun 2004 18:52:16 +0300, Shachar Shemesh <[EMAIL PROTECTED]> wrote: > > I'm trying to provide a library call that will run a ping to a server. > The catch is that it needs to be done as a non-root user, and I would > like to avoid any soluti

Re: Running ping, need help

2004-06-09 Thread Maxim Kovgan
On Wed, 9 Jun 2004, Shachar Shemesh wrote: > Hi all, > > I'm trying to provide a library call that will run a ping to a server. > The catch is that it needs to be done as a non-root user, and I would > like to avoid any solution that involves any SUID or root running > processes beyond what is alr

Re: [OT]DB structure efficiency

2004-06-09 Thread Maxim Kovgan
On Wed, 9 Jun 2004, Amir Hardon wrote: > Hi, > I'm planning a DB structure for an e-commerce system, and facing some question > about the DB efficiency that I don't know how to approach. > > For example what will be better, storing all items information in one table > with one column for category,

Running ping, need help

2004-06-09 Thread Shachar Shemesh
Hi all, I'm trying to provide a library call that will run a ping to a server. The catch is that it needs to be done as a non-root user, and I would like to avoid any solution that involves any SUID or root running processes beyond what is already there. That leaves me, pretty much, "ping". The

Re: Question on making the partitions

2004-06-09 Thread Ehud Karni
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Jun 2004 16:37:16 +0300 , Avrahami David <[EMAIL PROTECTED]> wrote: > > I'm installing a customized RH linux with kickstart. > I would like the default partitions to be defined as follows: > / - 2GB > /usr - 4GB > /opt - 2GB What about

Postfix and DNS question

2004-06-09 Thread Arik Baratz
Hello all I have a question regarding postfix and DNS servers. I'm running postfix, and I'm trying to get it to use a specific DNS server. Try as I might, I can't seem to convince it to use the DNS server in /etc/resolv.conf - it goes to the DNS installed on the machine, as tcpdump confirms.

Re: Firewall on Thin Computers ?

2004-06-09 Thread Marc A. Volovic
Ben-Nes Michael wrote: Hi All I want to setup a Firewall, and thought of runing it from flash memory on a small computer. I thought of getting one of those: http://h41100.www4.hp.com/il/eng/commercial/thinclients/entry.html Any one have any knowlege about such solution ? are there better ha

Re: [OT]DB structure efficiency

2004-06-09 Thread Omer Zak
One possible approach: Try both designs, fill them with lots of test data and benchmark the performance. Also use EXPLAIN SELECT (a MySQL command which gives you information about how it is going to execute the actual SELECT command). I read about this stuff in MySQL Reference Manual, published

[OT]DB structure efficiency

2004-06-09 Thread Amir Hardon
Hi, I'm planning a DB structure for an e-commerce system, and facing some question about the DB efficiency that I don't know how to approach. For example what will be better, storing all items information in one table with one column for category, or having a separate items table for each categ

Question on making the partitions

2004-06-09 Thread Avrahami David
Title: Question on making the partitions Hi, I'm installing a customized RH linux with kickstart. I would like the default partitions to be defined as follows: /       - 2GB /usr    - 4GB /opt    - 2GB The remaining FSs should be a percent of the remaining free space (after allocat

Firewall on Thin Computers ?

2004-06-09 Thread Ben-Nes Michael
Hi All   I want to setup a Firewall, and thought of runing it from flash memory on a small computer.   I thought of getting one of those: http://h41100.www4.hp.com/il/eng/commercial/thinclients/entry.html   Any one have any knowlege about such solution ? are there better hardware or cheeper th

RE: Off Topic (or not) What whould you have done insted ?

2004-06-09 Thread aamehl
I am using Hot also, The service men were fixing cables on the street. I asked them if this could be the reason for my poor service for the last month and they answered me no it was just a problem for today which would be fixed shortly. (it took all day) I couldn't connect and call hot. I got the

Re: Two ADSL modems & PPOE

2004-06-09 Thread Noam L.
Alcatel allows you change the IP, though that's only crucial if you use PPTP on both modems. Yes, indeed, in my connection PPTP is much less stable PPPoE: back when I used PPTP to connect on my Alcatel I had daily disconnections. Ever since I switched to PPPoE I have almost no disconnetions. P.S.

RE: Off Topic (or not) What whould you have done insted ?

2004-06-09 Thread Weinstein, Alon
What I would do: Trying to get them to accept your Linux box is doomed to failure. I'd grab a Win box from somewhere with some extra NICs (so they can't say it's the NIC), and make them make it work there. They won't have excuses. I would also try to climb high as possible in the technical suppo

Off Topic (or not) What whould you have done insted ?

2004-06-09 Thread ik
Hi, For the past few month i have problem with the cable connection to the internet. I'm connected using Network adapter (network card...) and on linux !!! currently Debian, before that it was mandrake at home... The modem of the cables is Terayon TJ7151 I have few problems with the connection:

Re: IrDA

2004-06-09 Thread Sagi Bashari
I have the STLabs one and it works. I didn't do much with it under linux, but I did manage to grab some basic info from my cell. I didn't use it long enough to know if there are any problems with it (the cell application wasn't mature enough, I'm pretty sure it was only some command line dump ut

Re: Two ADSL modems & PPOE

2004-06-09 Thread Gal Goldschmidt
On Tuesday 08 June 2004 09:53, Noam Rathaus wrote: > On Tuesday 08 June 2004 00:32, Noam L. wrote: > > I dont think you can put two PPPoE on the same LAN. > > > > However, most Alcatel do use PPTP, if you can get yours to talk PPTP > > then you can use PPPoE for the ECI and PPTP for the Alc