[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

Gleb Smirnoff  changed:

   What|Removed |Added

   Assignee|n...@freebsd.org |gleb...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #10 from Marek Zarychta  ---
The above patch doesn't fix the issue. There is still something wrong with
timers and permanent entries expire after some time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #9 from Marek Zarychta  ---
Created attachment 248591
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=248591=edit
bandaid for static arp

Bandaid for setting static arp. Let's revert to rtsosck code until this feature
gets properly implemented in netlink.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #8 from Konrad  ---
if build arp binary with options WITHOUT_NETLINK, everythink work as expected

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #7 from Marek Zarychta  ---
(In reply to Marek Zarychta from comment #6)
>I confirm this regression, but it's not 100% reproducible.

It should have been "It is 100% reproducible".

After the takeover of the IP by a bogus host, the Syslog logs only a
notification of ARP change:
arp: w.x.y.z moved from aa:bb:cc:dd:00:11 to 00:aa:bb:cc:dd:ee on vlan0

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #6 from Marek Zarychta  ---
Please let me put my two cents in. 

I confirm this regression, but it's not 100% reproducible. I noticed two facts
after the upgrade from 13.2-STABLE to 14.0-STABLE:

1. Messages like "arp: 00:aa:bb:cc:dd:ee trying to modify permanent entry for
w.x.y.z on vlanQ" disappeared from Syslog even though the
net.link.ether.inet.log_arp_permanent_modify parameter is set to 1.

2. When traffic from an IP address protected by a static ARP entry is received
from a spoofed host with the same IP address that violates this policy, the ARP
entry for that IP address looks a bit strange:
? (w.x.y.z) at aa:bb:cc:dd:00:11 on vlan2 expires in -1708011502 seconds
[vlan],
but when the bogus traffic stops, the entry looks as expected
? (w.x.y.z.) at aa:bb:cc:dd:00:11 on vlan2 permanent [vlan].

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #5 from Kristof Provost  ---
(In reply to Apoorv Sachan from comment #3)
Yes, absolutely!

It's of course up to you how you approach this, but I'd be inclined to start
with a test case, both because a reproduction case will make debugging easier,
but also because adding the test too will ensure this doesn't regress later.

Current test cases live in tests/sys/netinet/arp.sh

Also, even if you only get the test case to work and don't solve the bug
itself, please do post the test. That's at least half of the work already.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #4 from Apoorv Sachan  ---
I want to contribute to freeBSD in the networking domain, 
I have experience with l3-udp and tcp(beginner)
and in l2 with ARP and bridging protocols.


I would love to contribute to this,

I would start debugging this by looking at the arp table design,
and also check if the command line options while setting static entries are
parsed correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

Apoorv Sachan  changed:

   What|Removed |Added

 CC||apoorv.99.sac...@gmail.com

--- Comment #3 from Apoorv Sachan  ---
Hello, 

I am new here !
can i work on this bug ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

--- Comment #2 from Konrad  ---
problem occurred also on fresh installation of 14-stable

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 277063] [ARP] ignores permanent entries after upgrade to 14.0

2024-02-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277063

Mark Linimon  changed:

   What|Removed |Added

Summary|[ARP] ignore permanent  |[ARP] ignores permanent
   |entries |entries after upgrade to
   ||14.0
   Assignee|b...@freebsd.org|n...@freebsd.org
   Keywords||regression

-- 
You are receiving this mail because:
You are the assignee for the bug.