Re: closeing open ports

2001-04-29 Thread Brandon High
On Sun, Apr 29, 2001 at 04:20:14PM -0300, Rogerio Bastos wrote: > > Another usefull thing to do when the port you want to close is not listed on > /etc/services and you don't have a clue of what service is binded to that > port is to run (as root) fuser -a -n proto port, where proto may be tcp,

Re: closeing open ports

2001-04-29 Thread Rogerio Bastos
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 29 April 2001 05:13, Michael Earls wrote: > What file do i need to edit to close open ports, > > ex, port 111 /tcp sunrpc > 515/ tcp printer > 2000/ tcp callback > Another usefull thing to do when the port you want t

Re: closeing open ports

2001-04-29 Thread ktb
On Sun, Apr 29, 2001 at 11:38:25AM -0700, Michael Earls wrote: > that was great info, but i do not need to masq any ips, i just need to > limit the ports being open, i have edited inetd.conf, but there were some > ports not listed in there. here is a port scan on my box, > > [EMAIL PROTECTED] m

Re: closeing open ports

2001-04-29 Thread Daniel Freedman
On Sun, Apr 29, 2001, Michael Earls wrote: > that was great info, but i do not need to masq any ips, i just need to > limit the ports being open, i have edited inetd.conf, but there were some > ports not listed in there. here is a port scan on my box, > Mike, Hi. I just joined thread so I can

RE: closeing open ports

2001-04-29 Thread Michael Earls
Aoki Sent: Sunday, April 29, 2001 2:05 AM To: Michael Earls Cc: debian-user@lists.debian.org Subject: Re: closeing open ports On Sun, Apr 29, 2001 at 01:38:33AM -0700, Michael Earls wrote: > What is a good starting point / reference point on ipchains. I have it > installedx but not confi

Re: closeing open ports

2001-04-29 Thread Osamu Aoki
On Sun, Apr 29, 2001 at 01:38:33AM -0700, Michael Earls wrote: > What is a good starting point / reference point on ipchains. I have it > installedx but not config. Is there a file that i can edit for ipchains? > > I only need 21 ftp 22 ssh 25 smtp 80 http You may want to open auth too. Closing

RE: closeing open ports

2001-04-29 Thread Michael Earls
[mailto:[EMAIL PROTECTED] Sent: Saturday, April 28, 2001 10:21 PM To: Michael Earls Cc: debian-user@lists.debian.org Subject: Re: closeing open ports On Sun, Apr 29, 2001 at 01:13:07AM -0700, Michael Earls wrote: > What file do i need to edit to close open ports, > > ex, port 111 /t

Re: closeing open ports

2001-04-29 Thread ktb
On Sun, Apr 29, 2001 at 01:13:07AM -0700, Michael Earls wrote: > What file do i need to edit to close open ports, > > ex, port 111 /tcp sunrpc > 515/ tcp printer > 2000/ tcp callback > Also comment out everything you don't need in - /etc/inetd.conf and run - # /etc/init.

Re: closeing open ports

2001-04-29 Thread ktb
On Sun, Apr 29, 2001 at 01:13:07AM -0700, Michael Earls wrote: > What file do i need to edit to close open ports, > > ex, port 111 /tcp sunrpc > 515/ tcp printer > 2000/ tcp callback Run the command - # lsof | grep LISTEN This is another option - $ less /etc/services |

Re: closeing open ports

2001-04-29 Thread Brandon High
On Sun, Apr 29, 2001 at 01:13:07AM -0700, Michael Earls wrote: > What file do i need to edit to close open ports, > > ex, port 111 /tcp sunrpc > 515/ tcp printer > 2000/ tcp callback Install and configure ipchains. There are various firewall packages that you can configur