Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 11-17-2005, 02:41 PM   #1
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 -j LOG

iptables displays "hoho". The rule seems to work I do not want to log packets from (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
Registered: Oct 2003
Location: Newport News, Va
Distribution: Debian
Posts: 246

Rep: Reputation: 30
From the iprange source code:

if (invert) {
        info->flags |= IPRANGE_SRC_INV;
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
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.


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 > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:25 PM.

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