|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hello,
Background: I just got this new VPS web hosting account and they included packages that you can install. So far I've installed the following MySQL PHP4 Procmail Samba w/Swat Webmin I couldn't get samba to work so i deleted the pgk. I also didn't find webmin useful so I deleted that as well. The issue: I ran netstat and found a few entries. One being SWAT: tcp4 0 0 domain.swat *.* LISTEN I don't use swat and unless there is a reason to have it listen, i'd like to close it. If possible undo anything the samba/swat install modified/added. The second entry i have is this: tcp4 0 0 domain.aol *.* LISTEN Now I have no clue as to how this got there nor do i know how to connect using it - whatever it is. but as above unless there is a reason not to, id like to close that as well.. there are some others that I don't understand but were there from the beginning: tcp4 0 0 domain.3306 *.* LISTEN tcp4 0 0 domain.submission *.* LISTEN any ideas as to what this is listening for? Thanks in advance Last edited by lunatic : February 15th, 2004 at 05:02 AM. |
|
#2
|
||||
|
||||
|
You don't say what OS you're using.
Disable swat by commenting out the corresponding line in /etc/inetd.conf and restarting inetd. 3306 is mysql, submission is your mta mail submission queue runner, aol port (5190) is probably something to do with webmin - you might find out more info by running sockstat.
__________________
FreeBSD Admin Tips Tricks and Scripts |
|
#3
|
|||
|
|||
|
Sorry munkfish,
I'm running FreeBSD 4.7 I did comment out swat line in inetd.conf and then restarted apache. Which of course as you know did not work. I didn't see any line for aol within the inetd.conf so I commented out the aol lines in /etc/services. restarted inetd and the system is not listening of those anymore. Thanks munkfish. |
|
#4
|
||||
|
||||
|
Quote:
You need to restart inetd, not apache. This should work: Code:
ps aux | grep "[i]netd" | awk '{print $2'} | xargs kill -HUP
Commenting out the aol lines in /etc/services is not a good idea and will not disable the 'aol' port - you should never have to manually edit /etc/services. /etc/services simply maps port numbers to names so that utilities / applications can provide a human readable description of ports. If you look again at your netstat output you should still see that the aol port - port 5190 is still open (unless you did something else in the meantime to disable it). As an example - if you run 'netstat' without any options, it will attempt to resolve port numbers to names using /etc/services. However if you run 'netstat -n' then no name resolution will occur via /etc/services - only the port numbers will show without any long names. |
|
#5
|
|||
|
|||
|
Yup, you're right about that one. Running netstat did show domain.5190. So I uncommented those aol lines.
This is what I got when running sockstat: root sendmail 2377 5 tcp4 204.200.195.204:5190 *:* so it doesn't seem like it's for AOL instant messenger. I guess I should keep this one. Oh you know what it may be? I have AOL as my ISP. Sometimes outlook will not send email through AOL port 25. It just sits in the outbox. So my WHP (web hosting provider) said to use 5190. So I guess I deffenitely should keep that one. Thanks for the help munkfish Last edited by lunatic : February 15th, 2004 at 08:05 PM. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > how to delete listening addresses |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|