About UDP for request and TCP for answers I was read here: http://wiki.apache.org/spamassassin/NetTestFirewallIssues
>>Pyzor uses both udp and tcp port 24441. It looks as though the client communicates with the server via udp but the server answers back with a tcp connection.
But as I see by tcpdump now, pyzor is use only udp. Possibly this information is too old...
Matt Kettler wrote:
At 10:51 AM 2/28/2005, Slava Garaschenko wrote:
and tcpdump show:
10:47:59.056563 us.ambernet.kiev.ua.4831 > clapton.quatro.com.24441: udp 165 (DF)
10:47:59.080542 clapton.quatro.com.24441 > us.ambernet.kiev.ua.4831: udp 63 (DF)
Only things, with which I was surprised, that I was read that pyzor use UDP for request and tcp for answer, but I see udp only...
grepping the code for pyzor 0.4.0, there's no SOCK_STREAM (tcp) in use, only SOCK_DGRAM (udp).
I ran grep -ri with several different search strings:
"tcp", "udp", "stream", "dgram", "connect", "recv", "bind", "accept", "listen" and "socket"
In the process I came up with nothing to suggest use of TCP. Everything seems to be datagrams sent via sendto and received with recvfrom. Unless there's some python wrapper object with a rather obscure name, I'd be surprised if there's any support for TCP at all.
-- Garashchenko Vyacheslav CEO AmberNet ISP, Kiev, UKRAINE e-mail: [EMAIL PROTECTED] ICQ: 11379952 (authorisation required) RIPE: VG299-RIPE