Click to See Complete Forum and Search --> : /etc/inetd.conf


Dark Ninja
10-18-2001, 03:56 PM
I know that, in order to edit what ports are open on my system, I normally would edit /etc/inetd.conf and comment out whatever ports I don't want open.

This does not seem to be the case in Mandrake 8.1. inetd.conf does not seem to even exist. If not, how do I go about closing the ports under Mandrake?


Dark Ninja

dud
10-18-2001, 04:00 PM
This is just a guess but I think Mandrake 8.1 uses xinetd like Redhat >= 7.0

to configure the services you have to go into /etc/xinetd.d/ and browse the files. Each file is a service that you can disable or enable. The default configuration you can find in /etc/xinetd.conf
Try reading something about xinetd.

Dark Ninja
10-18-2001, 04:05 PM
Okay. Well, I do have an xinetd.d file. No xinetd.conf. But, the port I was looking to close down was IPP and it is port 631. I just want to close it. That's it. Nothing else.

Thanks for the help though. I thought I was going insane. :D Or maybe I already am.


Dark Ninja

X_console
10-18-2001, 06:11 PM
Two ways to close the port. Don't run the program, or if you need to run it, block incoming packets with a firewall.

Dark Ninja
10-18-2001, 06:46 PM
Well, I'm not even sure how I ever started running it. (It's the Internet Printing Protocol) - I'm thinking it's a "default Mandrake thing." I'm guessing it wouldn't cause me too much trouble, but, I don't like to make assumptions like that.

Anyway, I am working on a protection method, so, it should be all good. Thanks anyway.


Dark Ninja