12-14-2009
Gosh, I just wanted to have a little scripting fun... and I know next to nothing about running a high load web server.
The *net is a marvelous thing.
/Lakris
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have installed a linux 9 router/firewall and have issues with outside DNS queries making it in. here are my IPTABLE rules, can anyone make some suggestions?
ETH1 is my outside facing Interface, ETH0 is my inside facing interface.
Accept If input interface is not eth1
Accept If protocol is... (1 Reply)
Discussion started by: frankkahle
1 Replies
2. Linux
I have installed a linux 9 router/firewall and have issues with outside DNS queries making it in. here are my IPTABLE rules, can anyone make some suggestions?
ETH1 is my outside facing Interface, ETH0 is my inside facing interface.
Accept If input interface is not eth1
Accept If protocol... (6 Replies)
Discussion started by: frankkahle
6 Replies
3. UNIX for Dummies Questions & Answers
I'm new to Linux and I made a big mistake at work recently locking myself out of our own server :(.
I did iptables -F first as the tutorial said and then entered the rules. I wanted to start over again so I did iptables -F and it locked us out. We had to get someone to physically restart... (0 Replies)
Discussion started by: nogumo
0 Replies
4. Programming
I am using BSD TCP sockets under Debian Linux 2.6 and no matter what I do, the socket blocks on recv.
I have set O_NONBLOCK and O_NDELAY using fcntl to no effect.
Any ideas ? (3 Replies)
Discussion started by: johnmb
3 Replies
5. Shell Programming and Scripting
Hello,
Would this be an acceptable way of creating a non-blocking pipe.
Basically I want to create kind of a server client arch.
This code would be in the server, and I don't want to have to wait for
clients to read before moving on to the next client. One problem I
can see is if... (4 Replies)
Discussion started by: cdlaforc
4 Replies
6. Debian
we have internal network 192.168.129.x for a system hosted with
pdf.xxx.xyz URL is already public accessible
but when try to connect as site (/ap/p.nt) of the URL pdf.xxx.xyz/ap/p.nt
restriction to be applied publicly except accessing internally
can anyone guide me on this?? (1 Reply)
Discussion started by: shrinuvas
1 Replies
7. UNIX for Advanced & Expert Users
Hi Folks
I have been debugging a script that is called every thirty seconds. Basically it is doing a ps, well two actually, one to file (read by the getline below) and the other into a pipe. The one into the pipe is: -
V_SYSVPS=/usr/sysv/bin/ps
$V_SYSVPS -p$PIDLIST -o$PSARGS... (0 Replies)
Discussion started by: steadyonabix
0 Replies
8. UNIX for Dummies Questions & Answers
Hi!
I have a dedicated hosting working with 2 ips.
Is it possible to block all connections but 1 in all existing ports for only 1 of my ips?
I mean like, I have 2 ips for example: 190.x.x.5 and 190.x.x.6
I want that all the connections going to 190.x.x.6 in all ports get rejected but only 1... (7 Replies)
Discussion started by: Kekox
7 Replies
9. Programming
among the below socket programming api's, please let me know which are blocking and non-blocking.
socket
accept
bind
listen
write
read
close (2 Replies)
Discussion started by: VSSajjan
2 Replies
10. Cybersecurity
Just added these lines to our server firewall:
iptables -A INPUT -p tcp --dport 3306 -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT
iptables -A INPUT -p tcp --dport 3306 -j DROP
Even though mysql is configured to correctly only listen on port 127.0.0.1 we still see these mysql log file notes on a daily... (0 Replies)
Discussion started by: Neo
0 Replies
ypset(1M) System Administration Commands ypset(1M)
NAME
ypset - point ypbind at a particular server
SYNOPSIS
/usr/sbin/ypset [-d ypdomain] [-h host] server
DESCRIPTION
In order to run ypset, ypbind must be initiated with the -ypset or -ypsetme options. See ypbind(1M). ypset tells ypbind to get NIS services
for the specified ypdomain from the ypserv process running on server. If server is down, or is not running ypserv, this might not be dis-
covered until an NIS client process tries to obtain a binding for the domain. At this point, the binding set by ypset is tested by ypbind.
If the binding is invalid, ypbind attempts to rebind for the same domain.
ypset is useful for binding a client node that is not on a broadcast net, or is on a broadcast net that is not running an NIS server host.
It is also useful for debugging NIS client applications, for instance, where an NIS map exists only at a single NIS server host.
Where several hosts on the local net are supplying NIS services, ypbind can rebind to another host, even while you attempt to find out if
the ypset operation succeeded. For example, if you enter the ypset command below, you might get the subsequent response from ypwhich:
example% ypset host1
example% ypwhich
host2
The sequence shown above is a function of the NIS subsystem's attempt to load-balance among the available NIS servers, and occurs when
host1 does not respond to ypbind because it is not running ypserv (or is overloaded), and host2, running ypserv, obtains the binding.
server indicates which NIS server to bind to, and must be specified as a name or an IP address. This works only if the node has a current
valid binding for the domain in question and ypbind has been set to allow use of ypset. In most cases, server should be specified as an IP
address.
ypset tries to bind over a connectionless transport. The NIS library call, yp_all(), uses connection-oriented transport and derives the
NIS server's address based on the connectionless address supplied by ypset.
Refer to ypfiles(4) for an overview of the NIS name service.
OPTIONS
-d ypdomain Use ypdomain, instead of the default domain.
-h host Set ypbind's binding on host, instead of locally. Specify host as a name.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWnisu |
+-----------------------------+-----------------------------+
SEE ALSO
ypwhich(1), ypfiles(4), attributes(5)
SunOS 5.10 14 Sep 1992 ypset(1M)