hi all,
Situation:
I was doing a portscan on one of my servers (from the local net) in a bid to tighten the security, anyway, after stopping unwanted deamons i thought i would be cool to use different port numbers, other than the default, since there are so many to choose from... so, my question is simple.
Question:
How can i...
1. make a program lile smtpd (on ther server) accept connection ONLY on, lets say port 999
2. open / close a port for use. e.g. when i portscan, the port is or is not available.
I am using FreeBSD 4.2, i have looked at, and edited the /etc/services and /etc/protocols accordingly but installing a new service or protocol does not seem to open the ports i want to use. e.g. port scan does not list the port as open.
Thanks a bunch!
JayBot "Always know what you say, but don't always say what you know!"
Situation:
I was doing a portscan on one of my servers (from the local net) in a bid to tighten the security, anyway, after stopping unwanted deamons i thought i would be cool to use different port numbers, other than the default, since there are so many to choose from... so, my question is simple.
Question:
How can i...
1. make a program lile smtpd (on ther server) accept connection ONLY on, lets say port 999
2. open / close a port for use. e.g. when i portscan, the port is or is not available.
I am using FreeBSD 4.2, i have looked at, and edited the /etc/services and /etc/protocols accordingly but installing a new service or protocol does not seem to open the ports i want to use. e.g. port scan does not list the port as open.
Thanks a bunch!
JayBot "Always know what you say, but don't always say what you know!"