Re: iptables rules for cups printer discovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/14/2008 8:53 PM, Jan Engelhardt wrote:
Nope that would not work because the source and destination addresses are flipped on return packets, and then you even have the .255 thing.

Ah. I forgot about the fact that recent only dealt with the source IP and that you could not specify source or dest in the set / update / check parameters to recent. :(

That smells like a feature request - me to the rescue! (I think that would be much preferable over having a ton of connection helpers)

*nod* It would be very nice to be able to specify whether or not the given recent list is suppose to use the source or dest IP. I wonder if it would be possible to add a new flag that indicates act on the destination IP. That way it would be possible to default to just source like it currently is but still be able to specify dest when desired. I suppose to make things clean it would be better to add a flag to indicate source and use that flag as the default when no flag is specified.



Grant. . . .
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux