Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
5a22b51c 02/02/2007 05:40 PM Scott Ullrich

Correctly return wan or lan. It seems that this function can fail in certain cases that I am still trying to resolve.

f1bee6b5 02/01/2007 09:48 PM Scott Ullrich

Woops, preventing one to one from pftpx requires src address logic. Rework.

0a9a826c 02/01/2007 09:39 PM Scott Ullrich

Do not redirect 1:1 ftp traffic to pftpx. Let FTP Sesame handle it.

5a81a54e 01/31/2007 11:34 PM Scott Ullrich

require_once("services.inc") to prevent: Fatal error: Call to undefined function: configure_cron() in /etc/inc/config.inc on line 909

7ef750ea 01/31/2007 10:54 PM Daniel Stefan Haischt
  • bump config version. latest version is 2.6
1d2e463d 01/31/2007 09:46 PM Daniel Stefan Haischt
  • fix: config convertion logic.
78730e65 01/30/2007 11:48 PM Daniel Stefan Haischt

upgrade config if cron items are missing.

8539f769 01/30/2007 04:23 PM Scott Ullrich

Only install icmp rule if we can obtain an IP address for the WAN interface

58af5941 01/29/2007 10:03 PM Scott Ullrich

PPPoE automatic disconnect MFC

Submitted-by: DSH
Really, really, really wanted by: Hoba

Commit #1 of #2

5f9bcd7a 01/29/2007 09:27 PM Scott Ullrich
  • Turn off led earlier in function to avoid return
  • Use consistent /bin/echo
a0a125b9 01/29/2007 09:15 PM Scott Ullrich

Add support for both Soekris and WRAP led's for trigger an alert.

385b3413 01/29/2007 09:11 PM Scott Ullrich

Woops, use /dev/led/error

d0d32c1b 01/29/2007 09:07 PM Scott Ullrich

Toggle the LED on wrap/soekris when an alert is filed if /dev/led1 exists.

1071e028 01/29/2007 04:09 AM Scott Ullrich

Backport cron handling from HEAD.

Patches-submitted-by: DSH@

d8a77856 01/28/2007 04:35 AM Scott Ullrich

Permit firewall to ping out from the WAN IP for ping_hosts.sh

c0b131a5 01/25/2007 10:50 PM Scott Ullrich

Oops, down the interface first, then delete.

161040eb 01/25/2007 10:46 PM Scott Ullrich
  • Add get_number_of_vlan_interfaces()
  • Delete old VLAN interfaces and recreate automatically
0d55818d 01/25/2007 10:36 PM Scott Ullrich

Update native and long frame support from vlan(4)

83cda976 01/24/2007 11:32 PM Scott Ullrich

Add pfsense.merge_config_section which can merge two keys together via XMLRPC sync instead of killing the prior section. This is useful when merging subkeys of installedpackets for example.

5a1eebc7 01/24/2007 04:34 AM Scott Ullrich

Backport the alias rowhelper description feature

f35f2e37 01/23/2007 10:00 PM Seth Mos

Fix filter rules when using load balancing pools. Latest CVS was broken.
Logic error. And we do need to guess. It's not a local IP, it's a gateway.
Something with toffees

fde7c161 01/23/2007 08:43 PM Seth Mos

Make DHCP server rules work again. on OPT interfaces.

106934e4 01/22/2007 01:08 AM Scott Ullrich

Do not launch check_reload_status from filter.inc. This creates some strange situation where check_reload_status inherits socket descriptors from OpenVPN.

297363af 01/21/2007 10:19 PM Seth Mos

Don't guess interface, we know.

c25998b9 01/21/2007 09:51 PM Seth Mos

If the load balancer interface name turns out to be a ip address we guess the interface and log a error.

Found by Holger

2a1e01d7 01/20/2007 11:29 PM Seth Mos Not sure how I missed this.
  • use correct variable name.
4f181571 01/19/2007 04:36 PM Scott Ullrich

