Page MenuHomeFreeBSD

pouria (Pouria Mousavizadeh Tehrani)
Pouria

Projects

User Details

User Since
Aug 26 2022, 6:24 PM (189 w, 1 d)

Recent Activity

Yesterday

pouria added a comment to D55181: ifconfig(8): Add geneve parameters.

kind ping @ziaee.

Sat, Apr 11, 6:55 PM
pouria updated the diff for D55183: geneve: Add geneve tests.

Update copyright email to freebsd.

Sat, Apr 11, 6:50 PM
pouria updated the diff for D55184: ifconfig: Add support for geneve (netlink).

Update the copyright email to my freebsd account.
rebase to parent revision.

Sat, Apr 11, 6:42 PM
pouria updated the diff for D54172: Add Support for Geneve (RFC8926).

Add spdx tag to geneve header and replace its email with my freebsd email.

Sat, Apr 11, 6:17 PM
pouria updated the diff for D54172: Add Support for Geneve (RFC8926).

Final style check before landing.

Sat, Apr 11, 6:11 PM
pouria requested review of D56353: routing: Make ip[6]_tryforward() FIB-aware for local traffic.
Sat, Apr 11, 1:13 PM
pouria added a comment to D55887: tests: Remove inet6 jumbogram tests.
In D55887#1279151, @thj wrote:

I think we should probably have tests check we do the correct things when we get a jumbogram. If these tests aren't run they don't really help with that.

I don't think the numbering gap is a problem, I'd leave the others alone.

Do you have any history for why these are disabled? I they are from the initial netflix work when the frag vulnerabilities came up?

Sat, Apr 11, 11:16 AM
pouria added inline comments to D56129: nd6: Do not enter net_epoch under nd6_prelist_add.
Sat, Apr 11, 10:54 AM
pouria updated the test plan for D55449: nd6: Add support for route information (RFC 4191).
Sat, Apr 11, 10:53 AM
pouria added a comment to D55449: nd6: Add support for route information (RFC 4191).

@markj kind ping.

Sat, Apr 11, 10:52 AM
pouria added a comment to D51866: if_gif: Use the MTU on the gif interface for the outgoing packets.

Hi! Writing this with my core@ (and srcmgr@) lurker hat on.

I'd like to see this due problem fixed and the tension between fellow committers released. Let's please go with this plan:

  1. Let's abandon D52594. @meta can you please do this?
  2. Let's replay all important feedback from D52594 into this review. @pouria and/or @meta, can you please replay? Just simple copy & paste. We want to have all discussion in one place.
  3. Let's proceed with pushing the reviewed change to main. @hrs if you are limited on time, can you please yield the right to push to @meta and @pouria? Please don't block the process, unless you have a very strong design or coding concern wrt to the change. @hrs please provide information if you want or rather don't want that the pushed commit will be under your authorship?
Sat, Apr 11, 10:39 AM
pouria added a comment to D55887: tests: Remove inet6 jumbogram tests.

kind ping @bz.

Sat, Apr 11, 10:38 AM

Fri, Apr 10

pouria committed rG87bea33a67ca: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options (authored by pouria).
nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options
Fri, Apr 10, 8:33 PM
pouria closed D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.
Fri, Apr 10, 8:33 PM
pouria added a comment to D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.

Thank you.
@bz Should I tag it with relnotes?

Fri, Apr 10, 8:02 PM
pouria committed rG2c6feab25329: hccontrol: Support generic Bluetooth LE AdvData (authored by F. Duncanh <fduncanh@gmail.com>).
hccontrol: Support generic Bluetooth LE AdvData
Fri, Apr 10, 6:07 PM
pouria updated the diff for D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.

Appearantly, there is a difference between:

tools/build/options/makeman > share/man/man5/src.conf.5

and

./makeman > /usr/src/share/man/man5/src.conf.5

I didn't know I should run it inside its directory.
@bz done.

Fri, Apr 10, 5:34 PM
pouria updated the diff for D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.

Address @bz comments.
I removed the comment and regenrated the src.conf.5.
The src.conf.5 regeneration will remove much more than my change.
Is that fine? @ziaee

