Bug 183479 - [ipfw] ipfw table contains duplicate entry.
Summary: [ipfw] ipfw table contains duplicate entry.
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.4-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-30 12:50 UTC by yuri golovko
Modified: 2017-12-31 22:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yuri golovko 2013-10-30 12:50:00 UTC
root@gate1:/usr/adm/nagios # ipfw table 20 list | grep 192.168.179.220
192.168.179.220/32 0
192.168.179.220/32 0
root@gate1:/usr/adm/nagios #

How-To-Repeat: We use this function to add entry to ipfw table. But we can't repeat the problem on tests.

int ipfw_add(char *ip,int table,int value) {
    ipfw_table_entry ent;
    ent.tbl = table; // table number
    inet_aton(ip,(struct in_addr*)&ent.addr); // ip address
    ent.masklen = 32; // ip mask CIDR
    ent.value = value;
    return do_cmd(IP_FW_TABLE_ADD, &ent, sizeof(ent));
}
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-04-16 01:58:12 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ipfw

Over to maintainer(s).
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:49 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped