Just because of the fact that I came up with such headaches before :-) See below :
--- tcpdump -i1 -C1 -s512 -wDump-out.pcap net 192.168.0.0 mask 255.255.255.0 and dst port 25 --- "dump the first 512bytes of each packet on interface "1" and when the file reaches 1Mb, start a new log file" BTW, this was done for my DMZ which only had one IP address active; That of the mailserver interface. Hence the subnet and mask thingy. Hope this helps, Regards, s. --- On Fri, 21/11/08, Joseph L. Casale <[EMAIL PROTECTED]> wrote: > From: Joseph L. Casale <[EMAIL PROTECTED]> > Subject: [Assp-user] tcpdump > To: "[email protected]" <[email protected]> > Date: Friday, 21 November, 2008, 5:50 AM > I am trying to dump some communication from inbound smtp > servers on one of my rigs. > Assp config has listenPort:25, > smtpDestination:127.0.0.1:10025 and relayPort:225 > # tcpdump -w ~/tcpdump.log -s 0 port 25 yields data when > email arrives. > # tcpdump -w ~/tcpdump.log -s 0 port 10025 yields no data > when email should be proxied back. > # tcpdump -w ~/tcpdump.log -s 0 port 225 yields data when > email is sent. > > What's the obvious I am overlooking here? > > Thanks! > jlc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK > & win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Assp-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/assp-user ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Assp-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-user
