Home | History | Annotate | Download | only in inetd

Lines Matching defs:service

96  *	service name			must be in /etc/services or must
97 * name a tcpmux service
107 * service name/version must be in /etc/rpc
115 * For non-RPC services, the "service name" can be of the form
131 * the service name must not.
136 * one line for any given RPC service, even if the host-address
140 * RFC1078-based tcpmux internal service. Tcpmux listens on port 1 for
141 * requests. When a connection is made from a foreign host, the service
143 * and returns the proper entry for the service. Tcpmux returns a
144 * negative reply if the service doesn't exist, otherwise the invoked
145 * server is expected to return the positive reply if the service type in
146 * inetd.conf file has the prefix "tcpmux/". If the service type has the
292 const char *bi_service; /* internally provided service name */
323 * "cycling packets" denial of service attacks. See /etc/services.
445 DPRINTF(SERV_FMT ": service requested" , SERV_PARAMS(sep));
527 char *service = NULL; /* XXX gcc */
547 service = buf;
557 "refused connection from %.500s(%s), service %s (%s)",
558 eval_client(&req), abuf, service, sep->se_proto);
563 "connection from %.500s(%s), service %s (%s)",
564 eval_client(&req), abuf, service, sep->se_proto);
843 * Finish with a service and its socket.
1159 echo_stream(int s, struct servtab *sep) /* Echo service -- echo data back */
1172 echo_dg(int s, struct servtab *sep) /* Echo service -- echo data back */
1194 discard_stream(int s, struct servtab *sep) /* Discard service -- ignore data */
1206 discard_dg(int s, struct servtab *sep) /* Discard service -- ignore data */
1442 char service[MAX_SERV_LEN+1];
1445 /* Get requested service name */
1446 if ((len = get_line(ctrl, service, MAX_SERV_LEN)) < 0) {
1447 strwrite(ctrl, "-Error reading service name\r\n");
1450 service[len] = '\0';
1452 DPRINTF("tcpmux: %s: service requested", service);
1458 if (strcasecmp(service, "help") == 0) {
1471 /* Try matching a service in inetd.conf with the request */
1475 if (strcasecmp(service, sep->se_service) == 0) {
1482 strwrite(ctrl, "-Service not available\r\n");
1489 * that are used for denial of service attacks like two echo ports