Manmita Das activity https://gitlab.com/das.manmita12 2026-03-20T16:32:35Z tag:gitlab.com,2026-03-20:5227116689 Manmita Das pushed to project branch fix_oif_check_list_routing at Manmita Das / ns-3-dev 2026-03-20T16:32:35Z das.manmita12 Manmita Das

Manmita Das (2da48b64) at 20 Mar 16:32

internet: (fixes #802) Prevent Ipv[4,6]ListRouting from using wrong...

... and 1 more commit

tag:gitlab.com,2026-03-20:5225273788 Manmita Das pushed to project branch fix_oif_check_list_routing at Manmita Das / ns-3-dev 2026-03-20T08:56:25Z das.manmita12 Manmita Das

Manmita Das (64347e15) at 20 Mar 08:56

internet: (fixes #802) Prevent Ipv[4,6]ListRouting from using wrong...

tag:gitlab.com,2026-03-20:5224375919 Manmita Das commented on issue #802 at nsnam / ns-3-dev 2026-03-20T00:53:36Z das.manmita12 Manmita Das

@tommypec

I had another question about using bind(Address): from what I could find, % is only valid for link-local IPv6 addresses.

root@localhost:~# ping6 20:20:20:20:20:20:20:30%eth1 — for a global routing address it fails ping6: 20:20:20:20:20:20:20:30%eth1: Name or service not known

But for a link-local address it works:

root@localhost:~# ping fe80::5054:ff:fe7e:1f90%eth1 PING fe80::5054:ff:fe7e:1f90%eth1 (fe80::5054:ff:fe7e:1f90%eth1) 56 data bytes

I was thinking if we should add sin6_scope_id similar field to IPv6Address.h or should we create something like ScopedV6Address

Please let me know what would be a better way to achieve this

tag:gitlab.com,2026-03-20:5224365594 Manmita Das commented on merge request !2792 at nsnam / ns-3-dev 2026-03-20T00:48:06Z das.manmita12 Manmita Das

in the udp-test BindToNetDevice was already getting tested hence I added this behavior's test in that test-suite.

tag:gitlab.com,2026-03-20:5224362138 Manmita Das pushed to project branch fix_oif_check_list_routing at Manmita Das / ns-3-dev 2026-03-20T00:46:33Z das.manmita12 Manmita Das

Manmita Das (f0560736) at 20 Mar 00:46

fix: linting

tag:gitlab.com,2026-03-20:5224325554 Manmita Das pushed to project branch fix_oif_check_list_routing at Manmita Das / ns-3-dev 2026-03-20T00:26:36Z das.manmita12 Manmita Das

Manmita Das (0600b8a5) at 20 Mar 00:26

fix: added test for BindToNetDevice fail if no route exist

... and 5 more commits

tag:gitlab.com,2026-03-20:5224324234 Manmita Das pushed to project branch fix_oif_check_list_routing at Manmita Das / ns-3-dev 2026-03-20T00:25:39Z das.manmita12 Manmita Das

Manmita Das (290b528a) at 20 Mar 00:25

fix: added test for BindToNetDevice fail if no route exist

tag:gitlab.com,2026-03-19:5224130841 Manmita Das commented on merge request !2792 at nsnam / ns-3-dev 2026-03-19T22:32:44Z das.manmita12 Manmita Das

yeah, will do

tag:gitlab.com,2026-03-19:5224130228 Manmita Das pushed to project branch fix_oif_check_list_routing at Manmita Das / ns-3-dev 2026-03-19T22:32:20Z das.manmita12 Manmita Das

Manmita Das (efa51b8f) at 19 Mar 22:32

fix: linting for whitespaces

tag:gitlab.com,2026-03-19:5224105659 Manmita Das opened merge request !2792: ipv4-list-routing, ipv6-list-routing: add oif check on list routing at nsnam / ns-3-dev 2026-03-19T22:20:45Z das.manmita12 Manmita Das

Closes #802

tag:gitlab.com,2026-03-19:5224104640 Manmita Das commented on issue #802 at nsnam / ns-3-dev 2026-03-19T22:20:10Z das.manmita12 Manmita Das

Hello,

I would like to work on this

I checked in Linux in Docker: if I try to ping with the -I flag on an interface on which a route does not exist, the packet does not leave the container, while the socket class BindToNetDevice says it forces packet to leave.

For example:

192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.1 192.168.2.0/24 dev eth1 proto kernel scope link src 192.168.2.1

If I do ping -I eth1 192.168.2.2, in tcpdump on eth1 I do not see any packet. From this, I can say that the correct statement should be: route lookup should result in failure if the oif of the route does not match the oif of m_boundnetdevice; thus, the packet can’t be sent if an incorrect netdevice was bound.

In ns-3, I could find that most routing protocols follow Linux behaviour: StaticRouting (v4+v6), GlobalRouting, AodvRouting, DsdvRouting, RIP, RipNg, NixVector, and OlsrRouting. If oif is set, then the resultant route oif should match the m_bound interface.

The routing protocols which do not run this oif check at all, for example ListRouting (v4+v6), for which I am raising a MR, which a check similar to the other modules

Thanks

tag:gitlab.com,2026-03-19:5224082848 Manmita Das pushed new project branch fix_oif_check_list_routing at Manmita Das / ns-3-dev 2026-03-19T22:09:31Z das.manmita12 Manmita Das

Manmita Das (20123781) at 19 Mar 22:09

fix: add oif check on list routing

tag:gitlab.com,2026-03-19:5224048043 Manmita Das pushed to project branch master at Manmita Das / ns-3-dev 2026-03-19T21:55:15Z das.manmita12 Manmita Das

Manmita Das (1ae527b3) at 19 Mar 21:55

sixlowpan: Add 6LoWPAN-ND GSoC implementation

... and 9 more commits

tag:gitlab.com,2026-03-09:5181185792 Manmita Das pushed to project branch fix-csma-traces at Manmita Das / ns-3-dev 2026-03-09T08:24:56Z das.manmita12 Manmita Das

Manmita Das (86bd06bc) at 09 Mar 08:24

merge with master

... and 3 more commits

tag:gitlab.com,2026-03-09:5181145607 Manmita Das pushed to project branch fix-csma-traces at Manmita Das / ns-3-dev 2026-03-09T08:14:39Z das.manmita12 Manmita Das

Manmita Das (5edef6e4) at 09 Mar 08:14

fix: moved m_macPromiscRxTrace outside the m_promiscRxCallback if N...

... and 1 more commit

tag:gitlab.com,2026-03-09:5181110981 Manmita Das opened merge request !2772: csma, fd-net-device, virtual-net-device: (fixes #962) Fix m_macPromiscRxTrace firing issue at nsnam / ns-3-dev 2026-03-09T08:05:58Z das.manmita12 Manmita Das

Modified the code to fire m_macPromiscRxTrace even if m_promiscRxCallback is null.

Closes #962

tag:gitlab.com,2026-03-09:5181087058 Manmita Das pushed new project branch fix-csma-traces at Manmita Das / ns-3-dev 2026-03-09T07:59:07Z das.manmita12 Manmita Das

Manmita Das (3f15217e) at 09 Mar 07:59

fix: moved m_macPromiscRxTrace outside the m_promiscRxCallback if N...

tag:gitlab.com,2026-03-08:5179858232 Manmita Das commented on issue #962 at nsnam / ns-3-dev 2026-03-08T20:46:28Z das.manmita12 Manmita Das

Hi @tommypec ,

I would like to pickup this issue.

I went through the git history to find out where the code changed were added this is the commit that added the packetSniffers https://github.com/nsnam/ns-3-dev-git/commit/a10c3623689a757f79edf17851daf4640f6aedf3

These were my traces of interest m_snifferTrace m_promiscSnifferTrace m_macRxTrace m_macPromiscRxTrace m_macTxTrace

On the receive, I can say the m_snifferTraces and m_macRxTraces are called with no difference in logic, but on Tx path m_macTxTrace is called before enqueing to the device queue and sniffer traces were called after dequeing from device queues.

Although on the RX path the traces might be redundant but not the Tx path please correct me if I am wrong.

Todos: bug of m_macPromiscRxTrace not called being if m_promiscRxCallback is not set,

Note: I think we shouldn’t remove the m_snifferTraces.

tag:gitlab.com,2026-03-08:5179655144 Manmita Das created project Manmita Das / ns-3-dev 2026-03-08T18:13:35Z das.manmita12 Manmita Das