jvinet / knock

A port-knocking daemon
http://www.zeroflux.org/projects/knock
GNU General Public License v2.0
549 stars 113 forks source link

knockd throws pcap syntax error on Asuswrt-Merlin #64

Open pjm111 opened 4 years ago

pjm111 commented 4 years ago

After installing and configuring knockd 0.7.8.1 from Entware on a router running Asuswrt-Merlin, I see the following error when attempting to start knockd: pcap: can't parse filter expression: syntax error

The knockd start attempt was with the following command line: /opt/sbin/knockd -d -c '/opt/etc/knockd.conf' -i eth0

A web search reveals a possibly related issue being discussed here: https://forums.opensuse.org/showthread.php/536111-Knockd-unable-to-start-after-upgrade-from-15-0-to-15-1

Is this error a known problem and is there a fix on the way? Does Entware have access to the latest knockd build?

TDFKAOlli commented 4 years ago

@pjm111 The problem shall be fixed with pull request #55 . Please try again with a build.

Background has already be found in that discussion thread, the uninitialized flags variables. As this is fixed in pull #55, you can close this issue.