LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 11-17-2005, 02:41 PM   #1
rjw1678
Member
 
Registered: Sep 2003
Location: Delaware, USA
Distribution: Ubuntu 12.04 LTS
Posts: 55

Rep: Reputation: 15
Question about a iptables rule?


Every time enter the following rule (thru a konsole session):

iptables -A INPUT -m iprange ! --src-range 4.79.142.192-4.79.142.207 -j LOG

iptables displays "hoho". The rule seems to work I do not want to log packets from grc.com (Gibson Research) which works and it logs all the other packets that I want it to log.

I am wondering what the "hoho" is.

Thank You
Bob W
 
Old 11-17-2005, 06:27 PM   #2
twsnnva
Member
 
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
From the iprange source code:

Code:
if (invert) {
        info->flags |= IPRANGE_SRC_INV;
	printf("hoho\n");
}
It seems when you invert the souce range (!) it just prints hoho for the heck of it.
 
Old 11-18-2005, 07:46 AM   #3
rjw1678
Member
 
Registered: Sep 2003
Location: Delaware, USA
Distribution: Ubuntu 12.04 LTS
Posts: 55

Original Poster
Rep: Reputation: 15
Thank you for your reply.

Bob W.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with iptables rule!! vishamr2000 Linux - Security 6 11-09-2005 05:34 AM
iptables rule order Kumado Linux - Security 4 10-13-2005 11:12 PM
iptables ban rule hypton Linux - Networking 1 03-09-2004 10:42 PM
IPTables Rule... Grim Reaper Linux - Software 8 04-28-2003 12:20 PM
iptables rule order dunkyb Linux - Security 2 03-21-2003 07:56 AM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration