08-25-2005
What socket (IP addr+port) and how to filter
Thanks Sergiu but can u tell me how can I read the request made , I mean do I need to make each process on each server register itself using setsockopt and at what IP address (the local IP address or the broadcast IP address) and port should I be listening to
Also afterwards I need to filter the request according to my algorithm (depending upon the load each server is having at that time) and this code is complex enough to make it unfit to be implemented using IPTables so where in the Kernel code is filtering done that I can modify to achieve the same..
I would be thankful for a timely reply.
9 More Discussions You Might Find Interesting
1. Programming
I am pondering the next question:
Can I safely sare objects that have virtual functions (i.e. have
virtual function table pointers) between two processes ?
Where will the pointers point to in each process ?
What I am afraid of is that in the creating process the pointer
will indeed point to... (2 Replies)
Discussion started by: Seeker
2 Replies
2. Linux
Well Guys, will anybody solve my problem?
I have installed Win XP and RH Linux 9 (Dual Boot) on an Intel x86 Machine. Everything is going fine except that I cannot share files among the two operating systems. For example, if I download a PDF file from internet and save it in my Win XP partition... (1 Reply)
Discussion started by: Jawwad
1 Replies
3. UNIX for Advanced & Expert Users
Pls. correct me for the required steps which we need to do to share the Tape drive or whatever drive from other machine in network .
1.related files : /etc/hosts ,/etc/hosts.equiv , ....?
2. we need to insert the user & machine name inside hosts.equiv . (machinname1 username1
... (1 Reply)
Discussion started by: nikk
1 Replies
4. HP-UX
My company has several HP Model 715/100 machines running HP-UX 9 , that can't really be upgraded due to compatibility issues with some equipment it's tied to. Each UX box mounts a directory off of a Windows NT4 machine acting as an NFS server (using DiskShare Server 3 and 4), and as we upgrade the... (3 Replies)
Discussion started by: GoldnPantaloons
3 Replies
5. AIX
I am trying to install a VIOS pair with a load-sharing SEA adapter, following this recipe from Developerworks. Without load-sharing everything went fine and worked as expected, but somehow i am a bit lost and the first tries with "ha_mode=sharing" didn't work at all.
Here is the situation:
I... (6 Replies)
Discussion started by: bakunin
6 Replies
6. UNIX for Advanced & Expert Users
"Samba," I know, I know. However, I am a gov't worker and Samba is off the table. Does anyone have a recommendation for an off the shelf, secure solution? I've already suggested rsync and NFS services for Windows Server and got shot down. (4 Replies)
Discussion started by: LittleLebowski
4 Replies
7. Shell Programming and Scripting
Suppose i have 3 different servers say x,y and z.
Im running some process say ABC and 40 instances for the same is being created.
In load sharing suppose on
server x, 20 instances are running
server y, 10 instances are running
server z, 10 instances are running.
While checking the... (1 Reply)
Discussion started by: ankitknit
1 Replies
8. Solaris
I have a laptop running on ubuntu 13 connected to wifi. My sunfire v100 is connected to my laptop with an ethernet cable of course. I tried messing around with it seeing if I could do it myself but I couldn't. I want my solaris box to use the internet off my laptop. How would I do this? I'm just... (2 Replies)
Discussion started by: austinramsay
2 Replies
9. Solaris
Hey guys can anyone explain to me how to share my laptops (on ubuntu with wifi) to my sunfire v100 thats connected via ethernet? Whats the process for that? I'd appreciate it! Thanks (1 Reply)
Discussion started by: austinramsay
1 Replies
rarpd(8c) rarpd(8c)
Name
rarpd - reverse address resolution protocol (RARP) daemon
Syntax
/usr/etc/rarpd [ interface ] [ -v ] [ -n ] [ -f filename ]
Description
The daemon maps the Ethernet address of a machine to the machine's Internet Protocol (IP) address.
When is invoked, it reads the file (by default) and waits to process a RARP request. The file is checked every ten minutes for any
changes. If the file has been modified, reads it again. You can disable this feature with the option. You can force a scan of the file by
sending the daemon a SIGHUP signal. See for more information on SIGHUP.
The format of the file is described in You can specify a file other than with the option. The interface is the network interface on which
the daemon should listen. The command shows the correct interface or interfaces for your system. The daemon uses the first interface it
finds, if you do not specify an interface. See the reference page for more information.
Because the daemon has been implemented with the Ethernet Packet Filter (see you must configure your kernel with the packet filter option
in order for to function properly. The packet filter detects RARP broadcast packets and passes them to for processing. The filter priority
for rarpd is set to 28.
All messages from the daemon are directed to
Options
interface Specifies the system's network interface.
-v Causes to operate in verbose mode. This option logs details of RARP to The instance of a RARP request and its response are
also logged.
-n Disables checking of the file. By default, checks the file once every ten minutes, and, if the file was modified, rereads
the file. If you specify the option scans the file once at startup time.
-f filename Reads an alternate Ethernet address file.
Restrictions
The ignores all ARP requests sent encapsulated within a RARP packet. You should make all ARP request using the command.
The machine for which an IP address is being requested must be present in the server's file.
Diagnostics
The following message is logged to if the Packet Filter is not configured in your kernel:
Packet Filter is not configured in /vmunix
The following messages are printed to your screen if the Packet Filter is not configured in your kernel:
rarpd: cannot find symbol Pfilt_read in /vmunix
option PACKETFILTER does not appear to be configured in
your kernel.
Files
Database that maps Ethernet addresses to hostnames
See Also
ethers(3n), packetfilter(4), ethers(5), hosts(5), arp(8c), ifconfig(8c), syslog(8c)
The Packet Filter: An Efficient Mechanism for User-Level Network Code
rarpd(8c)