From: Roberto M. <rob...@gm...> - 2006-09-13 23:13:34
|
2006/9/13, Rob MacGregor <rob...@gm...>: > On 9/12/06, Roberto Meyer <rob...@gm...> wrote: > > > > Still having problems with it, I decided to put tcpdump in action. The > > problem is I don't really know much about it. I read the man pages and > > understood a little about flags, etc. but don't know a lot of tcp/ip. > > > > I've attached the output of two connections triggered at the same time > > for two different users through cron jobs. One of them was successful, > > the other one failed with a socket, status=2 result. > > > > The command I issued was: > > "tcpdump -v -s1500 -i eth0 -n tcp port 110 -w /tmp/tcpdump.raw" > > > > I've attached the 'text' version of it which I rescued through > > "tcpdump -r /tmp/tcpdump.raw" > > Separating the 2 is, sadly, not possible. If you could capture one > working run and one failed run then I *may* be able to help work out > what's going wrong. It would help to have the binary pcap of the > failed run, though obviously you'd need to change passwords > immediately afterwards (or before and after) for security reasons. Finally I got a couple of errors with single connections. I've attached a .tgz file with the logs of fetchmail and tcpdump at the moment of the errors, and both logs for a well done connection too. > Can you provide the output of "ifconfig eth0" (feel free to mangle MAC > and IP addresses) and "cat /proc/sys/net/ipv4/tcp_ecn"? "cat /proc/sys/net/ipv4/tcp_ecn" returns "0" (zero) "ifconfig eth0" returns: eth0 Link encap:Ethernet HWaddr 11:50:24:64:09:BE inet addr:201.65.9.43 Bcast:201.65.9.255 Mask:255.255.255.224 ^^^^^^^^^^^^^^^^ I noticed here broadcast address is wrong... could this be hurting packets or fetchmail connections? It should be 201.65.9.63 because of the netmask... UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1240552 errors:34 dropped:0 overruns:0 frame:34 TX packets:636714 errors:0 dropped:0 overruns:0 carrier:105 collisions:0 txqueuelen:1000 RX bytes:397976183 (379.5 MiB) TX bytes:78105812 (74.4 MiB) Interrupt:14 Base address:0xdc00 Carrier error were due to a cable unplug a week ago. As far as I checked, frame errors don't seem to be directly related to fetchmail problems. I'll change broadcast setup, though I didn't write it in /etc/init.d/interfaces, I only specified address, network and gateway... I'm surprised Linux didn't calculate it well... Thanx a lot for your help. -- Roberto |