From jproctor at marlboro.edu Thu Apr 4 07:39:29 2002 From: jproctor at marlboro.edu (J Proctor) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] ActiveState Programming Survey - Win $1000 O'Reilly Bookshelf (fwd) Message-ID: On the jacksonville-pm-list; Jax.PM'er J Proctor wrote - Headers retained for provenance. j ---------- Forwarded message ---------- Date: Tue, 2 Apr 2002 19:59:00 -0800 (PST) From: Brian Jepson To: ripm@as220.org Subject: ActiveState Programming Survey - Win $1000 O'Reilly Bookshelf (fwd) ---------- Forwarded message ---------- Date: Tue, 2 Apr 2002 17:36:30 -0800 From: ActiveState-News@ActiveState.com Reply-To: ShantelS@ActiveState.com To: activelist@listserv.ActiveState.com Subject: ActiveState Programming Survey - Win $1000 O'Reilly Bookshelf ActiveState is excited to offer you the chance to share your opinion, and win a $1000 O'Reilly Bookshelf! As open source programmers and users ourselves, we really believe in the power of collaboration. Your feedback is invaluable in helping us to better serve the community through our open source projects and product development. Please share your thoughts by completing our online Programming Survey. All respondents have the option of entering a draw to win a $1000 O'Reilly Bookshelf. If you win, you'll be able to customize your prize from all available titles in the O'Reilly catalog, to a total value of $1000! Survey must be completed by April 8, 2002. Draw to be held April 10, 2002. To take the survey, please click here: http://www.ActiveState.com/ActiveState_Programming_Survey Thank you! ActiveState * * * * * ActiveState periodically notifies our customers of new products and special offers. If you do not wish to receive these notifications, please respond to this email with 'unsubscribe' in the subject line. _______________________________________________ ActiveState periodically notifies our customers of new products and special offers. If you do not wish to receive these notifications, you may unsubscribe at: http://listserv.ActiveState.com/mailman/listinfo/activelist Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments... From sneex at mac.com Tue Apr 9 06:39:33 2002 From: sneex at mac.com (Bill -Sx- Jones) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] [ADMIN] Warning Message-ID: On the jacksonville-pm-list; Jax.PM'er Bill -Sx- Jones wrote - Sorry for the intrusion, but this administrative announcement is needed - The Jax.PM group has lost a couple of members because of the M1 to ATTBI transition (if you are not/were not on CCSE or MediaOne this doesn't apply.) I tried to fix them manually, but a few still bounced form the attbi.com address. The M1 domain is no longer valid so it is now bouncing their e-mails. I place an ad in the technology section of the Jacksonville newspaper and will post a note to the Jax.PM web site soon - hopefully those two I had to remove will notice the change. Anyhow, the newspaper posting will also hopefully generate some revitalized interest in Perl :) Have a good Spring Break, if you haven't already done so :) -Sx- :] Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments... From nate at campin.net Tue Apr 9 10:33:14 2002 From: nate at campin.net (Nate Campi) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] udp to tcp proxy Message-ID: <20020409153314.GP31633@campin.net> On the jacksonville-pm-list; Jax.PM'er Nate Campi wrote - I have a syslog proxy I wrote that takes syslog packets in via UDP and writes them to a SSL tunnel (via stunnel) to a central syslog collection box. Sometimes two or more of my writes to the TCP socket run together (four in this example): Apr 9 - 2 times(s): 192.168.51.137 netstat: [USER.NOTICE]: gethostbyaddr: bigip2.bigip.hotbot.com. != 192.168.48.3 <13>Apr 9 07:33:35 192.168.51.137 netstat[20149]: [USER.NOTICE]: gethostbyaddr: music-ap.hotwired.com. != 192.168.49.60 <13>Apr 9 07:33:35 192.168.51.137 netstat[20149]: [USER.NOTICE]: gethostbyaddr: hbpdclaw01.hotwired.com. != 209.202.223.119 <146>Apr 9 07:33:35 capital mon[4493]: [LOCAL2.CRIT]: failure for monitoring_boxes ping 1018362815 nameb.hotwired.com I add the facility/severity pair to the messages so the info lives in the log archives, so this output may look a little weird to you. Anyways, this is on a solaris 2.6 (sparc) box. I have three such proxies, the other two on linux/x86. All are perl 5.6.1 and only the solaris box exibits this behavior. Has anyone else seen anything like this? I don't think it's the code since it only happens on the solaris box. It could be something wrong with stunnel, or another factor, but I wanted to know if this has been encountered before by someone on the list. -- "Error reading FAT record. Try the SKINNY one? (Y/N)" -Anon. Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments... From sneex at mac.com Tue Apr 9 13:24:50 2002 From: sneex at mac.com (Bill -Sx- Jones) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] udp to tcp proxy In-Reply-To: <20020409153314.GP31633@campin.net> Message-ID: On the jacksonville-pm-list; Jax.PM'er Bill -Sx- Jones wrote - > Anyways, this is on a solaris 2.6 (sparc) box. I have three such > proxies, the other two on linux/x86. All are perl 5.6.1 and only the > solaris box exibits this behavior. Don't know about stunnel, but are you flushing your buffer (forcing a write) ??? Solaris boxes that I have done network level Perl programming on seem to run the current writes buffer together - something in where the system cannot or will not keep up with the system logging function. I cannot test as I am now at 5.7.x and - IIRC - I believe when I upgraded to perl 5.7.2 that problem went away - so it may not be YOUR code but I feel it is Perl related and not Solaris related. Unless you were to in-force a miniscule wait state, or just sleep for one second, it will be difficult to troubleshoot. Sorry; -Sx- :] My new personal quote: Be alert! The world needs more Lerts! :) Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments... From nate at campin.net Tue Apr 9 13:36:16 2002 From: nate at campin.net (Nate Campi) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] udp to tcp proxy In-Reply-To: References: <20020409153314.GP31633@campin.net> Message-ID: <20020409183616.GR31633@campin.net> On the jacksonville-pm-list; Jax.PM'er Nate Campi wrote - On Tue, Apr 09, 2002 at 02:24:50PM -0400, Bill -Sx- Jones wrote: > On the jacksonville-pm-list; Jax.PM'er Bill -Sx- Jones wrote - > > > > Anyways, this is on a solaris 2.6 (sparc) box. I have three such > > proxies, the other two on linux/x86. All are perl 5.6.1 and only the > > solaris box exibits this behavior. > > Don't know about stunnel, but are you flushing your buffer (forcing a write) Yes, autoflush on the handle. > I cannot test as I am now at 5.7.x and - IIRC - I believe when I upgraded to > perl 5.7.2 that problem went away - so it may not be YOUR code but I feel it > is Perl related and not Solaris related. I can test it on some solaris 8 boxes, but time is limited, I kinda just want it fixed. Upgrading perl is a big deal on this box, we have perl daemons that monitor web clusters and take them out of service in load balancers and restart web servers on the boxes themselves - all on this one box. Maybe tonight I'll upgrade it, carefully ;) -- "The percentage of users running Windows NT Workstation 4.0 whose PCs stopped working more than once a month was less than half that of Windows 95 users."-- microsoft.com/ntworkstation/overview/Reliability/Highest.asp Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments... From sneex at mac.com Tue Apr 9 13:36:26 2002 From: sneex at mac.com (Bill -Sx- Jones) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] udp to tcp proxy In-Reply-To: Message-ID: On the jacksonville-pm-list; Jax.PM'er Bill -Sx- Jones wrote - > in-force I keep promisin' muh-self 2 learn 2 rite betor. -Sx- :] Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments... From sneex at mac.com Tue Apr 9 13:41:17 2002 From: sneex at mac.com (Bill -Sx- Jones) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] udp to tcp proxy In-Reply-To: <20020409183616.GR31633@campin.net> Message-ID: On the jacksonville-pm-list; Jax.PM'er Bill -Sx- Jones wrote - On 4/9/02 2:36 PM, "Nate Campi" wrote: > ... we have perl daemons Interesting :) Can you share your knowledge with the group? If authorized, of course. _Sx____________________ ('> -Sx- IUDICIUM //\ Have Computer - v_/_ Will Hack... Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments... From nate at campin.net Tue Apr 9 14:48:22 2002 From: nate at campin.net (Nate Campi) Date: Thu Aug 5 00:02:57 2004 Subject: [JaxPM] udp to tcp proxy In-Reply-To: References: <20020409183616.GR31633@campin.net> Message-ID: <20020409194822.GS31633@campin.net> On the jacksonville-pm-list; Jax.PM'er Nate Campi wrote - On Tue, Apr 09, 2002 at 02:41:17PM -0400, Bill -Sx- Jones wrote: > On the jacksonville-pm-list; Jax.PM'er Bill -Sx- Jones wrote - > > On 4/9/02 2:36 PM, "Nate Campi" wrote: > > > ... we have perl daemons > > Interesting :) > > Can you share your knowledge with the group? If authorized, of course. Later on I'll post a description, not code, there's no problem with discussing techniques. This code is mostly years old, too. Quick summary: using perl's libwww and the expect language (I don't think the expect perl module was around when this was written) we monitor HTTP return codes, and connect to network equipment and hosts as a result of HTTP failures. Pretty much as simple as that. Hosts come out of service as soon as they fail, web server is restarted and if it starts returning 200's again, goes back in service in the load balancer. It the scripts can't fix it they page a human. Pretty simple, actually. -- "If you give someone a program, you will frustrate them for a day; if you teach them how to program, you will frustrate them for a lifetime." Jax.PM Moderator's Note: This message was posted to the Jacksonville Perl Monger's Group listserv. The group manager can be reached at -- owner-jacksonville-pm-list@pm.org to whom send all praises, complaints, or comments...