Add back missing WINS statement that was accidently chopped in commit #9051

Ticket #1209

a3c72e23 01/15/2007 08:17 PM Seth Mos

Fix indenation and possible conflicting variable naming (future commits)

f9ba50da 01/13/2007 12:41 AM Seth Mos Sync enable_rrd_graph() with HEAD
  • added quality graph backend for Optional interfaces
  • Huge code cleanup. PHP should now return proper line numbers on parse errors.
af1a890c 01/12/2007 11:30 PM Seth Mos

filter.inc logic and filter rule fix for new load balancer by interface name

e64e1e37 01/06/2007 04:53 PM Seth Mos

Let's see if this works ok over the course of a few snapshots. If not we can always revert this checkin combination.
Do note the s/$POST/$_POST fixes!

Allow for a failover type next to the already available load balancing type.
The gui server list box needs some up and down box for ordering....

2d5614de 01/02/2007 10:58 PM Seth Mos

Do not configure DHCP server on dhcp interfaces.

c98df176 01/02/2007 10:27 PM Seth Mos

Do not create DHCP server firewall rules for interfaces which are configured for DHCP.
They/We/He/She should not run into this, except when migrating a interface configuration to something else.

401452ec 12/30/2006 12:45 AM Seth Mos Merge in new (outbound) load balancing configuration code from HEAD.
  • assign interfaces to pool instead of manual IP configuration
  • Only show interfaces with a gateway
  • Offer list of monitor IPs including interface gateways.

This code is tested for outbound load balancing on a carp cluster and...

1cea5083 12/28/2006 11:47 PM Scott Ullrich

Renumber, assign and delete rules as needed.

Observed-by: Vacum via irc

17a2bc02 12/28/2006 11:19 PM Scott Ullrich

s/array_count/array_count_values/

9841743e 12/28/2006 10:47 PM Scott Ullrich

Renumber, assign and delete rules as needed.

Observed-by: Vacum via irc

9aa9d624 12/28/2006 10:04 PM Scott Ullrich

Revert back to base dhclient

2305d4c5 12/28/2006 09:49 PM Scott Ullrich

Go back to stock FreeBSD dhclient. ISC's is not very multi wan friendly and will make rearchitecting our code a complete interface rewrite.

5b09780a 12/27/2006 07:47 AM Seth Mos

Fix spelling
Submitted-by: Devon O'Dell <>

32f5ff5a 12/24/2006 07:21 PM Seth Mos

Fix ticket 1192 as seen by hoba and seth.

3aec0ff4 12/23/2006 12:36 AM Scott Ullrich

REALLY release and renew correctly.

ca88e48f 12/23/2006 12:00 AM Scott Ullrich
  • Fix release / renew
  • Don't return immediately from dhclient to give it time to associate so we can return correct address back to status_interfaces.php
f1d5b72c 12/22/2006 11:17 PM Scott Ullrich

Correct path to pgrep:

  1. which pgrep
    /bin/pgrep
a19daac5 12/22/2006 10:06 PM Scott Ullrich

Reverse platform testing logic. It must have been oppisite day.

d25b4a55 12/22/2006 09:02 PM Scott Ullrich

Only use freebsd-sendfile network handler on Full Installations. Tests have shown that it actually slows down the metallic theme on embedded by Holger.

fda8dc28 12/22/2006 04:55 PM Seth Mos

Fix DHCP status on status_interfaces.php. Use find_dhclient_process() for test.

bb7d60f9 12/21/2006 10:15 PM Seth Mos MFC find_dhclient_process() fixes.
  • Fix pgrep regexp for new dhclient version
  • Kill process by number instead of (non-existant) pid file.
  • Return PID number instead of executing the file $pid
770b4b9c 12/21/2006 09:08 PM Scott Ullrich

Use correct directive.

a56e787d 12/21/2006 09:05 PM Scott Ullrich

MFC use freebsd-sendfile

e789a625 12/21/2006 12:28 AM Scott Ullrich

Output dhclient.conf in the same format as current m0n0.ch beta (freebsd 6 + isc dhclient)

bdc3c489 12/21/2006 12:21 AM Scott Ullrich
  • Set dhclient-script using option
  • Use -nw

Obtained from latest m0n0 beta 1.3

8a7553ab 12/20/2006 10:06 PM Scott Ullrich

Switch to ISC-Dhclient. OpenBSD's dhclient is driving me bonkers.

f86e2cf9 12/17/2006 05:58 PM Scott Ullrich

"Always sent Session-Time in accounting packets. This makes most prepaid systems to work again."

Obtained from m0n0wall

a32edd35 12/14/2006 09:35 PM Seth Mos

Create valid pf Syntax!

76212648 12/13/2006 01:22 AM Scott Ullrich

Only pass in on Captive Portal interface

Ticket #1188

8b80a848 12/13/2006 12:46 AM Scott Ullrich

For interfaces using the Captive Portal, ensure that traffic can reach port 8000 and 8001 which is the Captive Portal auth interfaces.

Ticket #1188

317e8e1a 12/11/2006 07:44 PM Seth Mos

- livecd/embedded: do not create a md on /var/db/rrd, /var already is one
-7 lines, +6MB ram. Tested on WRAP + LiveCD

84e5047d 12/11/2006 05:10 PM Scott Ullrich

Silence eclipse warnings

161a01bd 12/11/2006 04:56 PM Scott Ullrich

Ticket #1185
Check $hostname, not $domain

8777488b 12/05/2006 05:45 PM Scott Ullrich

MFC 15411
is_domain(): MS breaks all laws, so unserscores are allowed...

856887a3 12/05/2006 05:42 PM Scott Ullrich

MFC 15402
is_domain(): domains must not contain underscores; empty strings are not valid

7d5b8f4a 12/02/2006 12:53 PM Seth Mos

Do no install default pass in rules for openvpn interfaces with a
gateway.

86c2b561 11/30/2006 09:49 PM Scott Ullrich

Install frickin pptp proxy rules

490ebea1 11/30/2006 06:39 PM Scott Ullrich

Add frickin pptp proxy hooks.

481fda7f 11/28/2006 07:14 PM Scott Ullrich

Start OpenVPN with nohup

66cc9614 11/24/2006 06:32 AM Seth Mos

Uhm, previous was almost right. Limit dropped to a 115MB available ram
so people can use computers with up to 8MB of shared graphics memory.

41ca428b 11/24/2006 03:53 AM Scott Ullrich

Do not forget rule anchor for imspector.

Pointed-out-by: dberlin

193877d3 11/24/2006 03:38 AM Scott Ullrich

MFC 15441
added imspector anchor

da3cb207 11/22/2006 10:36 PM Seth Mos

If the available memory is between 97 and 128 MB do not prompt. This is
the same approach as system.inc does. This fixes boot for people with
onboard graphic cards and you miss a few MB.

6ab7ae50 11/22/2006 05:47 PM Seth Mos

Merge newer rrd graphing code, drop down now only lists valid rrd
targets. Added CPU and States graphs. More logging in case of graph
generation. Minor bugfixes and cleanup.

f1d634bb 11/22/2006 05:04 PM Scott Ullrich

Move $config = parse_config() statement to end of file to attempt to prevent the error:

Fatal error: Unknown function: parse_config() in /etc/inc/config.inc on line 198

3e0896d5 11/19/2006 07:13 PM Scott Ullrich

MFC 15106
Ticket #1146: binat rules MUST be before NAT else they don't work as
expected.

f80f3194 11/19/2006 06:55 PM Scott Ullrich

MFC 15382
fix: is_process_running() does inaccurate matches

6a01ea44 11/11/2006 05:52 PM Bill Marquette

MFC [15285]
add dhcpd static mappings to dns forwarder

0dbac999 11/10/2006 07:58 PM Scott Ullrich

Only enumerate the variable if it is an array to avoid:

Warning: fclose(): supplied argument is not a valid stream resource in /etc/inc/system.inc on line 147

c5a2bfdb 11/10/2006 06:27 PM Scott Ullrich

Allow priv to appear multiple times so that a person can downgrade from the pile of SHIT we call -HEAD.

029d1a71 11/10/2006 04:06 PM Scott Ullrich MFC 15253
  • suppress the annoying 'missing default locale' warning if calling the tar binary
95385647 11/06/2006 09:59 PM Scott Ullrich

Apparently my big fat warning about needing two interfaces is not a big enough warning. Make the language a bit more precise and stern to thwart bogus support requests.

634d6ab3 11/05/2006 11:40 PM Bill Marquette

MFC [15201]
unset $extport before assigning to it as not all elements of the array are
assigned each time through the loop, but all elements are checked and used
if already assigned. Oops.

c64f4049 10/29/2006 12:28 AM Bill Marquette

apparently 5m cache slows stuff WAAAYYYYYYY down, 7m has a negligable
performance diff from 30m and works better than 5m, so let's use it

16403b3a 10/28/2006 01:43 AM Bill Marquette

Only check for check_reload_status process if machine is booted
rc scripts launch this process at the end of boot

d2834563 10/27/2006 04:29 PM Scott Ullrich

Ticket #1154: Bad format for generated syslog.conf

Submitted-by: Angelo Turetta aturetta+pfsense at bestunion.it

36f83392 10/26/2006 02:52 PM Scott Ullrich

Be a little more agressive when blocking snort2c traffic

96e85395 10/23/2006 12:09 AM Bill Marquette

Ticket #1136: Make sure check_reload_status is running so we can regen
rules

ec6adc21 10/22/2006 10:09 PM Bill Marquette

PF doesn't know what "congestion" TOS flag is

1387e454 10/22/2006 05:21 AM Bill Marquette

MFC [15086]
Ticket #1137: find_interface_ip() doesn't do what it says. Really return only the first found IP. This fixes issues with people configuring FreeBSD IP aliases on interfaces

7a7abeba 10/20/2006 05:00 PM Scott Ullrich

Remove pf states for client ip when disconnecting from captive portal.

3696f576 10/17/2006 09:28 PM Scott Ullrich

Woops, we need the ftp anchor BEFORE the user rules, and the inital PASS rules AFTER.

This controls the initial port 21 connetion and once that is allowed through the ftp rules installed by pftpx should bypass USER_RULES.

33082c49 10/17/2006 08:52 PM Scott Ullrich

Change APC caching size to 5 megabytes. php.ini is generated from system.inc on bootup now.

89a75ca9 10/15/2006 05:20 AM Bill Marquette

ZoneEdit now works, tested by myself and korozion
MFC checkin [15047]

91dc2ecf 10/14/2006 05:34 PM Scott Ullrich

file_notice() requires notices.inc

11d30033 10/14/2006 05:28 PM Scott Ullrich

file_notice() requires notices.inc

7ce92c10 10/12/2006 09:44 PM Scott Ullrich

Do not unlink filter_drity, allow check_reload_status to handle this.

4184c024 10/10/2006 01:28 AM Scott Ullrich

Do not write out php.ini on cdrom platform.

adf4b768 10/10/2006 12:38 AM Scott Ullrich
  • Dynamically create php.ini on bootup
  • Do not use APC for embedded machines. Advice from #lighttpd
632e8d54 10/10/2006 12:12 AM Scott Ullrich

If user has defined the maxprocperip to 0 then do not install mod_evasive directions to limit the connection count per ip address.

b0bdc06e 10/09/2006 11:54 PM Scott Ullrich

Use mod_evasive to limit connections per ip

087ce411 10/08/2006 09:53 PM Scott Ullrich

Add missing \n

65929949 10/08/2006 08:40 PM Scott Ullrich

Show a BIG FAT WARNING that under 128 megaytes does not work during initial setup if <128 megs of ram detected.