http://www.monkeynoodle.org/lrp/lrp-firewall-faq.html
you can grep /etc/services to see what the port is supposed to be used for. As far as what is really using it, netstat -atun and lsof might give you some clues, as well as telnet localhost [portnumber]. On Fri, 2002-11-29 at 15:21, Jim C wrote: > OK, same problem. > Where can I find out the most common uses for individual ports and how > can I find out what a linux box is using those ports for? > > > Jim C wrote: > > Thanks Sebastien. As you can see, there are only three files that are > > different and only two of those matter. There is a problem however in the line >"loc eth1 detect" > > > >> [root@enigma shorewall]# diff . /etc/shorewall > >> diff ./interfaces /etc/shorewall/interfaces > >> 129d128 > >> > >> diff ./rules /etc/shorewall/rules > >> 173,175c173,178 > >> < ACCEPT net fw tcp 22,443,10000 - > >> < ACCEPT masq fw tcp 22,443,10000 - > >> < ACCEPT loc fw tcp 22,443,10000 - > >> --- > >> > ACCEPT net fw udp 53 - > >> > ACCEPT net fw tcp 53,22,20,21 - > >> > ACCEPT masq fw udp 53 - > >> > ACCEPT masq fw tcp 53,22,20,21 - > >> > ACCEPT loc fw udp 53 - > >> > ACCEPT loc fw tcp 53,22,20,21 - > >> Only in /etc/shorewall: rules.sav > > > > To whit: > > > >> [root@enigma shorewall]# service shorewall restart > >> Processing /etc/shorewall/shorewall.conf ... > >> Processing /etc/shorewall/params ... > >> Restarting Shorewall... > >> Loading Modules... > >> Initializing... > >> Determining Zones... > >> Zones: net masq loc > >> Validating interfaces file... > >> Error: Duplicate Interface eth1 > >> /sbin/service: line 148: 733 Terminated $debug >$servicedir/$service $options > > > > > ---- > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- Jack Coates Monkeynoodle: A Scientific Venture...
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com