Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: mod_backhand: Wackamole
Notify throttle bug
 

Index | Next | Previous | View Flat


wackamole-list at openskysolutions

Dec 16, 2003, 2:32 PM


Views: 914
Permalink
Notify throttle bug

When I ran wackamole with the -d flag, I noticed something weird.
The notications that are printed to the console are incrementing
the first IP address octet and not the fourth.

For example if I have this in my wackamole.conf (fictional IP block):

Notify {
eth1:3.3.3.3/25 throttle 128
}

When I run wackamole -d it shows that it notifies these addresses (at
least that's what the PRINT shows):

3.3.3.0
4.3.3.0
5.3.3.0
6.3.3.0
...
100.3.3.0
...for 128 IP address in the /25 block.

I would expect it should be:

3.3.3.1
3.3.3.2
3.3.3.3
3.3.3.4
...
3.3.3.100
...for 128 IP address in the /25 block.

I tried looking in the C code, but I think this is probably a simple
change for someone who's got more current C programming experience.
Could it be an endianess issue?

Andy

Subject User Time
Notify throttle bug wackamole-list at openskysolutions Dec 16, 2003, 2:32 PM
    Notify throttle bug jesus at omniti Jan 7, 2004, 8:48 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.