All of lore.kernel.org
 help / color / mirror / Atom feed
* Can it realize that redirect  on  Brige?!
@ 2003-05-19  4:09 Dec0y
  2003-05-19 13:11 ` Eicke Friedrich
  2003-05-19 18:13 ` Bart De Schuymer
  0 siblings, 2 replies; 3+ messages in thread
From: Dec0y @ 2003-05-19  4:09 UTC (permalink / raw)
  To: netfilter-devel

Can it realize that redirect  on  Brige?!

My config as follow:

ifconfig
br0       Link encap:Ethernet  HWaddr 00:AA:CD:00:02:37  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:380 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2040848 (1.9 Mb)  TX bytes:22215 (21.6 Kb)

eth0      Link encap:Ethernet  HWaddr 00:AA:CD:00:02:37  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:16582 errors:0 dropped:0 overruns:16566 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:2190125 (2.0 Mb)
          Interrupt:11 Base address:0xe000 

eth1      Link encap:Ethernet  HWaddr 00:AA:CD:00:02:38  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:129092 errors:0 dropped:0 overruns:0 frame:2
          TX packets:380 errors:0 dropped:0 overruns:0 carrier:0
          collisions:26 txqueuelen:100 
          RX bytes:107081665 (102.1 Mb)  TX bytes:22209 (21.6 Kb)
          Interrupt:10 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

and When I add a policy as follow:

iptables -t nat -A PREROUTING -j REDIRECT --to  1080


my kernel panic!

 

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

* Re: Can it realize that redirect  on  Brige?!
  2003-05-19  4:09 Can it realize that redirect on Brige?! Dec0y
@ 2003-05-19 13:11 ` Eicke Friedrich
  2003-05-19 18:13 ` Bart De Schuymer
  1 sibling, 0 replies; 3+ messages in thread
From: Eicke Friedrich @ 2003-05-19 13:11 UTC (permalink / raw)
  To: Dec0y; +Cc: netfilter-devel

Dec0y wrote:
> iptables -t nat -A PREROUTING -j REDIRECT --to  1080
> my kernel panic!
try iptables -t mangle instat of nat because normally you don't use
nat on a bridge.
Hope that helps.


Eicke.

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

* Re: Can it realize that redirect  on  Brige?!
  2003-05-19  4:09 Can it realize that redirect on Brige?! Dec0y
  2003-05-19 13:11 ` Eicke Friedrich
@ 2003-05-19 18:13 ` Bart De Schuymer
  1 sibling, 0 replies; 3+ messages in thread
From: Bart De Schuymer @ 2003-05-19 18:13 UTC (permalink / raw)
  To: Dec0y, netfilter-devel

On Monday 19 May 2003 06:09, Dec0y wrote:
> Can it realize that redirect  on  Brige?!
<snip>
> and When I add a policy as follow:
> 
> iptables -t nat -A PREROUTING -j REDIRECT --to  1080
> my kernel panic!

redirecting on a bridge should normally not be a problem. I'm assuming you are 
using bridge-nf?
What kernel are you using? Can you give a trace on that oops? Is this specific 
to port 1080?

-- 
cheers,
Bart

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

end of thread, other threads:[~2003-05-19 18:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-19  4:09 Can it realize that redirect on Brige?! Dec0y
2003-05-19 13:11 ` Eicke Friedrich
2003-05-19 18:13 ` Bart De Schuymer

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.