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 12-23-2003, 09:09 AM   #1
freelinuxcpp
Member
 
Registered: Jul 2003
Posts: 129

Rep: Reputation: 15
Ip spoofing !!


how to detect an ip spoofing ? , is there a way to do this and know someone is pretending beeing someone else ?
thnx

Last edited by freelinuxcpp; 12-23-2003 at 09:18 AM.
 
Old 12-23-2003, 09:56 AM   #2
conceptx
Member
 
Registered: Dec 2003
Distribution: Slackware 10, Windows XP Pro
Posts: 33

Rep: Reputation: 15
I wish you luck in finding the solution dude though don't expect the bosses to understand that much. Oh by the way I am sorry I am a newbie so I can't be of much help.
Ta
 
Old 12-23-2003, 11:38 AM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Well you really can't do a whole lot about it if the attacker is outside your network and using IPs outside your network. The good news is that it's somewhat difficult to have a TCP connection spoof IPs, since you need to know both sides of it.

What you can do is setup your firewall rules so you never allow one of your networks on the wrong side of your firewall. Your external interface should block incoming packets "from" your internal network, and vis versa. It's also a good idea to block all the RFC1918 networks on your Internet interface, as well as the bogon networks.
 
Old 03-01-2004, 11:15 AM   #4
basbosco
Member
 
Registered: Nov 2003
Posts: 33

Rep: Reputation: 15
how to prevent bogon network

HI

I am struggling to prevent the bogus list ..I am getting teh bogus mail in /var/spool/mail list.. I don'nt know how to prevent the bogus list?

Kindly help me to prevent ..

How to prevent the bogon network in the iptables ?

How to prevent Dos attack?

I am waiting for ur reply. Thank u very much.

Regards
Basbosco
 
Old 03-01-2004, 01:08 PM   #5
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
There is a built-in spoofing filter in /proc/sys/net/ipv4/conf/all/rp_filter.

This is designed to drop packets from spoofed addresses automatically.
In /etc/sysctl.conf add net.ipv4.conf.default.rp_filter = 1 to have it start at boot..
and echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter to make itactive immediately..

As far as the bogus emails are concerned, what exactly are you receiving?

DOS prevention can be handled with an iptables rule, eg
iptables -t nat -I PREROUTING -i ethx -m ! limit --limit 10/sec --limit-burst 10 -j DROP
This drops any new packets of any kind if more than 10 per second come in.
10 is a low number, so do iptables-save -c to see how many packets have been dropped by the rule and make the 10 a bit bigger for normal usage..
Be aware though, that flooding your internet connection cannot be prevented at your end, you need help from the ISP..
But your pc won't curl up and die from the traffic...

Last edited by peter_robb; 03-01-2004 at 01:33 PM.
 
  


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
E-mail spoofing watashiwaotaku7 General 1 02-26-2005 12:55 AM
IP spoofing prinski Linux - Security 2 03-25-2004 12:27 PM
IP spoofing tied2 Linux - Security 4 07-30-2002 07:55 AM
IP Spoofing robeb Linux - Security 2 06-25-2002 12:08 AM
IP spoofing in Linux zLinuxz Linux - Security 1 04-19-2002 10:57 AM

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

All times are GMT -5. The time now is 07:47 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