Fri, Apr 10, 3:03 PM
pouria updated the diff for D56335: route(8): Add metric argument.

Replace err(3) with errx(3) for better error message.

Fri, Apr 10, 2:57 PM

Thu, Apr 9

pouria updated the diff for D56335: route(8): Add metric argument.

Add error message.

Thu, Apr 9, 11:28 PM
pouria updated the summary of D56336: routing: store nhgrp highest weight into rt_entry.
Thu, Apr 9, 11:04 PM
pouria requested review of D56336: routing: store nhgrp highest weight into rt_entry.
Thu, Apr 9, 11:02 PM
pouria updated the summary of D56335: route(8): Add metric argument.
Thu, Apr 9, 11:00 PM
pouria requested review of D56335: route(8): Add metric argument.
Thu, Apr 9, 10:58 PM
pouria updated the diff for D56324: rtnetlink.4: Add RTA_PRIORITY and RTA_WEIGHT.

Add RTA_PRIORITY.

Thu, Apr 9, 10:57 PM
pouria retitled D56324: rtnetlink.4: Add RTA_PRIORITY and RTA_WEIGHT from rtnetlink.4: Add RTA_WEIGHT to RTA_MULTIPATH to rtnetlink.4: Add RTA_PRIORITY and RTA_WEIGHT.
Thu, Apr 9, 10:57 PM
pouria updated the diff for D56326: route(8): Show metric value in monitor route.

Remove bitwise mask.

Thu, Apr 9, 10:56 PM
pouria added inline comments to D56323: netlink: Add RTA_PRIORITY support (metric).
Thu, Apr 9, 10:54 PM
pouria updated the diff for D56323: netlink: Add RTA_PRIORITY support (metric).

There is a specific netlink attribute for metric.
Use that instead.

Thu, Apr 9, 10:51 PM
pouria retitled D56323: netlink: Add RTA_PRIORITY support (metric) from netlink: Fix weight overflow of RTA_MULTIPATH, use metric instead to netlink: Add RTA_PRIORITY support (metric).
Thu, Apr 9, 10:51 PM
pouria added inline comments to D56322: routing: Add support for route metric.
Thu, Apr 9, 10:49 PM
pouria updated the diff for D56322: routing: Add support for route metric.

Update structure to make it compile separately.
+ fix minor issues.

Thu, Apr 9, 10:47 PM
pouria updated the diff for D56322: routing: Add support for route metric.

Refactor to use union instead.
This is much more cleaner.

Thu, Apr 9, 1:14 PM

Wed, Apr 8

pouria added a comment to D56323: netlink: Add RTA_PRIORITY support (metric).

These changes can be tested in latter route revisions in the revision stack.

Wed, Apr 8, 10:39 PM
pouria added a comment to D56322: routing: Add support for route metric.

Also this revision will NOT change expected routing behavior (POLA) since we never allow users to set weight more than 24-bit.
Now we don't, but we use it for metric.
I intentionally used the term metric instead of administrative distance. You know the difference.

Wed, Apr 8, 10:31 PM
pouria added a comment to D56322: routing: Add support for route metric.

Here is how it works:

[root@ftsr1] [~] # route -n6 add -net 3fff::/64 -gateway 2a01:e140:10:10::6 -weight 33554435
change net 3fff::/64: gateway 2a01:e140:10:10::6 fib 0
[root@ftsr1] [~] # route -n6 add -net 3fff::1/64 -gateway 2a01:e140:10:10::1 -weight 2
add net 3fff::1/64: gateway 2a01:e140:10:10::1 fib 0
[root@ftsr1] [~] # route -n6 get 3fff::/64
   route to: 3fff::
destination: 3fff::
       mask: ffff:ffff:ffff:ffff::
    gateway: 2a01:e140:10:10::6
        fib: 0
  interface: vtnet0
      flags: <UP,GATEWAY,DONE,STATIC>
 recvpipe  sendpipe  ssthresh  rtt,msec    mtu       metric    weight    expire
       0         0         0         0      1500         2         3         0
[root@ftsr1] [~] # route -on6 get 3fff::/64
   route to: 3fff::
