LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2006, 09:29 AM   #1
posixjunkie
Member
 
Registered: Jan 2004
Location: NJ
Posts: 33

Rep: Reputation: 15
iptables mangle problem


I'm trying to apply the fwmark to for route2.
Quote:
iptables -A PREROUTING -i eth0 -t mangle -p tcp
-j MARK --set-mark 1
MARK: Only supports 32bit wide mark
iptables: Invalid argument
I tried --set-mark 0x1 and 0x01.
What am i doing wrong?

I'm running debian sarge, kernel 2.6.16.
thanks
 
Old 04-25-2006, 10:17 AM   #2
posixjunkie
Member
 
Registered: Jan 2004
Location: NJ
Posts: 33

Original Poster
Rep: Reputation: 15
I fixed this one. It's a bug in the new kernel. It works fine with 2.6.8.
 
  


Reply

Tags
iptables, mark



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
LXer: Spam Filters Mangle Christmas Cards LXer Syndicated Linux News 0 12-09-2005 08:46 PM
Filtering in iptables mangle? MarleyGPN Linux - Networking 1 07-08-2005 01:54 PM
iptables problem shailesh_jain Linux - Security 2 05-25-2004 07:42 AM
iptables problem? poulaum Linux - Networking 12 02-27-2003 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration