Network Packet Capturing on solaris x86

HI All,
i need to write code for packet capturing in java i am using Jpcap library but there are some problems with this library. for using Jpcap on solaris i have to compile some c code for making .so file which i can't i am not a c or c++ guy but i did try to compile that files on solaris but faced lot of errors which i can't remove i just need to write packet capturing code in java.
Is there any other library which i can use for packet capturing in java on solaris x 86 ?
Thanks All.

some ideas:
Check ifconfig -a shows UP & RUNNING with correct IP and netmask : ifconfig -a
check netstat -rn for correct routing table and defaultrouter. : netstat -rn
snoop on interface to verify traffic flow : snoop -d e1000g0
check for newer network interface driver patches.

Similar Messages

  • Network packet capturing..

    here is a small piece of code i am tryin to run.. <br>
    <br>
    import jpcap.JpcapHandler; <br>
    import jpcap.Jpcap; <br>
    import jpcap.Packet; <br>
    <br>
    public class JpcapTip implements JpcapHandler { <br>
    public void handlePacket(Packet packet){ <br>
    System.out.println(packet); <br>
    } <br>
    <br>
    public static void main(String[] args) throws java.io.IOException{ <br>
    String[] devices = Jpcap.getDeviceList(); <br>
    <br>
    for (int i = 0; i < devices.length; i++) { <br>
    System.out.println(devices); <br>
    } <br>
    <br>
    String deviceName = devices[0]; <br>
    Jpcap jpcap = Jpcap.openDevice(deviceName, 1028, false, 1); <br>
    jpcap.loopPacket(-1, new JpcapTip()); <br>
    } <br>
    } <br>
    <br>
    <br>
    get the followin error after running this code...couldnt understand whats the problem...any idea??<br>
    <br>
    JpcapTip.java:1: cannot find symbol<br>
    symbol : class JpcapHandler<br>
    location: package jpcap<br>
    import jpcap.JpcapHandler;<br>
    ^<br>
    JpcapTip.java:2: cannot find symbol<br>
    symbol : class Jpcap<br>
    location: package jpcap<br>
    import jpcap.Jpcap;<br>
    ^<br>
    JpcapTip.java:3: cannot find symbol<br>
    symbol : class Packet<br>
    location: package jpcap<br>
    import jpcap.Packet;<br>
    ^<br>
    JpcapTip.java:5: cannot find symbol<br>
    symbol: class JpcapHandler<br>
    public class JpcapTip implements JpcapHandler {<br>
    ^<br>
    JpcapTip.java:6: cannot find symbol<br>
    symbol : class Packet<br>
    location: class JpcapTip<br>
    public void handlePacket(Packet packet){<br>
    ^<br>
    JpcapTip.java:11: cannot find symbol<br>
    symbol : variable Jpcap<br>
    location: class JpcapTip<br>
    String[] devices = Jpcap.getDeviceList();<br>
    ^<br>
    JpcapTip.java:19: cannot find symbol<br>
    symbol : class Jpcap<br>
    location: class JpcapTip<br>
    Jpcap jpcap = Jpcap.openDevice(deviceName, 1028, false, 1);<br>
    ^<br>
    JpcapTip.java:19: cannot find symbol<br>
    symbol : variable Jpcap<br>
    location: class JpcapTip<br>
    Jpcap jpcap = Jpcap.openDevice(deviceName, 1028, false, 1);<br>
    <br>

    get the followin error after running this code...<BR>
    couldnt understand whats the problem...any idea??<BR>
    <TT>
    JpcapTip.java:1: cannot find symbol
    </TT>
    <BR>
    <BR>
    It seems to me you did not run the code but wanted to compile it and failed due to the lacking library (jar file or files) from the class path.

  • Network is down suddenly on my Solaris X86 box

    Hi all,
    I have been using Solaris X86 for a while. However, I found a strange problem when downloading large/many
    files with FTP. For example, I ftp to my Solairs X86 box and try to download all my backup software to my local
    notebook or PC. After about 10 mins, Solaris X86 box's network will be down suddenly without any error or
    warning message.
    I found this problem from Solaris8 to Solaris9 and the FTP server daemon I used included NcFTPd, vsftp and
    even the default FTP daemon. I have tried two different hardwares. The only one possible reason is my
    network (Intel 100 ServerPro something).
    Does anyone have such a strange problem when downloading many/large files from your Solaris X86 box?
    I also check the log file but found nothing.....:-(
    Thinking to switch FreeBSD/Linux box for my FTP service. Please advice and thanks first!
    Hsinan

    This bug is common to the Intel Server 100 MBit Cards
    The problem occurs on high net load.
    You have to reboot to restart the card, since it is a complete
    stop of the card.
    You can try to put the card into another pci-slot, but this helps
    only in rare cases.
    I had to replace the card with a 3com 3c905b to have uninterrupted
    transfers.
    The Inteldualport cards seem to work to.

  • Solaris x86 with card on-board

    Hi all,
    I got a problem when installing Solaris9 x86 on ibm NetVista Machine.
    I have installed 2 other machines with separated network card sucessfully. I can configure to connecto to my LAN network.
    But when install on 2 ibm NetVista machines (which include onboard network card ), It is fail to be configured to connect to the network in both following cases:
    Case 1: I choose proper driver as Sun suggest for Intel VE Pro(R) 10/100 : iprb. And the Solaris detect successfully. I checked by "ifconfig -a" and saw the network card active on "iprb0".
    Next, I following correct instructions to configure the network card to connect to the LAN. But when i ping IP (9.187.186.18) to other computer in our same subnet LAN,
    The system display eg: "No anwer from 9.187.186.18"
    I run the "snoop" command to view broadcasr ARP in an other terminal. The snoop terminal displays ARP signal boradcasting from the Solaris. However, it can nerver get ARPs from other computer in LAN.
    Case 2: I add 3COM network driver to the solaris ( onboard card is no loger used ). The system can auto-detected this card and i can configure to connect to the network. The problem remain unchange.
    Is there any special in IBM Netvista machine need to be configure under Solaris x86 or any particular configuarion for on-board network card. ???
    Can any boy help me to solve this problem ??
    Best regards,
    Thang,
    Vietsoftware Developer

    However, it can nerver get ARPs from other computer in LAN.Are you perhaps running "snoop" on a box different from the one that you're trying to ping, and are you using
    a switched ethernet? In that case it would be OK if you only see the ARP broadcast, because the ping target
    box will send the ARP reply directly to the MAC of the requesting station (i.e. there's no ARP broadcast reply),
    and an ethernet switch will send the ARP reply directly to the port where the station with the given destination
    MAC is connected - no other port should see the reply.
    If you're trying to ping 9.187.186.18 from the new Solaris x86 box, try to run snoop on the 9.187.186.18
    system. 9.187.186.18 should see the ARP broadcast from the LAN, and the 9.187.186.18 box should list the
    ARP response it sends back to the LAN.
    Is there any special in IBM Netvista machine need to be configure under Solaris x86 or any particular
    configuarion for on-board network card. ???I guess the interrupt handler for the NIC is not working, so the Solaris x86 sees no incomming packets.
    See the "troubleshooting" section on the following page:
    http://solaris-x86.org/documents/tutorials/rtls.mhtml

  • Mounting a Solaris x86 CD/DVD from a remote Windows CD/DVD-ROM drive

    Greetings, all.
    Is it possible to mount a remote Windows CD/DVD-ROM drive? I have the Solaris 10x86 Companion Software DVD sitting in a CD/DVD-ROM drive that's installed on a Windows server on my network. It is shared-out (F:) and the two servers can ping each other. I've also confirmed the NFS services/daemons are running on the Solaris x86 machine. I've tried the following variations but, all have failed to produce successful results:
    # mount -F nfs x.x.x.x:/f /mnt
    nfs mount: x.x.x.x: : RPC: Program not registered
    nfs mount: retrying: /mnt
    # mount -F hsfs x.x.x.x:/f /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/f
    # mount -F hsfs x.x.x.x:/F /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/F
    [FYI: S10_106_SOFTWARE is the DVD's label as reported by Windows Explorer.]
    # mount -F hsfs x.x.x.x:/S10_106_SOFTWARE /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/S10_106_SOFTWARE
    # mount -F hsfs x.x.x.x:/s10_106_software /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/s10_106_software
    # mount -F nfs x.x.x.x:/S10_106_SOFTWARE /mnt
    nfs mount: x.x.x.x: : RPC: Program not registered
    nfs mount: retrying: /mnt
    # mount -F nfs x.x.x.x:/s10_106_software /mnt
    nfs mount: x.x.x.x: : RPC: Program not registered
    nfs mount: retrying: /mnt
    # mount -F hsfs x.x.x.x:/f/s10_106_software /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/f/s10_106_software
    # mount -F hsfs x.x.x.x:/F/s10_106_software /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/F/s10_106_software
    # mount -F hsfs x.x.x.x:/f/S10_106_SOFTWARE /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/f/S10_106_SOFTWARE
    # mount -F hsfs x.x.x.x:/F/S10_106_SOFTWARE /mnt
    mount: No such device
    mount: cannot mount x.x.x.x:/F/S10_106_SOFTWARE
    I've also tried mounting it at bootup by adding the appropriate entry in the /etc/vfstab file but, this does not work as well. I've tried Google'ing for an answer to my issue but, I haven't been able to find anything that applies directly to what I'm reporting. It's usually chatter about mounting from one UNIX server to another. Any advice from the community would be greatly appreciated.

    After three weeks, you deserve a reply. Windoze does
    not natively support NFS.Also deserves a decent answer...
    There are two ways to do this:
    Install Microsoft's free "Windows Services for UNIX," which includes a Windows NFS server; or
    Install the 'sharity' package (google for it); it provides Solaris systems the ability to mount Windows shares

  • Java packet capturing libraries ... ?

    HI All,
    actually i need to write some packet capturing code on solaris i have tried Jpcap library but there are some compilation issues on solaris .
    is there any other library which i can use for packet capturing except Jpcap ?
    thanks

    tcpdump hhhmmmmm... it actually can't work for me ....
    i am using Package "ch.ethz.ssh2" for ssh because i have to ssh to another server and run the snoop command on it.
    Ok, lets look at this code . can we find anything else for me
    <%@ page import="java.io.BufferedReader" %>
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.IOException" %>
    <%@ page import="java.io.InputStream" %>
    <%@ page import="java.io.InputStreamReader" %>
    <%@ page import="ch.ethz.ssh2.Connection" %>
    <%@ page import="ch.ethz.ssh2.Session" %>
    <%@ page import="ch.ethz.ssh2.StreamGobbler" %>
    <%@ page import="java.io.BufferedWriter" %>
    <%@ page import="java.io.OutputStreamWriter" %>
    <%@ page import="java.io.PrintWriter" %>
    <%@ page import="ch.ethz.ssh2.SCPClient" %>
    <%@ page import="ch.ethz.ssh2.SFTPv3Client" %>
    <%@ page import="java.util.*" %>
    <%@ page  import="java.io.FileInputStream" %>
    <%@ page  import="java.io.BufferedInputStream"  %>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
       "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
    <%
    String hosts = request.getParameter("hostname");
    String packets = request.getParameter("packets");
    String q =request.getParameter("q");
    String str="";
    String hostname = "127.1.1.1";
                    String username = "root";
                    File keyfile = new File("/root/ssh/id_dsa");  // or "~/.ssh/id_dsa"
                    String keyfilePass = "pass";
                        try
                            /* Create a connection instance */
                            Connection conn = new Connection(hostname);
                            /* Now connect */
                            conn.connect();
                            /* Authenticate */
                            boolean isAuthenticated = conn.authenticateWithPublicKey(username, keyfile, keyfilePass);
                            if (isAuthenticated == false)
                                    throw new IOException("Authentication failed.");
                            /* Create a session */
                            Session sess = conn.openSession();
                            sess.execCommand("snoop -d bge0 -o /export/myhome/file.cap -c "+ packets +" host "+hosts +" ");
                            InputStream stdout = new StreamGobbler(sess.getStdout());
                            BufferedReader br = new BufferedReader(new InputStreamReader(stdout));
                            System.out.println("Here is some information about the remote host:");
                            while (true)
                                    String line = br.readLine();
                                    if (line == null)
                                            break;
                                    System.out.println(line);
                                /* Close this session */
                                  sess.close();
                            /* Close the connection */
                            conn.close();
                    catch (IOException e)
                            e.printStackTrace(System.err);
                            //System.exit(2);
    %>
    </html>problem with this code is when code reach the below line command starts running on remote server unitll it captures number of packets ..
    sess.execCommand("snoop -d bge0 -o /export/myhome/file.cap -c "+ packets +" host "+hosts +" ");what i want to do is to run that command for some time for example: i want to run the command for 10 minutes but unfortunately there is no argument for time in snoop command. so can't exit the command on time basis ....
    any suggestions how can i fix that problem ?

  • Getting the network interface up in solaris 10

    Hi,
    I am a solaris newbie and am trying to get the network interface up on solaris 10. I have set the required details in
    /etc/hostname.if
    /etc/hosts
    /etc/inet/ipnodes
    /etc/inet/netmasks
    /etc/defaultrouter
    yet on the startup i get a message "failed to bring up IPv4 interfaces : interfacename"
    And when the server starts up after giving the command "ifconfig if up"
    the network interface comes up.
    I need to get the interface up on the startup itself.
    can anyone help me on this ?????
    Thanks in advance,

    ... and of course, you need compatible hardware.
    But you failed to tell anyone what Ethernet adapter you're trying to use.
    Is it on the HCL ? http://www.sun.com/bigadmin/hcl/
    If it requires third party driver software, did you install that as well ?
    You failed to tell anyone whether you're installing to Solaris x86 or to Solaris SPARC.
    ( For example, a PeeCee NIC will generally just not work in a SPARC system. )

  • System crash attempting to use the packet filtering on Solaris 10, MU7

    I have been attempting to port my kernel module to run on Solaris 10, MU7 (from MU6). Some changes to the packet filtering hooks interface requires me to make code changes and linker option changes i.e -Nmisc/neti -Nmisc/hook
    I now have my module loading successfully and "hooking" packets. However, I am seeing instability and after processing in the order of 100-200 packets the system crashes. See stack dump beow for details.
    Also note that initially my callback hook function is very simple i.e returns 0.
    I require assistance on identifying the root cause. The key code fragements are as follows:
    int _init()
    // allocated a control block using net_instance_alloc
    // populated the nin_name, nin_create, nin_destroy, and nin_shutdown fields with valid callback functions
    // registered the control block using net_instance_register
    static int _attach(dip, cmd)
    dev_info_t *dip;
    ddi_attach_cmd_t cmd;
    // initialised a hook control block using HOOK_INIT
    // performed a protocol lookup (using net_protocol_lookup) on the net_id provided by the nin_create function callback
    // registered the hook with the net_id protocol using net_hook_register
    static int
    myipf_hook4_in (hook_event_token_t tok, hook_data_t info, void *arg) {
    // simple callback function for test purposes
    return 0;
    System Stack trace:
    Boot device: /virtual-devices@100/channel-devices@200/disk@0:a File and args:
    SunOS Release 5.10 Version Generic_139555-08 64-bit
    Copyright 1983-2009 Sun Microsystems, Inc. All rights reserved.
    Use is subject to license terms.
    Hostname: bfs-t5440-03-ldm12
    NIS domain name is bfs.nis
    Reading ZFS config: done.
    bfs-t5440-03-ldm12 console login:
    panic[cpu9]/thread=2a100a67ca0: BAD TRAP: type=9 rp=2a100a67630 addr=7b6e8d48 mmu_fsr=0
    sched: trap type = 0x9
    addr=0x7b6e8d48
    pid=0, pc=0x7b6e8d48, sp=0x2a100a66ed1, tstate=0x1606, context=0x0
    g1-g7: 1910, 18b0, 2a100a678f0, 60010776b14, 1910, 0, 2a100a67ca0
    000002a100a67350 unix:die+9c (9, 2a100a67630, 7b6e8d48, 0, 2a100a67410, 182b400)
    %l0-3: 000000000100954c 0000000000000009 0000060020ac1620 00000000010523ac
    %l4-7: 00000000018a3c78 0000060020ac1848 000003000481dbe0 00000000010ac400
    000002a100a67430 unix:trap+6cc (2a100a67630, 10000, 0, 0, 30004028000, 2a100a67ca0)
    %l0-3: 0000000000000000 000000000185b480 0000000000000009 0000000000000000
    %l4-7: 0000000000000000 0000000000000000 0000000000001606 0000000000010200
    000002a100a67580 unix:ktl0+64 (300014c8e40, 2a100a67890, 600114fb428, 3, 1, 0)
    %l0-3: 0000030004028000 0000000000000048 0000000000001606 0000000001021604
    %l4-7: 00000000003c0000 0000000000000001 0000000000000000 000002a100a67630
    000002a100a676d0 hook:hook_run+7c (30001b039c0, 300014c8e40, 2a100a67890, 60012566ea8, 7b6e8d48, 1)
    %l0-3: 0000030001b039c8 00000600117df3c0 0000000001878888 0000000000000000
    %l4-7: 0000000000000000 000000000000003c 0000000000000000 0000000000000000
    000002a100a67780 ip:ip_input+3b4 (0, 600135ca040, 0, 6001359bc28, 0, 0)
    %l0-3: 0000000000000000 0000000000000000 0000000000000000 0000060011562000
    %l4-7: 00000000e0000000 0000000000000001 0000000000000000 0000000000000000
    000002a100a67910 dls:soft_ring_drain+78 (600135d1f00, 60011dfa940, 2, 2000000, 2, 0)
    %l0-3: 0000000000000000 0000000000000000 0000000000000004 0000000000000005
    %l4-7: 000006001359bc28 00000600135ca040 000000007be1c238 000000000000fffe
    000002a100a679c0 dls:soft_ring_worker+64 (600135d1f00, 0, 2, 600135d1f4c, 0, 2a100a67a8a)
    %l0-3: 000002a100a67a88 0000000000000000 000002a10001fca0 000002a10001fca0
    %l4-7: 0000000000000002 0000000000000000 0000000000000002 00000000018f1000
    syncing file systems... [1] 104 [1] 95 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 [1] 4 done (not all i/o completed)
    dumping to /dev/dsk/c0d0s1, offset 644284416, content: kernel
    100% done: 118970 pages dumped, compression ratio 10.00, dump succeeded
    rebooting...
    Resetting...
    -eugene
    Edited by: emonagh on Aug 25, 2009 1:54 AM
    Edited by: emonagh on Aug 25, 2009 1:56 AM

    I have checked weblogic download link.
    Currently webloigc is only available only for below mentioned platforms:-
    1. Windows (32 bit jvm)
    2. Linux (32 bit jvm)
    3. sun solaris (only SPARC) (32 bit JVM)
    There is no generic installer available for weblogic 9.2
    Thus what I want is weblogic 9.2 setup for x86 machine.
    I have tried to run weblogic 9.2 setup for linux on sun solaris x86.
    But it did not run, it also gave error message that some package is missing in /lib/.. folder.....

  • Ask the Expert: Packet Capture Capabilities of Cisco Routers and Switches

    With Rahul Rammanohar 
    Welcome to the Cisco Support Community Ask the Expert conversation. This is an opportunity to learn and ask questions about packet capture capabilities of Cisco routers and switches.
    In May 2013, we created a video that included packet capture capabilities across multiple Cisco routers and switches. For each product, we began with a discussion about the theory of the capabilities, followed by an explanation of the commands, and we concluded with a demo on real devices. In this Ask the Expert event, you’re encouraged to ask questions about the packet capture capabilities of these Cisco devices:
    •       7600/6500: mini protocol analyzer (MPA), ELAM, and Netdr
    •       ASR9k: network processor capture
    •       7200/ISRs: embedded packet capture
    •       Cisco Nexus 7K, 5K, and 3K: Ethanalyzer
    •       Cisco Nexus 7K: ELAM
    •       CRS: show captured packets
    •       ASR1K: embedded packet capture
    More Information
    Blog URL: Packet Capture Capabilities of Cisco Routers and Switches
    Watch the Video:  https://supportforums.cisco.com/videos/6226
    Hitesh Kumar is a customer support engineer in the High-Touch Technical Services team at Cisco specializing in routing protocols. He has been supporting major service providers and enterprise customers in routing, Multiprotocol Label Switching (MPLS), multicast, and Layer 2 VPN (L2VPN) issues on routing platforms for more than three years. He has more than six years of experience in the IT industry and holds a CCIE certification (number 38757) in service. 
    Rahul Rammanohar is a technical leader with the High-Touch Technical Support Team in India. He handles escalations in the area of routing protocols and large-scale architectures for devices running Cisco IOS, IOS-XR, and IOS-XE Software. He has been supporting major service providers and large enterprise customers for routing, MPLS, multicast, and L2VPN issues on all routing platforms. He has more than 13 years of experience and holds a CCIE certification (number 13015) in routing/switching and service provider.
    Remember to use the rating system to let Hitesh and Rahul know if you have received an adequate response.  
    Because of the volume expected during this event, Hitesh and Rahul might not be able to answer each question. Remember that you can continue the conversation in the Service Provider, sub-community forum shortly after the event. This event lasts through November 1, 2013. Visit this forum often to view responses to your questions and the questions of other Cisco Support Community members.

    Hello Erick
        Thanks for the topology. The trigger will be different for labelled  packet as you would need to mention the values of labels too in the  trigger.
         Below are two examples of one or two labels being  used, it depends on where you are capturing the packet in mplsvpn  scenario which will decide teh number of labels being imposed on the  packet.
    Trigger for one label. (if the router on which you are capturing the packet PHP is being performed)
    VPN label - 5678
    Source Address - 111.111.111.111
    Destination Address - 123.123.123.123
    show platform capture elam trigger dbus others if data = 0 0 0 0x88470162 0xE0000000 0 0 0x00006F6F 0x6F6F 7B7B 0x7B7B0000 [ 0 0 0 0xffffffff 0xf0000000 0 0 0x0000ffff 0xffffffff 0xffff0000 ]
    Trigger for two labels. (for other core routers)
    IGP label - 1234
    VPN label - 5678
    Source Address - 111.111.111.111
    Destination Address - 123.123.123.123
    show platform capture elam trigger dbus others if data = 0 0 0 0x8847004D 0x20000162 0xE0000000 0 0 0x00006F6F 0x6F6F7B7B 0x7B7B0000 [ 0 0 0 0xffffffff 0xf000ffff 0xf0000000 0 0 0x0000ffff 0xffffffff 0xffff0000 ]
        You can check the labels being used (by using show ip cef <> details) and covert their values to hex and change the trigger accordingly.
         I have changed the colors for better understanding. If you notice carefully in the trigger the values for ip address, labels have just been converted to their respective hex values which could be replaced.
         Please let me know if this helps.
    Thanks & Regards
    Hitesh & Rahul

  • Multiple context mode, how to download the packet capture file

    Hi guys,
    Is there a way to download the packet capture file from a specific context? I know that I used to use https://<ASA_IP>/admin/capture/<capture> to download it if it is just one context. 
    The ASA uses mgmt 0/0 for management and it is connected in a separate OOB network. Only this network has TFTP servers for uploading the capture file. The context in question is in transparent mode. Its IP doesn't have access to any TFTP server.
    Thanks!
    Difan

    Hello Difan,
                         Please refer the following document.
    https://supportforums.cisco.com/document/69281/asa-using-packet-capture-troubleshoot-asa-firewall-configuration-and-scenarios
    Also what version of the ASA code are you using?
    Regards,
    Jai Ganesh K

  • Details about the packet capture output bits...

                       Hi Mates,
    If we take the packet capture output, we will get similar output as follows:
    Please explain the significance of the highlighted bits values. (S,P,F and . )
    If tehre is ny doc related to them, appreciate to share.
    Thanks & Regards
    Ramana

    S SYN
    P PUSH
    F FIN
    http://www.firewall.cx/networking-topics/protocols/tcp/136-tcp-flag-options.html
    Looking for some Networking Assistance? 
    Contact me directly at [email protected]
    I will fix your problem ASAP.
    Cheers,
    Julio Carvajal Segura
    http://laguiadelnetworking.com

  • Ndd in Solaris x86

    Hi I need to know How can I see parametes list of networks interfaces in Solaris x86, I can't use the utility ndd for the network interface, I am working in a V65x and the NIC is e1000g.
    Thanks

    kstat e1000g:0 might work, but I'm not 100% if kstat
    statistics are supported by the e1000g driver. And if they are available,
    I'm not sure if they are accurate.
    kstat should list the interface speed, and the duplex setting.

  • Networking skipped in installing Solaris 9, 10 behind a Linksy router

    Hi, gurus,
    I am trying to install Solaris 9 or 10 on a PC on a 192.168.0.0 network behind a linksys router but can not have the networking set up on it.
    During the installation, I was prompted for the host name, but I did not have a chance to enter the information usually prompted for, such as IP address, network mask, default gateway, DNS servers, etc. That networking part was simply skipped. The installation is otherwise straightforward, and Solaris runs on the PC, only no networking.
    ifconfig -a shows only the lo0 loopback.
    I wonder if this is because the PC is on a 192.168.0.0 network behind a router, or because the network card is not recognized. I ran solaris 9 configuration assistant again. The configuration assistant does briefly displays the network card when polling for hardware devices: "Xir com Pocket Ethernet Parallel Port Card".
    I found a posting on the internet that shows an example of [successful installation of Solaris 10 on a ldap top with exactly the Xir com Pocket Ethernet Parallel Port Card|http://blogs.pfuetzner.de/matthias/?m=200607] . I followed a few steps and got stuck on the pe.bef thing, which I guess is the network card driver, which I do not have. I searched on the internet, but did not succeed in finding one.
    I would appreciate it if you gurus had some advice either on following through that example, or some alternative solution to the problem. Or, if buying a card found in the [hardware compatibility list|http://www.sun.com/bigadmin/hcl/data/sol/components/views/networking_all_results.model.page1.html] would solve the problem, I would buy one. But is the problem due to an unsupported network card, or because of the PC is on a 192.168.0.0 network behind a router?
    Many thanks for your advice!
    Newman

    Hi, Michael, and all who happen to know this:
    I bought a network card (3CSOHO100-TX, the first one in the [HCL as "reported to work"|http://www.sun.com/bigadmin/hcl/data/sol/components/views/networking_reported_to_work.page1.html] ), but this card does not seem to be any better than the other one.
    When running the Configuration Assistant of Solaris 10 3/05, there was not any hint whether the network card was detected. With Solaris 9 9/05, the hardware polling did result in a network card listed among the detected devices. However, in both versions of Solaris, the installation configuration skipped the section for collecting network card configuration information. So I just cut it short and quit the installation when I saw that network part was skipped.
    I already have Solaris 10 3/05 installed with the other card (i.e., without any network card recognized), and wondered if the new card can be detected in the installed unix. I searched in the archive of this forum and [found a link|http://solaris-x86.org/documents/tutorials/network.mhtml] in one of the postings. I followed the steps, but the article seems to be for certified cards only. The 3CSOHO100-TX card is not in the /boot/solaris/devicedb/master file.
    My questions are:
    1. Since Solaris 10 3/05 is already running, are there any commands that can be used to detect the physical card, and then get it configured? I checked Craig Hunt's TCP/IP book (3rd Ed), and tried dmesg | grep eth, netstat -in, and ifconfig -a, to no avail. I also tried prtconf | grep pci, and no clue either.
    2. Since this card is in the HCL list, are there any members on this forum who happen to have some experience with the card and can lend some insight?
    The PC I am using to install the Solaris is a Dell Dimension 4500.
    When the configuration assistant was running there were some messages about resource conflict (two devices using the same interrupt number). I am not good at interpreting the messages, and removed the wireless network card just in case, so there is only one network card in the PC. That did not make it any better either.
    Much appreciation for your help!
    Newman
    Edited by: J.Newman on Jun 23, 2010 1:17 PM

  • Blocking network packets using java

    Hello Friends,
    I am trying to develop a firewall application using java.I am able to capture packets using third party library called jpcap(from sourceforge).
    Now, the problem is how to block packets.There is no library as such ,to my knowledge atleast,to block network packets.I am finding for a solution
    regards,
    raj

    What do you mean?
    Dropping a TCP/UDP packet would happen at the IP level. Given that TCP/UDP runs on IP (and ICMP as well) that means that basically you must impliment a stack.
    Conversely it might be that the specific stack you are using provides that functionality and you just need to configure it. That would be done via JNI (and has nothing to do with IP/TCP/UDP.)
    If all you are doing is proxying, which is what a firewall does, then you recieve a TCP packet and then just drop it or forward it. Doing that in a Java application however is not actually the same as most firewalls (certainly not dedicated boxes.)

  • Packet Capture Wizard on ASA's running with contexts

    When running the packet capture wizard on a context you can view the capture but are not able to save the capture or lunch network sniffer application.
    Need Urgent Help

    Sorry I'm so slow to respond.  I only check that email a few times per week.   We have a ASA 5520 but, loads of our customers have 5580's and other models.  I'm not sure why other interfaces don't show up for you but, keep in mind that the interface indexes exported by NetFlow will not line up with the interface indexes reported by SNMP.   We have already escalated this to Cisco.
    The ASA is a tricky beast when it comes to NetFlow.  I'm confident that the technology will change considerably in future software updates.  That PDF url above points out some challenging issues to deal with when interpreting the NetFlow data from the ASA. I've already suggested to the marketing guys to make the next Mix Master Mitch video on the ASA:
    http://www.youtube.com/watch?v=ilxknbKJ0Pc
    If interfaces aren't showing up that you feel should appear, I haven't run into this.  Call the plixer sales department and ask them.  They will likely run over to support and ask around.   You might get the answer you need.

Maybe you are looking for

  • Getting error while taking preview of Web Dynpro iView

    Hi, I am getting this error while taking a preview of Web Dynpro iView : 500   Internal Server Error       SAP J2EE Engine/6.40 Application error occurred during request processing. Details:   com.sap.tc.webdynpro.services.exceptions.WDRuntimeExcepti

  • Rounding off differences for Vendor and Customer payment

    Dear All, Rounding off differences for vendor payment in T Code F-53 is giving the following error when I want to post. Item category 06000 not allowed in accounting transaction 1000/0001 Message no. GLT2001 Diagnosis The online document splitting is

  • Flex 3 b2 on osx 10.5

    I installed flex 3 b2 on a clean install of OSX 10.5 leopard and a dialog box came up immediately saying my trial had expired. so i put in the flex 2 licenses and it says everything is ok. it will create and import my flex 3 projects, but it hangs wh

  • 4:3 displays

    This is not a really final cut pro related question, but since people here are so techically savy, I will ask anyway. Does anyone know of any 4:3 monitors which are good for video editing? The smaller the better. The reason is that I make most of my

  • JFileChooser Problem when "Automatic Configuration" is enabled on IE

    Hi, I have JFileChooser Based Applet dialog. When i enable the "Automatic Configuration" in my LAN setting on IE. The windows based shortcuts e.g. Desktop,"My documents" dont show up correctly directories they contain. They only show a part of them.