YaAqoB Posted November 23, 2004 Report Share Posted November 23, 2004 Hello all. I was wondering if anyone knows how to see what ports Mandrake is using for TCP and UDP. Or if thats not possible how do I change them to what I want. I don't have a firewall/router, only what ever Mandrake has built in. I only have a dial up connection to the net at this stage and I need this info so I can make Valknut go active as its requesting the port numbers for UDP and TCP. Thanks heaps Quote Link to comment Share on other sites More sharing options...
b Posted November 24, 2004 Report Share Posted November 24, 2004 Hi less /etc/services ? For what is established/listening now I use netstat -atpcevu in a root shell tcp listen port 9176 udp listen port 9176 (not in /etc/services) would be default's for valknut I just installed and know 0 about. hih Quote Link to comment Share on other sites More sharing options...
YaAqoB Posted November 24, 2004 Author Report Share Posted November 24, 2004 Hello again. Which of the following lines iare the ones that I get the UDP and TCP ports from? Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name tcp 0 0 localhost:32768 *:* LISTEN root 7673 3674/xinetd tcp 0 0 localhost:10026 *:* LISTEN root 8166 3964/master tcp 0 0 *:sunrpc *:* LISTEN root 6750 3149/portmap tcp 0 0 *:x11 *:* LISTEN root 7683 3704/X tcp 0 0 *:ipp *:* LISTEN root 7795 3739/cupsd tcp 0 0 localhost:smtp *:* LISTEN root 8066 3964/master tcp 0 0 *:x11 *:* LISTEN root 7682 3704/X udp 0 0 *:sunrpc *:* root 6749 3149/portmap udp 0 0 *:ipp *:* root 7796 3739/cupsd Thanks Quote Link to comment Share on other sites More sharing options...
kmack Posted November 24, 2004 Report Share Posted November 24, 2004 (edited) [kelly@localhost kelly]$ netstat -atu Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 localhost:32768 *:* LISTEN tcp 0 0 *:1004 *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 localhost:http *:* LISTEN tcp 0 0 *:x11 *:* LISTEN tcp 0 0 *:10000 *:* LISTEN tcp 0 0 localhost:https *:* LISTEN tcp 0 0 192.168.2.40:32797 mail.xxxx.net:ssh ESTABLISHED tcp 0 0 ::1:http *:* LISTEN tcp 0 0 *:x11 *:* LISTEN tcp 0 0 ::1:https *:* LISTEN udp 0 0 *:10000 *:* udp 0 0 *:bootpc *:* udp 0 0 *:998 *:* udp 0 0 *:1001 *:* udp 0 0 *:sunrpc *:* Here is an example and you can see the Protocol on left and the connection and :PORT # of the connnection. In this case I have an ssh connection running to a remote server. Edited November 24, 2004 by kmack Quote Link to comment Share on other sites More sharing options...
YaAqoB Posted November 24, 2004 Author Report Share Posted November 24, 2004 Sorry to be a pain but by looking at my one, what port numbers should I enter for TCP & UDP in Valknut? Quote Link to comment Share on other sites More sharing options...
kmack Posted November 24, 2004 Report Share Posted November 24, 2004 Sorry to be a pain but by looking at my one, what port numbers should I enter for TCP & UDP in Valknut? <{POST_SNAPBACK}> I don't use that software, but the online documentation says: TCP Listen Port This specifies the port number Valknut will listen on for TCP connections (e.g. for file transfers etc.). It defaults to 9176, and you can usually leave it at that. You need to make sure that incoming connections to this port can get through your firewall. UDP Listen Port Search results will be sent directly to you on this UDP port. It defaults to 9176. Make sure your firewall allows through UDP packets destined to this port. Mandrake with normal settings should allow you to use this. If not, go to the Mandrake Control Center--Security--Firewall. Default is "Everything" so it should let it work. If you want to tighten up, then uncheck "Everything" and enter the ports you want to use. NOTE: if you do this, you might cause other programs not to run properly by not listing their pprts properly. Beware. Quote Link to comment Share on other sites More sharing options...
YaAqoB Posted November 24, 2004 Author Report Share Posted November 24, 2004 Thank you very Much Quote Link to comment Share on other sites More sharing options...
kmack Posted November 24, 2004 Report Share Posted November 24, 2004 Sorry I started out off base. Reading too fast. HA! Got to visit your fair city in 70's and enjoyed it much! Good luck with Valknut! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.