Default firewall configuration values

Hi,
I've trying to modify my ipfw rules and i got the idea of use a script. After use it i cannot conect to internet and i reverted those new rules but there is one rule that start with my mac and i need to " sufo ipfw flush" to flush it and connect again
it is "add 65534 deny log logamount 1000 ip from any to any in"
I searched the firewall.conf file  on /etc/ folder and re-write
"65535 0 0 allow ip from any to any" instead the other one
The problem is that im not sure is this is the preconfigured value, if anyone know what are those values and can write here I'll be grateful with you (:

I agree that getting default method parameter values implemented will be a good thing.
If you really have a large number of methods (>5) that usally just add a parameter with a default value, you could introduce a "Parameter Object" that contains the defaults for the parameters. The drawback is of course an extra indirection to get to the parameter.
class MyParameterClass() {
  String name = "";
  boolean sort = false;
  List values = Collections.EMPTY_LIST;
  Date date = new Date();
myMethod(String arga, String argb) {
   return myMethod(arga, argb, new MyParameterClass());
myMethod(String arga, String argb, MyParameterClass params) {
}arga and argb are there to illustrate you might have parameters you don't have defaults for. (Yes, you could include them in the constructor of MyParameterClass instead.)

Similar Messages

  • Server Firewall Configuration

    Hi.
    I am trying to realise a custom ruleset for the Server System firewall.
    I would like to know if there is a list of Protocols that are actively supported by the gui.
    I have tried to introduce rules to the advanced interface in accordance with ipfw, ( or my interpretation of the gui understanding of ipfw but find that some of my rules are unacceptable.
    A point of example is to set the protocol to other and introduce a rule relating to tun0, it seems the gui cannot configure this.
    If possible i would like to come to an understanding with the gui.
    At this point, it appears i have three options.
    1. Bend my rulesets to accomodate gui ability.
    2. Bypass the gui with sunsheild
    3. Bypass the gui with a custom ruleset script.
    written in ipfw 8.
    Any comments on my understanding and what is considered to be the optimal way to go would be gratefully received.
    Many thanks.
      Mac OS X (10.4.3)   Ipod; X Serve G5 Dual; G4 stuff;

    In answer to myself....
    Having spent a couple of days on this issue i have come to the following conclusions..
    ~ The firewall gui is better than i thought and allows me to do 90% of what i want to, but does take some getting used to. - especially as i am new to ipfw2
    in order to understand what IPfw commands are supported you need to access man ipfw from the terminal.
    This explains the syntax and helps understand the way the default firewall rules are configured.
    ~ I decided not to go down the Sunsheild / Other Bolt on interface, in reality they do not allow me to acheive any more, it just makes things a little easier to comprehend.
    ~ Writing shell scripts is not the solution (in my opinion).
    Software updates could really screw things up, and that cannot happen.
    i admit that i am surprised that the Mac does not fully support ipfw2 at terminal level. - but has its own syntax, to confuse the issue.
    Although many Mac users seem to consider a firewall un-necessary, i can not subscribe to this.
    My Conclusion.
    The Mac Firewall is very good, but could be yet improved.
    I still love my Xserve and it looks great.

  • Puzzled by Default Page Template value

    I am looking at the 11.1.1.4 Spaces VM trying to understand how the product works.
    On the Configuration tab of the Administration page, in the Resources section, the Default Page Template value is "gsr15fd08a7_5f0f_4f6e_9150_2a7eb8b5fb7a". When I look at the GUID values for each of the Page Templates available as Resources, none match.
    questions:
    where can I find the "gsr15fd08a7_5f0f_4f6e_9150_2a7eb8b5fb7a" Page Template?
    is there a general way to find a resource given a GUID?
    Thanks

    See Re: How to setup "Alternating row" type of report as default for newpages

  • Default users configured with Webcenter Sites 11gR1 Jump Start Kit

    Hi All,
    I have installed Webcenter Sites 11gR1 Jump Start Kit. I want to use James Email Server that is shipped with the JSK and I am not sure of what default users have been configured with the JSK.
    Does anyone know what are the default users configured for James Server?
    Thanks in Advance,
    Hari

    Hi Hari,
    The default admin user fwadmin should be the default for mail server also. Configuring users explicitly for mail server is not possible. To use mail server the below said properties must have values.
    cs.emailaccount-- The account used to send mail
    cs.emailhost--mail server host exe:localhost:25
    cs.emailpassword--password for above said mail account
    cs.emailcharset and cs.emailcontenttype properties are optional. These properties are found in futuretense.ini
    Thanks,
    Harish

  • How to change default Current Flag values for SCD2?

    I'd be curious to find out how to change default Current Flag values for SCD2 (instead of 0/1 to use N/Y)
    Probably I can change IKM module .... is there another way?
    Thanks

    Hi,
    You need change the IKM. This values are hardcode in the IKM.
    You can create a new IKM and the values used are a options of the IKM.
    Regards
    Edited by: Uthred on May 18, 2009 4:27 PM

  • Permanently change default error configuration in Analysis Services 2005

    Hi,
    Currently, I am working on a BPC 5.1 application.  The data for this application is loaded(inserted via SQL statement) right to the FACT table and then a full process is run for that cube via an SSIS package using the Analysis Services Processing Task.  Often records are loaded this way where a dimension member for some of the records has not been added to the Account dimension yet.  These records after loading are considered 'orphan records' until the accounts are added to the account dimension.
    This loading process is used because of the volume of records loaded(over 2 million at a time) and the timing of the company's business process.  They will receive data sometimes weeks before the account dimension is updated in BPC with the new dimension members.
    If I try and process the application from the BPC Administration area with these orphan records in the FACT table, the processing stops and an error displays.  Then when I process the cube from Analysis services, an error is displayed telling me that orphan data was found.
    A temporary work-around is to go into the cube properties in Analysis Services 2005, click on Error Configuration, uncheck 'Use default error configuration' and select 'Ignore errors'. Then you can process the application from BPC's Administration page successfully.  But, the problem is that after processing the application successfully, the Analysis Services Error Configuration automatically switches back from 'Ignore errors' to 'Use default error configuration'.
    Does anyone have any suggestions on how to permanently keep the 'Ignore errors' configuration selected so it does not automatically switch back to 'Use default error configuration'?  Prior to BPC 5.0 this was not occurring.
    Also, does anyone know why this was changed in BPC 5.0/5.1?
    Thanks,
    Glenn

    Hi Glenn,
    I understood the problem but I can say that it was a bad migration of appset from 4.2 to 5.0.
    Any way they are using a dts package to import data into our fact table. That's means they have to add another step into that package where they have to do the verfications of records before to insert into fact table. Verfications can be done using the same mechanism from our standard import. Just edit that package and add similar steps into customer package.
    Attention you need somebody with experience developing DTS packages with for BPC to avoid other problems.
    One of big benefits from 5.X compare with 4.2 was the fact that we are able to use optimization schema and aggregations for cubes.
    Heaving that orphan records it is not possible to use optimization schema for cubes and you are not able to create good aggregation into your cube.
    So my idea is to provide all these information to customer and to try to modify that package instead to enable that option which can cause many other issues.
    Sorin

  • How to clear a default condition / parameter value in a Discoverer Viewer ?

    Hi there,
    Appreciate if anyone can help with what I am trying to do below in Discoverer10g:-
    1. In Desktop we created a workbook with a parameter and we set the default value of the parameter as '%%'. This is so that all values are selected for that parameter unless the user over-writes it by picking values from the LOV.
    2. When we run the workbook in Desktop, and pick a value out of a LOV, the system automatically remove the '%%' and substituted with the values picked from the LOV. This is working well.
    3. However, when we published the workbook to our Disco Viewer users, on the parameter screen, when a user picks values out of the LOV, the system DOES NOT remove the '%%' automatically, and appends the picked values to the list. Of course this makes the report select all values for that parameter.
    4. To resolve the problem, the Viewer user has to manually remove the default '%%' before picking values out of the LOV. Often they forget to do that and trust the value reported on the worksheet.
    5. We believe some sort of a "REPLACE '%' with BLANK" function on clicking the "Move" button will remove the '%%' values when we pick values from LOV in the parameter screen. But we do not know how to do this.
    If anyone has successfully done the above and share his experience, that will be much appreciated.
    Thank you.

    Hi there,
    Thanks for your feedback.
    Our workbooks mostly have muitii-item parameters where the users can pick more than one value.
    I have created a test workbook in Desktop with a mutil-value parameter. After picking up multiple values from the LOV, the '%%' default automatically get sover-written.
    I shared this same workbook to a Viewer user.
    In Viewer, after picking multiple values from the left window and clicking the [Move] button, the '%%' value stays. Wonder if anything can be done to remove the '%%' in Viewer after the user has picked a value and the [Move] button is clicked.
    Further help / comments appreciated.
    Thanks again for your help.
    Regards

  • Speed/Duplex are not advertising correctly with configured values

    Hi,
    I have a gateway which runs on Windows Embedded Standard 7 which has Intel NIC Card.
    I have connected this gateway and a switch in a network where switch has configured speed/duplex as 1000Mbps/Full.
    When I set the Speed/Duplex on my gateway's NIC to Auto-Negotiate or 1000Mbps/Full, it negotiating/advertising the speed and duplex properly.
    But when Speed/Duplex sets to 100Mbps/Full on gateway's NIC, in the Switch it shows that my gateway is advertising the Speed/Duplex as 100Mbps/Half Duplex.
    I have checked the registry entries which sets when we configure the Speed/Duplex at adapter properties, registry entries are fine. I am not able to understand how exactly it negotiates Speed/Duplex and why it is advertising with 100Mbps/Half Duplex when
    it is configured for 100Mbps/Full.
    Thanks,
    Challask

    Hi Andy,
    Thanks for the reply.
    I have checked that the configured value on the adapter is 100Mbps/FullDuplex. I am checking these configured values through the registry entry
    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\00NN\*SpeedDuplex. It shows the configured value.
    The doubt have here is that i have checked the enum values for this *SpeedDuplex entry, it shows in the following way:
    0 - Autonegotiation
    1- 10Mbps HalfDuplex
    2 - 10Mbps FullDuplex
    3 - 100Mbps HalfDuplex
    4 - 100Mbps FullDuplex
    6 - 1000Mbps
    Why don't have here the value 5?
    I have checked this registry in other Windows Operating systems, it shows correctly. Only in this Windows Embedded Standard 7 OS it shows this way. Will it create any issue? While performing the Speed/Duplex advertisement/Negotiation will it use these enum
    values? If so how can I resolve this issue?
    Thanks,
    Challask

  • How to set default bind variable value to task parameter value

    Hi,
    I 'm implementing a BPEL process with a human task, and I autogenerate the task form. I have a custom sql table that stores opinions, different processes should show different opinios, so my ADF table can only show records related to that process. A custom process number is sent to the task form as a task parameter. How do I use that value as the bind variable default and only value?
    Thanks,
    I.D.

    Hi Shay and thanks for your reply,
    What I want is what you have but without the login page. I tried to start my flow with an action and for some reason it didn't work.
    Is there anything else you can tell me?
    Thanks,
    I.D.
    P.S. I was able to get it to work using the aproach Frank Nimphius described in another post.
    Re: How do I prepopulate a bind variable from a session variable?
    Anyway just out of curiosity could you please tell me if I could have done it your way?
    Thanks a lot,
    I.D.
    Edited by: user8696770 on 5/Ago/2009 7:12

  • How to get or set default fiscal year value in billing doc

    Hi All, my question is simple, how to get or set default fiscal year value (VBRK_GJAHR) in billing document.. is it possible.
    Thanks.
    Regards,
    Michael

    Hi Michel
    If you feel that the fiscal year value should come  in the billing document then you have to use a user exit USEREXIT_NUMBER_RANGE .
    As this is a related to ABAP , you should give the inputs and ABAP'ers will give the number range as per our requirement .
    Regards
    Srinath

  • How Do I Create Default System Configurations for On- and Off-Dock?

    I recently purchased a T510 laptop with WIndows 7 Professional 64-bit and a Series 3 minidock. I would like two create two default system configurations (namely specifying active montiors, screen resolutions, networking options, and power management). I'd also like the laptop to detect the presence or absence of the dock and automatically switch accordingly. How can I do this? Thank you.

        Dear DavidLeon65,
    Good afternoon. I am sorry to learn of the difficulties you are experiencing with the bluetooth connection in your car. I know this can be frustrating. It would be my pleasure to address your bluetooth concerns.
    When the bluetooth connection drops out, is the phone near you? Also, do you have Wi-Fi turned on? If so, please turn off Wi-Fi, then test. What software version do you have? For directions on how to check the software verison on your phone, click http://vz.to/SrMyDh
    Thank You,
    MichelleS_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • SSIS package fails when Configuration value has value saved into the package

    when a package is migrated from dev to QA and to PROD sometimes it fails since the variables have values in them saved into the package.
    what we do is clear these values manually and restart the job.
    Is there a way we can clear the variables when saving the package or at least programmatically?
    eddy.a

    Hello Arthur
    Thank you for your response. I should start by apologizing by not making myself clear. We do use indirect configuration that work cross environments however this is the issue that we have:
    when the package is first created say you create a DB Variable called A and you enter value A in the variable to test the package. After the package development is tested, you change the configuration values to fetch data whether from an excel file or from
    an XML.
    when you run on environment A the package runs fine however when you move over to environment B it seems that first it validates against A then overwrites B - if environment A is not there anymore the package sometimes fails.
    we are changing these manually for now but I was wondering if there's a way to prevent it.
    thanks
    eddy.a

  • PO EDI - How do I exclude a specific variant configuration value

    Hello,
    When sending POs via EDI we include our variant configuration values (segment E1CUCFG/E1CUVAL). There is one specific variant configuration we don't want to include as it's irrelevant to the vendor and keeps confusing them. We do need to send all the other variant configuration values. What would be the best way to do this?
    Thank you,
    Michael

    Never mind, I found it.
    MM06E001 / EXIT_SAPLEINM_013 allows me to modify E1CUVAL.

  • Default ZSH configuration is overriding PATH environment variable

    After debugging why PATH is not getting set properly in zsh, I figured out that the default Arch configuration is overriding PATH.
    The load order for zsh config files is:
    (Taken from http://shreevatsa.wordpress.com/2008/03 … shrc-etc/)
    +----------------+-----------+-----------+------+
    | |Interactive|Interactive|Script|
    | |login |non-login | |
    +----------------+-----------+-----------+------+
    |/etc/zshenv | A | A | A |
    +----------------+-----------+-----------+------+
    |~/.zshenv | B | B | B |
    +----------------+-----------+-----------+------+
    |/etc/zprofile | C | | |
    +----------------+-----------+-----------+------+
    |~/.zprofile | D | | |
    +----------------+-----------+-----------+------+
    |/etc/zshrc | E | C | |
    +----------------+-----------+-----------+------+
    |~/.zshrc | F | D | |
    +----------------+-----------+-----------+------+
    |/etc/zlogin | G | | |
    +----------------+-----------+-----------+------+
    |~/.zlogin | H | | |
    +----------------+-----------+-----------+------+
    | | | | |
    +----------------+-----------+-----------+------+
    | | | | |
    +----------------+-----------+-----------+------+
    |~/.zlogout | I | | |
    +----------------+-----------+-----------+------+
    |/etc/zlogout | J | | |
    +----------------+-----------+-----------+------+
    Note that on Arch, it's /etc/zsh instead of /etc.
    By convention, environment variables are set in .zshenv.  However, /etc/zsh/zprofile, which is loaded after .zshenv, completely nukes PATH, so no matter what I set in .zshenv for PATH, it'll get wiped by /etc/zsh/zprofile.
    Does any zsh user have a workaround for this problem?
    EDIT: That's not the question I wanted to ask.  I guess I can always source .zshenv in .zprofile, but that's so ugly... Do any other zsh users feel that this should be fixed in Arch's distribution of zsh?
    Last edited by darkfeline (2014-04-29 19:21:28)

    jasonwryan wrote:This has been opened and closed several times on the bugtracker: it's worth reading the various conversations there to get the context and what people do, including me, to work around or within this setup.
    Somehow I missed that during my initial skim though the bugtracker, but I found it now.
    https://bugs.archlinux.org/task/35966
    https://bugs.gentoo.org/show_bug.cgi?id=19924 (Gentoo had an interesting one too).
    I understand now the problem is that (ba)sh doesn't have as fine-grained control over startup files as zsh.  There also seems to be personal disagreement about where PATH should be set.  Thus, setting path gets shoehorned into profile, and when that gets moved over to zprofile, things get ugly.

  • By default in BPC values are sum in node level, It does not make sense to sum averages on parent nodes.

    HI Guys
    we have an business requirement to store data in average figures ,
    The values  are entered on the base member level but in reports we need to show average values  on the parents level instead of sum
    ( by default in BPC values are sum in node level),it does not make sense to sum averages on parent nodes.
    we managed it with excel formulas ,but we r facing the problem with dimensions which are in context.
    (i tried using dim memeber formulas but AVG key word is not accepting the system in member formulas)
    at last by using formula we managed the report but im worried abt that if there is no formulas ,how we will manage
    pls suggest any solution to show average values on the node level in specific reports

    Hi Krao,
    Please define what do you mean by average - arithmetic average or weighted average (has more business sense to my mind).
    Also, please provide some samples, explaining dimensions used in average calculation.
    In our case we use dimension member formulas to show average prices, discounts etc. in the reports.
    B.R. Vadim

Maybe you are looking for