QUOTE(stupkid @ Nov 10 2004, 06:02 PM)
Once you have these entries in your inetd.conf:
# Block QPE ports to prevent connections
4242 stream tcp nowait root /bin/false false
4244 stream tcp nowait root /bin/false false
4992 stream tcp nowait root /bin/false false
Reboot your Z. Now telnetting to any of the above ports will immediately disconnect you. If inetd dies at some point qpe will start listening on those ports again and you will have to restart inetd and restart Qtopia.
Hope this helps.
Thanks that does help. I think I hadn't started in the correct order inetd, and qpe.
using the command "netstat -anp" shows me which process owns which tcp port. It is quite clear that qpe was still owning the ports I wanted to block.
Since I have gone to the trouble of installing and configuring iptables, I think I'll stick with that method for now. Since I don't have to worry about whether qpe has grabbed those ports or not. But it is good to know "other" ways of accomplishing this task.