nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Block ping response with Endian firewall

This is a discussion on Block ping response with Endian firewall within the Linux software forums, part of the Linux Getting Started category; Hello to all, Please, how to block ICMP with Endian firewall?, try with command iptables that I found in this ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 06-29-2007, 04:19 AM
Junior Member
User
 
Join Date: Jun 2007
My distro: Endian
Posts: 2
Rep Power: 0
OSCARM is on a distinguished road
Exclamation Block ping response with Endian firewall

Hello to all, Please, how to block ICMP with Endian firewall?, try with command iptables that I found in this forum, but did not work.
Thank you very much for your help!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-30-2007, 06:39 PM
monk's Avatar
Senior Member
User
 
Join Date: Jan 2005
Location: Tibet
My distro: Debian GNU/Linux
Posts: 482
Rep Power: 5
monk will become famous soon enough monk will become famous soon enough
Default

What is Endian firewall? If this a Linux distro, you should able to use iptables what error do you see?
__________________
May the force with you!
Reply With Quote
  #3 (permalink)  
Old 08-17-2007, 06:51 AM
Junior Member
User
 
Join Date: Aug 2007
Location: Somewhere in that Upper Midwest Area.
My distro: Ubuntu/openSUSE/Sabayon
Posts: 8
Rep Power: 0
scytale is on a distinguished road
Default

Quote:
Originally Posted by monk View Post
What is Endian firewall? If this a Linux distro, you should able to use iptables what error do you see?
Big Endian is how bytes are read and moved by a system, or which bit is first. For the number 1000, the 1 is first to be moved, then each zero. Little endian starts with the 0 in the ones place to the 1.

TCP/IP typically uses Big Endian style, and it might even be a part of the design of it. What little I know of basic TCP/IP protocols all use Big Endian. So your right monk with iptables.

iptables can list rules for ICMP with
#iptables -A INPUT -p icmp -j DROP


This might be better since the above one kills all icmp if I remember correctly.
#iptables -A INPUT -p icmp --icmp-type echo-request -j DROP
Theoretically, this is enough, but it might be best to deny replies out.
#iptables -A OUTPUT -p icmp --icmp-type echo-reply -j DROP
Reply With Quote
  #4 (permalink)  
Old 09-17-2007, 04:28 PM
Junior Member
User
 
Join Date: Sep 2007
Location: Mumbai
My distro: Fedora,CentOS,Redhat,FreeBSD
Posts: 15
Rep Power: 0
aaru is on a distinguished road
Send a message via Yahoo to aaru Send a message via Skype™ to aaru
Cool

Hi All,

i do not know about Big Endian Firewall.But if your intention is to block

icmp request for all, then u can use iptables. [or] u can do some changes in /proc filesystem.

#cd /proc/sys/net/ipv4
#echo 1 > icmp_echo_ignore_all ( to block icmp request to all)
#echo 0 > icmp_echo_ignore_all (to allow icmp request to all)

thanks,

aaru
Reply With Quote
  #5 (permalink)  
Old 01-09-2008, 12:39 AM
Junior Member
User
 
Join Date: Jun 2007
My distro: Endian
Posts: 2
Rep Power: 0
OSCARM is on a distinguished road
Default

Quote:
Originally Posted by aaru View Post
Hi All,

i do not know about Big Endian Firewall.But if your intention is to block

icmp request for all, then u can use iptables. [or] u can do some changes in /proc filesystem.

#cd /proc/sys/net/ipv4
#echo 1 > icmp_echo_ignore_all ( to block icmp request to all)
#echo 0 > icmp_echo_ignore_all (to allow icmp request to all)

thanks,

aaru
Thank you to all,
I applied your sentences and i blocked ping ...
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Unable to ping ??? raina_ajeet Linux software 2 04-24-2008 06:39 PM
script to ping + date dendi_rm Shell scripting 3 09-11-2007 11:42 AM
SNMP Error:no response received manish_2479 Networking, Firewalls and Security 2 06-14-2007 05:17 AM
Can't ping to a linux box by its machine name. lacloai Linux software 6 05-17-2007 03:56 AM
Unable to ping from SuSE Server ricc Linux software 2 11-01-2005 10:50 AM


All times are GMT +5.5. The time now is 12:50 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36