a) ICMP is stateless. So defining the state is senseless
b) ICMP Subtype 8 is echo Request, which you correctly defined on the INPUT Chain. ICMP Subtype 0 is "echo Reply" which is regulated at the OUTPUT chain since it is sent from the local host to the pinging party
c) Defining source -s 0/0 is of no use. Omit that and you have no restriction of source addresses.
d) I would assume the module icmp is automatically loaded when you specifiy -p icmp, so you can omit this too.
You can trace your paket filter more closely with additional log-rules before and after important Rules in your filter-definition.
Oh. Wait. I misunterstood. iptables is the pinging party....
Now I use this rule..same thing.
---------- Post updated at 12:34 PM ---------- Previous update was at 12:32 PM ----------
Quote:
Originally Posted by rbatte1
I think that this is most likely a routing problem. What is your routing table like?
Can you show us the output from ifconfig -a & netstat -rn on both sides? Remember that the target of the ping will have to be able to respond.
Robin
The route is ok..at least I think.
Maybe is bridge causing problems?
I retry tomorrow wirth eth with no bridge.
Hi,
I want to enable hibernate in my machine.
when i click hibernate option, it is throwing message that hibernate is not enabled in kernel.
earlier, i was hibernating in the same machine with windows os.
any idea ?
Thx in advance.
Siva (0 Replies)
Hello everyone,
I installed AIX the other day (several times!) but I can't get XDMCP to work.
I remember from when I installed it the last time it worked out of the box.
So why doesn't it work now?
This is the error message I get:
XDMCP fatal error: Session failed Session 2 failed for... (3 Replies)
Hi,
I develop simple animation ping script on Solaris Platform. It is like Cisco ping.
Examples and source code are below.
bash-3.00$ gokcell 152.155.180.8 30
Sending 30 Ping Packets to 152.155.180.8
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.
% 93.33 success... % 6.66 packet loss...... (1 Reply)
Hi
I am using perl to ping a list of nodes - with script below :
$p = Net::Ping->new("icmp");
if ($p->ping($host,1)){
print "$host is alive.\n";
}
else {
print "$host is unreacheable.\n";
}
$p->close();... (4 Replies)
Hi Folks!
I am writing a script which changes lpfc.conf if there it has been setup on RHEL BOXes, do I need to put dracut -f for enabling it? I am not sure,
Can someone help! (6 Replies)
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
I have installed the "mipsel tuxbox" compile suite for crosscompile
Host system is x86_64 slackware
destination is mipsel32bit "vuduo+"
For example,I want to compile a program, I use this script
make clean
export TOOLCHAIN=/opt/mipsel-tuxbox-linux-gnu
export... (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
LEARN ABOUT DEBIAN
traceroute
TRACEROUTE(1) User Commands TRACEROUTE(1)NAME
traceroute - Trace the route to a host
SYNOPSIS
traceroute [OPTION...] HOST
DESCRIPTION
Print the route packets trace to network host.
-f, --first-hop=NUM
Set initial hop distance, that is the time-to-live.
-g, --gateways=GATES
List of gateways for loose source routing.
-I, --icmp
Use ICMP ECHO as probe.
-m, --max-hop=NUM
Set maximal hop count (default is 64).
-M, --type=METHOD
Use METHOD (icmp or udp) for traceroute operations, defaulting to udp.
-p, --port=PORT
Use destination PORT port (default is 33434).
-q, --tries=NUM
Send NUM probe packets per hop (default is 3).
--resolve-hostnames
Resolve hostnames.
-t, --tos=NUM
Set type of service (TOS) to NUM.
-w, --wait=NUM
Wait NUM seconds for response (default is 3).
-?, --help
Give this help list.
--usage
Give a short usage message.
-V, --version
Print program version.
GNU inetutils 2015-05-15 TRACEROUTE(1)