23 Oct
2012
23 Oct
'12
9:51 a.m.
Xinetd doesn't need to be told. Isn't there a table of standard ports for specified services?
Yes, there's a table of standard ports -- it's /etc/services. It merely lets you refer to ports by name rather than by number. Something still needs to indicate what port to listen on, regardless of how its mentioned. So, I call bull on xinetd not needing to know this. _somehow_ it's being told.
Yes, xinetd knows because of the first line in the config file: service nntp { Indeed, it takes the port for nntp from /etc/services So in systemd the ListenStream=119 is mandatory Check /etc/xinetd.d/leafnode -- дамјан