From: Alessandro Suardi <alessandro.suardi@gmail.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: Hiroyuki Kawakatsu <hkawakat@gmail.com>,
Kyle Moffett <kyle@moffetthome.net>,
Eric Dumazet <eric.dumazet@gmail.com>,
David Miller <davem@davemloft.net>,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH] ipv4: fix fib metrics
Date: Sun, 29 May 2011 00:00:17 +0200 [thread overview]
Message-ID: <BANLkTi=8aBj8QRr+RgH=enL1vVuQq61Avg@mail.gmail.com> (raw)
In-Reply-To: <1306488451.2029.107.camel@i7.infradead.org>
[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]
On Fri, May 27, 2011 at 11:27 AM, David Woodhouse <dwmw2@infradead.org> wrote:
> On Fri, 2011-03-25 at 02:25 +0100, Alessandro Suardi wrote:
>>
>> ...which didn't take that long - one last bugging question and I'm happily
>> off to sleep; does ipid always come in the form of 0x followed by four
>> bytes representing hex values ? In a perhaps inelegant but working way
>> (I'm now writing through the VPN tunnel),
>>
>> sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit
>> [0-9]\+//g;s/ipid 0x....//g'
>>
>> appears to be Work For Me (TM).
>
> Please could I have a tested patch for vpnc-script?
>
> It now lives in its own repository at
> git://, http://git.infradead.org/users/dwmw2/vpnc-scripts.git because
> it's used by openconnect too, and has had various bug fixes for
> cross-platform support and IPv6 since it was forked from vpnc.
I downloaded the git version and checked - the one I use is the Fedora
version which seems updated to perhaps two revisions behind git...
anyway, attaching (in order to not mangle whitespace) the one-liner
change that I've been using since without issues - to the point that I
actually forgot having patched the script...
--alessandro
"There's always a siren singing you to shipwreck"
(Radiohead, "There There")
[-- Attachment #2: vpnc-script.diff --]
[-- Type: application/octet-stream, Size: 410 bytes --]
--- vpnc-scripts-9239bd8/vpnc-script 2010-02-23 19:11:53.000000000 +0100
+++ vpnc-scripts-new/vpnc-script 2011-05-28 23:49:28.000000000 +0200
@@ -139,7 +139,7 @@
if [ -n "$IPROUTE" ]; then
fix_ip_get_output () {
- sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g'
+ sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit [0-9]\+//g;s/ipid 0x....//g'
}
set_vpngateway_route() {
next prev parent reply other threads:[~2011-05-28 22:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 15:08 regression: ip r change mss doesn't work in 2.6.38-git14 Alessandro Suardi
2011-03-24 15:21 ` Eric Dumazet
2011-03-24 15:52 ` Alessandro Suardi
2011-03-24 16:15 ` Eric Dumazet
2011-03-24 17:01 ` [PATCH] ipv4: fix fib metrics Eric Dumazet
2011-03-24 18:14 ` Alessandro Suardi
2011-03-24 18:45 ` Eric Dumazet
2011-03-24 22:11 ` Alessandro Suardi
2011-03-24 22:18 ` Eric Dumazet
2011-03-24 22:27 ` Alessandro Suardi
2011-03-24 22:32 ` Eric Dumazet
2011-03-24 22:36 ` David Miller
2011-03-24 22:44 ` Eric Dumazet
2011-03-25 0:12 ` Alessandro Suardi
2011-03-25 0:22 ` David Miller
2011-03-25 0:53 ` Kyle Moffett
2011-03-25 1:04 ` Alessandro Suardi
2011-03-25 1:25 ` Alessandro Suardi
2011-05-27 9:27 ` David Woodhouse
2011-05-28 22:00 ` Alessandro Suardi [this message]
2011-03-24 18:59 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTi=8aBj8QRr+RgH=enL1vVuQq61Avg@mail.gmail.com' \
--to=alessandro.suardi@gmail.com \
--cc=davem@davemloft.net \
--cc=dwmw2@infradead.org \
--cc=eric.dumazet@gmail.com \
--cc=hkawakat@gmail.com \
--cc=kyle@moffetthome.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).