Connect TCP
Hey Guys,
I am running a FC4. how can i connect to another IP in my LAN using one of these ports 445/TCP or 1370/TCP? any idea? Cheers!!! |
En Oecher :)
Well, the choice of "connection method" commonly depends on what kind of service is listening on that port on the other machine. That's like asking "How do I connect to the power-point over there?" without telling us what kind of plug it takes (US, GB, Central European, ...). Cheers, Tink |
jo, :)
this is what i got after an nmap scan :) PORT STATE SERVICE 80/tcp open http 139/tcp open netbios-ssn 443/tcp open https 445/tcp open microsoft-ds 1370/tcp open us-gv MAC Address: 00:01:4A:C4:89:D4 (Sony) Device type: general purpose Running: IBM AIX 4.X, Microsoft Windows 2003/.NET|NT/2K/XP OS details: IBM AIX 4.3.2.0-4.3.3.0 on an IBM RS/*, Microsoft Windows 2003 Server or XP SP2, Microsoft Windows XP SP2 Cheers!! |
Ok...
445 is the XP/win2k3 equivalent of 139, it's winDOHs way of telling others about its networking capabilities. To get more info try a smbclient -L //<IP> No idea what us-gv would be on a winDOHs box, though. Cheers, Tink |
Me neither but it looks like this would be an AIX vs a windows service.
I also didn't find a lot of info on globalview. |
Hey ,
After trying smbclient -L //IP , a password is required. But i dunno which password is requested, is there is any default pass? Any idea? Cheers!! |
Well... if it's your machine and you have file-sharing enabled
you should have a fair idea what the user-account and password are ... man smbclient for details on how to pass those parameters ;} Cheers, Tink |
hehehe thanks for the hint ,
yes the machine is mine ;} with this code i am only opening a connection and seeing what is shared and then closing it , is it true? smbclient -N -L //IP how can i maintain connection and transfer files ? any idea on how to print ? Thanks Cheers!! |
by the way , how do i close port 111?
|
Quote:
mount -t smbfs //host/share /path/to/mountpoint Quote:
But it should be possible to find that in the samba documentation. Cheers, Tink |
Quote:
Cheers, Tink |
on my fedora core4
|
No idea why Fudora would be using sunrpc ... to check which
daemon/process is holding it open do an lsof | egrep "(111|sunrpc)" Cheers, Tink |
this is the result of lsof | egrep "(111|sunrpc)" , weird weird
----------------------------------------------------------------------- portmap 2109 rpc 3u IPv4 6632 UDP *:sunrpc portmap 2109 rpc 4u IPv4 6636 TCP *:sunrpc (L ISTEN) gnome-ses 2919 root 32u unix 0xca5de980 11158 /tmp/.ICE-u nix/2919 gconfd-2 2979 root 54u unix 0xdad80c80 11160 /tmp/orbit- root/linc-ba3-0-49aba1f9893d5 gconfd-2 2979 root 55u unix 0xdad80880 11163 socket evolution 3046 root mem REG 253,0 817992 2820111 /usr/lib/ev olution/2.2/components/libevolution-mail.so rhn-apple 3057 root mem REG 253,0 1111012 2401042 /usr/lib/li bpython2.4.so.1.0 rhn-apple 3057 root 3u unix 0xca5deb80 11157 socket rhn-apple 3057 root 4u unix 0xc9249040 11159 socket rhn-apple 3057 root 5u unix 0xdad80a80 11161 /tmp/orbit- root/linc-bf1-0-32af38a1dddcb rhn-apple 3057 root 14u unix 0xdad80680 11164 /tmp/orbit- root/linc-bf1-0-32af38a1dddcb evolution 3080 root mem REG 253,0 25236 2787111 /usr/lib/ev olution-data-server-1.2/extensions/libebookbackendfile.so ---------------------------------------------------------------- Cheers!! |
you can safely ignore all that don't have IPv4 in them,
which brings us down to portmap. Are you using NFS or anything else that requires Remote Procedure Calls? Cheers, Tink |
All times are GMT -5. The time now is 07:50 AM. |