[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#42445: rlinetd: Daytime and other protocols built in to other inetd's

>>>>> "RC" == Russell Coker <russell@coker.com.au> writes:

    RC> I also want the time and daytime services.  "rdate" doesn't
    RC> work for me since I installed rlinetd.  

  Hrm. Okay, that's another one that I overlooked :)
taptaptap... actually, I know how to do it.

  Grab the latest snaphost from
http://www.eris.rcpt.to:/rlinetd/snapshots/, and try:

service "daytime"

service "time" {
  echo "%M";
service "daytime" {
  echo "%I";

  Ugh. It isn't going to stay this way - inetd 'time' actually uses a
different epoch to time(2). I'll leave it as it is for now, but that's 
just horrible.

  Other news in this snapshot is error handling for 'echo' and
'discard' that might just work :) Oh, and 'banner' is broken. I
think. I can't remember.