Sponsored Content
Special Forums IP Networking sharing of IP address for load sharing avoiding virtual server & redirection machine Post 81956 by Rakesh Ranjan on Thursday 25th of August 2005 01:45:58 PM
Old 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

Sharing C++ Objects with virtual function table pointers

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

File Sharing among NTFS Partition & RH Linux 9 Partitions

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

Sharing Tape Drive from other machine

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

File sharing between HP-UX 9 & W2K/XP

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

Configure VIOS SEA w. load sharing

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

Enterprise level Solaris&Windows file sharing

"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

Checking running process status using "grep" on multiple servers in load sharing system.

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

Sharing internet from Ubuntu to Solaris server

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

Sharing internet from Ubuntu to Solaris server

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
sharing(1)						    BSD General Commands Manual 						sharing(1)

NAME
sharing -- create share points for afp, ftp and smb services. SYNOPSIS
sharing [-a <path> [options]] [-e <share point name> [options]] [-r <share point name>] [-l] DESCRIPTION
A list of flags and their descriptions: -a <path> add a new share point for the directory specified by <path>. -e <share point name> edit the share point record specified by <share point name>. -r <share point name> delete the share point record specified by <share point name>. -l list all existing share point records. Description of options The following options modify share point record attributes -A <afp name> use customized name <afp name> when using share point with afp. -F <ftp name> use customized name <ftp name> when using share point with ftp. -S <smb name> use customized name <smb name> when using share points with smb. -s <flags> use this option to modify individually, the sharing attribute for afp, ftp and smb. By default a share point record is enabled for afp, ftp and smb. To modify the indiviual attributes AND the following flags as required: 100 (enable sharing for afp only), 010 (enable sharing for ftp only), 001 (enable sharing for smb only). Specify 000 to turn off sharing of a share point all together. use customized name <smb name> when using share points with smb. -g <guest flag> use this option to modify individually, the "guest" attribute for afp, ftp and smb. The "guest" attribute specifies whether a ser- vice will allow guest access to this share point record. By default a "guest" is enabled for afp, ftp and smb. To modify the attribute, AND the following <guest flags> as required: 100 (enable guest access for afp only), 010 (enable guest access for ftp only), 001 (enable guest access for smb only). Specify 000 to turn off guest access for the share point all together. -i <inherit privileges flag> use this option to modify the "inherit privileges" attribute for afp. The "inherit privileges" attribute specifies whether afp will apply the classic privilege model to operations within this share point. By default "inherit privileges" is disabled for afp. To modify the "inherit privileges", AND the following <guest flags> as required: 10 (enable "inherit privileges" for afp only). Spec- ify 00 to turn off "inherit privileges" for the share point all together. -n <customized record name> Specify a <customized record name> to be used as the share point record name. By default the record name is the name of the direc- tory pointed to by the share point record. This directory is specified bt the <path> when the record is created. EXAMPLES
/usr/sbin/sharing -a /SomePath/ShareThisDirectory This example shows how create a share point record for the directory "/SomePath/ShareThisDirectory". /usr/sbin/sharing -e ShareThisDirectory -A SP1 -g 101 This example shows how to edit the share point record created above, adding a customized name "SP1" for afp servies, and enabling guest access only for afp and smb. FILES
/usr/sbin/sharing location of tool Mac OS X Server June 2, 2019 Mac OS X Server
All times are GMT -4. The time now is 07:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy