How to reconfigure the tcp/ip stack in Solar8 to include my STREAMS module?

I am currently writing a NAT STREAMS module that I would like to place on the tcp/ip stack so it intercepts all incoming and outgoing packets going to or coming from the IP module. I want the stack to look like the following:
Current Solaris Stack: hme0 -> ip -> tcp
The new stack I want: hme0 -> MY_NAT -> ip -> tcp
I would appreciate any help to my problem. Also, if anyone knows a resource where I could find any more information like this please let me know. I've look at docs.sun.com and searched the web but I still haven't found the answer.
Thanks,
Ben

Check out the Solaris 8 (or 9) STREAMS programming manual on docs.sun.com.
It covers in detail how from userspace or from kernelspace linking a STREAMS module into the chain of modules. I think the example it gives is with terminal drivers, but same idea.

Similar Messages

  • How to use the TCP/IP in Java?Thanks!

    How to use the TCP/IP in Java?Thanks!

    Look at the java.net package, more specifically to classes ServerSocket (The server TPC conection) and Socket (the client TCP conection)
    Abraham

  • How to check the current EHP stack level? in SAP

    Dear All,
    How to check the current EHP stack level? in SAP  . i have checked forum before i am posting but still comfused .
    same one said SAP_APPL , EA_Appl  and SAP _HR is 60n if n=1.2.3.4. if n =1 is enhanced package 1 similarly 2,3,4 .
    some one said SAP_BASIS 701,702,703,704 . according ehp1,2,3,4.
    Pls check the details and confirm either is ehp1 or ehp4 .
    Component version is simply shows SAP ECC 6.0 in system -> status.
    Software Component  - Release  - SP level
    SAP_ABA     701     0007
    SAP_BASIS     701     0007
    PI_BASIS     701     0007
    ST-PI     2008_1_700     0003
    SAP_BS_FND     701     0008
    SAP_BW     701     0007
    SAP_AP     700     0021
    WEBCUIF     700     0008
    SAP_APPL     604     0008
    SAP_HR     604     0029
    SAP_HRCAR     604     0029
    SAP_HRCAT     604     0029
    SAP_HRCAU     604     0029
    SAP_HRCBE     604     0029
    SAP_HRCBR     604     0029
    SAP_HRCCA     604     0029
    SAP_HRCCH     604     0029
    SAP_HRCCL     604     0029
    SAP_HRCCN     604     0029
    SAP_HRCDE     604     0029
    SAP_HRCDK     604     0029
    SAP_HRCES     604     0029
    SAP_HRCFI     604     0029
    SAP_HRCFR     604     0029
    SAP_HRCGB     604     0031
    SAP_HRCHK     604     0029
    SAP_HRCID     604     0029
    SAP_HRCIE     604     0029
    SAP_HRCIN     604     0029
    SAP_HRCIT     604     0029
    SAP_HRCJP     604     0029
    SAP_HRCKR     604     0029
    SAP_HRCMX     604     0029
    SAP_HRCMY     604     0029
    SAP_HRCNL     604     0029
    SAP_HRCNO     604     0029
    SAP_HRCNZ     604     0029
    SAP_HRCPH     604     0029
    SAP_HRCPT     604     0029
    SAP_HRCRU     604     0029
    SAP_HRCSE     604     0029
    SAP_HRCSG     604     0029
    SAP_HRCTH     604     0029
    SAP_HRCTW     604     0029
    SAP_HRCUN     604     0029
    SAP_HRCUS     604     0029
    SAP_HRCVE     604     0029
    SAP_HRCZA     604     0029
    SAP_HRGXX     604     0029
    SAP_HRRXX     604     0029
    EA-IPPE     400     0018
    EA-APPL     604     0008
    EA-DFPS     600     0018
    EA-FINSERV     604     0007
    EA-GLTRADE     604     0008
    EA-HR     604     0029
    EA-HRCAR     604     0029
    EA-HRCAT     604     0029
    EA-HRCAU     604     0029
    EA-HRCBE     604     0029
    EA-HRCBR     604     0029
    EA-HRCCA     604     0029
    EA-HRCCH     604     0029
    EA-HRCCN     604     0029
    EA-HRCDE     604     0029
    EA-HRCDK     604     0029
    EA-HRCES     604     0029
    EA-HRCFI     604     0029
    EA-HRCFR     604     0029
    EA-HRCGB     604     0029
    EA-HRCHK     604     0029
    EA-HRCID     604     0029
    EA-HRCIE     604     0029
    EA-HRCIN     604     0029
    EA-HRCIT     604     0029
    EA-HRCJP     604     0029
    EA-HRCKR     604     0029
    EA-HRCMX     604     0029
    EA-HRCMY     604     0029
    EA-HRCNL     604     0029
    EA-HRCNO     604     0029
    EA-HRCNZ     604     0029
    EA-HRCPH     604     0029
    EA-HRCPT     604     0029
    EA-HRCRU     604     0029
    EA-HRCSE     604     0029
    EA-HRCSG     604     0029
    EA-HRCTH     604     0029
    EA-HRCTW     604     0029
    EA-HRCUN     604     0029
    EA-HRCUS     604     0029
    EA-HRCVE     604     0029
    EA-HRCZA     604     0029
    EA-HRGXX     604     0029
    EA-HRRXX     604     0029
    EA-PS     604     0007
    EA-RETAIL     604     0007
    FINBASIS     604     0008
    ECC-DIMP     600     0018
    ERECRUIT     604     0008
    FI-CA     604     0008
    FI-CAX     604     0007
    INSURANCE     600     0018
    IS-CWM     600     0018
    IS-H     600     0024
    IS-M     600     0018
    IS-OIL     600     0018
    IS-PS-CA     604     0007
    IS-UT     600     0018
    LSOFE     600     0018
    SEM-BW     604     0008
    ST-A/PI     01M_ECC600     0001
    Regards
    Edited by: satheesh0812 on Nov 17, 2011 7:57 AM

    Hi Sateesh,
    SAP_ABA 701 0007
    SAP_BASIS 701 0007
    PI_BASIS 701 0007
    ST-PI 2008_1_700 0003
    SAP_BS_FND 701 0008
    SAP_BW 701 0007
    SAP_AP 700 0021
    WEBCUIF 700 0008
    SAP_APPL 604 0008
    Based on the component information provided by you, I can conclude that your system is ECC 6.0 EHP4.
    EHP4 is derived from your component SAP_APPL 604.
    In addition to this your EHP4 system has NW stack on NW 7.0 EHP1.
    Hence your system is ECC 6.0 EHP4 with NW 7.0 EHP1.
    Hope this answers your query.
    Regards,
    Deepak Kori

  • How to reconfigure the IIS with BPC 7.0  MS?

    Hi All,
    we are facing one problem; at first we had problem in IIS. so we reinstalled the IIS. now we are not able to BPC 7.0 application from the web. we are getting Http 404 error. how to reconfigure the osoft in IIS. what are the settings should be taken care?
    please help
    thnks in advance.
    regards,
    sakthi.

    Hello,
       If you have reinstall the IIS, it is better to reinstall BPC after, just to be sure you have the right settings.
    Best regards,
    Mihaela

  • How to achieve the "High Octane Stack" guitar tone?

    How can I achieve the "High Octane Stack" sound shown on the Logic Express 'Plug-Ins and Sounds' page?  ( http://www.apple.com/logicexpress/plug-ins.html - Listed under Metal Stacks)
    I've been trying for days and can't get anything remotely close. 
    I'm running directly into a Presonus Firebox which is connected to my Mac via Firewire.

    Hi
    The sound is generated using a channel strip like this
    The Amp Designer is set:
    The EQ is set to Vintage within AmpDesigner
    The EQ Plugin is set:
    The Noisegate is:
    (hmmm problem with uploading one more pic, I'll do it in another post)
    CCT

  • How to extract the TCP Parameters?

    How do i extract the TCP/IP parameters set on a solaris 8 system?

    To get names of available tcp kernel parameter run the following:
    ndd -get /dev/tcp \?
    To get the value of a tcp kernel parameter:
    ndd -get /dev/tcp <parameter name>
    such as
    ndd -get /dev/tcp tcp_time_wait_interval
    For the meaning of different parameter consult Solaris kernel tuning reference (look on docs.sun.com)

  • How to change the TCP session limit for Domain Controllers in TMG2010

    I've many errors in TMG2010, that relates with too many TCP sessions, that are generated from my two domain controllers.
    how can i change since settings?
    Regards!
    Lasandro Lopez

    Hi,
    create flood mitigation exceptions for the domain controllers:
    http://technet.microsoft.com/en-us/library/dd441028.aspx
    regards Marc Grote aka Jens Baier - www.it-training-grote.de - www.forefront-tmg.de - www.galileocomputing.de/3276?GPP=MarcGrote

  • How to reconfigure the LCM artifacts path ?

    Hi All,
           During the install of the EPM 11.1.2.1, I've set the LCM Export Import Location as C:\Oracle\Middelaware\user_projects\epmsystem1\import_export. 
           Now I need to change this location (Ex. C:\MyArtifacts).
           How can I do that ? Just run the configtool.cmd and, at common setting, try to change this path or i there some other way ?
    Thanks.

    Have a read of > Oracle Hyperion Enterprise Performance Management System Lifecycle Management Guide
    Look at filesystem.artifact.path
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to reconfigure the Event Server

    We have 3 servers for Enterprise XI v3.1. Let's call them A, B, and C. There is an Event Server running on server A, but it somehow is referring to server B and does not recognize the file events on A. There is also an Event Server on C, referring to C, and it works fine.
    The properties for A.EventServer show these Command Line Parameters:
    -loggingPath "C:/Program Files/Business Objects/BusinessObjects Enterprise 12.0/logging/"
    -fg -restart -name A.EventServer -ns b.our.domain:6400 -pidfile "C:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\serverpids\A_A.EventServer.pid"
    Here's the problem/question: The loggingPath parameter is in an editable text box. The other parameters are in a display-only area of the Command Line Parameters panel. How do you edit them, specifically, the -ns parameter? I presume it needs to be -ns a.our.domain:6400.

    I went to the Central Configuration Manager on server A and looked at the properties of the SIA. The only reference I saw to server B is on the Startup tab, referring to Remote CMS Servers. (And, on server B, the CCM/SIA parameters name server A as the remote CMS.)
    I also checked some of the other "servers" on server A and found that they consistently show the uneditbale -ns parameter pointing to server B. This was probably the result of the migration process coming from the old, v3.0 server.
    I suspect we can stop the SIA on server A, remove the Remote CMS parameter, and restart the SIA, and that should resolve the -ns parameter.
    But, I happened to edit the non-firing Event and found that the Event Server in question began recognizing the file creation. (In the process, we also discovered that the event server will watch files based on a UNC path as well as a file system path, but that's another story.)
    Thanks for your help, Krys. We may not use your suggestion this time around, but we'll have a better idea next time.

  • How to reconfigure the QuickStart key on S12 ION ?

    When I got my S12 ION a day before, I instantly wipe out the original OS, and cleanly installed Windows 7 Ultimate edition on it.  It went pretty well, and I was pleased with the performance.
    Then I found out that there's a QuickStart key ("QS" key) at the top row of the keyboard.  I pressed it, and it prompt me to select an application to use with the key.  I selected NotePad.exe.  From then on, every time I press that [QS] button in Windows 7, it brings up NotePad.
    Now I want to change the associated application to something other than notepad, and suddenly realize that I don't know how to get to the configuration of that key. 
    Does anyone know who to access the configuration window of that QS key?
    Thanks!
    DK

    Feeling stupid.  I found the answer form the User Guide (pp.21, under Chapter 2: Learning the basics)
    To re-define the Quick Start button, select Self-defined program setting
    (start → All Programs → Lenovo → Energy Management → Self-defined
    program setting).
    Well, at least I found the answer.

  • How to get the page call stack

    Is there any way to get a list of files used in building a
    single page? What I need is to be able to see what page called the
    custom tag from within that custom tag. Using getBaseTemplatePath
    doesn't work because it only shows the top level page, not the
    actual file that called the custom tag. Take the following
    structure for instance:
    /webroot/mydir/myfile.cfm
    /webroot/mydir/myincludes/includefile.cfm
    /webroot/customtags/thecustomtag.cfm
    If myfile.cfm cfincludes includedfile.cfm and then
    includefile.cfm calls thecustomtag.cfm, thecustomtag.cfm thinks
    myfile.cfm called it. Which is wrong, and a bit stupid.
    I've tried the back door method:
    <cfset objFactory = CreateObject( "java",
    "coldfusion.server.ServiceFactory" ) />
    <cfset objDebugging = objFactory.GetDebuggingService()
    />
    <cfset qEvents = objDebugging.GetDebugger().GetData()
    />
    <cfdump var="#qEvents#">
    But found out later that this only works with debugging
    turned on in CF admin AND no IP restrictions are set (unless the
    IPs for the clients are listed there).
    This should be a very simple task, one would think. Any
    suggestions?

    We CFInclude the following snippet into all project files
    when this functionality is needed:
    <CFScript>
    // Init Template Management
    myName = getFileFromPath(getCurrentTemplatePath());
    if(NOT isDefined('TemplateManagement')){
    TemplateManagement = structNew();
    TemplateManagement.cnt = 0;
    else{
    TemplateManagement.cnt = TemplateManagement.cnt + 1;
    if(NOT structKeyExists(TemplateManagement, myName)){
    TemplateManagement[myName] = structNew();
    // Versioning:
    TemplateManagement[myName].App.Version.Major = 1;
    TemplateManagement[myName].App.Version.Minor = 1;
    // License:
    TemplateManagement[myName].License.SerialNumber = '';
    TemplateManagement[myName].License.Owner = '';
    </CFScript>
    ...at the end of the http request, usually in
    onRequestEnd.cfm, you can grab the 'TemplateManagement' struct and
    take a look.

  • How to block the TCP/IP settings.

    Hi,
    Most of the user's are changing the ip address of their system.I want to block this so that user should not able to change the IP address of their system.
    If they are trying to change the IP address,it should be blocked or not accessible.
    Your support is highly appreciated.
    Regards
    Prdaeep

    Hi,
    >>I want to block this so that user should not able to change the IP address of their system.
    By default, standard user accounts don't have permissions to change IP addresses. Here, we need to check if these users belong to local admin group or Network Configuration Operator group. If these users belong to local admin group, as Ed suggested,
    we can't really restrict them unless we remove them from the group.
    Besides, regarding group policy settings for restricting network configuration, the following article can be referred to for more information.
    Configure network connection restrictions with Group Policy
    http://technet.microsoft.com/en-us/library/cc732613(v=ws.10).aspx
    Best regards,
    Frank Shen

  • How to reconfigure the landscape?

    Hi all,
    Unfortunately due to some reasons,I have to format my solution manager system but I had already configured my Landscape.
    so now i have to make my landscape again,so can u please tell me the actions that i have to take in the systems which I have to include in the landscape.
    Regards
    Praveen

    Is it at your home or at your work place ? If you are trying to configure all sattlite systems, please go through technical consultant sims at http://service.sap.com/rkt and go to solution manager.
       by posting this question, you are basically asking to configuring system as a whole. I doubt if somebody will be willing to write whole consulting process in this forum other than specific task you may want ?
    Good luck,
    N

  • How to retrieve the all user name from system domain(including login user)?

    Hi, I am trying to get the system domain all users name. But I unable to get the all user name except domain login user name. I used the below code. What I want to do to get the all user name from system domain. Kindly any one help me.
    Properties envVars = new Properties();
    Runtime r = Runtime.getRuntime();
    String OS = System.getProperty("os.name").toLowerCase();
         if ((OS.indexOf("nt") > -1) || (OS.indexOf("windows 2000") > -1 ) || (OS.indexOf("windows xp") > -1) )
              p = r.exec( "cmd.exe /c set" );
         BufferedReader br = new BufferedReader ( new InputStreamReader( p.getInputStream() ) );
         String line;
         while( (line = br.readLine()) != null )
              int idx = line.indexOf( '=' );
              String key = line.substring( 0, idx );
              String value = line.substring( idx+1 );
              envVars.setProperty( key, value );
         String domainDNSName = envVars.getProperty("USERDNSDOMAIN");
         String userName = envVars.getProperty("USERNAME");
         System.out.println("\n\n\n DOMAIN NAME == "+domainDNSName +" USERNAME == "+userName);
    Thanks & Regards
    Palani

    Thanks kajbj,
    I don't know, How many users in domain. I neet to get all the user names from my domain. User like A, B,C,D, E,F. I need to get this users name.
    public class Env {
         public static void main(String[] args) {
              System.out.println("USERDOMAIN: " + System.getenv("USERDOMAIN"));
              System.out.println("USERNAME: " + System.getenv("USERNAME"));
    Here , I am getting the login user name only. So i needs all user name. How to retrive or get this.
    Regards
    Palani

  • How to use the "Clear PDA Chart .vi" in LabVIEW 7.1 PDA module?

    In my iPAQ application, I try to use the LabVIEW 7.1 PDA module's "Clear PDA Chart .vi" to clear the graph. But I do not know how to do it. I always get error when I call it.
    My code is attached. The code is to draw a sin wave and then clear it.
    Attachments:
    sin.vi ‏69 KB

    Hi,
    I verified the behavior that you reported. I got error code 260055065 on running the VI. It does not matter if you wire a control ref or tabbing order number to the Clear PDA Chart.vi.
    This is a known bug and LabVIEW PDA developers are already working on it. Hopefully it will be fixed in the next release of the PDA module. Thanks for bringing this to our attention.
    Regards,
    Ankita A.
    National Instruments

Maybe you are looking for