From wilson at claborn.net Tue Nov 20 02:31:26 2001 From: wilson at claborn.net (JW) Date: Tue Dec 20 11:33:46 2005 Subject: Max Connections In-Reply-To: <5.1.0.14.0.20011119165651.0355e688@visp.net> References: <5.1.0.14.0.20011119185053.02a2b008@mail.servicemail123.com > <5.1.0.14.0.20011119164417.03552b60@visp.net> Message-ID: <5.1.0.14.0.20011119192111.022b6d28@mail.servicemail123.com> At 04:59 PM 11/19/2001 -0800, you wrote: >I think it may have something to do w/ standalone mode. Because naturally (or it seems anyway) that if running under inet that inet would control the connections. I do prefer standalone mode as inet has really chapped my in the past. I agree. I actually don't want to be running in inted mode but due to a long chain of events, we're not going to change it until we move to a new box (upper management decision, not mine :-) ) > Another good question would be, how to set more than 5 processes listening. I'd like to spawn about 50 for my current server traffic. Settings similar to Apache's would be nice for min/max/spawn. If you can code in C (I can't ) I wish you'd jump right in, get a CVS checkout and submit a patch -- maybe to te mailing list. Jerzy seems to be a very busy man, without too much time to work on Spop3d. I could be wrong but that's my impression at least. I wish there was more then one coder with CVS access to the repository. This is such a sleepy little project for the best Free pop3d :-) >I'm running 0.15 myself. Which seems ages old, just seems to work pretty well. > >We only create one piece of software around here, and that's a windows (soon to be linux/windows/everything) based software which is used for any ISPs using our national backbone for dialups. No palm software. =) ok, that was a mistake on my part. I think my mail app pulled a weird one on me. I looked at [what I thought was] the header and saw @cic.com but I'm not sure what the deal was because that's sure not you're address now that I look closer. I'm probably too tired to be reading or writing :-) . Ignore me :-) >At 06:59 PM 11/19/2001 -0600, you wrote: >>At 04:44 PM 11/19/2001 -0800, you wrote: >>>Looks like spop3d will accept perhaps a max of 5 connections within a specified time, then it denies for apx 60 seconds from the ip. I notice this does not log, nor is it configurable, nor can I find it in the code. >> >>I don't know anything about the code but that doesn't sound right to me for the following reason: >> >>I host several (33, actually) domains. I personally have pop accounts on about 11 of them. I have all my accounts set to check at 5 minute intervals, which they do, and all at once, too. I'm fairly that means that every 5 mins, my mail app logs in 11 - all from the same IP address. Even "worse", 4 other people here in our company are behind the same NAT I am, so we all appear to be coming from the same IP, and most of them have at least 3 accounts up there. Since they use interval checking too, I rekon we've got about 20 to 30 accounts logging in pretty constantly. >> >>I am, however, not running in standalone mode, and my code is a CVS check out that's a few months old, so maybe something has changed. >> >>I'm not really saying you're wrong, it's just that the facts don't add up on my end. >> >>Hey. You work for the people who make Jot and WordComp for the Palm OS? >> >> >>>I am running the server standalone. Can anyone point me in the right direction? >>> >>> >>>------ >>>Nathan Miller - nmiller@visp.net >>>VISP Technologies - "Building Better ISPs" >>> >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: solidpop3d-list-unsubscribe@lists.pld.org.pl >>>For additional commands, e-mail: solidpop3d-list-help@lists.pld.org.pl >>> >> >>---------------------------------------------------- >>Jonathan Wilson >>System Administrator >> >>Cedar Creek Software http://www.cedarcreeksoftware.com >>Central Texas IT http://www.centraltexasit.com >> >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: solidpop3d-list-unsubscribe@lists.pld.org.pl >>For additional commands, e-mail: solidpop3d-list-help@lists.pld.org.pl > >------ >Nathan Miller - nmiller@visp.net >VISP Technologies - "Building Better ISPs" > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: solidpop3d-list-unsubscribe@lists.pld.org.pl >For additional commands, e-mail: solidpop3d-list-help@lists.pld.org.pl > ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com From furio+sp at spin.it Tue Nov 20 11:00:58 2001 From: furio+sp at spin.it (furio ercolessi) Date: Tue Dec 20 11:33:46 2005 Subject: Max Connections In-Reply-To: <20011120091404.A1824@iks-jena.de>; from erik@iks-jena.de on Tue, Nov 20, 2001 at 09:14:04AM +0100 References: <5.1.0.14.0.20011119164417.03552b60@visp.net> <20011120091404.A1824@iks-jena.de> Message-ID: <20011120110058.A31166@spin.it> On Tue, Nov 20, 2001 at 09:14:04AM +0100, Erik Heinz wrote: > > You find the definitions in src/const.h: > > #define PER_SOURCE 5 > #define MAX_SESSIONS 50 > #define MIN_DELAY 50 > > PER_SOURCE connections are allowed from one source address within a time > interval of MIN_DELAY seconds. MAX_SESSIONS is the absolute limit to the > number of connections within a time interval of MIN_DELAY seconds. Right, a few months ago we beefed up PER_SOURCE to 40 and MAX_SESSIONS to 200, the problem disappeared with no negative effects. furio ercolessi Spin From erik at iks-jena.de Tue Nov 20 09:14:04 2001 From: erik at iks-jena.de (Erik Heinz) Date: Tue Dec 20 11:33:46 2005 Subject: Max Connections In-Reply-To: <5.1.0.14.0.20011119164417.03552b60@visp.net>; from nmiller_lists@visp.net on Mon, Nov 19, 2001 at 04:44:28PM -0800 References: <5.1.0.14.0.20011119164417.03552b60@visp.net> Message-ID: <20011120091404.A1824@iks-jena.de> On Mon, Nov 19, 2001 at 04:44:28PM -0800, Nathan Miller wrote: > Looks like spop3d will accept perhaps a max of 5 connections within a > specified time, then it denies for apx 60 seconds from the ip. I notice > this does not log, nor is it configurable, nor can I find it in the code. You find the definitions in src/const.h: #define PER_SOURCE 5 #define MAX_SESSIONS 50 #define MIN_DELAY 50 PER_SOURCE connections are allowed from one source address within a time interval of MIN_DELAY seconds. MAX_SESSIONS is the absolute limit to the number of connections within a time interval of MIN_DELAY seconds. Have fun, Erik -- | Erik Heinz, IKS GmbH Jena * erik@iks-jena.de * privat: erik@jena.thur.de | +---------------------------------------------------------------------------+ From nmiller_lists at visp.net Tue Nov 20 21:03:02 2001 From: nmiller_lists at visp.net (Nathan Miller) Date: Tue Dec 20 11:33:46 2005 Subject: Core dump on new server =( Message-ID: <5.1.0.14.0.20011120120003.02e48e20@visp.net> Here's a goofy one, after gettin some excellent answers from my previous post, I made the changes and recompiled. Upon running it core dumps/seg faults. I went back to the stock tarball figuring heck, I just messed something and it's core dumping too. My system: Redhat 7.1 w/ all security and bug updates SMP system running dual tbird 1.2's Anyone run into this problem before? I am compiling with: --enable-standalone --enable-logextend Here's a gdb output, doesn't look too useful, but if it helps. =o (gdb) run Starting program: /root/solid-pop3d-0.15/src/spop3d Program received signal SIGSEGV, Segmentation fault. 0x4000b900 in ?? () (gdb) bt #0 0x4000b900 in ?? () #1 0x40002b35 in ?? () #2 0x40010207 in ?? () #3 0x40002481 in ?? () #4 0x40002224 in ?? () (gdb) ------ Nathan Miller - nmiller@visp.net VISP Technologies - "Building Better ISPs" From guru at chef-ingenieur.de Sat Nov 3 11:13:04 2001 From: guru at chef-ingenieur.de (Thomas Krause, CI) Date: Tue Dec 20 11:33:47 2005 Subject: "connect from" Message in syslog Message-ID: <3BE3C330.2020701@chef-ingenieur.de> Hi all, when logging to local1, I'm unable to see the "connect from" line in syslog, but when logging to local0, I can see the line? Is this a feature or a bug? Regards, Thomas. From jurekb at bobo.ds5.agh.edu.pl Sat Nov 3 12:45:23 2001 From: jurekb at bobo.ds5.agh.edu.pl (=?iso-8859-1?Q?Jerzy_Ba=B3amut?=) Date: Tue Dec 20 11:33:47 2005 Subject: "connect from" Message in syslog In-Reply-To: <3BE3C330.2020701@chef-ingenieur.de>; from guru@chef-ingenieur.de on Sat, Nov 03, 2001 at 11:13:04AM +0100 References: <3BE3C330.2020701@chef-ingenieur.de> Message-ID: <20011103124523.A23386@bobo.ds5.agh.edu.pl> On Sat, Nov 03, 2001 at 11:13:04AM +0100, Thomas Krause, CI wrote: > when logging to local1, I'm unable to see the > "connect from" line in syslog, but when logging > to local0, I can see the line? > > Is this a feature or a bug? In 0.15 "connect from" message is logged always with local0.notice not with facility.priority you set in config file. It's corrected in development version. -- * Jerzy Balamut, Rzeszow * e-mail: jurekb@dione.ids.pl * PGP key fingerprint: 50 18 C5 0E 30 CD 35 25 D1 DC 5E 08 C6 F1 C1 70 From nmiller_lists at visp.net Tue Nov 20 01:44:28 2001 From: nmiller_lists at visp.net (Nathan Miller) Date: Tue Dec 20 11:33:47 2005 Subject: Max Connections Message-ID: <5.1.0.14.0.20011119164417.03552b60@visp.net> Looks like spop3d will accept perhaps a max of 5 connections within a specified time, then it denies for apx 60 seconds from the ip. I notice this does not log, nor is it configurable, nor can I find it in the code. I am running the server standalone. Can anyone point me in the right direction? ------ Nathan Miller - nmiller@visp.net VISP Technologies - "Building Better ISPs" From wilson at claborn.net Tue Nov 20 01:59:58 2001 From: wilson at claborn.net (JW) Date: Tue Dec 20 11:33:47 2005 Subject: Max Connections In-Reply-To: <5.1.0.14.0.20011119164417.03552b60@visp.net> Message-ID: <5.1.0.14.0.20011119185053.02a2b008@mail.servicemail123.com> At 04:44 PM 11/19/2001 -0800, you wrote: >Looks like spop3d will accept perhaps a max of 5 connections within a specified time, then it denies for apx 60 seconds from the ip. I notice this does not log, nor is it configurable, nor can I find it in the code. I don't know anything about the code but that doesn't sound right to me for the following reason: I host several (33, actually) domains. I personally have pop accounts on about 11 of them. I have all my accounts set to check at 5 minute intervals, which they do, and all at once, too. I'm fairly that means that every 5 mins, my mail app logs in 11 - all from the same IP address. Even "worse", 4 other people here in our company are behind the same NAT I am, so we all appear to be coming from the same IP, and most of them have at least 3 accounts up there. Since they use interval checking too, I rekon we've got about 20 to 30 accounts logging in pretty constantly. I am, however, not running in standalone mode, and my code is a CVS check out that's a few months old, so maybe something has changed. I'm not really saying you're wrong, it's just that the facts don't add up on my end. Hey. You work for the people who make Jot and WordComp for the Palm OS? >I am running the server standalone. Can anyone point me in the right direction? > > >------ >Nathan Miller - nmiller@visp.net >VISP Technologies - "Building Better ISPs" > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: solidpop3d-list-unsubscribe@lists.pld.org.pl >For additional commands, e-mail: solidpop3d-list-help@lists.pld.org.pl > ---------------------------------------------------- Jonathan Wilson System Administrator Cedar Creek Software http://www.cedarcreeksoftware.com Central Texas IT http://www.centraltexasit.com From nmiller_lists at visp.net Tue Nov 20 01:59:47 2001 From: nmiller_lists at visp.net (Nathan Miller) Date: Tue Dec 20 11:33:47 2005 Subject: Max Connections In-Reply-To: <5.1.0.14.0.20011119185053.02a2b008@mail.servicemail123.com > References: <5.1.0.14.0.20011119164417.03552b60@visp.net> Message-ID: <5.1.0.14.0.20011119165651.0355e688@visp.net> I think it may have something to do w/ standalone mode. Because naturally (or it seems anyway) that if running under inet that inet would control the connections. I do prefer standalone mode as inet has really chapped my in the past. Another good question would be, how to set more than 5 processes listening. I'd like to spawn about 50 for my current server traffic. Settings similar to Apache's would be nice for min/max/spawn. I'm running 0.15 myself. Which seems ages old, just seems to work pretty well. We only create one piece of software around here, and that's a windows (soon to be linux/windows/everything) based software which is used for any ISPs using our national backbone for dialups. No palm software. =) At 06:59 PM 11/19/2001 -0600, you wrote: >At 04:44 PM 11/19/2001 -0800, you wrote: > >Looks like spop3d will accept perhaps a max of 5 connections within a > specified time, then it denies for apx 60 seconds from the ip. I notice > this does not log, nor is it configurable, nor can I find it in the code. > >I don't know anything about the code but that doesn't sound right to me >for the following reason: > >I host several (33, actually) domains. I personally have pop accounts on >about 11 of them. I have all my accounts set to check at 5 minute >intervals, which they do, and all at once, too. I'm fairly that means that >every 5 mins, my mail app logs in 11 - all from the same IP address. Even >"worse", 4 other people here in our company are behind the same NAT I am, >so we all appear to be coming from the same IP, and most of them have at >least 3 accounts up there. Since they use interval checking too, I rekon >we've got about 20 to 30 accounts logging in pretty constantly. > >I am, however, not running in standalone mode, and my code is a CVS check >out that's a few months old, so maybe something has changed. > >I'm not really saying you're wrong, it's just that the facts don't add up >on my end. > >Hey. You work for the people who make Jot and WordComp for the Palm OS? > > > >I am running the server standalone. Can anyone point me in the right > direction? > > > > > >------ > >Nathan Miller - nmiller@visp.net > >VISP Technologies - "Building Better ISPs" > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: solidpop3d-list-unsubscribe@lists.pld.org.pl > >For additional commands, e-mail: solidpop3d-list-help@lists.pld.org.pl > > > >---------------------------------------------------- >Jonathan Wilson >System Administrator > >Cedar Creek Software http://www.cedarcreeksoftware.com >Central Texas IT http://www.centraltexasit.com > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: solidpop3d-list-unsubscribe@lists.pld.org.pl >For additional commands, e-mail: solidpop3d-list-help@lists.pld.org.pl ------ Nathan Miller - nmiller@visp.net VISP Technologies - "Building Better ISPs" From nmiller_lists at visp.net Tue Nov 20 21:38:37 2001 From: nmiller_lists at visp.net (Nathan Miller) Date: Tue Dec 20 11:33:47 2005 Subject: Core dump on new server =( (More) Message-ID: <5.1.0.14.0.20011120123503.02f37ad0@visp.net> OK, to add some meaningful data to my last post, I can compile on the identical machine w/o SMP kernel support. It seems when compiling under a smp kernel it seg faults as previously posted. Otherwise it is great. Also, as an added note. My previous compile was old, and compiled under an Intel P2-350. My new compile was under a 1ghz AMD Tbird. The new compile is about 10x the speed on the same server as the old compile. Reading a 25MB mailbox before took about 15 seconds. It now takes about half a second. So, actually about 30x faster. =) /me slaps himself in the face for not recompiling under amd architecture earlier. ------ Nathan Miller - nmiller@visp.net VISP Technologies - "Building Better ISPs"