All of lore.kernel.org
 help / color / mirror / Atom feed
* REJECT target
@ 2003-06-25  0:39 DarKRaveR
  2003-06-25  7:17 ` Jozsef Kadlecsik
  0 siblings, 1 reply; 10+ messages in thread
From: DarKRaveR @ 2003-06-25  0:39 UTC (permalink / raw)
  To: netfilter-devel

Hello netfilter-devel list,

  I know this is not really a developers question, but maybe the
  developers are the right people at hand, to explain this.
  From what I read, the REJECT target is only valid in
  INPUT/OUPUT/FORWARD. Is there any particular reason why ? I read in
  one of the tutorials, that you wouldn't need it at any other place,
  but I think this is not perfectly true.

-- 
Best regards,
 DarKRaveR                          mailto:DarKRaveR@habitat-b.de

^ permalink raw reply	[flat|nested] 10+ messages in thread
* REJECT target
@ 2003-04-10 19:23 Peteris Krumins
  0 siblings, 0 replies; 10+ messages in thread
From: Peteris Krumins @ 2003-04-10 19:23 UTC (permalink / raw)
  To: netfilter

Hello netfilter,

 Holy christ, i relied i could REJECT packets in any table, but
 unfortunately after launching the program i was working on i got
 ugly 'iptables: Invalid argument' after executing
 `iptables -A PREROUTING -t mangle .. -j REJECT`

 why cant i put -j REJECT in the PREROUTING chain of mangle table?

 Manual says it makes no sense, but it makes sense for me.
 
 I mark certain packets (-j MARK) in the mangle table, and those
 which are not marked should be REJECTed.
 The only way, i think, i can solve it is using FORWARD and INPUT
 chains of the filter table. Match any not marked packets in these
 chains and REJECT from there. But this adds some extra time (packet
 has to traverse other chain) and i have to duplicate the rules
 (because of putting on both INPUT and FORWARD).

 Is there a patch or smth to this problem, or it cant be done (REJECT
 in mangle)?

 
P.Krumins



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-06-26 15:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-25  0:39 REJECT target DarKRaveR
2003-06-25  7:17 ` Jozsef Kadlecsik
2003-06-25 14:13   ` Re[2]: " DarKRaveR
2003-06-26  6:40     ` Jozsef Kadlecsik
2003-06-26 10:14       ` Maciej Soltysiak
2003-06-26 10:31         ` Jozsef Kadlecsik
2003-06-26 14:56       ` Re[3]: " DarKRaveR
2003-06-26 15:19         ` Patrick Schaaf
2003-06-26 15:20         ` Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2003-04-10 19:23 Peteris Krumins

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.