You are not logged in.
Hello
I am workstation user. I am new to Arch . I come from slackware, but i can´t figure out to turn service and port of in Arch
In Slackware I use the following comands:
Block off all in /etc/inetd.conf
Block off in /etc/services everything except
ssh 22/tcp #Secure Shell Login
ssh 22/udp #Secure Shell Login
syslog 514/udp
And then run the comand /etc/rc.d/rc.inetd restart
But /etc/inetd.conf and /etc/rc./rc.inetd don´t excist in Arch :?:
How do I use this in Arch Linux
Offline
But /etc/inetd.conf and /etc/rc./rc.inetd don´t excist in Arch :?:
How do I use this in Arch Linux
Arch uses xinetd by default.
EDIT:
Oh, and you don't have to block anything if you didn't enable xinetd in your /etc/rc.conf DAEMONS line. If you did enable it just edit xinted config like you did with inetd. I guess you can also restart xinetd with /etc/rc.d/xinetd restart.
More info:
http://www.archlinux.org/news.php?skip=90
http://bbs.archlinux.org/viewtopic.php? … netd+inetd
Also check other daemons that may be running without xinetd with open ports. Disable everything you don't need in rc.conf and/or configure daemons' configs or use iptables to restrict access. There is a lot of info out there in the forums and google of course.
Offline
Offline
But have´t xinetd, either :?:
Xinetd is not really required to run network applications.
Most of them (at least latest versions) can run as daemons and open ports by themselfs.
Check if you have xinetd installed with pacman -Qi xinetd. You can always install it and enable in rc.conf DAEMONS if you want to. Then you should start the daemon (like ssh) through xinetd config not rc.conf DAEMONS.
For more info just go to http://www.xinetd.org/ and follow docs and samples. Also some samples are somewhere in arch forums IIRC (search for xinetd).
EDIT: and also check with netstat what ports are opened.
Offline
Thanks for your information.
I love Arch more and more
Offline