Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've been having problems with Samba and the new 64 bit version of XP. A couple of the Samba developers have requested a dump of the raw packets between the Windows and Linux box during login.
I was thinking Ethereal on the windows box but then login would be impossible, Ethereal also has the problem of not having 64 bit capture drivers. I tried tethereal on the linux box but anything I dump is in the wrong format, I've been told text files are "worthless" when it comes to diagnostics.
So what command should I use to get the packets I need to send off to the developers? It has to dump to a file at some point since it will inevitably flood the console's buffer.
Here's the commands I've already done and were rejected so now I'm getting frustrated.
tethereal -i 3 -z smb,rtt,ip.addr==192.168.1.6 -f tcp port 137 or tcp port 137 or port 138 or tcp port 139 or tcp port 445 -s 2000
tethereal -i 3 -z smb,rtt,ip.addr==192.168.1.6 -f tcp port 137 or tcp port 137 or port 138 or tcp port 139 or tcp port 445 -w scan
Substitute the appropriate interface name for "eth0" and whatever output file name you want for "dumpFile.tcp". You need the "-s 0" so that long packets don't get cut off.
This will generate a pcap format file that captures all the packets that come in on the specified interface while the tcpdump is running.
I wouldn't worry about trying to filter by port or anything else. The people who you pass the file to can process it in ethereal or tethereal or whatever and do their own filtering as a post processing step.