LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-18-2005, 03:25 AM   #1
yufeixiaoyu
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Rep: Reputation: 0
How to detect ADSL user share its network to more pepole


hello,everyone

To prevent more than one user share one ADSL line to conect internet, I want to know whether there is such a software can be used.

I want to run it on lnux box and be free .

also, the principle is provided is very useful

Thanks
Yufei

mail to me : yufeixiaoyu@hotmail.com
 
Old 08-18-2005, 03:34 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
English is probably not your home langauge and I am presuming you need to know how to share an adsl internet connection. Can you confirm this.
 
Old 08-18-2005, 03:56 AM   #3
yufeixiaoyu
LQ Newbie
 
Registered: Sep 2004
Posts: 3

Original Poster
Rep: Reputation: 0
my poor english

thanks for your reply

ADSL user can use NAT technology to share his line to others,

Now, I have heard a few method

1,check the MAC address in every IP pakage,if there are many diffrent MAC address,so he share his ineternet connection.

2, scan port 161 with snmp to check the LIB

3, check sessions

etc......

I only to get such a software with GPL

Help me and excue my poor english

thanks

yufei

yufeixiaoyu@hotmail.com
 
Old 08-18-2005, 04:47 AM   #4
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
The most commonly used method is ip-masquerading. This page provides most of the background on achieving this. I personally use ip-masquerading in conjunction with MonMotha's firewall script .
Basic rules are that the ethernet card (eth0)connected to the adsl modem/router must be on a different subnet address to the ethernet card (eth1) attached to the lan. The box connected to the modem/router via eth0 uses the ip-address of the router as the gateway and all boxes attached to eth1 use the ip-address of eth1 as the gateway.
 
Old 08-18-2005, 09:49 AM   #5
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
As I understand his posts, he actually wants to detect that someone is using NAT/masquerading/whatever else to share the DSL connection. He needs something that will inspect the network traffic from some IP, and gives an alert whenever it appears that multiple PCs are behind this IP address.

I don't have the solution, though.

Yves.
 
Old 08-18-2005, 10:24 AM   #6
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
If you want to determine whether users are behind a NAT system then good luck. You'll find a technical discussion on this here and from what is said this is extremely complex and none too accurate.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
adsl-setup or adsl-start not found as user! bnchakraborty Linux - Newbie 2 01-18-2008 10:23 PM
How to share ADSL with linux? tadziu23 Linux - Networking 3 11-16-2005 04:19 PM
Share Adsl Connection With Windows Xp myk3 Linux - Networking 3 11-16-2003 09:47 PM
Help-MK 9.1 cannot detect usb adsl modem tanchu Linux - Hardware 1 11-14-2003 11:51 AM
ADSL USB Share Internet over eth0 gbg Linux - Networking 0 08-13-2003 06:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration