Article View: ch.comp.os.linux
Article #23025Re: Ausgabe von tcpdump; Ich brauch einen Tip...
From: Sven Kirmess
Date: Thu, 15 Apr 1999 00:00
Date: Thu, 15 Apr 1999 00:00
117 lines
3060 bytes
3060 bytes
Robert Jenni wrote:
> der Router deines Providers scheint diese RIP Informationen zu senden.
> Was hast du fuer eine Konfiguration bei dir?
Ich schreib mal auf, was mir einf�llt. FAlls Du noch was wissen willst, lass es
mich wissen.
SuSE 5.2
diald �ber externes ISDN-"Modem" (Zyxel omni.net).
Beim starten wird diald folgendermassen gestartet:
---------------
#! /bin/bash
echo "diald wird initialisiert....."
/usr/sbin/diald \
device /dev/ttyS3 \
-m ppp \
local 127.0.0.3 \
remote 0.0.0.0 \
defaultroute \
lock \
modem \
reroute \
crtscts \
speed 115200 \
dynamic \
disconnect-timeout 120 \
redial-timeout 30 \
connect "/usr/sbin/chat -f /etc/suseppp/datanetworks.chat" \
-- file /etc/suseppp/datanetworks.options
---------------
datanetworks.chat:
ABORT "NO CARRIER"
ABORT BUSY
ABORT "NO DIALTONE"
ABORT ERROR
"" AT
OK AT&F
OK ATB40
OK ATDI3320336
TIMEOUT 60
CONNECT
------------------------
datanetworks.options:
#
# /etc/suseppp
#
# Automatically generated by SuSEconfig on Mon Apr 5 17:08:07 MEST 1999.
#
# PLEASE DO NOT EDIT THIS FILE!
#
# Change variables in /etc/rc.config instead
#
#
#/dev/modem
115200
crtscts
#lock
name "kirmess"
:194.209.30.112
noipdefault
remotename datanetworks.ch
defaultroute
-------------------
/etc/ppp/ip-up:
#! /bin/bash
/usr/local/bin/fetchmail start >>/var/log/messages
/usr/sbin/sendmail -q
exit 0
-------------------------
/etc/ppp/ip-down:
#! /bin/bash
/usr/local/bin/fetchmail stop >>/var/log/messages
exit 0
-------------------------
/usr/local/bin/fetchmail:
#! /bin/bash
#fetchmail -d 60 --monitor ppp0 -L /var/log/fetchmail 2>&1
case "$1" in
start)
echo "Starting fetchmail-daemon"
/usr/bin/fetchmail -d 60 --monitor ppp0 -L /var/log/fetchmail
2>&1
;;
stop)
echo -n "Shutting down fetchmail-daemon"
/usr/bin/fetchmail -quit
echo
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0
---------------------
Um die mails abzuliefern starte ich noch folgendes script:
#! /bin/bash
/usr/local/bin/sendmailq &
-----------------
sendmailq:
#! /bin/bash
while true;
do
if [ -e /var/lock/LCK..ttyS3 ]; then
sendmail -q
fi
sleep 300
done
----------------
Ich starte noch einen socks5 Proxy Server.
Sven
Technical Details
Message-ID:
<37162435.831BF5E5@gmx.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3716092B.D790384F@gmx.net> <37160E48.F511B236@tribut.ch> <37161C30.173BC869@gmx.net> <371621F7.A5722C0B@tribut.ch>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f4b73,598f2e021379e8b7 X-Google-Attributes: gidf4b73,public From: Sven Kirmess <Sven.Kirmess@gmx.net> Subject: Re: Ausgabe von tcpdump; Ich brauch einen Tip... Date: 1999/04/15 Message-ID: <37162435.831BF5E5@gmx.net> X-Deja-AN: 466795807 Content-Transfer-Encoding: 8bit References: <3716092B.D790384F@gmx.net> <37160E48.F511B236@tribut.ch> <37161C30.173BC869@gmx.net> <371621F7.A5722C0B@tribut.ch> Organization: Data-Networks GmbH, Basle X-Server-Date: 15 Apr 1999 17:36:00 GMT Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: ch.comp.os.linux