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
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT DEBIAN
shaperd
shaperd(8) System Manager's Manual shaperd(8)
NAME
shaperd - traffic shaper for tcp-ip networks
SYNOPSIS
shaperd [-h] [-v] [-c file ]
DESCRIPTION
shaperd is a user-mode program that can shape traffic passing through a linux box. As it runs as a normal daemon process, packet forwarding
to/from the kernel can be done by the BSD divert sockets layer (available as a patch for the linux kernel) or by the ipq packet forwarding
library that comes with kernel 2.4.
The configuration is made via a single text file, you can force a reload by sending a SIGHUP. Logs are routed via syslog, with prior-
ity=info, facility=daemon.
Please note that, for the moment, you must instruct the kernel which packets to forward to shaperd. This can be done, for example, with
the ipchains(8) utility under Linux 2.2, or with iptables(8) under Linux 2.4. Also, note that if a packet does not match any of the rules
in the configuration file, it will be ignored by shaperd (but it will be logged if the log level is high enough).
OPTIONS
-c config-file
Tells the daemon to get its configuration from this config-file
-h Summarizes command line options
-v Prints version information
SEE ALSO
ipchains(8); iptables(8); libipq(3); Linux's divert sockets site, http://www.anr.mcnc.org/~divert/index.shtml ; Netfilter's site,
http://netfilter.samba.org. Linux Advanced Routing & Traffic Control, http://ds9a.nl/lartc.
BUGS
do i kill them? become their friend?
do i eat them? raw or well done
do i trick them? i ... i don't think they're that dumb
do i join them? looks like that's the one
i got bugs on my skin tickle my nausea
i let it happen again they're always taking over
i see they surround me i see ... see them deciding my fate
oh that which was once was once up to me ... now it's too late
i got bugs in my room one on one
that's when i had a chance
i'll just stop now i'll become naked, and with them i'll become one
AUTHOR
Leandro Santi <lsanti@fi.uba.ar>
shaperd(8)