From: gummi7@simnet.is
To: netfilter@lists.netfilter.org
Subject: Re: Measuring traffic that goes thrugh a specific IP
Date: Tue, 11 Feb 2003 23:34:08 +0000 [thread overview]
Message-ID: <isapiwc.433ab781.5571.3e498870.68801.cd@postur.simnet.is> (raw)
In-Reply-To: <200302091932.11514.netfilter@newkirk.us>
Oh, yes, traceroute was it.
I know that traceroute can't measure traffic but I was thinking of something like this.
Connect to IP -> traceroute %IP -> grep "The-specified-ip-I-want-to-measure-the-my-traffic-trough" -> if(!grep-returned-none) then measure-traffic.
I know that this is not a shell script nor a program but this is a kind of a flowchart that explains what I want to do and the programs that I know that could be used. This methood is possible, right?
The only problem then is to get a program to pass the IP i'm connecting to, to traceroute. But what can be used to measure then traffic that the "if" tells it to measure. Can I use iptables to do that, or is there another program for linux that does that?
btw, for those of you who don't know the line "if(!grep-returned-none)" means: if grep does _not_ return none
> On Thursday 06 February 2003 07:33 am, gummi7@simnet.is wrote:
>> "If you mean that the specific IP is simply a router somewhere that
>> the traffic 'might happen' to pass through in its travels" That's
>> exactly what I want to do :(
>> I can always find out if a packet passes trough that specifec IP(the
>> one I want to measure, therefore being internatoinal) by using a tool
>> like DOS's "tracert", doesn't that help? Do you know of a program for
>> linux that does what I am trying to do?
>
> "traceroute" is the Linux equivalent of "tracert". It will trace a route
> to a given IP, and note all the IP's along the way. It doesn't let you
> measure traffic from your box that flows through a given IP, though, and
> doesn't assure that your traffic actually follows that exact route.
>
> j
>
next prev parent reply other threads:[~2003-02-11 23:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-02 22:11 Measuring traffic that goes thrugh a specific IP gummi7
2003-02-06 5:39 ` Joel Newkirk
2003-02-06 12:33 ` gummi7
2003-02-10 0:32 ` Joel Newkirk
2003-02-11 23:34 ` gummi7 [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-02-05 20:49 Khanh Tran
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=isapiwc.433ab781.5571.3e498870.68801.cd@postur.simnet.is \
--to=gummi7@simnet.is \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox