mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-22 12:34:58 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5f6cbbc663 | ||
![]() |
a2676585da | ||
![]() |
4a8aab6aed |
@@ -1,4 +1,4 @@
|
|||||||
AC_INIT([xtables-addons], [1.44])
|
AC_INIT([xtables-addons], [1.45])
|
||||||
AC_CONFIG_AUX_DIR([build-aux])
|
AC_CONFIG_AUX_DIR([build-aux])
|
||||||
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
||||||
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
@@ -3,6 +3,16 @@ HEAD
|
|||||||
====
|
====
|
||||||
|
|
||||||
|
|
||||||
|
v1.45 (2012-07-16)
|
||||||
|
==================
|
||||||
|
Fixes:
|
||||||
|
- build: export missing functions
|
||||||
|
(fixes: "WARNING 'xtnu_ipv6_find_hdr' [xt_TARPIT.ko] not found")
|
||||||
|
- build: avoid use of unexported functions
|
||||||
|
(fixes: "WARNING 'ipv6_find_hdr' [xt_TARPIT.ko] not found"
|
||||||
|
in <= linux-2.6.37)
|
||||||
|
|
||||||
|
|
||||||
v1.44 (2012-07-15)
|
v1.44 (2012-07-15)
|
||||||
==================
|
==================
|
||||||
Fixes:
|
Fixes:
|
||||||
|
@@ -623,6 +623,7 @@ int xtnu_ipv6_skip_exthdr(const struct sk_buff *skb, int start,
|
|||||||
{
|
{
|
||||||
return ipv6_skip_exthdr(skb, start, nexthdrp);
|
return ipv6_skip_exthdr(skb, start, nexthdrp);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(xtnu_ipv6_skip_exthdr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0) && defined(WITH_IPV6)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0) && defined(WITH_IPV6)
|
||||||
@@ -631,6 +632,7 @@ int xtnu_ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
|
|||||||
{
|
{
|
||||||
return ipv6_find_hdr(skb, offset, target, fragoff);
|
return ipv6_find_hdr(skb, offset, target, fragoff);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(xtnu_ipv6_find_hdr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
@@ -374,16 +374,15 @@ static void tarpit_tcp6(struct sk_buff *oldskb, unsigned int hook,
|
|||||||
ip6h->daddr = oip6h->saddr;
|
ip6h->daddr = oip6h->saddr;
|
||||||
|
|
||||||
/* Adjust IP TTL */
|
/* Adjust IP TTL */
|
||||||
if (mode == XTTARPIT_HONEYPOT)
|
if (mode == XTTARPIT_HONEYPOT) {
|
||||||
ip6h->hop_limit = 128;
|
ip6h->hop_limit = 128;
|
||||||
else
|
} else {
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
|
||||||
ip6h->hop_limit = ip6_dst_hoplimit(skb_dst(nskb));
|
ip6h->hop_limit = ip6_dst_hoplimit(skb_dst(nskb));
|
||||||
#else
|
#else
|
||||||
ip6h->hop_limit = dst_metric(dst, RTAX_HOPLIMIT);
|
ip6h->hop_limit = dst_metric(skb_dst(nskb), RTAX_HOPLIMIT);
|
||||||
if (ip6h->hop_limit < 0)
|
|
||||||
ip6h->hop_limit = ipv6_get_hoplimit((skb_dst(nskb))->dev).
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
tcph = (struct tcphdr *)(skb_network_header(nskb) +
|
tcph = (struct tcphdr *)(skb_network_header(nskb) +
|
||||||
sizeof(struct ipv6hdr));
|
sizeof(struct ipv6hdr));
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
.TH xtables-addons 8 "v1.44 (2012-07-15)" "" "v1.44 (2012-07-15)"
|
.TH xtables-addons 8 "v1.45 (2012-07-16)" "" "v1.45 (2012-07-16)"
|
||||||
.SH Name
|
.SH Name
|
||||||
Xtables-addons \(em additional extensions for iptables, ip6tables, etc.
|
Xtables-addons \(em additional extensions for iptables, ip6tables, etc.
|
||||||
.SH Targets
|
.SH Targets
|
||||||
|
Reference in New Issue
Block a user