nf_conntrack_l3proto_ipv4.c 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544
  1. /* (C) 1999-2001 Paul `Rusty' Russell
  2. * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org>
  3. * (C) 2006-2012 Patrick McHardy <kaber@trash.net>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. */
  9. #include <linux/types.h>
  10. #include <linux/ip.h>
  11. #include <linux/netfilter.h>
  12. #include <linux/module.h>
  13. #include <linux/skbuff.h>
  14. #include <linux/icmp.h>
  15. #include <linux/sysctl.h>
  16. #include <net/route.h>
  17. #include <net/ip.h>
  18. #include <linux/netfilter_ipv4.h>
  19. #include <net/netfilter/nf_conntrack.h>
  20. #include <net/netfilter/nf_conntrack_helper.h>
  21. #include <net/netfilter/nf_conntrack_l4proto.h>
  22. #include <net/netfilter/nf_conntrack_l3proto.h>
  23. #include <net/netfilter/nf_conntrack_zones.h>
  24. #include <net/netfilter/nf_conntrack_core.h>
  25. #include <net/netfilter/nf_conntrack_seqadj.h>
  26. #include <net/netfilter/ipv4/nf_conntrack_ipv4.h>
  27. #include <net/netfilter/nf_nat_helper.h>
  28. #include <net/netfilter/ipv4/nf_defrag_ipv4.h>
  29. #include <net/netfilter/nf_log.h>
  30. static bool ipv4_pkt_to_tuple(const struct sk_buff *skb, unsigned int nhoff,
  31. struct nf_conntrack_tuple *tuple)
  32. {
  33. const __be32 *ap;
  34. __be32 _addrs[2];
  35. ap = skb_header_pointer(skb, nhoff + offsetof(struct iphdr, saddr),
  36. sizeof(u_int32_t) * 2, _addrs);
  37. if (ap == NULL)
  38. return false;
  39. tuple->src.u3.ip = ap[0];
  40. tuple->dst.u3.ip = ap[1];
  41. return true;
  42. }
  43. static bool ipv4_invert_tuple(struct nf_conntrack_tuple *tuple,
  44. const struct nf_conntrack_tuple *orig)
  45. {
  46. tuple->src.u3.ip = orig->dst.u3.ip;
  47. tuple->dst.u3.ip = orig->src.u3.ip;
  48. return true;
  49. }
  50. static void ipv4_print_tuple(struct seq_file *s,
  51. const struct nf_conntrack_tuple *tuple)
  52. {
  53. seq_printf(s, "src=%pI4 dst=%pI4 ",
  54. &tuple->src.u3.ip, &tuple->dst.u3.ip);
  55. }
  56. static int ipv4_get_l4proto(const struct sk_buff *skb, unsigned int nhoff,
  57. unsigned int *dataoff, u_int8_t *protonum)
  58. {
  59. const struct iphdr *iph;
  60. struct iphdr _iph;
  61. iph = skb_header_pointer(skb, nhoff, sizeof(_iph), &_iph);
  62. if (iph == NULL)
  63. return -NF_ACCEPT;
  64. /* Conntrack defragments packets, we might still see fragments
  65. * inside ICMP packets though. */
  66. if (iph->frag_off & htons(IP_OFFSET))
  67. return -NF_ACCEPT;
  68. *dataoff = nhoff + (iph->ihl << 2);
  69. *protonum = iph->protocol;
  70. /* Check bogus IP headers */
  71. if (*dataoff > skb->len) {
  72. pr_debug("nf_conntrack_ipv4: bogus IPv4 packet: "
  73. "nhoff %u, ihl %u, skblen %u\n",
  74. nhoff, iph->ihl << 2, skb->len);
  75. return -NF_ACCEPT;
  76. }
  77. return NF_ACCEPT;
  78. }
  79. static unsigned int ipv4_helper(void *priv,
  80. struct sk_buff *skb,
  81. const struct nf_hook_state *state)
  82. {
  83. struct nf_conn *ct;
  84. enum ip_conntrack_info ctinfo;
  85. const struct nf_conn_help *help;
  86. const struct nf_conntrack_helper *helper;
  87. /* This is where we call the helper: as the packet goes out. */
  88. ct = nf_ct_get(skb, &ctinfo);
  89. if (!ct || ctinfo == IP_CT_RELATED_REPLY)
  90. return NF_ACCEPT;
  91. help = nfct_help(ct);
  92. if (!help)
  93. return NF_ACCEPT;
  94. /* rcu_read_lock()ed by nf_hook_slow */
  95. helper = rcu_dereference(help->helper);
  96. if (!helper)
  97. return NF_ACCEPT;
  98. return helper->help(skb, skb_network_offset(skb) + ip_hdrlen(skb),
  99. ct, ctinfo);
  100. }
  101. static unsigned int ipv4_confirm(void *priv,
  102. struct sk_buff *skb,
  103. const struct nf_hook_state *state)
  104. {
  105. struct nf_conn *ct;
  106. enum ip_conntrack_info ctinfo;
  107. ct = nf_ct_get(skb, &ctinfo);
  108. if (!ct || ctinfo == IP_CT_RELATED_REPLY)
  109. goto out;
  110. /* adjust seqs for loopback traffic only in outgoing direction */
  111. if (test_bit(IPS_SEQ_ADJUST_BIT, &ct->status) &&
  112. !nf_is_loopback_packet(skb)) {
  113. if (!nf_ct_seq_adjust(skb, ct, ctinfo, ip_hdrlen(skb))) {
  114. NF_CT_STAT_INC_ATOMIC(nf_ct_net(ct), drop);
  115. return NF_DROP;
  116. }
  117. }
  118. out:
  119. /* We've seen it coming out the other side: confirm it */
  120. return nf_conntrack_confirm(skb);
  121. }
  122. static unsigned int ipv4_conntrack_in(void *priv,
  123. struct sk_buff *skb,
  124. const struct nf_hook_state *state)
  125. {
  126. return nf_conntrack_in(state->net, PF_INET, state->hook, skb);
  127. }
  128. static unsigned int ipv4_conntrack_local(void *priv,
  129. struct sk_buff *skb,
  130. const struct nf_hook_state *state)
  131. {
  132. /* root is playing with raw sockets. */
  133. if (skb->len < sizeof(struct iphdr) ||
  134. ip_hdrlen(skb) < sizeof(struct iphdr))
  135. return NF_ACCEPT;
  136. if (ip_is_fragment(ip_hdr(skb))) /* IP_NODEFRAG setsockopt set */
  137. return NF_ACCEPT;
  138. return nf_conntrack_in(state->net, PF_INET, state->hook, skb);
  139. }
  140. /* Connection tracking may drop packets, but never alters them, so
  141. make it the first hook. */
  142. static struct nf_hook_ops ipv4_conntrack_ops[] __read_mostly = {
  143. {
  144. .hook = ipv4_conntrack_in,
  145. .pf = NFPROTO_IPV4,
  146. .hooknum = NF_INET_PRE_ROUTING,
  147. .priority = NF_IP_PRI_CONNTRACK,
  148. },
  149. {
  150. .hook = ipv4_conntrack_local,
  151. .pf = NFPROTO_IPV4,
  152. .hooknum = NF_INET_LOCAL_OUT,
  153. .priority = NF_IP_PRI_CONNTRACK,
  154. },
  155. {
  156. .hook = ipv4_helper,
  157. .pf = NFPROTO_IPV4,
  158. .hooknum = NF_INET_POST_ROUTING,
  159. .priority = NF_IP_PRI_CONNTRACK_HELPER,
  160. },
  161. {
  162. .hook = ipv4_confirm,
  163. .pf = NFPROTO_IPV4,
  164. .hooknum = NF_INET_POST_ROUTING,
  165. .priority = NF_IP_PRI_CONNTRACK_CONFIRM,
  166. },
  167. {
  168. .hook = ipv4_helper,
  169. .pf = NFPROTO_IPV4,
  170. .hooknum = NF_INET_LOCAL_IN,
  171. .priority = NF_IP_PRI_CONNTRACK_HELPER,
  172. },
  173. {
  174. .hook = ipv4_confirm,
  175. .pf = NFPROTO_IPV4,
  176. .hooknum = NF_INET_LOCAL_IN,
  177. .priority = NF_IP_PRI_CONNTRACK_CONFIRM,
  178. },
  179. };
  180. #if defined(CONFIG_SYSCTL) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
  181. static int log_invalid_proto_min = 0;
  182. static int log_invalid_proto_max = 255;
  183. static struct ctl_table ip_ct_sysctl_table[] = {
  184. {
  185. .procname = "ip_conntrack_max",
  186. .maxlen = sizeof(int),
  187. .mode = 0644,
  188. .proc_handler = proc_dointvec,
  189. },
  190. {
  191. .procname = "ip_conntrack_count",
  192. .maxlen = sizeof(int),
  193. .mode = 0444,
  194. .proc_handler = proc_dointvec,
  195. },
  196. {
  197. .procname = "ip_conntrack_buckets",
  198. .maxlen = sizeof(unsigned int),
  199. .mode = 0444,
  200. .proc_handler = proc_dointvec,
  201. },
  202. {
  203. .procname = "ip_conntrack_checksum",
  204. .maxlen = sizeof(int),
  205. .mode = 0644,
  206. .proc_handler = proc_dointvec,
  207. },
  208. {
  209. .procname = "ip_conntrack_log_invalid",
  210. .maxlen = sizeof(unsigned int),
  211. .mode = 0644,
  212. .proc_handler = proc_dointvec_minmax,
  213. .extra1 = &log_invalid_proto_min,
  214. .extra2 = &log_invalid_proto_max,
  215. },
  216. { }
  217. };
  218. #endif /* CONFIG_SYSCTL && CONFIG_NF_CONNTRACK_PROC_COMPAT */
  219. /* Fast function for those who don't want to parse /proc (and I don't
  220. blame them). */
  221. /* Reversing the socket's dst/src point of view gives us the reply
  222. mapping. */
  223. static int
  224. getorigdst(struct sock *sk, int optval, void __user *user, int *len)
  225. {
  226. const struct inet_sock *inet = inet_sk(sk);
  227. const struct nf_conntrack_tuple_hash *h;
  228. struct nf_conntrack_tuple tuple;
  229. memset(&tuple, 0, sizeof(tuple));
  230. lock_sock(sk);
  231. tuple.src.u3.ip = inet->inet_rcv_saddr;
  232. tuple.src.u.tcp.port = inet->inet_sport;
  233. tuple.dst.u3.ip = inet->inet_daddr;
  234. tuple.dst.u.tcp.port = inet->inet_dport;
  235. tuple.src.l3num = PF_INET;
  236. tuple.dst.protonum = sk->sk_protocol;
  237. release_sock(sk);
  238. /* We only do TCP and SCTP at the moment: is there a better way? */
  239. if (tuple.dst.protonum != IPPROTO_TCP &&
  240. tuple.dst.protonum != IPPROTO_SCTP) {
  241. pr_debug("SO_ORIGINAL_DST: Not a TCP/SCTP socket\n");
  242. return -ENOPROTOOPT;
  243. }
  244. if ((unsigned int) *len < sizeof(struct sockaddr_in)) {
  245. pr_debug("SO_ORIGINAL_DST: len %d not %Zu\n",
  246. *len, sizeof(struct sockaddr_in));
  247. return -EINVAL;
  248. }
  249. h = nf_conntrack_find_get(sock_net(sk), &nf_ct_zone_dflt, &tuple);
  250. if (h) {
  251. struct sockaddr_in sin;
  252. struct nf_conn *ct = nf_ct_tuplehash_to_ctrack(h);
  253. sin.sin_family = AF_INET;
  254. sin.sin_port = ct->tuplehash[IP_CT_DIR_ORIGINAL]
  255. .tuple.dst.u.tcp.port;
  256. sin.sin_addr.s_addr = ct->tuplehash[IP_CT_DIR_ORIGINAL]
  257. .tuple.dst.u3.ip;
  258. memset(sin.sin_zero, 0, sizeof(sin.sin_zero));
  259. pr_debug("SO_ORIGINAL_DST: %pI4 %u\n",
  260. &sin.sin_addr.s_addr, ntohs(sin.sin_port));
  261. nf_ct_put(ct);
  262. if (copy_to_user(user, &sin, sizeof(sin)) != 0)
  263. return -EFAULT;
  264. else
  265. return 0;
  266. }
  267. pr_debug("SO_ORIGINAL_DST: Can't find %pI4/%u-%pI4/%u.\n",
  268. &tuple.src.u3.ip, ntohs(tuple.src.u.tcp.port),
  269. &tuple.dst.u3.ip, ntohs(tuple.dst.u.tcp.port));
  270. return -ENOENT;
  271. }
  272. #if IS_ENABLED(CONFIG_NF_CT_NETLINK)
  273. #include <linux/netfilter/nfnetlink.h>
  274. #include <linux/netfilter/nfnetlink_conntrack.h>
  275. static int ipv4_tuple_to_nlattr(struct sk_buff *skb,
  276. const struct nf_conntrack_tuple *tuple)
  277. {
  278. if (nla_put_in_addr(skb, CTA_IP_V4_SRC, tuple->src.u3.ip) ||
  279. nla_put_in_addr(skb, CTA_IP_V4_DST, tuple->dst.u3.ip))
  280. goto nla_put_failure;
  281. return 0;
  282. nla_put_failure:
  283. return -1;
  284. }
  285. static const struct nla_policy ipv4_nla_policy[CTA_IP_MAX+1] = {
  286. [CTA_IP_V4_SRC] = { .type = NLA_U32 },
  287. [CTA_IP_V4_DST] = { .type = NLA_U32 },
  288. };
  289. static int ipv4_nlattr_to_tuple(struct nlattr *tb[],
  290. struct nf_conntrack_tuple *t)
  291. {
  292. if (!tb[CTA_IP_V4_SRC] || !tb[CTA_IP_V4_DST])
  293. return -EINVAL;
  294. t->src.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_SRC]);
  295. t->dst.u3.ip = nla_get_in_addr(tb[CTA_IP_V4_DST]);
  296. return 0;
  297. }
  298. static int ipv4_nlattr_tuple_size(void)
  299. {
  300. return nla_policy_len(ipv4_nla_policy, CTA_IP_MAX + 1);
  301. }
  302. #endif
  303. static struct nf_sockopt_ops so_getorigdst = {
  304. .pf = PF_INET,
  305. .get_optmin = SO_ORIGINAL_DST,
  306. .get_optmax = SO_ORIGINAL_DST+1,
  307. .get = getorigdst,
  308. .owner = THIS_MODULE,
  309. };
  310. static int ipv4_init_net(struct net *net)
  311. {
  312. #if defined(CONFIG_SYSCTL) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
  313. struct nf_ip_net *in = &net->ct.nf_ct_proto;
  314. in->ctl_table = kmemdup(ip_ct_sysctl_table,
  315. sizeof(ip_ct_sysctl_table),
  316. GFP_KERNEL);
  317. if (!in->ctl_table)
  318. return -ENOMEM;
  319. in->ctl_table[0].data = &nf_conntrack_max;
  320. in->ctl_table[1].data = &net->ct.count;
  321. in->ctl_table[2].data = &net->ct.htable_size;
  322. in->ctl_table[3].data = &net->ct.sysctl_checksum;
  323. in->ctl_table[4].data = &net->ct.sysctl_log_invalid;
  324. #endif
  325. return 0;
  326. }
  327. struct nf_conntrack_l3proto nf_conntrack_l3proto_ipv4 __read_mostly = {
  328. .l3proto = PF_INET,
  329. .name = "ipv4",
  330. .pkt_to_tuple = ipv4_pkt_to_tuple,
  331. .invert_tuple = ipv4_invert_tuple,
  332. .print_tuple = ipv4_print_tuple,
  333. .get_l4proto = ipv4_get_l4proto,
  334. #if IS_ENABLED(CONFIG_NF_CT_NETLINK)
  335. .tuple_to_nlattr = ipv4_tuple_to_nlattr,
  336. .nlattr_tuple_size = ipv4_nlattr_tuple_size,
  337. .nlattr_to_tuple = ipv4_nlattr_to_tuple,
  338. .nla_policy = ipv4_nla_policy,
  339. #endif
  340. #if defined(CONFIG_SYSCTL) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
  341. .ctl_table_path = "net/ipv4/netfilter",
  342. #endif
  343. .init_net = ipv4_init_net,
  344. .me = THIS_MODULE,
  345. };
  346. module_param_call(hashsize, nf_conntrack_set_hashsize, param_get_uint,
  347. &nf_conntrack_htable_size, 0600);
  348. MODULE_ALIAS("nf_conntrack-" __stringify(AF_INET));
  349. MODULE_ALIAS("ip_conntrack");
  350. MODULE_LICENSE("GPL");
  351. static int ipv4_net_init(struct net *net)
  352. {
  353. int ret = 0;
  354. ret = nf_ct_l4proto_pernet_register(net, &nf_conntrack_l4proto_tcp4);
  355. if (ret < 0) {
  356. pr_err("nf_conntrack_tcp4: pernet registration failed\n");
  357. goto out_tcp;
  358. }
  359. ret = nf_ct_l4proto_pernet_register(net, &nf_conntrack_l4proto_udp4);
  360. if (ret < 0) {
  361. pr_err("nf_conntrack_udp4: pernet registration failed\n");
  362. goto out_udp;
  363. }
  364. ret = nf_ct_l4proto_pernet_register(net, &nf_conntrack_l4proto_icmp);
  365. if (ret < 0) {
  366. pr_err("nf_conntrack_icmp4: pernet registration failed\n");
  367. goto out_icmp;
  368. }
  369. ret = nf_ct_l3proto_pernet_register(net, &nf_conntrack_l3proto_ipv4);
  370. if (ret < 0) {
  371. pr_err("nf_conntrack_ipv4: pernet registration failed\n");
  372. goto out_ipv4;
  373. }
  374. return 0;
  375. out_ipv4:
  376. nf_ct_l4proto_pernet_unregister(net, &nf_conntrack_l4proto_icmp);
  377. out_icmp:
  378. nf_ct_l4proto_pernet_unregister(net, &nf_conntrack_l4proto_udp4);
  379. out_udp:
  380. nf_ct_l4proto_pernet_unregister(net, &nf_conntrack_l4proto_tcp4);
  381. out_tcp:
  382. return ret;
  383. }
  384. static void ipv4_net_exit(struct net *net)
  385. {
  386. nf_ct_l3proto_pernet_unregister(net, &nf_conntrack_l3proto_ipv4);
  387. nf_ct_l4proto_pernet_unregister(net, &nf_conntrack_l4proto_icmp);
  388. nf_ct_l4proto_pernet_unregister(net, &nf_conntrack_l4proto_udp4);
  389. nf_ct_l4proto_pernet_unregister(net, &nf_conntrack_l4proto_tcp4);
  390. }
  391. static struct pernet_operations ipv4_net_ops = {
  392. .init = ipv4_net_init,
  393. .exit = ipv4_net_exit,
  394. };
  395. static int __init nf_conntrack_l3proto_ipv4_init(void)
  396. {
  397. int ret = 0;
  398. need_conntrack();
  399. nf_defrag_ipv4_enable();
  400. ret = nf_register_sockopt(&so_getorigdst);
  401. if (ret < 0) {
  402. printk(KERN_ERR "Unable to register netfilter socket option\n");
  403. return ret;
  404. }
  405. ret = register_pernet_subsys(&ipv4_net_ops);
  406. if (ret < 0) {
  407. pr_err("nf_conntrack_ipv4: can't register pernet ops\n");
  408. goto cleanup_sockopt;
  409. }
  410. ret = nf_register_hooks(ipv4_conntrack_ops,
  411. ARRAY_SIZE(ipv4_conntrack_ops));
  412. if (ret < 0) {
  413. pr_err("nf_conntrack_ipv4: can't register hooks.\n");
  414. goto cleanup_pernet;
  415. }
  416. ret = nf_ct_l4proto_register(&nf_conntrack_l4proto_tcp4);
  417. if (ret < 0) {
  418. pr_err("nf_conntrack_ipv4: can't register tcp4 proto.\n");
  419. goto cleanup_hooks;
  420. }
  421. ret = nf_ct_l4proto_register(&nf_conntrack_l4proto_udp4);
  422. if (ret < 0) {
  423. pr_err("nf_conntrack_ipv4: can't register udp4 proto.\n");
  424. goto cleanup_tcp4;
  425. }
  426. ret = nf_ct_l4proto_register(&nf_conntrack_l4proto_icmp);
  427. if (ret < 0) {
  428. pr_err("nf_conntrack_ipv4: can't register icmpv4 proto.\n");
  429. goto cleanup_udp4;
  430. }
  431. ret = nf_ct_l3proto_register(&nf_conntrack_l3proto_ipv4);
  432. if (ret < 0) {
  433. pr_err("nf_conntrack_ipv4: can't register ipv4 proto.\n");
  434. goto cleanup_icmpv4;
  435. }
  436. #if defined(CONFIG_PROC_FS) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
  437. ret = nf_conntrack_ipv4_compat_init();
  438. if (ret < 0)
  439. goto cleanup_proto;
  440. #endif
  441. return ret;
  442. #if defined(CONFIG_PROC_FS) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
  443. cleanup_proto:
  444. nf_ct_l3proto_unregister(&nf_conntrack_l3proto_ipv4);
  445. #endif
  446. cleanup_icmpv4:
  447. nf_ct_l4proto_unregister(&nf_conntrack_l4proto_icmp);
  448. cleanup_udp4:
  449. nf_ct_l4proto_unregister(&nf_conntrack_l4proto_udp4);
  450. cleanup_tcp4:
  451. nf_ct_l4proto_unregister(&nf_conntrack_l4proto_tcp4);
  452. cleanup_hooks:
  453. nf_unregister_hooks(ipv4_conntrack_ops, ARRAY_SIZE(ipv4_conntrack_ops));
  454. cleanup_pernet:
  455. unregister_pernet_subsys(&ipv4_net_ops);
  456. cleanup_sockopt:
  457. nf_unregister_sockopt(&so_getorigdst);
  458. return ret;
  459. }
  460. static void __exit nf_conntrack_l3proto_ipv4_fini(void)
  461. {
  462. synchronize_net();
  463. #if defined(CONFIG_PROC_FS) && defined(CONFIG_NF_CONNTRACK_PROC_COMPAT)
  464. nf_conntrack_ipv4_compat_fini();
  465. #endif
  466. nf_ct_l3proto_unregister(&nf_conntrack_l3proto_ipv4);
  467. nf_ct_l4proto_unregister(&nf_conntrack_l4proto_icmp);
  468. nf_ct_l4proto_unregister(&nf_conntrack_l4proto_udp4);
  469. nf_ct_l4proto_unregister(&nf_conntrack_l4proto_tcp4);
  470. nf_unregister_hooks(ipv4_conntrack_ops, ARRAY_SIZE(ipv4_conntrack_ops));
  471. unregister_pernet_subsys(&ipv4_net_ops);
  472. nf_unregister_sockopt(&so_getorigdst);
  473. }
  474. module_init(nf_conntrack_l3proto_ipv4_init);
  475. module_exit(nf_conntrack_l3proto_ipv4_fini);