On Sun, 2008-01-27 at 18:04 -0500, Adam McDougall wrote: > Try running a script to run 'netstat' frequently, say once a minute, and > log the port numbers from the connection, example: > TCP reinheitsgebot:3482 mail.egr.msu.edu:993 ESTABLISHED > TCP reinheitsgebot:3485 mail.egr.msu.edu:993 ESTABLISHED
Cheers! :-) -- char *t="[EMAIL PROTECTED]"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}