destination: 3fff::
       mask: ffff:ffff:ffff:ffff::
        fib: 0
      flags: <UP,GATEWAY,DONE,STATIC>
      nhops: 2
        via gw 2a01:e140:10:10::1 iface vtnet0 metric 0 weight 2 mtu 1500 table inet6.0
        via gw 2a01:e140:10:10::6 iface vtnet0 metric 2 weight 3 mtu 1500
[root@ftsr1] [~] # netstat -rn6W | grep 3fff
3fff::/64                         2a01:e140:10:10::1            UGS         0   1500           vtnet0
3fff::/64                         2a01:e140:10:10::6            UGS         0   1500           vtnet0
[root@ftsr1] [~] # netstat -On6W
Nexthop groups data
Wed, Apr 8, 10:10 PM
pouria requested review of D56326: route(8): Show metric value in monitor route.
Wed, Apr 8, 9:57 PM
pouria requested review of D56325: route(8): Show metric value in get route.
Wed, Apr 8, 9:57 PM
pouria requested review of D56324: rtnetlink.4: Add RTA_PRIORITY and RTA_WEIGHT.
Wed, Apr 8, 9:56 PM
pouria requested review of D56323: netlink: Add RTA_PRIORITY support (metric).
Wed, Apr 8, 9:56 PM
pouria requested review of D56322: routing: Add support for route metric.
Wed, Apr 8, 9:56 PM
pouria updated the diff for D56188: netlink: Fix RTA_MULTIPATH on RTM_GETROUTE.

Also return the weight of selected nhop from nhgrp.

Wed, Apr 8, 7:20 PM
pouria added a comment to D54172: Add Support for Geneve (RFC8926).

@kp @zlei Done.
Could you please review this again?
I just removed the support without netlink completely and successfully ran my tests.
There should be no nvlist interface/header left.
I also abandoned the support for ifconfig WITHOUT_NETLINK.

Wed, Apr 8, 4:53 PM
pouria updated the summary of D54172: Add Support for Geneve (RFC8926).
Wed, Apr 8, 4:48 PM
pouria updated the diff for D54172: Add Support for Geneve (RFC8926).

Remove nvlist/ioctl support.

Wed, Apr 8, 4:46 PM
pouria updated the summary of D56251: linux: add Linux i2c-dev ioctl compatibility support.
Wed, Apr 8, 2:14 PM

Tue, Apr 7

pouria added inline comments to D54172: Add Support for Geneve (RFC8926).
Tue, Apr 7, 10:18 AM
pouria added a comment to D54172: Add Support for Geneve (RFC8926).

kind ping @zlei

Tue, Apr 7, 10:17 AM
pouria accepted D56288: ifnet: vnet_if_return(): Avoid unnecessary recursive acquisition of ifnet_detach_sxlock.
Tue, Apr 7, 9:45 AM
pouria added a comment to D56288: ifnet: vnet_if_return(): Avoid unnecessary recursive acquisition of ifnet_detach_sxlock.

This LGTM, but here's an idea: why not do it the other way around?
It makes more sense not to acquire the lock on every vnet_destroy, since many modules don't require ifnet_detach_sxlock.
Of course it requires more work, but IMHO it's worth it.

Tue, Apr 7, 9:11 AM

Sat, Apr 4

pouria accepted D56253: ip6_mroute: VNETify counters.

LGTM

Sat, Apr 4, 11:27 AM
pouria updated subscribers of D56246: route.8: Describe weight modifier.

I want to work on metric or administrative distance too.
But I'm waiting on @melifaro response to some of my questions.

Sat, Apr 4, 10:47 AM

Fri, Apr 3

pouria requested review of D56246: route.8: Describe weight modifier.
Fri, Apr 3, 6:57 PM
pouria added a comment to D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.

@bz
I'd appreciate if your review this again when you have time.
I won't proceed without your approval.

Fri, Apr 3, 5:39 PM
pouria added inline comments to D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.
Fri, Apr 3, 1:22 PM
pouria updated the diff for D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.

Address @bz comment.

Fri, Apr 3, 1:21 PM
pouria updated the diff for D56135: nd6: Break nd6_prefix_lifetime_update out of prelist_update.

