Snort mailing list archives
RE: Forcing mudpit to use a special port for stunne l
From: "McGuire, Dennis" <dmcguire () brierley com>
Date: Tue, 25 May 2004 06:12:46 -0500
Never tried mudpit with stunnel; I rely on ssh port forwarding (i.e. posted below) & mudpit enjoys itself. Maybe that'll get you where you want. # Source function library. . /etc/rc.d/init.d/functions [ -f /etc/mudpit.conf ] || exit 1 # See how we were called. case "$1" in start) echo -n "Starting mudpit: " ssh -2 -N -f -L 3306:xxx.xxx.xxx.xxx:3306 user () xxx xxx xxx xxx /usr/local/bin/mudpit echo ;; stop) echo -n "Stopping mudpit: " killproc mudpit kill -9 `pidof ssh` echo ;; restart) $0 stop $0 start ;; status) status mudpit ;; *) echo "Usage: $0 {start|stop|restart|status}" exit 1 esac exit 0 -----Original Message----- From: Maetzky, Steffen (Extern) [mailto:Steffen.Maetzky () gedas de] Sent: Tuesday, May 25, 2004 3:31 AM To: 'snort-users () lists sourceforge net' Subject: [Snort-users] Forcing mudpit to use a special port for stunnel Hi all, I try to set up mudpit with stunnel but I ran into a problem which I can't solve. I'd like to use the following scheme: (sensor) 3306--3307---(stunnel)---3307--3306 (database) The problem seems to be that mudpit use a random(?) port instead of 3306 which is expected by stunnel. I have tried to add port 3306 to the output line of mudpit but without success. I can't find the right option and mudpit failes to start. Anyone out there who use mudpit with stunnel and can help me? Does Redhat 9 have a general possibility to force an application to use a special port? Thanks in advance, Steffen ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- RE: Forcing mudpit to use a special port for stunne l McGuire, Dennis (May 25)