| To: | hadi@xxxxxxxxxx |
|---|---|
| Subject: | Re: IMQ / new Dummy device post. |
| From: | Andy Furniss <andy.furniss@xxxxxxxxxxxxx> |
| Date: | Sun, 18 Apr 2004 22:31:35 +0100 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <1082322448.1041.329.camel@xxxxxxxxxxxxxxxx> |
| References: | <407E5905.9070108@xxxxxxxxxxxxx> <1082031313.1039.13.camel@xxxxxxxxxxxxxxxx> <407EE3E5.8060200@xxxxxxxxxxxxx> <1082087553.1035.287.camel@xxxxxxxxxxxxxxxx> <4080356F.4020609@xxxxxxxxxxxxx> <1082145341.1026.125.camel@xxxxxxxxxxxxxxxx> <40810957.6030209@xxxxxxxxxxxxx> <1082203795.1043.18.camel@xxxxxxxxxxxxxxxx> <4081A824.5020107@xxxxxxxxxxxxx> <1082298480.1041.94.camel@xxxxxxxxxxxxxxxx> <4082AE45.7030101@xxxxxxxxxxxxx> <4082E66D.2020707@xxxxxxxxxxxxx> <1082322448.1041.329.camel@xxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 |
jamal wrote: On Sun, 2004-04-18 at 16:34, Andy Furniss wrote:Hmm second thoughts - if I can route packets to dummy after demasquerade then I don't need to mark - I can use u32 as I do now to seperate per IP. Am I missing something here?The problem is dummy had some speacial reason for existence in the olddays of slip/ppp dummy acts as blackhole; some apps insist(ed) on getting a static IP addresson primary interface when you are offline. So people would typically setup routes to the dummy device where packets just get swalloed. I have a feeling there are people who still use this functionality somewhere in the globe (sorry i am from .ca dont know what that means anymore;->). And i dont want to break this functionality. So what i was thinking is i will have dummy spare any fwmarked packets and reinject them back. I think this would still be a solution for me - I allready mark everything coming in on ppp0 in prerouting filter (pre demasquerade) into three classes - interactive, new and bulk. I then use u32 to further share bulk per dst IP post demasquerade on the HTB/IMQ. So as long as I can route to dummy post demasquerade I don't need IMQ. This would be alot better than messing around with connmark. Andy. Another alternative is to just fsck this backward compatibility mode because people could use blackhole routes today. Yet another alternative is to create a brand new device and call it something like imq2. For such little code, this may be overkill. cheers, jamal |
| Previous by Date: | Re: IMQ / new Dummy device post., Martin Josefsson |
|---|---|
| Next by Date: | Re: IMQ / new Dummy device post., Andy Furniss |
| Previous by Thread: | Re: IMQ / new Dummy device post., jamal |
| Next by Thread: | Re: IMQ / new Dummy device post., Andy Furniss |
| Indexes: | [Date] [Thread] [Top] [All Lists] |