Modify

Opened 8 years ago

Closed 6 years ago

Last modified 4 years ago

#7610 closed defect (fixed)

firewall only working with iptables compiled as module

Reported by: qecko <qeckoo@…> Owned by: jow
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: iptables firewall modules Cc:

Description

The firewall control script /lib/firewall/fw.sh has a function called fw_has() (line 70) that checks /proc/modules if the necessary iptables modules (e.g. iptable_raw) are loaded. This fails of course, if iptables and it's modules are compiled into the kernel.
Bypassing the check by setting mod=0 in line 88 fixes things for me. Is there really a need to check if the modules are there? Won't iptables itself notice that something is wrong and fail? fw.sh does not generate an error message that the modules are not found, so in my opinion the check is obsolete as has no added benefits.

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by cshore

  • Owner changed from developers to jow
  • Status changed from new to assigned

comment:2 Changed 8 years ago by cshore

  • Component changed from packages to base system

comment:3 Changed 6 years ago by jow

  • Resolution set to fixed
  • Status changed from assigned to closed

Check removed with r28525, r28526

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.