thanks guys & sorry for delayed response, as I was away. But this is not I am looking for, what I need is something like below :
This should give me the list of all open ports between two systems, we are using red hat linux 6.10 ( Santiago ), please help if at all this is possible to achieve.
I set two goals and look at all the established connections. What is the problem?
I have one established SSH connection, there are no other connections! That's all.
It is incorrect to apply the concepts of source and destination and open ports to two machines without any connection
Last edited by nezabudka; 01-22-2020 at 09:43 AM..
Hi, need help how to count unique destination for the source ip. The file is contains 4 number of fields. Example of the file is here
src ip dest ip #of flows total bytes
192.168.6.0 88.0.33.2 12 128
192.168.6.0 88.0.33.2 1 168
192.168.6.0 ... (5 Replies)
Hi all,
I have some doubts in selecting the interface to transfer packets and receive the packets.
--> Multiple interfaces :
--------------------
1) 0.0.0.0 --------> wild card address.
2) x.x.x.x --------> valid address.(192.168.1.156)
3) ff.ff.ff.ff -------->... (0 Replies)
Move all files starting with a specific name to different directory.
This shell script program should have three parameters
File Name
Source Directory
Destination Directory
User should be able to enter ‘AB_CD*' in file name parameter. In this case all the files starting with AB_CD will... (1 Reply)
I'd like to specify a different build and deployment path for files, by default the same path is used for both build and install, I wasn't able to find a way to make these different. With Solaris pkgadd, one can specify different paths in prototype, so I would assume something like that is possible... (0 Replies)
Hi Everyone,
I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
Hi Guys,
how to count number of files successfully copied while coping files from source to destination path
ex:10 files from source to target location copying
if 8 files copied successfully then
echo successfully copied=8
failure=2 files
if two files get error to coping files from... (23 Replies)
Discussion started by: sravanreddy
23 Replies
LEARN ABOUT CENTOS
packet.pkt
PACKET.PKT(1) packet.pkt 1.0.1 PACKET.PKT(1)NAME
packet.pkt - Pkt module
DESCRIPTION
Provides the object for a packet and the string representation of the packet. This object has an attribute for each of the layers in the
packet so each layer can be accessed directly instead of going through each layer. To access the nfs layer object you can use 'x.nfs'
instead of using 'x.ethernet.ip.tcp.rpc.nfs' which would very cumbersome to use. Also, since NFS can be used with either TCP or UDP it
would be harder to to access the nfs object independently or the protocol.
Packet object attributes:
Pkt(
record = Record information (frame number, etc.)
ethernet = ETHERNET II (RFC 894) object
ip = IPv4 object
tcp = TCP object
rpc = RPC object
nfs = NFS object
)
CLASSES
class Pkt(baseobj.BaseObj)
Packet object
Usage:
from packet.pkt import Pkt
x = Pkt()
Methods defined here:
---------------------
__str__(self)
String representation of object
The representation depends on the verbose level set by debug_repr(). If set to 0 the generic object representation is returned. If
set to 1 the representation of is condensed into a single line. It contains, the frame number, IP source and destination and/or the
last layer:
'1 0.386615 192.168.0.62 -> 192.168.0.17 TCP 2049 -> 708, seq: 3395733180, ack: 3294169773, ACK,SYN'
'5 0.530957 00:0c:29:54:09:ef -> ff:ff:ff:ff:ff:ff, type: 0x806'
'19 0.434370 192.168.0.17 -> 192.168.0.62 NFS v4 COMPOUND4 call SEQUENCE;PUTFH;GETATTR'
If set to 2 the representation of the object is a line for each layer:
'Pkt(
RECORD: frame 19 @ 0.434370 secs, 238 bytes on wire, 238 bytes captured
ETHERNET: 00:0c:29:54:09:ef -> e4:ce:8f:58:9f:f4, type: 0x800(IPv4)
IP: 192.168.0.17 -> 192.168.0.62, protocol: 6(TCP), len: 224
TCP: src port 708 -> dst port 2049, seq: 3294170673, ack: 3395734137, len: 172, flags: ACK,PSH
RPC: CALL(0), program: 100003, version: 4, procedure: 1, xid: 0x1437d3d5
NFS: COMPOUND4args(tag='', minorversion=1, argarray=[nfs_argop4(argop=OP_SEQUENCE, ...), ...])
)'
SEE ALSO baseobj(1)BUGS
No known bugs.
AUTHOR
Jorge Mora (mora@netapp.com)
NFStest 1.0.2 10 April 2013 PACKET.PKT(1)