Address @markj comment

Fri, Apr 3, 1:09 PM

Thu, Apr 2

pouria retitled D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options from nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG experimental code to nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.
Thu, Apr 2, 10:57 PM
pouria updated the diff for D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.

Remove the whole EXPERIMENTAL kernel option as noted by @bz.

Thu, Apr 2, 10:54 PM
pouria added inline comments to D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.
Thu, Apr 2, 10:40 PM
pouria added a comment to D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.

@bz done.

Thu, Apr 2, 8:47 PM
pouria requested review of D56228: nd6: Remove DRAFT_IETF_6MAN_IPV6ONLY_FLAG and EXPERIMENTAL options.
Thu, Apr 2, 8:44 PM
pouria accepted D55875: ifnet: Add some sanity checks.
Thu, Apr 2, 5:23 PM
pouria updated the diff for D56135: nd6: Break nd6_prefix_lifetime_update out of prelist_update.

Address @markj comment.
Thank you

Thu, Apr 2, 11:27 AM
pouria committed rGcf275806b6ed: nd6: Fix delayed NA for proxy addresses (authored by pouria).
nd6: Fix delayed NA for proxy addresses
Thu, Apr 2, 11:12 AM
pouria closed D55850: nd6: Fix delayed proxy address.
Thu, Apr 2, 11:12 AM
pouria added a comment to D55850: nd6: Fix delayed proxy address.

Is proxy advertisement handling covered by your tests in review?

Thu, Apr 2, 10:25 AM

Wed, Apr 1

pouria added a comment to D55850: nd6: Fix delayed proxy address.

kind ping: @markj

Wed, Apr 1, 5:32 PM
pouria added a reviewer for D56129: nd6: Do not enter net_epoch under nd6_prelist_add: zlei.
Wed, Apr 1, 4:55 PM
pouria retitled D55229: nd6: Add support for Optimistic DAD (RFC 4429) from ndp: Add support for Optimistic DAD (RFC 4429) to nd6: Add support for Optimistic DAD (RFC 4429).
Wed, Apr 1, 4:53 PM
pouria retitled D56129: nd6: Do not enter net_epoch under nd6_prelist_add from ndp: Do not enter net_epoch under nd6_prelist_add to nd6: Do not enter net_epoch under nd6_prelist_add.
Wed, Apr 1, 4:52 PM
pouria retitled D55850: nd6: Fix delayed proxy address from ndp: Fix delayed proxy address to nd6: Fix delayed proxy address.
Wed, Apr 1, 4:50 PM
pouria retitled D55449: nd6: Add support for route information (RFC 4191) from ndp: Add support for route information (RFC 4191) to nd6: Add support for route information (RFC 4191).
Wed, Apr 1, 4:49 PM
pouria retitled D56207: nd6: Add router address and DHCPv6-PD flags in PIO headers from ndp: Add router address and DHCPv6-PD flags in PIO headers to nd6: Add router address and DHCPv6-PD flags in PIO headers.
Wed, Apr 1, 4:47 PM
pouria retitled D56136: nd6: Remove goto and unused condition in prelist_update from ndp: Remove goto and unused condition in prelist_update to nd6: Remove goto and unused condition in prelist_update.
Wed, Apr 1, 4:37 PM
pouria retitled D56135: nd6: Break nd6_prefix_lifetime_update out of prelist_update from ndp: Break nd6_prefix_lifetime_update out of prelist_update to nd6: Break nd6_prefix_lifetime_update out of prelist_update.
Wed, Apr 1, 4:36 PM
pouria updated the diff for D56133: nd6: Ignore entire PI if violates RFC 4862 section 5.5.3.

Address @zlei comment.

