Hi, I have received a patch that solves a bug on ixp4xx ARM architectureused on some Linksys. This patch fixes the problem in the iptableslibrary of the port knocking module. The bug causes that port knockingsequence is not property parsed. For example, without this patch youwould get 0,2,0,4,0,6 instead of the port sequence 1,2,3,4,5,6. Thanks Piotr Gasidło for the patch. Regards, Index: portknocko/iptables/libipt_pknock.c===================================================================--- portknocko/iptables/libipt_pknock.c (revision 456)+++ portknocko/iptables/libipt_pknock.c (working copy)@@ -71,6 +71,8 @@ int i; int ret; + unsigned int port;+ if (ports == NULL) return 1; if ((str = strdup(ports)) == NULL) return 2;@@ -80,11 +82,12 @@ token = strtok(NULL, delim), i++, port_buf++) { ret = string_to_number(token, 0, 65535,- (unsigned int *)port_buf);+ &port); if (ret == -1) { if (str) free(str); return 3; }+ *port_buf = port; #if DEBUG printf("port[%d]: %d\n", i, *port_buf); #endif -- Federico /* * J. Federico Hernandez Scarso (fender) {frozenspot at gmail dot com} * GPG PubKey: wwwkeys.eu.pgp.net key 6AE78BF2 * FP: 26AB 7A1B C2C4 70F8 0E7D C3F4 9736 5CE2 6AE7 8BF2 */˙ôčş{.nÇ+?ˇ?Ž??+%?Ë˙ąéÝśĽ?w˙ş{.nÇ+?ˇ§z×â?׍ýׯz_â?Ř^n?rĄöŚzË?ëh?¨čÚ&ŁűŕzżäzšŢ?ú+?Ę+zfŁ˘ˇh??§~??Űi˙˙ď?ę˙?ęçz_čŽćj:+v?¨ţ)ߣřm