| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
synonym for '-a list'; stop SEGV when specifying 'via' with no interface;
change 2 instances of strcpy() to strncpy().
This is a candidate for 2.2
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
|
|
|
|
|
|
| |
do it themselves. (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!) Also fix up some
other #include messes while we're at it.
|
|
|
|
| |
2.2 Candidate.
|
|
|
|
|
| |
The rule is still added to the chain since the interface may get
created later on after loading an LKM.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
firewalls are remote, and this command will kill the network connection
to them), prompt the user for confirmation of this command.
Also, add the '-f' flag which ignores the need for confirmation the
command, and if there is no controlling tty (isatty(STDIN_FILENO) !=0)
assume '-f'.
If anyone is using ipfw flush in scripts it shouldn't affect them, but you
may want to change the script to use a 'ipfw -f flush'.
Reviewed by: alex
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
now completely consistent across all IP protocols and should be quite a
bit faster.
Use getprotoname() extensively, performed minor cleanups of admin utility.
The admin utility could use a good kick in the pants.
Basicly, these were the minimal changes I could make to the code
to get it up to tollerable shape. There will be some future commits
to clean up the basic architecture of the firewall code, and if
I'm feeling ambitious, I may pull in changes like NAT from Linux
and make the firewall hooks comletely generic so that a user can
either load the ipfw module or the ipfilter module (cf Darren Reed).
Discussed with: fenner & alex
|
| |
|
|
|
|
|
|
| |
Submitted by: fenner (with modifications by me)
Bring in the interface unit wildcard flag fix from rev 1.15.4.8.
|
|
|
|
|
|
| |
This stuff should not be too destructive if the IPDIVERT is not compiled in..
be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
|
| |
|
|
|
|
|
|
|
| |
Prevent ALL protocol from being used with port specifications.
Allow 'via' keyword at any point in the options list. Disallow
multiple 'via' specifications.
|
|
|
|
| |
Submitted by: nate
|
|
|
|
|
|
|
|
| |
of /0 to have the desired effect. Normalize IP addresses that
won't match a given mask (i.e. 1.2.3.4/24 becomes 1.2.3.0/24).
Submitted by R. Bezuidenhout <rbezuide@mikom.csir.co.za>
Code formatting and "frag" display fixes.
|
|
|
|
| |
Found by: Aage Robekk <aagero@aage.priv.no>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Filter based on ICMP types.
- Accept interface wildcards (e.g. ppp*).
- Resolve service names with the -N option.
- Accept host names in 'from' and 'to' specifications
- Display chain entry time stamps with the -t option.
- Added URG to tcpflags.
- Print usage if an unknown tcpflag is used.
- Ability to zero individual accounting entries.
- Clarify usage of port ranges.
- Misc code cleanup.
Closes PRs: 1193, 1220, and 1266.
|
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Submitted by: Archie Cobbs <archie@whistle.com>
|
|
|
|
| |
add new feature for "established"
|
|
|
|
|
| |
Reviewed by: phk
Submitted by: "Frank ten Wolde" <franky@pinewood.nl>
|
| |
|
|
|
|
| |
An almost correct usage is printed.
|
|
|
|
| |
I hope it all compiles...
|
| |
|
| |
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
| |
|
|
|
|
|
|
| |
Submitted by: Gary Palmer <gary@palmer.demon.co.uk>
Minor cleanup by me in the English.
|
|
|
|
|
|
| |
Add reading options from file, now ipfw <filename> will
read commands string after string from file , form of strings
same as command line interface.
|
|
|
|
|
| |
TcpSyn option removed and will be shortly repoaced by support of all
TCP Flags including syn and ack...
|
|
|
|
|
| |
`syn' not `tcpsyn' (which matches `tcp' which blocks all tcp
packets)
|
| |
|
| |
|
|
|
|
|
|
|
| |
(while addf skipped)
Reviewed by:
Submitted by:
Obtained from:
|
|
|
|
| |
would go through it and fix it would be a really good idea.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
is a pain in ...wel.. trying to fix this
* from/to/via position indepenndant syntax
* "any" for 0/0 host address
* addf/addb default keyword in case you skip it..
* pass = accept new action, seems to be somewhat better
in particular cases
* on = via (as on ed0 instead of via ed0,loook at
reject tcp on ed0 from hacker )
|
|
|
|
|
| |
and others not..
Submitted by: torstenb@FreeBSD.ORG
|
|
|
|
| |
along with IP as "via" argument
|
| |
|
| |
|
|
|
|
| |
here it is..
|
|
|
|
|
|
| |
ports for the destination IP addr/port.
Nobody reported this btw , while a lot of other things reported-
probably ppl does not use destination ports at all????
|