- Omer Ansari <[EMAIL PROTECTED]>:
| 1. i can't get the tcp.telnet file working..in.telnetd is open for
| everyone. i did the following:
|
| in my /etc/tcp.telnet:
| xxx.xxx.xxx.xxx:allow
|
| [...]
|
| it doesn't work..i can't seem to restrict access on this machine to only
| xxx.xxx.xxx.xxx
You must add a line
:deny
since the default is otherwise to allow connections from everywhere.
| 2. i'd like to log these entries....since the tcpserver can run in
| verbose mode...i want to put it's output into /usr/adm/messages (the
| file maintained by syslog). how do i do that? just by appending the
| stuff to the 'messages' file?
No, since the messages file is typically written by syslogd. Either
pipe the standard error output of tcpserver into splogger, or use
cyclog (in Dan's daemontools package) to do the logging.
- Harald