From: Nagy Zoltan <kirk@elte.hu>
To: netfilter@lists.netfilter.org
Subject: can i alter the icmp redirects source address?
Date: Thu, 14 Apr 2005 23:32:09 +0159 [thread overview]
Message-ID: <425EE16F.9040108@elte.hu> (raw)
hi
i'm searching for a module which can alter the source ip in the icmp redirect messages, because we have 2 networks in our lan,
and i don't want the firewall to route those packets thru
i've an arp-proxy based fw, and it has no ip's in the the 2 subnets, where the clients sitting, it increases ttl, and sends arp request with 0.0.0.0 source address,
and the only thing i miss is that to modify the icmp-redirect packets to look like it's source address is our router, because icmp redirects is only accepted if it comes
from a first hop router...and 10.0.0.2 is'nt it ;)
i've thinked on taking up our router address to send the redirects as it should be, but in this case if the user ping our router...
he can only be sure that our firewall is up, and not our router...
i've putted some extra options in our dhcp server's option list so MS-XP's are able to route to the other subnet and communicate thru that way but this is
only a half solution it would be best if i can send the redirects with the router's ip and forget the what's the user want's to send thru it...i don let the packages
thru the wall..i'we just let the tcp syn's and 1 udp/sec to get routeing decision and generate the redirect message,
then drop away ( i know that rfc say's that the router have to only notify the user about the better route, but i don't to see
that traffic on that system...)
another idea was to change the clients router to 10.0.0.2 and add a route for them to 10.0.0.2, but i don't like this to much ;)
how can i send hose packet with the right source, or any other solution?
kirk
reply other threads:[~2005-04-14 21:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=425EE16F.9040108@elte.hu \
--to=kirk@elte.hu \
--cc=netfilter@lists.netfilter.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 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.