Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to avoid users in my LAN to share internet access by using router.

Reply
Thread Tools Display Modes

How to avoid users in my LAN to share internet access by using router.

 
 
goody
Guest
Posts: n/a

 
      02-23-2004, 07:55 AM
Hi all,

I have got LAN network with access to internet by linux router/NAT
(debian 2.4.20), and I found that couple of my users share their
access to another users. That users decrease performance of my network
a lot. I must check and avoid connecting more than one/two computers
behind the users routers (linux or hardware machines).

I heard of using ttl in discovering ruters in the network and reading
http headers to find out more than one internet browsers.

please give me an advise how to do that or an idea where to find out
an answer.

best regards
 
Reply With Quote
 
 
 
 
Owen Jacobson
Guest
Posts: n/a

 
      02-23-2004, 08:00 AM
On Mon, 23 Feb 2004 00:55:12 -0800, goody wrote:

> Hi all,
>
> I have got LAN network with access to internet by linux router/NAT
> (debian 2.4.20), and I found that couple of my users share their
> access to another users. That users decrease performance of my network
> a lot. I must check and avoid connecting more than one/two computers
> behind the users routers (linux or hardware machines).


Can't reliably be done. This is a social problem more than a technical
one. Talk to the users in question. Tell them that you would rather they
didn't provide others with access to your resources, and if they're not
willing to deal with that then they can find another network.

Assuming you're in a position to make that decision, anyways. When you
say "my users", what's the role you have and what's your arrangement or
contract with the users?

> I heard of using ttl in discovering ruters in the network and reading
> http headers to find out more than one internet browsers.


Don't. It's unreliable at best and buggy at worst. You'll never be able
to communicate with those hosts directly (reliably, anyways); the best
you'll manage is to count them, and even that's not going to be perfect.

--
Some say the Wired doesn't have political borders like the real world,
but there are far too many nonsense-spouting anarchists or idiots who
think that pranks are a revolution.

 
Reply With Quote
 
Cameron Kerr
Guest
Posts: n/a

 
      02-23-2004, 06:04 PM
Owen Jacobson <(E-Mail Removed)> wrote:
> On Mon, 23 Feb 2004 00:55:12 -0800, goody wrote:


>> I heard of using ttl in discovering ruters in the network and reading
>> http headers to find out more than one internet browsers.

>
> Don't. It's unreliable at best and buggy at worst. You'll never be able
> to communicate with those hosts directly (reliably, anyways); the best
> you'll manage is to count them, and even that's not going to be perfect.


An alternative way, (and probably not much better), of counting the
number of hosts behind a NAT is to graph the IP ID field. Since this
number increases for every IP packet sent. (It is used for fragmentation
and reassembly.)

Graphing these over time can show, visually, how many hosts there are
behind the NAT. You can see this by counting the number of "strokes"
that are made. You need to account for reinitialisation (reboot) and
counter reset (16-bit).

I've never used this method myself, but the paper looked interesting.

http://www.research.att.com/~smb/papers/fnat.pdf

--
Cameron Kerr
(E-Mail Removed) : http://nzgeeks.org/cameron/
Empowered by Perl!
 
Reply With Quote
 
Alexander Clouter
Guest
Posts: n/a

 
      02-23-2004, 09:22 PM
On 2004-02-23, goody <mk-(E-Mail Removed)> wrote:
> Hi all,
>
> I have got LAN network with access to internet by linux router/NAT
> (debian 2.4.20), and I found that couple of my users share their
> access to another users. That users decrease performance of my network
> a lot. I must check and avoid connecting more than one/two computers
> behind the users routers (linux or hardware machines).
>
> I heard of using ttl in discovering ruters in the network and reading
> http headers to find out more than one internet browsers.
>

Sounds like a horrible solution, better to go with QoS[1] and re-prioritize
the traffic into a very low priority bucket; you could also use the IPTable
patch IPP2P[2] to identify P2P traffic and do the same with that.

This would enable sharing, but limit it to only fill any remaining bandwidth
you have. The alternative is to be blunt with IPP2P and drop all the P2P
traffic outright and this will not be a problem.

Regards

Alex

[1] http://www.lartc.org/
[2] http://rnvs.informatik.uni-leipzig.d.../index_en.html
 
Reply With Quote
 
Stephen S M WONG
Guest
Posts: n/a

 
      02-24-2004, 01:39 AM
Oh, it's almost impossible. The design of the TCP/IP is
that you can extend a network almost without restriction,
and we all are now enjoying this benefit. Major carriers
are leasing bandwidth to big ISPs, and ISPs are leasing
bandwidth to lower tier ISPs, and we are ultimately
connected to the Internet. You're effectively an n+1 tier
ISP, providing TCP/IP service to your users, and your users
are n+2 tier ISP, providing TCP/IP service to their users.
You all run NAT!

If you have a sure kill method to detect further sharing, I
bet most ISPs will employ the method in the first place, in
order to earn more money!

My 2 cents.

Stephen Wong @ Hong Kong.

On Mon, 23 Feb 2004, goody wrote:

> Hi all,
>
> I have got LAN network with access to internet by linux router/NAT
> (debian 2.4.20), and I found that couple of my users share their
> access to another users. That users decrease performance of my network
> a lot. I must check and avoid connecting more than one/two computers
> behind the users routers (linux or hardware machines).
>
> I heard of using ttl in discovering ruters in the network and reading
> http headers to find out more than one internet browsers.
>
> please give me an advise how to do that or an idea where to find out
> an answer.
>
> best regards
>

 
Reply With Quote
 
goody
Guest
Posts: n/a

 
      02-24-2004, 08:11 AM
Yes, ip_p2p sounds great to find and manage p2p. Lins wich you send me
provide a lot of extra informations.

Martin

Użytkownik "Alexander Clouter" <(E-Mail Removed)> napisał w
wiadomo¶ci news:(E-Mail Removed)...
> On 2004-02-23, goody <mk-(E-Mail Removed)> wrote:
> > Hi all,
> >
> > I have got LAN network with access to internet by linux router/NAT
> > (debian 2.4.20), and I found that couple of my users share their
> > access to another users. That users decrease performance of my network
> > a lot. I must check and avoid connecting more than one/two computers
> > behind the users routers (linux or hardware machines).
> >
> > I heard of using ttl in discovering ruters in the network and reading
> > http headers to find out more than one internet browsers.
> >

> Sounds like a horrible solution, better to go with QoS[1] and

re-prioritize
> the traffic into a very low priority bucket; you could also use the

IPTable
> patch IPP2P[2] to identify P2P traffic and do the same with that.
>
> This would enable sharing, but limit it to only fill any remaining

bandwidth
> you have. The alternative is to be blunt with IPP2P and drop all the P2P
> traffic outright and this will not be a problem.
>
> Regards
>
> Alex
>
> [1] http://www.lartc.org/
> [2] http://rnvs.informatik.uni-leipzig.d.../index_en.html



 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network share access problem for certain users debbie_thomson@yahoo.com Windows Networking 2 02-11-2006 05:13 PM
Users unable to access network share via vpn Adanali Windows Networking 4 08-07-2005 11:16 AM
Logging users internet access baud.barf Linux Networking 1 02-19-2005 03:00 PM
Enabling Internet Access for 'Limited Account' users Subbarayudu Wireless Networks 5 01-12-2005 04:25 AM
Want small Access Point to share Internet Access during travel Chris Wireless Internet 2 11-18-2003 12:32 AM



1 2 3 4 5 6 7 8 9 10 11