Ru-Board.club
← Вернуться в раздел «UNIX»

» Disable gratuitous ARP request in Linux

Автор: Lutvun
Дата сообщения: 09.02.2011 16:45
Есть вайфайный мост на ubiquity nanostation M2. С одной стороны сервак с другой - управляемый свитч провайдера. В провайдера стоит ограничение на количество маков в ефире. На вайфай точках Linux 2.6.15-5.2. При загрузке они отправляют с интерфейсов gratuitous ARP запрос, чем и отключают порт провайдера.
Как это выключить?


Код: XM.v5.3# sysctl -a
dev.rssi-leds.gpio_gps = -1
dev.rssi-leds.signal = 67
dev.rssi-leds.led_inv = 0
dev.rssi-leds.timer = 300
dev.rssi-leds.thresholds = 4321
dev.rssi-leds.gpios = 01117
dev.ath_rate.incr_control_rate_rssi_check = 6
dev.ath_rate.incr_control_auto_min = 0
dev.ath_rate.incr_control_flags = 0
dev.ath_rate.incr_control_ht40_sgi = 0
dev.ath_rate.incr_control_time_factor = 1
dev.ath_rate.incr_control_time_units = 500
dev.ath_rate.incr_control_ht_for_ht = 0
dev.ath_rate.incr_control_debug = 0
dev.ath_rate.incr_control_max_fail_count = 6
dev.ath_rate.incr_control_fail_exp_point = 4
dev.ath_rate.incr_control_min_dwell = 5000
dev.ath_rate.incr_control = 1
dev.ubnt_poll.tx_sync_master_mac =
dev.ubnt_poll.tx_sync_eth_dev =
dev.ubnt_poll.tx_sync_mode = 0
dev.ubnt_poll.gps_info =
dev.ubnt_poll.gps_gpio =
dev.ubnt_poll.fh_retries =
dev.ubnt_poll.fh_hops =
dev.ubnt_poll.fh_announce_cnt = 5
dev.ubnt_poll.fh_time = 1000
dev.ubnt_poll.fh_list =
dev.ubnt_poll.fh = 0
dev.ubnt_poll.downlink_mp = 1
dev.ubnt_poll.use_ant_array = 0
dev.ubnt_poll.query_mac =
dev.ubnt_poll.no_ack_rate = 012
dev.ubnt_poll.debug = 00
dev.ubnt_poll.no_ack = 0
dev.ubnt_poll.sta_priority = 3
dev.ubnt_poll.trace = 0
dev.ubnt_poll.stats = 0000000000
dev.ubnt_poll.capacity = 0
dev.ubnt_poll.quality = 0
dev.ubnt_poll.txop_params = 255
dev.ubnt_poll.aggr_params = 021
dev.ubnt_poll.timing_params = 0020001000
dev.ubnt_poll.enable = 0
dev.ubnt_poll.mode = 0
dev.ath.htdupieenable = 1
dev.ath.htinfoid = 52
dev.ath.htcapid = 51
dev.ath.htoui = 36940
dev.ath.htvendorieenable = 1
dev.scsi.logging_level = 0
dev.AG7240.led_gpio = -1-1-1-1-1
fs.suid_dumpable = 0
fs.aio-max-nr = 65536
fs.aio-nr = 0
fs.lease-break-time = 45
fs.leases-enable = 1
fs.overflowgid = 65534
fs.overflowuid = 65534
fs.dentry-state = 16854145000
fs.file-max = 8192
fs.file-nr = 19208192
fs.inode-state = 17213100000
fs.inode-nr = 172131
net.ath0.%parent = wifi0
net.ath0.chanlist =
net.ath0.debug = 0
net.bridge.bridge-nf-filter-vlan-tagged = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 1
net.unix.max_dgram_qlen = 10
net.ipv4.conf.br0.promote_secondaries = 0
net.ipv4.conf.br0.force_igmp_version = 0
net.ipv4.conf.br0.disable_policy = 0
net.ipv4.conf.br0.disable_xfrm = 0
net.ipv4.conf.br0.arp_ignore = 0
net.ipv4.conf.br0.arp_announce = 0
net.ipv4.conf.br0.arp_filter = 0
net.ipv4.conf.br0.tag = 0
net.ipv4.conf.br0.log_martians = 0
net.ipv4.conf.br0.bootp_relay = 0
net.ipv4.conf.br0.medium_id = 0
net.ipv4.conf.br0.proxy_arp = 0
net.ipv4.conf.br0.accept_source_route = 1
net.ipv4.conf.br0.send_redirects = 1
net.ipv4.conf.br0.rp_filter = 0
net.ipv4.conf.br0.shared_media = 1
net.ipv4.conf.br0.secure_redirects = 1
net.ipv4.conf.br0.accept_redirects = 1
net.ipv4.conf.br0.mc_forwarding = 0
net.ipv4.conf.br0.forwarding = 1
net.ipv4.conf.ath0.promote_secondaries = 0
net.ipv4.conf.ath0.force_igmp_version = 0
net.ipv4.conf.ath0.disable_policy = 0
net.ipv4.conf.ath0.disable_xfrm = 0
net.ipv4.conf.ath0.arp_ignore = 0
net.ipv4.conf.ath0.arp_announce = 0
net.ipv4.conf.ath0.arp_filter = 0
net.ipv4.conf.ath0.tag = 0
net.ipv4.conf.ath0.log_martians = 0
net.ipv4.conf.ath0.bootp_relay = 0
net.ipv4.conf.ath0.medium_id = 0
net.ipv4.conf.ath0.proxy_arp = 0
net.ipv4.conf.ath0.accept_source_route = 1
net.ipv4.conf.ath0.send_redirects = 1
net.ipv4.conf.ath0.rp_filter = 0
net.ipv4.conf.ath0.shared_media = 1
net.ipv4.conf.ath0.secure_redirects = 1
net.ipv4.conf.ath0.accept_redirects = 1
net.ipv4.conf.ath0.mc_forwarding = 0
net.ipv4.conf.ath0.forwarding = 1
net.ipv4.conf.eth1.promote_secondaries = 0
net.ipv4.conf.eth1.force_igmp_version = 0
net.ipv4.conf.eth1.disable_policy = 0
net.ipv4.conf.eth1.disable_xfrm = 0
net.ipv4.conf.eth1.arp_ignore = 0
net.ipv4.conf.eth1.arp_announce = 0
net.ipv4.conf.eth1.arp_filter = 0
net.ipv4.conf.eth1.tag = 0
net.ipv4.conf.eth1.log_martians = 0
net.ipv4.conf.eth1.bootp_relay = 0
net.ipv4.conf.eth1.medium_id = 0
net.ipv4.conf.eth1.proxy_arp = 0
net.ipv4.conf.eth1.accept_source_route = 1
net.ipv4.conf.eth1.send_redirects = 1
net.ipv4.conf.eth1.rp_filter = 0
net.ipv4.conf.eth1.shared_media = 1
net.ipv4.conf.eth1.secure_redirects = 1
net.ipv4.conf.eth1.accept_redirects = 1
net.ipv4.conf.eth1.mc_forwarding = 0
net.ipv4.conf.eth1.forwarding = 1
net.ipv4.conf.eth0.promote_secondaries = 0
net.ipv4.conf.eth0.force_igmp_version = 0
net.ipv4.conf.eth0.disable_policy = 0
net.ipv4.conf.eth0.disable_xfrm = 0
net.ipv4.conf.eth0.arp_ignore = 0
net.ipv4.conf.eth0.arp_announce = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.tag = 0
net.ipv4.conf.eth0.log_martians = 0
net.ipv4.conf.eth0.bootp_relay = 0
net.ipv4.conf.eth0.medium_id = 0
net.ipv4.conf.eth0.proxy_arp = 0
net.ipv4.conf.eth0.accept_source_route = 1
net.ipv4.conf.eth0.send_redirects = 1
net.ipv4.conf.eth0.rp_filter = 0
net.ipv4.conf.eth0.shared_media = 1
net.ipv4.conf.eth0.secure_redirects = 1
net.ipv4.conf.eth0.accept_redirects = 1
net.ipv4.conf.eth0.mc_forwarding = 0
net.ipv4.conf.eth0.forwarding = 1
net.ipv4.conf.default.promote_secondaries = 0
net.ipv4.conf.default.force_igmp_version = 0
net.ipv4.conf.default.disable_policy = 0
net.ipv4.conf.default.disable_xfrm = 0
net.ipv4.conf.default.arp_ignore = 0
net.ipv4.conf.default.arp_announce = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.tag = 0
net.ipv4.conf.default.log_martians = 0
net.ipv4.conf.default.bootp_relay = 0
net.ipv4.conf.default.medium_id = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.accept_source_route = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.default.rp_filter = 0
net.ipv4.conf.default.shared_media = 1
net.ipv4.conf.default.secure_redirects = 1
net.ipv4.conf.default.accept_redirects = 1
net.ipv4.conf.default.mc_forwarding = 0
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.all.promote_secondaries = 0
net.ipv4.conf.all.force_igmp_version = 0
net.ipv4.conf.all.disable_policy = 0
net.ipv4.conf.all.disable_xfrm = 0
net.ipv4.conf.all.arp_ignore = 0
net.ipv4.conf.all.arp_announce = 0
net.ipv4.conf.all.arp_filter = 1
net.ipv4.conf.all.tag = 0
net.ipv4.conf.all.log_martians = 0
net.ipv4.conf.all.bootp_relay = 0
net.ipv4.conf.all.medium_id = 0
net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.all.send_redirects = 1
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.all.shared_media = 1
net.ipv4.conf.all.secure_redirects = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.all.mc_forwarding = 0
net.ipv4.conf.all.forwarding = 1
net.ipv4.conf.lo.promote_secondaries = 0
net.ipv4.conf.lo.force_igmp_version = 0
net.ipv4.conf.lo.disable_policy = 1
net.ipv4.conf.lo.disable_xfrm = 1
net.ipv4.conf.lo.arp_ignore = 0
net.ipv4.conf.lo.arp_announce = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.tag = 0
net.ipv4.conf.lo.log_martians = 0
net.ipv4.conf.lo.bootp_relay = 0
net.ipv4.conf.lo.medium_id = 0
net.ipv4.conf.lo.proxy_arp = 0
net.ipv4.conf.lo.accept_source_route = 1
net.ipv4.conf.lo.send_redirects = 1
net.ipv4.conf.lo.rp_filter = 0
net.ipv4.conf.lo.shared_media = 1
net.ipv4.conf.lo.secure_redirects = 1
net.ipv4.conf.lo.accept_redirects = 1
net.ipv4.conf.lo.mc_forwarding = 0
net.ipv4.conf.lo.forwarding = 1
net.ipv4.neigh.br0.base_reachable_time_ms = 30000
net.ipv4.neigh.br0.retrans_time_ms = 1000
net.ipv4.neigh.br0.locktime = 100
net.ipv4.neigh.br0.proxy_delay = 80
net.ipv4.neigh.br0.anycast_delay = 100
net.ipv4.neigh.br0.proxy_qlen = 64
net.ipv4.neigh.br0.unres_qlen = 3
net.ipv4.neigh.br0.gc_stale_time = 60
net.ipv4.neigh.br0.delay_first_probe_time = 5
net.ipv4.neigh.br0.base_reachable_time = 30
net.ipv4.neigh.br0.retrans_time = 100
net.ipv4.neigh.br0.app_solicit = 0
net.ipv4.neigh.br0.ucast_solicit = 3
net.ipv4.neigh.br0.mcast_solicit = 3
net.ipv4.neigh.ath0.base_reachable_time_ms = 30000
net.ipv4.neigh.ath0.retrans_time_ms = 1000
net.ipv4.neigh.ath0.locktime = 100
net.ipv4.neigh.ath0.proxy_delay = 80
net.ipv4.neigh.ath0.anycast_delay = 100
net.ipv4.neigh.ath0.proxy_qlen = 64
net.ipv4.neigh.ath0.unres_qlen = 3
net.ipv4.neigh.ath0.gc_stale_time = 60
net.ipv4.neigh.ath0.delay_first_probe_time = 5
net.ipv4.neigh.ath0.base_reachable_time = 30
net.ipv4.neigh.ath0.retrans_time = 100
net.ipv4.neigh.ath0.app_solicit = 0
net.ipv4.neigh.ath0.ucast_solicit = 3
net.ipv4.neigh.ath0.mcast_solicit = 3
net.ipv4.neigh.eth1.base_reachable_time_ms = 30000
net.ipv4.neigh.eth1.retrans_time_ms = 1000
net.ipv4.neigh.eth1.locktime = 100
net.ipv4.neigh.eth1.proxy_delay = 80
net.ipv4.neigh.eth1.anycast_delay = 100
net.ipv4.neigh.eth1.proxy_qlen = 64
net.ipv4.neigh.eth1.unres_qlen = 3
net.ipv4.neigh.eth1.gc_stale_time = 60
net.ipv4.neigh.eth1.delay_first_probe_time = 5
net.ipv4.neigh.eth1.base_reachable_time = 30
net.ipv4.neigh.eth1.retrans_time = 100
net.ipv4.neigh.eth1.app_solicit = 0
net.ipv4.neigh.eth1.ucast_solicit = 3
net.ipv4.neigh.eth1.mcast_solicit = 3
net.ipv4.neigh.eth0.base_reachable_time_ms = 30000
net.ipv4.neigh.eth0.retrans_time_ms = 1000
net.ipv4.neigh.eth0.locktime = 100
net.ipv4.neigh.eth0.proxy_delay = 80
net.ipv4.neigh.eth0.anycast_delay = 100
net.ipv4.neigh.eth0.proxy_qlen = 64
net.ipv4.neigh.eth0.unres_qlen = 3
net.ipv4.neigh.eth0.gc_stale_time = 60
net.ipv4.neigh.eth0.delay_first_probe_time = 5
net.ipv4.neigh.eth0.base_reachable_time = 30
net.ipv4.neigh.eth0.retrans_time = 100
net.ipv4.neigh.eth0.app_solicit = 0
net.ipv4.neigh.eth0.ucast_solicit = 3
net.ipv4.neigh.eth0.mcast_solicit = 3
net.ipv4.neigh.lo.base_reachable_time_ms = 30000
net.ipv4.neigh.lo.retrans_time_ms = 1000
net.ipv4.neigh.lo.locktime = 100
net.ipv4.neigh.lo.proxy_delay = 80
net.ipv4.neigh.lo.anycast_delay = 100
net.ipv4.neigh.lo.proxy_qlen = 64
net.ipv4.neigh.lo.unres_qlen = 3
net.ipv4.neigh.lo.gc_stale_time = 60
net.ipv4.neigh.lo.delay_first_probe_time = 5
net.ipv4.neigh.lo.base_reachable_time = 30
net.ipv4.neigh.lo.retrans_time = 100
net.ipv4.neigh.lo.app_solicit = 0
net.ipv4.neigh.lo.ucast_solicit = 3
net.ipv4.neigh.lo.mcast_solicit = 3
net.ipv4.neigh.default.base_reachable_time_ms = 30000
net.ipv4.neigh.default.retrans_time_ms = 1000
net.ipv4.neigh.default.gc_thresh3 = 1024
net.ipv4.neigh.default.gc_thresh2 = 512
net.ipv4.neigh.default.gc_thresh1 = 128
net.ipv4.neigh.default.gc_interval = 30
net.ipv4.neigh.default.locktime = 100
net.ipv4.neigh.default.proxy_delay = 80
net.ipv4.neigh.default.anycast_delay = 100
net.ipv4.neigh.default.proxy_qlen = 64
net.ipv4.neigh.default.unres_qlen = 3
net.ipv4.neigh.default.gc_stale_time = 60
net.ipv4.neigh.default.delay_first_probe_time = 5
net.ipv4.neigh.default.base_reachable_time = 30
net.ipv4.neigh.default.retrans_time = 100
net.ipv4.neigh.default.app_solicit = 0
net.ipv4.neigh.default.ucast_solicit = 3
net.ipv4.neigh.default.mcast_solicit = 3
net.ipv4.tcp_abc = 1
net.ipv4.tcp_congestion_control = bic
net.ipv4.tcp_tso_win_divisor = 3
net.ipv4.tcp_moderate_rcvbuf = 1
net.ipv4.tcp_no_metrics_save = 0
net.ipv4.ipfrag_secret_interval = 600
net.ipv4.tcp_low_latency = 0
net.ipv4.tcp_frto = 0
net.ipv4.tcp_tw_reuse = 0
net.ipv4.icmp_ratemask = 6168
net.ipv4.icmp_ratelimit = 1000
net.ipv4.tcp_adv_win_scale = 2
net.ipv4.tcp_app_win = 31
net.ipv4.tcp_rmem = 40964368987378
net.ipv4.tcp_wmem = 40961638465536
net.ipv4.tcp_mem = 153620483072
net.ipv4.tcp_dsack = 1
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_reordering = 3
net.ipv4.tcp_fack = 1
net.ipv4.tcp_orphan_retries = 0
net.ipv4.inet_peer_gc_maxtime = 120
net.ipv4.inet_peer_gc_mintime = 10
net.ipv4.inet_peer_maxttl = 600
net.ipv4.inet_peer_minttl = 120
net.ipv4.inet_peer_threshold = 32832
net.ipv4.igmp_max_msf = 10
net.ipv4.igmp_max_memberships = 20
net.ipv4.route.secret_interval = 600
net.ipv4.route.min_adv_mss = 256
net.ipv4.route.min_pmtu = 552
net.ipv4.route.mtu_expires = 600
net.ipv4.route.gc_elasticity = 8
net.ipv4.route.error_burst = 5000
net.ipv4.route.error_cost = 1000
net.ipv4.route.redirect_silence = 20480
net.ipv4.route.redirect_number = 9
net.ipv4.route.redirect_load = 20
net.ipv4.route.gc_interval = 60
net.ipv4.route.gc_timeout = 300
net.ipv4.route.gc_min_interval_ms = 500
net.ipv4.route.gc_min_interval = 0
net.ipv4.route.max_size = 32768
net.ipv4.route.gc_thresh = 2048
net.ipv4.route.max_delay = 10
net.ipv4.route.min_delay = 2
net.ipv4.icmp_errors_use_inbound_ifaddr = 0
net.ipv4.icmp_ignore_bogus_error_responses = 0
net.ipv4.icmp_echo_ignore_broadcasts = 0
net.ipv4.icmp_echo_ignore_all = 0
net.ipv4.ip_local_port_range = 20484999
net.ipv4.tcp_max_syn_backlog = 128
net.ipv4.tcp_rfc1337 = 0
net.ipv4.tcp_stdurg = 0
net.ipv4.tcp_abort_on_overflow = 0
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_fin_timeout = 60
net.ipv4.tcp_retries2 = 15
net.ipv4.tcp_retries1 = 3
net.ipv4.tcp_keepalive_intvl = 75
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_keepalive_time = 7200
net.ipv4.ipfrag_time = 30
net.ipv4.ip_dynaddr = 0
net.ipv4.ipfrag_low_thresh = 196608
net.ipv4.ipfrag_high_thresh = 262144
net.ipv4.tcp_max_tw_buckets = 4096
net.ipv4.tcp_max_orphans = 2048
net.ipv4.tcp_synack_retries = 5
net.ipv4.tcp_syn_retries = 5
net.ipv4.ip_nonlocal_bind = 0
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.ip_autoconfig = 0
net.ipv4.ip_default_ttl = 64
net.ipv4.ip_forward = 1
net.ipv4.tcp_retrans_collapse = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_window_scaling = 1
net.ipv4.tcp_timestamps = 1
net.core.netdev_budget = 300
net.core.somaxconn = 128
net.core.optmem_max = 10240
net.core.message_burst = 10
net.core.message_cost = 5
net.core.netdev_max_backlog = 1000
net.core.dev_weight = 64
net.core.rmem_default = 115712
net.core.wmem_default = 115712
net.core.rmem_max = 115712
net.core.wmem_max = 115712
vm.vfs_cache_pressure = 100
vm.block_dump = 0
vm.laptop_mode = 0
vm.max_map_count = 65536
vm.min_free_kbytes = 724
vm.lowmem_reserve_ratio = 25625632
vm.swappiness = 60
vm.nr_pdflush_threads = 2
vm.dirty_expire_centisecs = 3000
vm.dirty_writeback_centisecs = 500
vm.dirty_ratio = 40
vm.dirty_background_ratio = 10
vm.page-cluster = 3
vm.overcommit_ratio = 50
vm.overcommit_memory = 0
kernel.randomize_va_space = 1
kernel.ngroups_max = 65536
kernel.printk_ratelimit_burst = 10
kernel.printk_ratelimit = 5
kernel.panic_on_oops = 0
kernel.pid_max = 32768
kernel.overflowgid = 65534
kernel.overflowuid = 65534
kernel.pty.nr = 1
kernel.pty.max = 4096
kernel.random.uuid = 4cc7f935-c099-4710-8de5-003c624af435
kernel.random.boot_id = 7f1cd6a7-ef54-4a06-9170-3adae3459be9
kernel.random.write_wakeup_threshold = 128
kernel.random.read_wakeup_threshold = 64
kernel.random.entropy_avail = 131
kernel.random.poolsize = 4096
kernel.threads-max = 512
kernel.cad_pid = 1
kernel.sem = 2503200032128
kernel.msgmnb = 16384
kernel.msgmni = 16
kernel.msgmax = 8192
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.shmmax = 33554432
kernel.hotplug = /sbin/hotplug
kernel.modprobe = /sbin/modprobe
kernel.printk = 1417
kernel.ctrl-alt-del = 0
kernel.cap-bound = -257
kernel.tainted = 1
kernel.core_pattern = core
kernel.core_uses_pid = 0
kernel.panic = 3
kernel.domainname = (none)
kernel.hostname = Host
kernel.version = #1 Fri Jan 14 14:43:07 EET 2011
kernel.osrelease = 2.6.15-5.2
kernel.ostype = Linux
Автор: vlary
Дата сообщения: 10.02.2011 23:28
Lutvun С тегом "more" не дружишь? Из-за таких простыней читать пост невозможно совершенно.

Страницы: 1

Предыдущая тема: TrueCrypt и Linux


Форум Ru-Board.club — поднят 15-09-2016 числа. Цель - сохранить наследие старого Ru-Board, истории становления российского интернета. Сделано для людей.