Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 174503 - ip6tables doesn't support REJECT target
Summary: ip6tables doesn't support REJECT target
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: iptables
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On: 173699
Blocks: FC5Target IPv6Blocker
TreeView+ depends on / blocked
 
Reported: 2005-11-29 16:02 UTC by Charles R. Anderson
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-21 13:53:14 UTC


Attachments (Terms of Use)

Description Charles R. Anderson 2005-11-29 16:02:44 UTC
Description of problem:

ip6tables -j REJECT support is not compiled due to incorrect glibc-kernheaders.

Version-Release number of selected component (if applicable):
1.3.4-2

How reproducible:
always

Steps to Reproduce:
1. ip6tables -A INPUT -j REJECT --reject-with adm-prohibited
  
Actual results:
ip6tables v1.3.4: Unknown arg `--reject-with'
Try `ip6tables -h' or 'ip6tables --help' for more information.

Expected results:
ip6tables rule should be added to INPUT chain with REJECT target, causing ICMP
message type adm-prohibited to be sent back.

Additional info:
/lib/iptables/libip6t_REJECT.so is missing from the package.  This is caused by
a test in iptables-1.3.4/extensions/.REJECT-test6:

#!/bin/sh
FILE=$KERNEL_DIR/include/linux/netfilter_ipv6/ip6t_REJECT.h
# True if REJECT is applied.
[ -f $FILE ] && grep IP6T_ICMP6_NO_ROUTE 2>&1 >/dev/null $FILE && echo REJECT

$KERNEL_DIR is defined as /usr.  /usr/include/linux/netfilter_ipv6/ip6t_REJECT.h
comes from glibc-kernheaders with incorrect enum definitions.  The kernel-devel
include files have the correct enum definitions.  See bug #173699 against
glibc-kernheaders.  Fixing that bug and then rebuilding iptables fixes this bug.

Comment 1 Robert Scheck 2006-06-14 11:05:40 UTC
Reposting last comment from Charles as it got lost due hardware failure:
glibc-kernheaders-3.0-41 is now fixed.  Can you please rebuild iptables?  
Thanks.

Comment 2 Charles R. Anderson 2006-07-21 13:53:14 UTC
Rawhide iptables-ipv6-1.3.5-1.2.1 has this fixed.  Thanks.



Note You need to log in before you can comment on or make changes to this bug.