Re: Eine Frage an serialle nullmodem verbindungen

From: Marisa <wirspinnen(at)yahoo.com>
Date: Wed, 22 Jan 2003 07:55:50 -0800 (PST)

Ich glaube ich habe ein Extra-Problem.

Meine FreeBSD Maschine funktioniert als ein TCP-Proxy.
Darum sind Feilen "ip_output.c" und "ip_input.c"
geändert. An beiden Feilen, kontrolliere ich von
welcher Ethernetkarte die IP-Packets an/auskommen und
was wird gemacht.
Als ich es verstehe,wenn ich IPFIREWALL und DUMMYNET
Optionen benutze, dann werden sich andere
Funktionen/Teile von ip_input.c und ip_output.c
verwenden und dass wass schon von geändert ist,
vielleicht wird kein Effect haben.
       
 
> Mit sowas kommst du für die Anwendung aus:
> ipfw pipe 10 config bw 10KBytes/s
> ipfw pipe 20 config bw 10KBytes/s
> ipfw add pipe 10 ip from any to any in via fxp1
> ipfw add pipe 20 ip from any to any out via fxp1
>
> Damit ist dann die Kommunikation über das
> Ethernetinterface fxp1
> sowohl eingehend, als auch ausgehend auf 10KBytes/s
> begrenzt.
> Im Kernel brauchst du dann:
> options IPFIREWALL
> options IPFIREWALL_DEFAULT_TO_ACCEPT
> options DUMMYNET
>
> Eine Seriele zu konfigurieren ist auch nicht schwer,
> aber halt weniger
> Effizient.
> Und wenn du später Bedarf hast, dann kannst du mit
> Dummynet leicht
> einzelne Services anders Behandeln.
>
> PS: Deine Mailsoftware hat die Nachricht als ASCII
> deklariert, da gibt
> es keine Umlaute.
>
> --
> B.Walter COSMO-Project
> http://www.cosmo-project.de
> ticso(at)cicely.de Usergroup
> info(at)cosmo-project.de
>

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 22 Jan 2003 - 16:56:25 CET

search this site