🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nl.comp.os.linux.netwerken
Article #102

Re: Hoe maak ik 192.168.0.1 zonder netwerkkaart ??

#102
From: Henri Karrenbeld
Date: Wed, 23 Feb 2000 00:00
35 lines
1989 bytes
qhpxvr@abqr0911.n2000.ay.invalid (Arjan Drieman) writes:

>On Tue, 22 Feb 2000 22:54:36 GMT, mike <a@b.c> wrote:
>>>>En ook geen lo, localhost of 127.0.0.1 in het script ??
>>>
>>>Ja, evt. tegen ip spoofing.
>>
>>2.2 kernels droppen toch automatisch de pakketten die van buitenaf
>>komen maar toch source 127.0.0.0/8 hebben?

>Alleen als je source address verification gebruikt.  Je kan bijvoorbeeld
>dit doen:

>if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]; then
>  echo -n "Setting up IP spoofing protection with rp_filter..."
>  for f in /proc/sys/net/ipv4/conf/*/rp_filter; do
>    echo 1 > $f
>  done
>  echo "done."
>else
>  echo -n "Setting up IP spoofing protection with ipchains..."
>  ipchains -A input -i ! lo -s 127.0.0.0/8 -j DENY
>  echo "done."
>fi

Als je ip-forwarding aan hebt staan (bijv. als je ip masquerading draait)
dan staat die rp_filter feature sowieso al aan (dat staat ook ergens in de 
documentatie).

$) H
--
Hardware, n.: The parts of a computer system that can be kicked. -- nn.
There are no thoughts too radical for a people to view; there are just some
people too radical to control the thoughts of others --
    JMS - Great Maker of Babylon 5.
Technical Details
Message-ID: <890otm$3hv$1@dinkel.civ.utwente.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <38B24B7A.3DB1C3A@casema.net> <slrn8b4jeo.l6m.qhpxvr@node0911.a2000.nl> <38B25614.58545E9A@casema.net> <slrn8b59h4.mbj.qhpxvr@node0911.a2000.nl> <38b31351.23260926@news.wxs.nl> <slrn8b6h90.qbj.qhpxvr@node0911.a2000.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102510,6fed36878d04a98c
X-Google-Attributes: gid102510,public
X-Google-Thread: 1049e4,6fed36878d04a98c
X-Google-Attributes: gid1049e4,public
From: ishtar@cal044202.student.utwente.nl (Henri Karrenbeld)
Subject: Re: Hoe maak ik 192.168.0.1 zonder netwerkkaart ??
Date: 2000/02/23
Message-ID: <890otm$3hv$1@dinkel.civ.utwente.nl>
X-Deja-AN: 588834146
References: <38B24B7A.3DB1C3A@casema.net> <slrn8b4jeo.l6m.qhpxvr@node0911.a2000.nl> <38B25614.58545E9A@casema.net> <slrn8b59h4.mbj.qhpxvr@node0911.a2000.nl> <38b31351.23260926@news.wxs.nl> <slrn8b6h90.qbj.qhpxvr@node0911.a2000.nl>
Organization: Monolith BBS!
X-Server-Date: 23 Feb 2000 13:56:06 GMT
Newsgroups: nl.comp.os.linux.netwerken,casema.linux