Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rescue: add ipfw, pfctl #1169

Closed
wants to merge 1 commit into from
Closed

rescue: add ipfw, pfctl #1169

wants to merge 1 commit into from

Conversation

llfw
Copy link
Contributor

@llfw llfw commented Apr 14, 2024

Rationale for this change:

  • ipf is already there

  • if the kernel is configured with a packet filter which drops packets by default, pfctl or ipfw will be required in the rescue environment to make the network functional.

  • rescue's stated purpose is to be useful for small/embedded systems (and is also quite useful for small jails); a rescue-based router would want these binaries.

On amd64, this increases the size of rescue from 17346200 to 17907248, or 561048 bytes (3.2%).

Rationale for this change:

- ipf is already there

- if the kernel is configured with a packet filter which drops packets
  by default, pfctl or ipfw will be required in the rescue environment
  to make the network functional.

- rescue's stated purpose is to be useful for small/embedded systems
  (and is also quite useful for small jails); a rescue-based router
  would want these binaries.

On amd64, this increases the size of rescue from 17346200 to 17907248,
or 561048 bytes (3.2%).
@llfw
Copy link
Contributor Author

llfw commented Apr 14, 2024

this requires #1167 to be merged first or the build fails.

edit: this is done

@emaste
Copy link
Member

emaste commented Apr 15, 2024

Size increase seems reasonable and anyone who needs an especially small image can build with only one of pf/ipf/ipfw.

@bsdimp bsdimp self-assigned this Apr 19, 2024
@bsdimp bsdimp added the ready label Apr 19, 2024
@bsdimp
Copy link
Member

bsdimp commented Apr 19, 2024

merged. thanks for the cleanup

@bsdimp bsdimp closed this Apr 19, 2024
@bsdimp bsdimp added merged and removed ready labels Apr 19, 2024
freebsd-git pushed a commit that referenced this pull request Apr 19, 2024
Rationale for this change:

- ipf is already there

- if the kernel is configured with a packet filter which drops packets
  by default, pfctl or ipfw will be required in the rescue environment
  to make the network functional.

- rescue's stated purpose is to be useful for small/embedded systems
  (and is also quite useful for small jails); a rescue-based router
  would want these binaries.

On amd64, this increases the size of rescue from 17346200 to 17907248,
or 561048 bytes (3.2%).

Reviewed by: imp
Pull Request: #1169
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants