| Summary: | snort can not bind to interface other than eth0 | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Dmytro O. Redchuk <dor> |
| Component: | snort | Assignee: | Serge A. Volkov <vserge> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | major | ||
| Priority: | P2 | CC: | oddity, sem |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Починилось ли за почти три года? Думаю, давно :-) Не проверял; у меня именно там -- именно тот snort до сих пор. Посмотрел в init.d/snortd - и вправду починено. Закрываю. |
snort can not bind to interface other than eth0 -- even if "any" requested. This patch should be applied to /etc/rc.d/init.d/snortd: --- snortd 2003-08-27 23:29:58 +0300 +++ snortd.dor 2005-03-22 17:36:50 +0200 @@ -36,7 +36,8 @@ --expect-user snort -- \ snort -u snort -g snort \ -t /var/log/snort \ - $(eval echo $(echo \$`echo ADDPARAMS_$i`)) + $(eval echo $(echo \$`echo ADDPARAMS_$i`)) \ + -i $i RETVAL=$? if [ $RETVAL != 0 ]; then return $RETVAL Steps to Reproduce: 1. Install snort 2. Edit /etc/sysconfig/snort and change INTERFACES=any to INTERFACES=eth1, ADDPARAMS_any to ADDPARAMS_eth1 3. issue `service snortd start' Actual Results: snort will bind to eth0 and write its PID to "/var/run//snort_eth0.pid" Expected Results: :-)