aboutsummaryrefslogtreecommitdiff
path: root/share/examples/ipfw
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* -F is GNU diff specific, not implemented in BSD diff.Hiroki Sato2020-03-181-1/+1
| | | | | | | | Reported by: kouya@ryuhoku.jp MFC after: 3 days Notes: svn path=/head/; revision=359067
* share and pc-sysinstall: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Commit these apart because compile testing doesn't guarantee I didn't made some nasty mistake. No functional change intended. Notes: svn path=/head/; revision=326275
* make sure we really don't have a tty when installing rules. This preventsJohn-Mark Gurney2003-09-071-3/+3
| | | | | | | | | | a flush command from asking a question (you can't see): If there is no tty associated with the process, this is implied. MFC after: 1 day Notes: svn path=/head/; revision=119833
* Various spelling and grammar fixesChristian Brueffer2003-02-131-8/+8
| | | | | | | | | PR: 44312 Submitted by: Chris Pepper <pepper@rockefeller.edu> MFC after: 3 days Notes: svn path=/head/; revision=110792
* 1) Fix change_rules.sh for the case where firewall_type provides theSheldon Hearn2001-09-301-14/+44
| | | | | | | | | | | | | | | | | name of a file containing ipfw rules. 2) Replace the use of a predictable temporary filename with one generated by mktemp(1). 3) Only exit with a zero exit status if the rules were updated. 4) Use a pager to view the new rules, not an editor. I was told by dcs that this script's original author is no longer interested in FreeBSD and would not wish to review this patch. Notes: svn path=/head/; revision=84165
* Make this really work.Ruslan Ermilov2001-06-181-10/+10
| | | | Notes: svn path=/head/; revision=78408
* Use ${EDITOR} as claimed.Daniel C. Sobral2001-06-061-29/+38
| | | | | | | | | | | | | | Source rc.conf and use ${firewall_script} instead of rc.firewall. Textwidth formatting of comments and text. PR: Submitted by: Maxim <maxim@news1.macomnet.ru> (sorry if I got name/email/committer status wrong :) Notes: svn path=/head/; revision=77829
* Introduce an example script of safe changing of ipfw(8) rules.Daniel C. Sobral2001-06-061-0/+114
I'm sure this can be much improved, but this works fairly well. PR: 27887 Submitted by: Alexandre Peixoto <alexandref@tcoip.com.br> MFC after: 1 week Notes: svn path=/head/; revision=77815