Thread

Posted on Fri May 5 19:25:42 2006 by davebaker58
WWW-Mechanize keeps hitting secured page all by itself, resetting sessions
Hello! I am a happy user of WWW::Mechanize for the purpose of automating a log-in to a password-pro +tected script, which then assigns a session id upon successful log-in. When the session expires, a + new log-in is required in order to do anything useful with the script, of course. The script is a + mailing list manager; it sends out emails to addresses on any of several mailing lists, handles s +ubscribe/unsubscribe requests, etc. The script is stored in a subdirectory of the cgi-bin director +y on my Linux server; that subdirectory (called "secure") requires SSL to access it, per the Apach +e 1.39 httpd.conf configuration file. Here's what a successful log-in from my web browser looks like (without using WWW::Mechanize), in t +he https access log: First we see the browser go to the log-in web page (which I've inputted into the browser address ba +r by hand): [05/May/2006:11:54:18 -0400] 152.53.17.23 SSLv3 DHE-RSA-AES256-SHA "GET /cgi/secure/subme/s.pl HTTP +/1.1" 4172 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox +/1.5.0.3" Next we see a post of data -- because I've filled in the password field and then clicked the log-in + button: [05/May/2006:11:54:24 -0400] 152.53.17.23 SSLv3 DHE-RSA-AES256-SHA "POST /cgi/secure/subme/s.pl HTT +P/1.1" 12673 "https://benefitslink.com/cgi/secure/subme/s.pl" "Mozilla/5.0 (Windows; U; Windows NT + 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3" Next, on a screen that shows me the various mailing lists, I click a link that says "Details" for m +ailing list number 4, and I happily get a display of the details for that list. [05/May/2006:11:54:33 -0400] 152.53.17.23 SSLv3 DHE-RSA-AES256-SHA "GET /cgi/secure/subme/s.pl?list +_details=1&list_number=4&session_id=gdCXQO1STjz2m96 HTTP/1.1" 15623 "https://benefitslink.com/cgi/ +secure/subme/s.pl" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Fir +efox/1.5.0.3" Here's my problem -- every couple of minutes, and sometimes several times a minute, at seemingly ra +ndom intervals, a process or something hits the access log file, identifying itself as WWW::Mechan +ize. It seems to log itself into the mailing list script and then "clicks" on the "Details" link f +or mailing list number 1. This takes up server resources, of course, but the worst part is that it + resets the session id. So when I'm manually logged into the script via a web browser I find that +all of a sudden the links to various functions don't work because my session has expired (been rep +laced). Here's how it looks in the https access log: [05/May/2006:12:00:52 -0400] 65.17.241.40 TLSv1 DHE-RSA-AES256-SHA "GET /cgi/secure/subme/s.pl HTTP +/1.1" 4172 "-" "WWW-Mechanize/1.18" [05/May/2006:12:00:53 -0400] 65.17.241.40 TLSv1 DHE-RSA-AES256-SHA "POST /cgi/secure/subme/s.pl HTT +P/1.1" 12673 "https://benefitslink.com/cgi/secure/subme/s.pl" "WWW-Mechanize/1.18" [05/May/2006:12:00:54 -0400] 65.17.241.40 TLSv1 DHE-RSA-AES256-SHA "GET /cgi/secure/subme/s.pl?list +_details=1&list_number=3&session_id=ZiR3f I upgraded to 1.18 this morning from 1.16 and the log is showing WWW-Mechanize/1.18 as the User-Age +nt but I'm still getting some entries from time to time with the WWW-Mechanize/1.16 User-Agent! I also note that the IP address on these spontaneous entries is my own server: 65.17.241.40. And I note that the security type is TLSv1, but the security type shown in the log on Web-based log +-ins as well as scripts I've written that use WWW::Mechanize is SSLv3. I'm using mod_ssl with the Apache server; I'm using the latest version of Crypt::SSLeay so that WWW +::Mechanize will work with https:// links, as the WWW::Mechanize FAQ states. Could anybody tell me how the heck to kill these processes (if that's what they are)? I don't see a +nything weird on my server when I do a "ps -aux" from a terminal, but maybe I'm missing something; + here's the result of a ps -aux just after I restarted Apache with apachectl startssl: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 1528 488 ? S 2005 1:20 init root 2 0.0 0.0 0 0 ? SW 2005 0:19 [keventd] root 3 0.0 0.0 0 0 ? SW 2005 0:01 [kapmd] root 4 0.0 0.0 0 0 ? SWN 2005 0:00 [ksoftirqd/0] root 7 0.0 0.0 0 0 ? SW 2005 0:00 [bdflush] root 5 0.0 0.0 0 0 ? SW 2005 9:56 [kswapd] root 6 0.0 0.0 0 0 ? SW 2005 11:28 [kscand] root 8 0.0 0.0 0 0 ? SW 2005 0:12 [kupdated] root 9 0.0 0.0 0 0 ? SW 2005 0:00 [mdrecoveryd] root 16 0.0 0.0 0 0 ? SW 2005 0:00 [ahc_dv_0] root 17 0.0 0.0 0 0 ? SW 2005 0:00 [ahc_dv_1] root 18 0.0 0.0 0 0 ? SW 2005 0:00 [scsi_eh_0] root 19 0.0 0.0 0 0 ? SW 2005 0:00 [scsi_eh_1] root 22 0.0 0.0 0 0 ? SW 2005 52:43 [kjournald] root 75 0.0 0.0 0 0 ? SW 2005 0:00 [khubd] root 443 0.0 0.0 0 0 ? SW 2005 0:00 [kjournald] root 444 0.0 0.0 0 0 ? SW 2005 0:09 [kjournald] root 1104 0.0 0.0 1604 568 ? S 2005 164:59 syslogd -m 0 root 1108 0.0 0.0 1540 436 ? S 2005 0:00 klogd -x rpc 1125 0.0 0.0 1668 576 ? S 2005 0:00 portmap rpcuser 1144 0.0 0.0 1768 760 ? S 2005 0:00 rpc.statd root 1196 0.0 0.0 1508 496 ? S 2005 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc +/sysconfig/apm-scripts/apmscript root 1305 0.0 0.0 2144 764 ? S 2005 0:40 xinetd -stayalive -pidfile /var/run/ +xinetd.pid root 1359 0.0 0.0 2640 784 ? S 2005 148:07 /usr/libexec/postfix/master named 1374 0.3 0.5 47188 12104 ? S 2005 808:25 /usr/sbin/named -u named root 1386 0.0 0.0 1612 628 ? S 2005 0:02 crond xfs 1405 0.0 0.1 5104 2396 ? S 2005 0:00 xfs -droppriv -daemon daemon 1414 0.0 0.0 1584 536 ? S 2005 0:00 /usr/sbin/atd root 1447 0.0 0.0 1772 604 ? S 2005 0:00 cmagent root 1457 0.0 0.0 3776 492 ? S 2005 0:00 rhnsd --interval 240 postgrey 1567 0.0 0.3 11576 6892 ? S 2005 136:41 /usr/sbin/postgrey --inet=10023 -d - +-group=postgrey -v root 1576 0.0 0.0 1584 400 ? S 2005 0:00 mdadm --monitor --scan -f root 1589 0.0 0.5 12156 12152 ? SL 2005 0:00 mdmpd root 1622 0.0 0.2 9316 4912 ? S 2005 0:15 /usr/bin/perl /usr/libexec/webmin/mi +niserv.pl /etc/webmin/miniserv.conf root 1627 0.0 0.0 1508 400 tty2 S 2005 0:00 /sbin/mingetty tty2 root 1628 0.0 0.0 1508 400 tty3 S 2005 0:00 /sbin/mingetty tty3 root 1629 0.0 0.0 1508 396 tty4 S 2005 0:00 /sbin/mingetty tty4 root 1630 0.0 0.0 1508 384 tty5 S 2005 0:00 /sbin/mingetty tty5 root 1631 0.0 0.0 1508 388 tty6 S 2005 0:00 /sbin/mingetty tty6 root 24223 0.0 0.2 9316 4524 ? S 2005 0:00 /usr/bin/perl /usr/libexec/webmin/mi +niserv.pl /etc/webmin/miniserv.conf root 24226 0.0 0.2 9316 4536 ? S 2005 0:00 /usr/bin/perl /usr/libexec/webmin/mi +niserv.pl /etc/webmin/miniserv.conf root 24076 0.0 1.0 26184 21144 ? S 2005 0:10 /usr/bin/spamd -d -c --round-robin ese 12353 0.0 0.3 15280 7816 ? S 2005 0:03 /usr/local/ese/bin/perl /usr/local/e +se/crawler/bin/CrawlManager.pl --port=8332 --logfile=/usr/local/ese/crawler/log_archive/cm.log ese 12355 0.0 0.0 14148 2024 ? S 2005 0:03 /usr/local/ese/webserver/bin/httpd - +d /usr/local/ese/webserver -c Listen 9801 -c ServerName benefitslink.com ese 12356 0.0 0.7 34572 16344 ? S 2005 0:09 /usr/local/ese/webserver/bin/httpd - +d /usr/local/ese/webserver -c Listen 9801 -c ServerName benefitslink.com ese 12357 0.0 0.5 30188 11908 ? S 2005 0:04 /usr/local/ese/webserver/bin/httpd - +d /usr/local/ese/webserver -c Listen 9801 -c ServerName benefitslink.com ese 12358 0.0 0.5 29660 11368 ? S 2005 0:03 /usr/local/ese/webserver/bin/httpd - +d /usr/local/ese/webserver -c Listen 9801 -c ServerName benefitslink.com ese 12359 0.0 0.5 30016 11796 ? S 2005 0:03 /usr/local/ese/webserver/bin/httpd - +d /usr/local/ese/webserver -c Listen 9801 -c ServerName benefitslink.com root 7224 0.0 0.0 3664 832 ? S Feb07 4:01 /usr/sbin/sshd root 8869 0.0 0.0 1508 392 tty1 S Feb07 0:00 /sbin/mingetty tty1 ese 4578 0.0 3.5 219520 72796 ? S Feb22 0:00 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4583 0.0 3.5 219520 72796 ? S Feb22 0:00 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4584 0.0 3.5 219520 72796 ? S Feb22 0:00 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4587 0.0 3.5 219520 72796 ? S Feb22 0:00 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4592 0.0 3.5 219520 72796 ? S Feb22 0:00 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4593 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4594 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4595 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4596 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4597 0.0 3.5 219520 72796 ? S Feb22 0:04 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4598 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4599 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4600 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4601 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4602 0.0 3.5 219520 72796 ? S Feb22 0:03 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4603 0.0 3.5 219520 72796 ? S Feb22 0:44 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 ese 4604 0.0 3.5 219520 72796 ? S Feb22 0:45 /usr/local/ese/queryserver/bin/query +_server -port 3333 -db /usr/local/ese/esedb/db6 -f /usr/local/ese/queryserver/queryserver.cfg -log +file /usr/local/ese/queryserver/logs/qs_3333db6_20060222075 root 2310 0.0 0.0 0 0 ? Z Feb23 0:00 [crontab <defunct>] root 7856 0.0 0.0 4428 612 ? S Mar13 0:00 /bin/sh /usr/bin/mysqld_safe --datad +ir=/var/lib/mysql --pid-file=/var/lib/mysql/benefitslink.com.pid mysql 7900 1.5 7.9 301140 163592 ? S Mar13 1162:00 /usr/sbin/mysqld --basedir=/ --data +dir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/benefitslink.com.pid --skip-locking --po +rt=3306 --socket=/var/lib/mysql/mysql.sock root 30726 0.0 0.2 9316 4560 ? S Mar23 0:00 /usr/bin/perl /usr/libexec/webmin/mi +niserv.pl /etc/webmin/miniserv.conf root 30727 0.0 0.2 9316 4556 ? S Mar23 0:00 /usr/bin/perl /usr/libexec/webmin/mi +niserv.pl /etc/webmin/miniserv.conf postfix 32057 0.1 0.2 5776 4124 ? S May04 2:02 qmgr -l -t fifo -u postfix 23117 0.0 0.0 2660 928 ? S 06:53 0:11 trivial-rewrite -n rewrite -t unix - +u root 28208 0.0 0.0 6868 1796 ? S 09:38 0:00 sshd: www [priv] www 28210 0.0 0.0 7016 2056 ? S 09:38 0:00 sshd: www@pts/1 www 28211 0.0 0.0 4476 1328 pts/1 S 09:38 0:00 -bash root 28258 0.0 0.0 4432 960 pts/1 S 09:38 0:00 su - root 28259 0.0 0.0 4476 1388 pts/1 S 09:38 0:00 -bash postfix 14216 0.0 0.0 2864 1212 ? S 10:15 0:00 local -t unix root 14454 0.1 1.2 29388 25080 ? S 10:19 0:14 spamd child root 15835 0.0 0.0 6868 1760 ? S 10:20 0:00 sshd: www [priv] www 15849 0.0 0.1 7008 2244 ? S 10:20 0:00 sshd: www@notty www 15852 0.0 0.0 3392 1116 ? S 10:20 0:00 /usr/libexec/openssh/sftp-server root 16625 0.2 1.2 29668 25484 ? S 10:20 0:14 spamd child root 20887 0.1 1.2 30884 26712 ? S 10:36 0:11 spamd child root 29206 0.1 1.1 28796 24628 ? S 10:58 0:07 spamd child root 4116 0.1 1.2 28924 24732 ? S 11:04 0:06 spamd child postfix 8795 0.0 0.0 3028 1296 ? S 11:08 0:00 cleanup -z -t unix -u postfix 8818 0.0 0.0 3028 1296 ? S 11:08 0:00 cleanup -z -t unix -u postfix 9069 0.0 0.0 3032 1292 ? S 11:10 0:00 cleanup -z -t unix -u postfix 9070 0.0 0.0 3020 1296 ? S 11:10 0:00 cleanup -z -t unix -u postfix 9072 0.0 0.0 3028 1292 ? S 11:10 0:00 cleanup -z -t unix -u postfix 9700 0.0 0.0 2700 1088 ? S 11:26 0:00 smtp -t unix -u postfix 10492 0.0 0.0 2644 948 ? S 11:43 0:00 pickup -l -t fifo -u postfix 11124 0.0 0.0 2640 892 ? S 12:02 0:00 proxymap -t unix -u root 11164 0.0 0.0 6868 1760 ? S 12:03 0:00 sshd: www [priv] www 11166 0.0 0.1 7008 2156 ? S 12:04 0:00 sshd: www@notty www 11167 0.0 0.0 3340 1052 ? S 12:04 0:00 /usr/libexec/openssh/sftp-server postfix 11420 0.0 0.0 3392 1448 ? S 12:11 0:00 smtpd -n smtp -t inet -u postfix 11451 0.0 0.0 3404 1436 ? S 12:12 0:00 smtpd -n smtp -t inet -u root 11511 0.0 0.4 17648 8368 ? R 12:14 0:00 /usr/local/etc/httpd/bin/httpd -DSSL apache 11512 1.7 1.0 30112 20720 ? S 12:14 0:05 /usr/local/etc/httpd/bin/httpd -DSSL apache 11513 0.6 0.7 23732 15712 ? S 12:14 0:02 /usr/local/etc/httpd/bin/httpd -DSSL apache 11514 0.7 0.8 26680 17504 ? S 12:14 0:02 /usr/local/etc/httpd/bin/httpd -DSSL apache 11515 0.4 0.8 26256 17032 ? S 12:14 0:01 /usr/local/etc/httpd/bin/httpd -DSSL apache 11516 0.4 1.0 29788 20636 ? S 12:14 0:01 /usr/local/etc/httpd/bin/httpd -DSSL apache 11518 0.7 0.9 29316 19880 ? S 12:14 0:02 /usr/local/etc/httpd/bin/httpd -DSSL apache 11520 0.4 0.7 23856 15584 ? S 12:14 0:01 /usr/local/etc/httpd/bin/httpd -DSSL apache 11521 0.8 0.8 25584 17688 ? S 12:14 0:02 /usr/local/etc/httpd/bin/httpd -DSSL apache 11524 0.4 0.7 23840 15820 ? S 12:14 0:01 /usr/local/etc/httpd/bin/httpd -DSSL apache 11525 0.4 0.7 23616 15620 ? S 12:14 0:01 /usr/local/etc/httpd/bin/httpd -DSSL postfix 11610 0.0 0.0 2696 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11611 0.0 0.0 2692 1060 ? S 12:16 0:00 smtp -t unix -u postfix 11612 0.0 0.0 2692 1052 ? S 12:16 0:00 smtp -t unix -u postfix 11613 0.0 0.0 2680 1060 ? S 12:16 0:00 smtp -t unix -u postfix 11614 0.0 0.0 2692 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11615 0.0 0.0 2688 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11616 0.0 0.0 2684 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11617 0.0 0.0 2692 1056 ? S 12:16 0:00 smtp -t unix -u postfix 11618 0.0 0.0 2696 1060 ? S 12:16 0:00 smtp -t unix -u postfix 11619 0.0 0.0 2700 1068 ? S 12:16 0:00 smtp -t unix -u postfix 11620 0.0 0.0 2692 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11621 0.0 0.0 2680 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11622 0.0 0.0 2696 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11623 0.0 0.0 2684 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11624 0.0 0.0 2692 1052 ? S 12:16 0:00 smtp -t unix -u postfix 11625 0.0 0.0 2696 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11626 0.0 0.0 2688 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11627 0.0 0.0 2700 1056 ? S 12:16 0:00 smtp -t unix -u postfix 11628 0.0 0.0 2688 1060 ? S 12:16 0:00 smtp -t unix -u postfix 11629 0.0 0.0 2692 1056 ? S 12:16 0:00 smtp -t unix -u postfix 11630 0.0 0.0 2692 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11631 0.0 0.0 2692 1060 ? S 12:16 0:00 smtp -t unix -u postfix 11632 0.0 0.0 2700 1068 ? S 12:16 0:00 smtp -t unix -u postfix 11633 0.0 0.0 2680 1060 ? S 12:16 0:00 smtp -t unix -u postfix 11634 0.0 0.0 2692 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11635 0.0 0.0 2680 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11636 0.0 0.0 2700 1060 ? R 12:16 0:00 smtp -t unix -u postfix 11637 0.0 0.0 2692 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11638 0.0 0.0 2700 1068 ? S 12:16 0:00 smtp -t unix -u postfix 11639 0.0 0.0 2696 1068 ? S 12:16 0:00 smtp -t unix -u postfix 11640 0.0 0.0 2708 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11642 0.0 0.0 2696 980 ? S 12:16 0:00 smtp -t unix -u postfix 11645 0.0 0.0 2700 1056 ? S 12:16 0:00 smtp -t unix -u postfix 11646 0.0 0.0 2684 1060 ? S 12:16 0:00 smtp -t unix -u postfix 11649 0.0 0.0 2688 1052 ? S 12:16 0:00 smtp -t unix -u postfix 11650 0.0 0.0 2700 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11651 0.0 0.0 2696 1068 ? S 12:16 0:00 smtp -t unix -u postfix 11652 0.0 0.0 2696 1052 ? S 12:16 0:00 smtp -t unix -u postfix 11657 0.0 0.0 2696 1068 ? S 12:16 0:00 smtp -t unix -u postfix 11658 0.0 0.0 2696 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11659 0.0 0.0 2696 1064 ? S 12:16 0:00 smtp -t unix -u postfix 11669 0.0 0.0 2700 1056 ? S 12:16 0:00 smtp -t unix -u postfix 11790 0.0 0.0 2672 892 ? S 12:19 0:00 bounce -z -n defer -t unix -u postfix 11796 0.1 0.0 2656 888 ? S 12:19 0:00 bounce -z -n defer -t unix -u postfix 11804 0.1 0.0 2668 892 ? S 12:19 0:00 bounce -z -n defer -t unix -u postfix 11805 1.3 0.0 3380 1372 ? R 12:19 0:00 smtpd -n smtp -t inet -u apache 11807 1.0 0.4 17776 8604 ? S 12:19 0:00 /usr/local/etc/httpd/bin/httpd -DSSL root 11808 0.0 0.0 2872 900 pts/1 R 12:19 0:00 ps aux THANK YOU. Dave Baker
Direct Responses: 2247 | Write a response
Posted on Mon May 8 19:05:23 2006 by davebaker58 in response to 2238
Re: WWW-Mechanize keeps hitting secured page all by itself, resetting sessions
Solved my problem. I found that I had written a Perl module that used WWW::Mechanize to pull a piece of information by running the mailing list software; the Perl module exported a function that was called each time a particular HTML web page was viewed (the web page is part of a templating system that enables embedding of functions into the page). The web page isn't in my secured directory so displays of that web page didn't show up in the access log for the secured directory, though the module's use of WWW::Mechanize did. I guess hits on that web page and calls to the Perl module are completed so fast that ps -aux doesn't catch 'em except in a rare coincidence, or maybe they show up in ps -aux merely as an Apache httpd process due to the way the templating system works (Apache::SimpleTemplate).
Write a response