Sponsored Content
Full Discussion: TCP Wrappers
Special Forums Cybersecurity TCP Wrappers Post 18867 by DPAI on Thursday 4th of April 2002 12:02:13 AM
Old 04-04-2002
TCP Wrappers

I have installed TCP wrappers , Good package ...
I have a problem with the hosts_options part ...

I am not able to use the twist command .. It just dosent respond

I have compiled wrappers 7.6 for Solaris 8 with ipv6 support ...

Everything works fine except the twist doesnt work
I have given in hosts.deny
in.telnetd: All : twist /bin/echo <message>

The twist echo message dosent come up on the client .

Someone had a problem like this b4

Reply at ur convenience

DP
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

Tcp/ip

!HELLO , What is the maximum number of hosts on a TCP/IP internet? plz can u help me. :rolleyes: (2 Replies)
Discussion started by: smdakram
2 Replies

2. IP Networking

Tcp\ip

I have written a TCP/IP client and server program. The client sends a message to the server and then the server sends a file back to the client. The client reads the buffer and stores it another file in the client side. I need to know what are the various exceptions that I need to handle in... (0 Replies)
Discussion started by: Rajeshsu
0 Replies

3. Solaris

logging solaris 10 tcp-wrappers

I want to log tcp-wrapper events Solaris 10. I researched and saw that I could make a syslog entry in the hosts.deny, which I did below. After restarting syslog and having ssh blocking, I see nothing logging. I also do not get the email that should be generated. The file was taken from a... (2 Replies)
Discussion started by: csgonan
2 Replies

4. Solaris

TCP Wrappers - again

has anyone ever tried using a client list in thier hosts.allow file Example of hosts.allow) in.ftpd: /etc/ftp.hosts "ftp.hosts" has my list of IP address that are allow access.... However I cant get this work...Any Comments or Help? (0 Replies)
Discussion started by: dodge_man
0 Replies

5. AIX

TCP wrappers

With things installed and wrapping ftpd on AIX 5.1 in hosts.deny I have; ALL: ALL in hosts.allow; ftpd: x.x.x.x ALL: x.x.x.x I get this on connect via ftp; 421 Service not available, remote server has closed connection So its working as far as blocking but the hosts.allow seems to be... (1 Reply)
Discussion started by: traken
1 Replies

6. AIX

security wrappers

Hi All, Any idea what is the security wrappers on AIX 5.3? Any idea will be highly appreciated, thanks. (1 Reply)
Discussion started by: itik
1 Replies

7. UNIX for Advanced & Expert Users

TCP Wrappers and restricting users

I'm using vsftpd which is being controlled by inetd. I have a user that I want to only be able to connect from one specific IP address on the same internal network so I can backup files on a separate system. Is this possible with TCP wrappers? I got the notion that it was because of a few... (4 Replies)
Discussion started by: mashiox
4 Replies

8. AIX

aix tcp wrappers hosts.allow hosts.deny?

hi all just installed the netsec.options.tcpwrapper from expansion pack, which used to be a rpm, for my aix 6.1 test box. it is so unpredictable. i set up the hosts.deny as suggested for all and allow the sshd for specific ip addresses/hostnames. the tcpdchk says the hosts allowed and... (0 Replies)
Discussion started by: wf201626
0 Replies

9. AIX

TCP Wrappers on AIX 5.3

Hi, I have in my organization varied OS types (AIX,RHEL,Solaris) My need was to block ftp connections from some addresses on my organization, but to not disable the protocol. In the linux servers i did that with the hosts.deny file that used by the vsftpd deamon. In my AIX servers, i have... (6 Replies)
Discussion started by: moshesa
6 Replies

10. Solaris

Too much TCP retransmitted and TCP duplicate on server Oracle Solaris 10

I have problem with oracle solaris 10 running on oracle sparc T4-2 server. Os information: 5.10 Generic_150400-03 sun4v sparc sun4v Output from tcpstat.d script TCP bytes: out outRetrans in inDup inUnorder 6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
HOSTS_OPTIONS(5)						File Formats Manual						  HOSTS_OPTIONS(5)