Wed, Apr 1, 4:32 PM
pouria added inline comments to D56132: nd6: Change prelist_update() return type to void.
Wed, Apr 1, 4:28 PM
pouria retitled D56133: nd6: Ignore entire PI if violates RFC 4862 section 5.5.3 from ndp: Ignore entire PI if violates RFC 4862 section 5.5.3 to nd6: Ignore entire PI if violates RFC 4862 section 5.5.3.
Wed, Apr 1, 4:07 PM
pouria retitled D56132: nd6: Change prelist_update() return type to void from ndp: Change prelist_update() return type to void to nd6: Change prelist_update() return type to void.
Wed, Apr 1, 4:07 PM
pouria retitled D56131: nd6: break pfxrtr_add out of nd6_prelist_add from ndp: break pfxrtr_add out of nd6_prelist_add to nd6: break pfxrtr_add out of nd6_prelist_add.
Wed, Apr 1, 4:06 PM
pouria retitled D56130: nd6: break nd6_prefix_update out of prelist_update from ndp: break nd6_prefix_update out of prelist_update to nd6: break nd6_prefix_update out of prelist_update.
Wed, Apr 1, 4:06 PM
pouria retitled D56134: nd6: Remove anycast check in prelist_update from ndp: Remove anycast check in prelist_update to nd6: Remove anycast check in prelist_update.
Wed, Apr 1, 4:06 PM
pouria added a comment to D56134: nd6: Remove anycast check in prelist_update.

For the commit message,

ndp: Remove anycast check in prelist_update

I think the word ndp is a bit misleading. I read it this is a change for the userspace one usr.sbin/ndp. I'd prefer nd6_rtr: xxx or nd6: xxx, to indicate the change is for the kernel part.

Wed, Apr 1, 4:03 PM
pouria closed D56202: route: Show weight of nexthop in multipath routes.
Wed, Apr 1, 3:58 PM
pouria committed rG759d8a13a3b4: route(8): Show weight of nexthop in multipath routes (authored by pouria).
route(8): Show weight of nexthop in multipath routes
Wed, Apr 1, 3:58 PM
pouria added a comment to D55449: nd6: Add support for route information (RFC 4191).

Do you have any tests for this feature?

Wed, Apr 1, 3:52 PM
pouria updated the diff for D56216: tests/netinet6: Add route information option test.

Fix some of the linter warning. rest is intentional.

Wed, Apr 1, 3:50 PM
pouria requested review of D56216: tests/netinet6: Add route information option test.
Wed, Apr 1, 3:45 PM
pouria updated the diff for D55449: nd6: Add support for route information (RFC 4191).

ignore rti default route with lifetimer bigger than UINT16_MAX until I update its structure in another review.

Wed, Apr 1, 3:29 PM
pouria updated the diff for D55449: nd6: Add support for route information (RFC 4191).

Enable not yet part again.

Wed, Apr 1, 3:19 PM
pouria added a comment to D55449: nd6: Add support for route information (RFC 4191).

Do you have any tests for this feature?

Wed, Apr 1, 1:27 PM
pouria updated the diff for D55449: nd6: Add support for route information (RFC 4191).

Address @markj comments.
Thank you so much for your review.

Wed, Apr 1, 1:26 PM
pouria added inline comments to D56202: route: Show weight of nexthop in multipath routes.
Wed, Apr 1, 12:34 PM
pouria updated the diff for D56202: route: Show weight of nexthop in multipath routes.

Address @zlei comments.

Wed, Apr 1, 12:34 PM

Tue, Mar 31

pouria added a reviewer for D55448: rtadvd: set route info lifetime to 0 during shutdown: bz.
Tue, Mar 31, 10:18 PM
pouria abandoned D55506: route(8): print nexthop weight in monitor.

I forgot I already had this one open, abandon in favor of D56202

Tue, Mar 31, 10:15 PM
pouria added a comment to D55449: nd6: Add support for route information (RFC 4191).

kind ping: @bz @glebius @markj
I'm not in rush, however, I just can't continue my work on ndp without this anymore due to number of conflicts.

Tue, Mar 31, 10:10 PM
pouria added a comment to D56207: nd6: Add router address and DHCPv6-PD flags in PIO headers.

I didn't include the sys/netinet6/nd6_rtr.c part yet, so there is no dependency with other ndp revisions.
But I want to push them at once. (ofc, if approved)

Tue, Mar 31, 10:06 PM
pouria added a comment to D56207: nd6: Add router address and DHCPv6-PD flags in PIO headers.

@ae, that's where I said we would probably have conflict over the reserved flags.

Tue, Mar 31, 10:03 PM