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.
SDN 101: An Introduction to Software Defined Networking
Discover the advantages of SDN.
SDN has quickly become one of the hottest trends in IT. But not all SDN solutions offer real software-defined functionality. As more enterprises consider SDN, they want to know, “What is SDN? And what are the real benefits?” If you're ready to explore the advantages of SDN, and want to know how it should be implemented within your enterprise, start by reading our introductory white paper.
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.