NAME
hosts_options - host access control language extensions DESCRIPTION
This document describes optional extensions to the language described in the hosts_access(5) document. The extensions are enabled at pro- gram build time. For example, by editing the Makefile and turning on the PROCESS_OPTIONS compile-time option. The extensible language uses the following format: daemon_list : client_list : option : option ... The first two fields are described in the hosts_access(5) manual page. The remainder of the rules is a list of zero or more options. Any ":" characters within options should be protected with a backslash. An option is of the form "keyword" or "keyword value". Options are processed in the specified order. Some options are subjected to %let- ter substitutions. For the sake of backwards compatibility with earlier versions, an "=" is permitted between keyword and value. LOGGING
severity mail.info severity notice Change the severity level at which the event will be logged. Facility names (such as mail) are optional, and are not supported on systems with older syslog implementations. The severity option can be used to emphasize or to ignore specific events. ACCESS CONTROL
allow deny Grant (deny) service. These options must appear at the end of a rule. The allow and deny keywords make it possible to keep all access control rules within a single file, for example in the hosts.allow file. To permit access from specific hosts only: ALL: .friendly.domain: ALLOW ALL: ALL: DENY To permit access from all hosts except a few trouble makers: ALL: .bad.domain: DENY ALL: ALL: ALLOW Notice the leading dot on the domain name patterns. RUNNING OTHER COMMANDS
spawn shell_command Execute, in a child process, the specified shell command, after performing the %letter expansions described in the hosts_access(5) manual page. The command is executed with stdin, stdout and stderr connected to the null device, so that it won't mess up the con- versation with the client host. Example: spawn (/some/where/safe_finger -l @%h | /usr/ucb/mail root) executes, in a background child process, the shell command "safe_finger -l @%h | mail root" after replacing %h by the name or address of the remote host. The example uses the "safe_finger" command instead of the regular "finger" command, to limit possible damage from data sent by the finger server. The "safe_finger" command is part of the daemon wrapper package; it is a wrapper around the regular finger command that filters the data sent by the remote host. twist shell_command Replace the current process by an instance of the specified shell command, after performing the %letter expansions described in the hosts_access(5) manual page. Stdin, stdout and stderr are connected to the client process. This option must appear at the end of a rule. To send a customized bounce message to the client instead of running the real ftp daemon: in.ftpd : ... : twist /bin/echo 421 Some bounce message For an alternative way to talk to client processes, see the banners option below. To run /some/other/in.telnetd without polluting its command-line array or its process environment: in.telnetd : ... : twist PATH=/some/other; exec in.telnetd Warning: in case of UDP services, do not twist to commands that use the standard I/O or the read(2)/write(2) routines to communi- cate with the client process; UDP requires other I/O primitives. NETWORK OPTIONS
keepalive Causes the server to periodically send a message to the client. The connection is considered broken when the client does not respond. The keepalive option can be useful when users turn off their machine while it is still connected to a server. The keepalive option is not useful for datagram (UDP) services. linger number_of_seconds Specifies how long the kernel will try to deliver not-yet delivered data after the server process closes a connection. USERNAME LOOKUP
rfc931 [ timeout_in_seconds ] Look up the client user name with the RFC 931 (TAP, IDENT, RFC 1413) protocol. This option is silently ignored in case of services based on transports other than TCP. It requires that the client system runs an RFC 931 (IDENT, etc.) -compliant daemon, and may cause noticeable delays with connections from non-UNIX clients. The timeout period is optional. If no timeout is specified a com- pile-time defined default value is taken. MISCELLANEOUS
banners /some/directory Look for a file in `/some/directory' with the same name as the daemon process (for example in.telnetd for the telnet service), and copy its contents to the client. Newline characters are replaced by carriage-return newline, and %letter sequences are expanded (see the hosts_access(5) manual page). The tcp wrappers source code distribution provides a sample makefile (Banners.Makefile) for convenient banner maintenance. Warning: banners are supported for connection-oriented (TCP) network services only. nice [ number ] Change the nice value of the process (default 10). Specify a positive value to spend more CPU resources on other processes. setenv name value Place a (name, value) pair into the process environment. The value is subjected to %letter expansions and may contain whitespace (but leading and trailing blanks are stripped off). Warning: many network daemons reset their environment before spawning a login or shell process. umask 022 Like the umask command that is built into the shell. An umask of 022 prevents the creation of files with group and world write per- mission. The umask argument should be an octal number. user nobody user nobody.kmem Assume the privileges of the "nobody" userid (or user "nobody", group "kmem"). The first form is useful with inetd implementations that run all services with root privilege. The second form is useful for services that need special group privileges only. DIAGNOSTICS
When a syntax error is found in an access control rule, the error is reported to the syslog daemon; further options will be ignored, and service is denied. SEE ALSO
hosts_access(3) hosts_access(5), the default access control language AUTHOR
Wietse Venema (wietse@wzv.win.tue.nl) Department of Mathematics and Computing Science Eindhoven University of Technology Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands HOSTS_OPTIONS(5)
All times are GMT -4. The time now is 04:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy