11-14-2002
This is my ipchains.rules file:
:input ACCEPT
:forward ACCEPT
:output ACCEPT
:icmp -
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -p 1 -j icmp
-A input -s 0.0.0.0/0.0.0.0 443:443 -d 0.0.0.0/0.0.0.0 -p 6 -j DENY -l -y
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 443:443 -p 6 -j DENY -l -y
-A input -s 0.0.0.0/0.0.0.0 443:443 -d 0.0.0.0/0.0.0.0 -p 17 -j DENY -l
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 443:443 -p 17 -j DENY -l
-A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -p 6 -j ACCEPT ! -y
-A icmp -s 0.0.0.0/0.0.0.0 3:3 -d 0.0.0.0/0.0.0.0 -p 1 -j ACCEPT
-A icmp -s 0.0.0.0/0.0.0.0 4:4 -d 0.0.0.0/0.0.0.0 -p 1 -j ACCEPT
-A icmp -s 0.0.0.0/0.0.0.0 11:11 -d 0.0.0.0/0.0.0.0 -p 1 -j ACCEPT
-A icmp -s 0.0.0.0/0.0.0.0 12:12 -d 0.0.0.0/0.0.0.0 -p 1 -j ACCEPT
-A icmp -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 -j DENY
Which line could be blocking the ping?
disabled smilies --oombera
Last edited by oombera; 02-20-2004 at 04:07 PM..
10 More Discussions You Might Find Interesting
1. AIX
Hey all. I have a long list of IP addresses I want to ping. The IP's are located in a flat file "ping_info.dat".
I was wondering what the best way to go about this would be. Can someone help me out? (2 Replies)
Discussion started by: jalge2
2 Replies
2. Shell Programming and Scripting
Hi,
How to ping an ip from an unix machine. Can you please let me know the exact command. I used and i got the below error
ping 171.18.17.2
bash: ping: command not found
Thanks n regards
Ammu (1 Reply)
Discussion started by: ammu
1 Replies
3. Shell Programming and Scripting
Keep in mind that I haven't done Perl scripting for a LONG time, so I'm quite rusty.
This is what I would like to do:
- using fork, create 3 or 4 processes to read 3 or 4 different text documents containing server names or IP addresses
- in each of those processes, Perl will ping each of those... (7 Replies)
Discussion started by: kooshi
7 Replies
4. Solaris
Dear all,
I face some problem as below.
I have a sun fire 280r server in a network. From that server i am able to ping any system in any network. But i am facing the problem when i try to ping the server from outside netwok. Once i give ping command in the server then only i try to... (1 Reply)
Discussion started by: sudhansu
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I don't have a lot of info, so I'm sure this is a long shot. But figured I'd check to see if this issue rings a bell with anyone.
Two weeks ago a Unix server stopped updating the date. So everyday it shows the same system time. It's been manually changed to the correct date, but then... (2 Replies)
Discussion started by: no_clue
2 Replies
6. Shell Programming and Scripting
how can you ping a domain and store the ip?
like given a url in a variable $url
how can i ping it?
also how can i find the local server's ip address on a cpanel server?
(i have multiple servers and didnt want to hard code it in)
(basically i want to check the domain accounts on the server,... (11 Replies)
Discussion started by: vanessafan99
11 Replies
7. IP Networking
Hi,
I have a rather strange IP question...
Here's my problem:
I have a Linux box (call it "turing") with 2 NICs.
One network interface (eth0) has an IP assigned, say 192.168.42.50.
The other interface (eth1) is up, but has no IP yet.
My question: is it possible to determine from... (3 Replies)
Discussion started by: NH2
3 Replies
8. UNIX Desktop Questions & Answers
I need to ping websites and I need to see which one has the highest delay.
My problem is I need to extract the name Facebook and the time=74.0 ms using awk. I need help doing this please...
PING facebook.com (173.252.90.36) 56(84) bytes of data.
64 bytes from... (5 Replies)
Discussion started by: 5sku5
5 Replies
9. Emergency UNIX and Linux Support
Hi,
I need to set up a script that would write the results of the ping command from one AIX server to another file may be every minute. Like this I need to gather the data for a period of 24 hours.
Can someone please help me with this?
G (5 Replies)
Discussion started by: ggayathri
5 Replies
10. HP-UX
Hi,
A database (Oracle) replication process was executed by the DBA team in one server (serverX). However, this replication process gets terminated, and there are no errors in the replication log. But there is error in the OS log files (syslog.log) :
Aug 8 16:51:47 L28dre02 sshd: subsystem... (1 Reply)
Discussion started by: anaigini45
1 Replies
LEARN ABOUT DEBIAN
qpsmtpd::dsn
Qpsmtpd::DSN(3pm) User Contributed Perl Documentation Qpsmtpd::DSN(3pm)
NAME
Qpsmtpd::DSN - Enhanced Mail System Status Codes - RFC 1893
DESCRIPTION
The Qpsmtpd::DSN implements the Enhanced Mail System Status Codes from RFC 1893.
USAGE
Any qpsmtpd plugin can access these status codes. All sub routines are used the same way:
use Qpsmtpd::DSN;
...;
return Qpsmtpd::DSN->relaying_denied();
or
return Qpsmtpd::DSN->relaying_denied("Relaying from $ip denied");
or
return Qpsmtpd::DSN->relaying_denied(DENY,"Relaying from $ip denied");
If no status message was given, it will use the predefined one from the RFC. If the first argument is numeric, it will use this as a return
code, else the default return code is used. See below which default return code is used in the different functions.
The first example will return (DENY, "Relaying denied"); the others (DENY, "Relaying from $ip denied"); which will be returned to qpsmtpd.
In those sub routines which don't start with addr_, sys_, net_, proto_, media_, sec_ I've added a default message which describes the
status better than the RFC message.
ADDRESS STATUS
addr_unspecified
X.1.0 default: DENYSOFT
no_such_user, addr_bad_dest_mbox
X.1.1 default: DENY
addr_bad_dest_system
X.1.2 default: DENY
addr_bad_dest_syntax
X.1.3 default: DENY
addr_dest_ambigous
X.1.4 default: DENYSOFT
addr_rcpt_ok
X.1.5 default: OK
addr_mbox_moved
X.1.6 default: DENY
addr_bad_from_syntax
X.1.7 default: DENY
addr_bad_from_system
X.1.8 default: DENY
MAILBOX STATUS
mbox_unspecified
X.2.0 default: DENYSOFT
mbox_disabled
X.2.1 default: DENY ...but RFC says:
The mailbox exists, but is not accepting messages. This may
be a permanent error if the mailbox will never be re-enabled
or a transient error if the mailbox is only temporarily
disabled.
mbox_full
X.2.2 default: DENYSOFT
mbox_msg_too_long
X.2.3 default: DENY
mbox_list_expansion_problem
X.2.4 default: DENYSOFT
MAIL SYSTEM STATUS
sys_unspecified
X.3.0 default: DENYSOFT
sys_disk_full
X.3.1 default: DENYSOFT
sys_not_accepting_mail
X.3.2 default: DENYSOFT
sys_not_supported
X.3.3 default: DENYSOFT
Selected features specified for the message are not
supported by the destination system. This can occur in
gateways when features from one domain cannot be mapped onto
the supported feature in another.
sys_msg_too_big
X.3.4 default DENY
NETWORK AND ROUTING STATUS
net_unspecified
X.4.0 default: DENYSOFT
net_directory_server_failed, temp_resolver_failed
X.4.3 default: DENYSOFT
net_system_congested
X.4.5 default: DENYSOFT
net_routing_loop, too_many_hops
X.4.6 default: DENY, but RFC says:
A routing loop caused the message to be forwarded too many
times, either because of incorrect routing tables or a user
forwarding loop. This is useful only as a persistent
transient error.
Why do we want to DENYSOFT something like this?
MAIL DELIVERY PROTOCOL STATUS
proto_unspecified
X.5.0 default: DENYSOFT
proto_invalid_command
X.5.1 default: DENY
proto_syntax_error
X.5.2 default: DENY
proto_rcpt_list_too_long, too_many_rcpts
X.5.3 default: DENYSOFT
proto_invalid_cmd_args
X.5.4 default: DENY
proto_wrong_version
X.5.5 default: DENYSOFT
MESSAGE CONTENT OR MESSAGE MEDIA STATUS
media_unspecified
X.6.0 default: DENYSOFT
media_unsupported
X.6.1 default: DENY
media_conv_prohibited
X.6.2 default: DENY
media_conv_unsupported
X.6.3 default: DENYSOFT
media_conv_lossy
X.6.4 default: DENYSOFT
SECURITY OR POLICY STATUS
sec_unspecified
X.7.0 default: DENYSOFT
sec_sender_unauthorized, bad_sender_ip, relaying_denied
X.7.1 default: DENY
sec_list_dest_prohibited
X.7.2 default: DENY
sec_conv_failed
X.7.3 default: DENY
sec_feature_unsupported
X.7.4 default: DENY
sec_crypto_failure
X.7.5 default: DENY
sec_crypto_algorithm_unsupported
X.7.6 default: DENYSOFT
sec_msg_integrity_failure
X.7.7 default: DENY
perl v5.14.2 2009-04-02 Qpsmtpd::DSN(3pm)