Sponsored Content
Operating Systems Linux Red Hat How to check the outbound packets in Linux Post 101456 by Esaia on Wednesday 8th of March 2006 10:27:34 AM
Old 03-08-2006
You can always use ethereal, netstat and tcpdump.

To check tcp connections use netstat -t etc.
read manpage for tcpdump to get the right parameters to use to get the right information that you want, ex. src port and dst port.

/David
 

10 More Discussions You Might Find Interesting

1. Linux

Security issue with TCP SYN packets on Linux

Hi all, A security scanner has been done on a linux server and have found that The remote host does not discard RCP SYN packets which have the FIN flag set. It tells that I need to request a patch which I haven't found yet. I have Red Hat Linux release 7.0 (Guinness) Kernel 2.2.16-22... (2 Replies)
Discussion started by: bert.n
2 Replies

2. Linux

Outbound IP Address selection

I have a server with multiple Internet IP Addresses: x.x.x.1 x.x.x.2 x.x.x.3 x.x.x.4 . . . When I use links to goto a website it uses the lowest x.x.x.1 Is there a way when I invoke links, or ftp or what ever, to use x.x.x.2 or x.x.x.99 when i start the application? (2 Replies)
Discussion started by: Ikon
2 Replies

3. Shell Programming and Scripting

Script to check good compilation of packets

Hi, I'm making a script to compile some packets and I need for each one to check if the compilation is good... I need to check if "./configure" and "make" runs correctly. Are any scripting commands to make this? For example, the solution can be a command that get the program's exit code... (1 Reply)
Discussion started by: paolom
1 Replies

4. UNIX for Dummies Questions & Answers

Linux box drops the incoming packets

Hi all, I am new to Linux kernel. we have a c file that counts the no. of sends and received packets in each interface, and indicate the user about the error/drop ration of incoming and outgoing packets. in our Linux box , the incoming packets are dropped at random interval. we have our... (1 Reply)
Discussion started by: kannandv
1 Replies

5. UNIX for Dummies Questions & Answers

Outbound file will be routed to new server

Hi, ---------- Post updated at 04:12 AM ---------- Previous update was at 04:09 AM ---------- This is the scripts.. Date=`date +"%m/%d/%y %H:%M:%S "` echo "Run on $Date" echo "Run on $Date" >&2 # Setting Variables PassDir=$PS_HOME/autosys/pass # Location of the... (0 Replies)
Discussion started by: sonja
0 Replies

6. Linux

Linux dhcp client boot process with packets traffic

Hi Everybody, I would like to know the entire network packets exchange, sequence between a linux dhcp client workstation & dhcp server as client comes up starting from OS booting stage as network service starts to the time client gets dhcp IP address. This would be in a typical LAN ... (2 Replies)
Discussion started by: sudhirav
2 Replies

7. IP Networking

how to hack linux driver to delay incoming packets

hello, can anyone suggest how to delay the incoming packets ?? or how the packets are prossed inside the kernal and a way to make the packets wait a while?? it wud be vry helpful regards sameer (7 Replies)
Discussion started by: sameer kulkarni
7 Replies

8. IP Networking

Packets sent from Linux TCP socket

Hello, Our software is using a TCP socket (AF_INET, SOCK_STREAM) to communicate with an Ethernet device. When we send a message, the message object writes itself in full onto the socket's stream buffer before the software invokes send() from socket.h. I'm still researching, but have 2... (1 Reply)
Discussion started by: bix_20002000
1 Replies

9. Debian

Linux outbound traffic filtering with: cgroups + tc + iptables

I spent a lot of time trying to implement outbound traffic filtering with: cgroups + tc + iptables on Debian Jessie. Unfortunately there is still something wrong. The biggest issue is: - cgroups install + config - net_cls subsystem implementation - packets marking with net_cls - appropriate... (0 Replies)
Discussion started by: Novi
0 Replies

10. Shell Programming and Scripting

How to list all outbound sockets given a PID?

I used netstat -tp <pid> to list all Foreign Addresses i.e OutBound sockets on Linux. Likewise, i wish to list all Foreign Addresses on Sparc Solaris. I get illegal option -- t when i try this command on Solaris. The second query i have is that in the output of netstat command some... (1 Reply)
Discussion started by: mohtashims
1 Replies
varnetload(8)					    Tool to create reproducable network traffic 				     varnetload(8)

NAME
varnetload - tool to create reproducable network traffic SYNOPSIS
varnetload [-d delay] [-t time to run] [-u url] DESCRIPTION
varnetload is a simple python script to create reproducable sustained network traffic. In order to use it effectively, you need to have an HTTP server present in your local LAN where you can put files. Upload a large HTML (or any other kind of file) to the HTTP server. Use the -u option of the script to point to that URL. Play with the delay option to vary the load put on your network. delay Sets delay between individual downloads in miliseconds. Default value is 1000. But you my find values range from 0 to 500 more use- ful. time to run Sets total run time in seconds. Default value is 60. url Sets downloaded resource. Default is http://myhost.mydomain/index.html. SEE ALSO
tuned(8) diskdevstat(8) netdevstat(8) scomes(8) AUTHOR
Written by Phil Knirsch <pknirsch@redhat.com>. REPORTING BUGS
Report bugs to <pknirsch@redhat.com>. Phil Knirsch 13 Jan 2011 varnetload(8)
All times are GMT -4. The time now is 11:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy