Project

General

Profile

Download (56.2 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
35e4f68e 05/22/2009 05:08 PM Ermal Luçi

Merge backup_vip_function to the synchronize code where its only used.

0027de0a 05/08/2009 06:42 PM Ermal Luçi
  • Create two new functions lock($subsystem)/unlock() to have more reliable locking using semaphores.
    This function can sleep till the resource is free and can help find not well behaving code.
  • Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this....
3a724c7e 05/05/2009 11:49 PM Ermal Luçi

Remove another unused function.

83bc3749 05/05/2009 11:40 PM Ermal Luçi

Move exec_command function to util.inc.

532b0fb8 05/05/2009 11:38 PM Ermal Luçi

Rename filter_translate_type_to_real_interface to interface_translate_type_to_real
Move this function to interfaces.inc where it belongs.

933a34dc 05/05/2009 11:31 PM Ermal Luçi

Remove unused function and function that provide the same functionality as php built-in ones.

00109afd 05/05/2009 07:40 PM Ermal Luçi

Remove function that is present on php5.

e88fbe50 05/05/2009 04:51 PM Ermal Luçi
  • Teach get_interface_subnet() about carp.
  • Increase scope to all interfaces when searching for the carp parent since the later is used even on those scopes.
  • General cleanup of unused vars and code.
2b4d37de 04/29/2009 02:28 PM Ermal Luçi
  • Shuffle functions around to reduce require_once() a little.
60120e37 04/26/2009 02:23 PM Ermal Luçi
  • Convert schedules to pf(4).
    This allows to schedule the whole feature of the rules like queues/limiters/gateways/blocks/allows/etc...
  • Whitespace cleaning on filter.inc
  • Move schedule backend logic from pfsense-utils.inc to filter.inc and prefix with filter_....
6dc3a5c2 04/26/2009 01:47 PM Ermal Luçi
  • Move other functions around to where it makes sense.
  • Reduce somewhat require_once() overhead by removing the includes from gwlb.inc they are not needed.
    Some more analysis is needed on the include path
52947718 04/26/2009 01:41 PM Ermal Luçi

More functions moving from pfsense-utils to interfaces.inc.

a7c6604c 04/24/2009 03:55 AM Chris Buechler

Fix "disable checksum offloading", and some other bugs with certain combinations of options while here.

afb2de1b 04/22/2009 11:53 AM Ermal Luçi
  • Make the carp ip fix for ipsec more general so other services that use the same methodology work.
    - Basically get_interface_ip() now knows how to handle carp(4).
  • Move interface related function from pfsense-utils.inc to interfaces.inc that is their place....
af990fa2 04/18/2009 11:07 PM Scott Ullrich

Match 1.X behavior for PF macros. pptp and pppoe should be lowercase macros.

eff8869e 04/18/2009 07:30 AM Chris Buechler

Fix polling.

d4e6c445 04/02/2009 04:34 AM Scott Ullrich

Raise tab char count to 82

53b67506 04/02/2009 03:58 AM Scott Ullrich

Bumb value to > 70 for dropdown invocation.

4316a60a 04/02/2009 03:55 AM Scott Ullrich

Convert tab strips into a select dropdown when there are more than 50
characters appearing in the tab names combined.

7e9547cf 03/31/2009 08:16 PM Jim Pingle

Improve the matching of carp ints to IPs.
Previously this stristr substring match would return incorrect/unexpected results. 10.0.0.1 would also match 10.0.0.16, 10.0.0.135. Adding a space to the IP to check will only match the specific IP given, since it is followed by spaces in the ifconfig output.

a55e9c70 03/30/2009 12:38 AM Ermal Luçi
  • Hide interfaces internals to other code and use the propper interfaces.
    Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc...
  • Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml...
f2ba47f8 03/22/2009 11:19 PM Ermal Luçi
  • Keep only one function to return the mac address
  • Bring the mac address function to interfaces.inc its the only consumer of those.
049a688e 03/16/2009 05:50 PM Ermal Luçi

Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel now.(yay!)

5fbefa5b 03/14/2009 02:33 AM Bill Marquette

cleanup minor javascript issues

b9064a4d 03/12/2009 06:35 AM Seth Mos

Reverse style fixes to get our subnet mask listed backed from get_interface_info()

f2a5b5e4 03/10/2009 02:14 AM Chris Buechler

Fix display of DHCP status on Status -> Interfaces

f2b8daad 03/01/2009 05:27 PM Ermal Luçi

Convert Status:Queues to ajax. This changes makes it no finally block the user interface and makes this page usable again.

5e041d5f 03/01/2009 01:19 AM Scott Ullrich

Revert "Merge IPv6 changes"

This reverts commit 1f9f2a95b7b42cf33e730535092e56e214fdb848.

Conflicts:

etc/inc/filter.inc
etc/inc/interfaces.inc
etc/inc/pfsense-utils.inc
20c79427 02/28/2009 10:03 PM Ermal Luçi

Fix get_interface_info function.

56e1d16e 02/28/2009 07:30 PM Ermal Luçi

Correctly show actions such as Connect/Disconnect on Status Interfaces page.

e7693c09 02/22/2009 07:47 PM Ermal Luçi

Make the rc.banner a lot more faster.

f402d99e 02/15/2009 09:21 PM Ermal Luçi

Remove debug message.

521cfa2f 02/14/2009 06:44 AM Ermal Luçi

Make sure we do not return the interface passed as parameter rather NULL.

ed241396 02/10/2009 08:32 PM Scott Ullrich

Set CURLOPT_TIMEOUT to 0

8cf3270b 02/01/2009 10:27 PM Ermal Luçi

Small cleanup.

7b08d8c0 02/01/2009 10:27 PM Ermal Luçi

Make L2TP known in other parts of system, schedules and the function get_interface_ip.

8c1ed8aa 02/01/2009 03:26 PM Ermal Luçi

Add more L2TP improvements.

1f9f2a95 01/20/2009 06:55 AM Simon Cornelius P. Umacob

Merge IPv6 changes

7b68ffc0 01/13/2009 10:12 PM Seth Mos

Replace another route -n get command. These can sometimes hang and cause a filter reload to get stuck.
Always use netstat -rn instead, these behave differently and can not hang according to ermal@

7723c7e0 01/13/2009 05:22 PM Seth Mos

Add a function that compares current DNS to the dnscache file.
If they are not identical it will return the old Ip addresses which can
be used for removal of old items before adding new ones.
This is used by the rc.newipsecdns script when the remote ipsec gateway...

e4f4eb7d 12/24/2008 09:54 AM Seth Mos

Remove enable_rrd_graphing()

dcd9e876 12/23/2008 01:15 PM Seth Mos

Add unknown values for the extra data sources during boot

ab482df1 12/20/2008 09:57 AM Seth Mos

make sure the update fields are in the correct order

ea1f7b42 12/16/2008 09:14 AM Seth Mos

Move rrd graph data gathering over to pfctl instead of netstat, this uses 64 bit counters

b5a8483c 12/16/2008 08:06 AM Seth Mos

Move command line after comment

971eaab5 12/15/2008 10:21 PM Seth Mos

Invoke pfctl for stats once and work with the output

01385b0c 12/15/2008 08:23 PM Scott Ullrich
  • Use 64 bit counters from PF for interfafe stats
  • Add block packets / traffic count, too
6fa67e54 12/14/2008 09:59 AM Ermal Luçi

Actually get the whole command output.

6f833b81 11/30/2008 11:54 PM Ermal Luçi

Better handle floating rules.

31d36e64 11/30/2008 11:23 PM Ermal Luçi

Update shcedule code to new world order!

33bf93fb 11/30/2008 10:03 PM Seth Mos

Correct field value to check

01383bd5 11/30/2008 09:27 AM Ermal Luçi

Cosmetic change to use the available function instead of replicating the process here.

7340c126 11/22/2008 10:03 PM Seth Mos

Remove quality graph backend, this is now apinger territory

56c17018 11/20/2008 11:07 PM Scott Ullrich

Nuke stray n's

f7eb54e4 11/20/2008 11:00 PM Scott Ullrich
  • Add interface_supports_polling()
  • Use interface_supports_polling()
4d98f634 11/20/2008 10:00 PM Scott Ullrich
  • Honor $config['system']['polling'
  • Enable / disable polling even if we are not booting.
31e4928b 11/17/2008 12:07 AM Ermal Luçi

Remove function call not needed.

Would be good to give this function a sync/refresh with filter.inc changes.

9a96fb33 11/17/2008 12:03 AM Ermal Luçi

Bring back to life tdr_create_ipfw_rule.

57160a5f 11/16/2008 11:25 PM Ermal Luçi

Remove debugging.

31b24870 11/16/2008 11:02 PM Ermal Luçi

Introduce 2 new functions
find_interface_subnet and get_interface_subnet
similar to their ip ones
find_interface_ip and get_interface_ip
to easy getting this info for dynamic interfaces.

321d0be8 11/13/2008 06:38 PM Seth Mos

Improve monitor IP lookup

db9fabf3 11/08/2008 03:38 PM Ermal Luçi

Simplify and return correct information if dhcpd is active.

1a50bdb0 11/08/2008 12:35 AM Ermal Luçi

Add backtrace in the logs whenever log_error is called and debugging($g["debug"] ) is active.

ccaf2def 11/07/2008 11:11 PM Seth Mos

Do not attempt to toggle polling on unsupported interfaces.

MFC: after testing confirms working with and without polling

18099579 11/07/2008 08:00 PM Ermal Luçi

Fix typo.

7ec05d27 11/07/2008 07:30 PM Ermal Luçi
  • Rename link_int_to_bridge_interface to link_interface_to_bridge
  • Create two new function link_interface_to_{gif,gre}
0ea02417 11/07/2008 12:39 PM Seth Mos

Do not parse vlans

ece390c0 11/06/2008 03:57 PM Seth Mos

Do not step on var

c14f3237 11/06/2008 03:45 PM Seth Mos

Do not toggle polling on vlan interfaces

5c1d21ba 10/31/2008 11:06 PM Seth Mos

Fix up functions for dynamic gateways

85a5da13 10/23/2008 09:51 PM Ermal Luçi
  • Rename get_current_wan_address to get_interface_ip
  • Rename get_real_wan_interface to get_real_interface
  • Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
  • Cleanup some code when passing or remove some unused one.
b042cfd6 10/19/2008 09:33 AM Ermal Luçi

Remove unused var.

5025a56c 10/19/2008 03:19 AM Scott Ullrich
  • Add run_plugins() function
  • Use run_plugins() function in filter.inc
  • Add plugin hook for parse_config and write_config
c0836064 10/18/2008 02:06 PM Ermal Luçi

Cleanup some not needed code and use the correct debug var.
A lot of code references $debug as var but actually there is only $g['debug'] and $debugging that are defined!!

7c36f9e0 10/13/2008 10:40 PM Ermal Luçi

Revert this and see if it affects any of problem reported on latest builds.

37f36cda 10/12/2008 07:37 PM Scott Ullrich

Read in tabcontrols.php and properly eval()

fe39586a 10/12/2008 07:32 PM Scott Ullrich

If /usr/local/www/themes/$themename/tabcontrols.php exists, then eval
it and allow the tabbing colors and nifty corners to be overriden.

The file simply needs to look like:

$tab_active_bg = "#EEEEEE";
$tab_inactive_bg = "#777777";...

ba5be9ef 10/07/2008 12:37 AM Scott Ullrich

No need to lock config when setting filter update status

df4ae7c8 10/06/2008 10:23 PM Ermal Luçi
  • Remove bigpond support from backend.
  • Use killbypid instead of sigkillbypid SIGUSR2 is not doing what is expected.
  • Actually start pppoe/pptp when the routing is called for this.
2cbdf97e 10/01/2008 05:26 PM Ermal Luçi

Cleanup the status queues so it does not does stupid things.
Apparnetly this needs to be converted to 'ajax' calls as the traffic graph but for now live with this.

93ecc2fb 09/21/2008 08:36 PM Seth Mos

Reffer to correct variable

9d635f0a 09/21/2008 08:33 PM Seth Mos

Set full path to ping

4c9f3cf5 09/21/2008 07:53 PM Seth Mos

If we really can't find what to ping just continue with the next graph

551e9159 09/21/2008 07:48 PM Seth Mos

Remove dependency on WAN having the default route.
Also failed because it did not use the full path to /sbin

778b6128 09/21/2008 07:42 PM Seth Mos

Make sure we get a valid address to ping for the rrd graphs.

7f04301d 09/20/2008 01:11 PM Ermal Luçi

Remove unrelated code from function. Add some style(9) to code so readability is improved.

24461604 09/15/2008 05:41 PM Seth Mos

Fix Wireless detection logic

29c69135 09/15/2008 05:03 PM Ermal Luçi

Search disabled interfaces too, this is needed since some code assumes this(i.e. wireless).

fb707f4a 09/12/2008 10:51 PM Ermal Luçi

Correctly gather statictics for virtual interfaces. Maybe bridge needs to be added to the list but i will have to test that further.

a72d04b3 09/11/2008 09:49 PM Ermal Luçi

Remove the ppp hack from filter_translate_type_to_real_interface we know better now.

9b1c39e3 09/10/2008 01:15 PM Ermal Luçi
  • Fixup stray dots('...') on bootup and add some comments since we do loading of the filters twice during bootup?!
  • Merge all interface related bootstraps under interfaces_configure so this allows us to handle propperly assigned bridge/gre/gif/.. devices that might are initialized later than assigned interfaces....
bfe776f0 09/09/2008 09:45 PM Ermal Luçi
  • Array checks too.
  • Add some style(9)

NOTE: Maybe someone needs to verify these strange checks on this function!

bb345bba 09/02/2008 09:23 PM Seth Mos

Make sure that convert_friendly_to_real also works for disabled interfaces.

b3251a0c 08/31/2008 09:46 PM Scott Ullrich
  • Do not return on CDROM platform
  • Use @ to send error to /dev/null
67ac4e8d 08/31/2008 05:06 PM Ermal Luçi

Integrate part of the patch from ticket #1807.

The other part is already done on pppoe_up script in /usr/local/sbin.

278aa4f4 08/31/2008 04:14 PM Ermal Luçi

Check if items are an array before treating them as such.

ca572204 08/31/2008 03:13 PM Ermal Luçi

Fix detection if an interface is part of bridge.

63182e60 08/31/2008 01:47 PM Ermal Luçi

Bring bridge related support functions up to date with the other bridge code.

NOTE: that the function link_int_to_bridge_interface needs a friendly interface as a parameter now i.e. "wan/lan/optX".

ad048a13 08/05/2008 03:49 PM Ermal Luçi

No need for the 'filtering bridge' option with if_bridge(4).

659fa7f2 08/03/2008 05:54 PM Matthew Grooms

Cleanup authentication code. The basic auth method, the passwd, htpasswd
and pam backing functions have been removed. The basic auth method was
legacy code and the backing functions were redundant with no added value
that I could see. A simplified replacement backing function named...