What port does copying files over lan use?

headstrong

Expert Member
Joined
May 10, 2006
Messages
1,099
Reaction score
0
Hi guys!

Which port would I be using if I copied a file accross my lan use?

I've use a program that monitors all activity and it showed that I used port 1999 -2012 when I copied 13 different files across the lan!

The port obviously changes every time I make a new connection!

Does any1 know of the correct port range for copying files accross lan?

Thanks
 
I think its port 137 or 138. I'm running PeerGuardian on my PC and when I copy something from another PC on my network it shows the IP of that OC and the port...it just shows so many, but 137 and 138 looks like the port;)
 
Would prob be the same as the samba port.

According to this, that's 137-139.

A quick wiki lookup show that windows uses the CIFS protocol for file sharing, and according to this, that's 137, 138 and 139.
 
Vampirothoothus that link helped alot!

I've installed a program that monitors open ports when I copy a file accross the network

It show local ports and destination ports...

The local port changes everytime I copy a different file but the destination port remains either 137-139 or 445

If I was using a network monitoring program to monitort all activity except copying a file: I assume I would set it to monitor all activity on all ports except for ports: 137-139 and 445...right?

thanks
 
This has been a very informative topic.
Thanks fellas.

:rolleyes: N7.1
 
What bothers me is why you want to konw. Are you thinking of opening those ports on your router to share files over your internet connection?

Don't.

Your machine will be 0wn3d in no time.
 
I need to monitor internet traffic from users on my network... I only have a small cap :(

So the easiest way I found would be to monitor all traffic from a specific user excluding a few ports......

We still need to copy files etc accross the network but obviosly this cannot be recorded as internet traffic

C wot i;m trying 2 do?
 
I see. How are you connected - everybody directly through a router?

Without actually using a single PC as a firewall/router you won't really be able to get accurate statistics.
 
Every1 is connect through my pc because I am using ICS to share internet

Antowan, is it only 445 or is it 445 and 137-139?

Thanks
 
Last edited:
I need to monitor internet traffic from users on my network... I only have a small cap :(

So the easiest way I found would be to monitor all traffic from a specific user excluding a few ports......

We still need to copy files etc accross the network but obviosly this cannot be recorded as internet traffic

C wot i;m trying 2 do?
I'm not sure what environment you're using this in but have you considered getting the users to buy their own bandwidth - perhaps in the form of per gb bandwidth from WA? Then you wouldnt have to worry about whatever they're downloading.
 
I am using web africa prepaid!! I have a local + normal account and I'm using route sentry to split the traffic! WA prepaid rocks!

I cant afford to buy every member of my family an individual account lol! Thats why I need to record each indivdual persons traffic
 
Every1 is connect through my pc because I am using ICS to share internet

Antowan, is it only 445 or is it 445 and 137-139?

Thanks

You need all four. There are two revisions of the SMB protocol (at least according to Microsoft), one uses two of the ports, the other uses the other two. I can't remember which way around.

Sorry, can't help you with trafic monitoring on windows. But you have nothing to worry about. You have two network interfaces, external and internal. If you open a command prompt and type route print, you'll see that for traffic on your local is routed to your internal interface, so it will never go out of your external interface. Thus if someone copies a file from one machine to another, it doesn't impact on your internet connection.
 
I thought it might be 445, what I could find in the link I supplied, but could not find it under PeerGuardian. O well, at least now I know and I think we all learnt something! ;)

Cheers!
 
Top
Sign up to the MyBroadband newsletter
X