How do you bind default services(syslogd, ntp, ...) to localhost?

Hi,
I´m new to Mac OS X, and I can´t find the answer on google,
I want all running services on my system listening to incoming connections only from localhost if possible.
The services in questions were enabled by default, I didn´t touch anything.
# netstat -an -f inet
udp4 0 0 *.5353 .
udp4 0 0 *.631 .
udp4 0 0 *.123 .
udp4 0 0 *.49175 .
The following process are listening at those ports:
5353 -> mdns (Bonjour)
631 -> ipp (printing)
123 -> ntp (network time protocol)
49175 -> syslogd (log daemon)
Notes: you can find out with the lsof command: "lsof -i :$port"
So, my question is why do I need those services running and why are they not listening on localhost only?
Thanks,
. Federico

Hi,
I´m new to Mac OS X, and I can´t find the answer on google,
I want all running services on my system listening to incoming connections only from localhost if possible.
The services in questions were enabled by default, I didn´t touch anything.
# netstat -an -f inet
udp4 0 0 *.5353 .
udp4 0 0 *.631 .
udp4 0 0 *.123 .
udp4 0 0 *.49175 .
The following process are listening at those ports:
5353 -> mdns (Bonjour)
631 -> ipp (printing)
123 -> ntp (network time protocol)
49175 -> syslogd (log daemon)
Notes: you can find out with the lsof command: "lsof -i :$port"
So, my question is why do I need those services running and why are they not listening on localhost only?
Thanks,
. Federico

Similar Messages

  • How do you bind Vista / XP clients to Open Directory?

    I have an OSX Server OD Master set up in 10.5.6.
    My OSX Clients can bind to it just fine using Directory Utility.
    How do you bind Vista / XP clients to Open Directory masters?
    Thanks

    @ jakelh:
    Make sure Kerberos is working on your server. Without it, PC logins will probably fail at least for Vista clients. Otherwise you'd have to downgrade a client-side setting on the Vista clients,
    http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=33927074 6
    DNS is critical here, but Vista can have a problem with things that are correctly configured.
    IE: Vista defaults to a TCP/IP setting that can make it incompatible with existing network hardware
    http://www.tech-recipes.com/rx/1744/vistatcp_cannot_communicate_primary_dnsserve

  • How do you set defaults in pages such as font and moving between cells in a table?

    How do you set defaults in Pages such as font and moving between cells in a table?

    Default layout and styles can be set by setting up a sheet with your settings and saving as a user template (File > Save As Template).  I don't know of a way to set defaults for moving between cells in a table.

  • How do you use Default Resource Access Information?

    I have some 10g Forms & Reports that I want to use with SSO and they will all be connecting to the database with the same connection info. I know how to configure a Default Resource Access Information, but how do you use this with Forms & Reports?

    Douglas,
    the default Resource Access Infomation should be the connection information right? This is used in conjunction with SSO. You need to configure your F&R applications to delegate authentication to SSO by placing ssoMode=true in the config section of formsweb.cfg.
    The Forms Servlet will connect to OID retrieve the Resource Access Information (descriptor) for a given user and automatically log them into the application.
    Users will need a global identity in OID and SSO must be enabled to use resource access info with F&R
    regards,
    tt

  • How to assign the default service package to the user in the command line ?

    when i create use use the following command ,which service package is assigned to the user ,or in where can i set the default service package ,thanks for you!
    /opt/SUNWcomm/bin/commadmin user create -D admin -F John -l jdoe -L Doe -n jnpc.com.cn -p 80 -w admin123 -W demo -X v120e.jnpc.com.cn -S mail,cal -E [email protected] -H v120e.jnpc.com.cn -k legacy

    When I create a user via command-line, I get no service package. I don't see any way to assign such on creation via command-line.
    Some of what might be in a service package can be set as default falues, through configutil.
    quota is this kind of thing.

  • How can you change default persmissions saving files

    Mac OS 10.5.8, intel based Mac Pro
    When I save a file it has the permissions RW RW R.  There is another 10.5.8 non-intel Mac Pro then when they save a file to the destop, it is RW R R.  How do you change the default saving permissions?  I want it always to be RW RW W.

    I found it!
    http://support.apple.com/kb/HT2202
    you need to create /etc/launchd-user.conf at noted in the URl above with umask 022 in it.
    BDAqua - Thanks for the reply.  After I created the file and logged out/ back in, I had to change the permissions on the folder also.

  • How do you change default java logo in JOptionPane?

    I want to know how do you change the icon(the java logo in the title bar) for the JOptionPane box. I am using a swing interface. I can change the icon of the main frame but not of the JOptionPane.
    for the main frame i have used:
         Toolkit kit = Toolkit.getDefaultToolkit();
         Image img = kit.getImage("mypicture.gif");
         setIconImage(img);
    Toolkit is part of java.awt package.
    thanks

    here was a discussions about that
    http://forum.java.sun.com/thread.jsp?thread=120724&forum=57&message=316526

  • How do you bind a EJB home to a COSNaming service ?

    Hi All,
    I am trying to have a corba client(written in java) communicate to an EJB,
    but I am facing a few problems. As per the procedure specified by the BEA documentation
    I have created the idl files. Then using the idl (idl -jpoa=. -jbase=. Hello.idl)
    command I have created the respective java classes. But I am not sure wether
    the Weblogic server by default binds the EJB to a COSNaming service or not(In
    Borland App server it binds to a COSNaming service). Incase it does not then what
    do I need to do, to have the EJB bound to a COSNaming service. Generally how do
    I find out wether a Home Interface is bound to a Naming service? I am using Weblogic6.1
    app server and IONA Orbix 2000.
    Regards,
    Ameet.

    Hello Andy,
    Thank you very much for your reply. Forgive me sending out several
    messages, just to try to reach you. You can tell how frustrated I am
    with the issue. The O2K version I tried is 2.0 came with E2A application
    server.
    Have you tried Orbix 3? and any luck of it? What do you think is
    the effective way to push IONA to fix the bug?
    Thanks,
    Qing
    Andy Piper <[email protected]> wrote:
    "Qing Lu" <[email protected]> writes:
    Yeah, this is a bug in the Orbix 2000 idl compiler, I ran into this
    when I tried it and couldn't find any workaround. I reported the
    problem to Iona but I don't know whether they did anything about
    it. Incidentally what version of O2K is this? I tried with 1.2 and was
    going to try 2.0 - but if this is with 2.0 I won't bother.
    andy
    As far as I know, BEA implemented COSNaming wrapper around their JNDI.So EJB
    got bound just like in the normal case and your client uses COSNamingto get
    reference.
    Do you have any experience with CORBA C++ client (Orbix 2000) callingEJB? I have
    problem with it. I can generate stub files with Orbix idl compiler.
    But when I link stubs with the client.cpp, I got the following:
    [exec] clientC.cpp
    [exec] client.hh(1008) : error C2327: 'IT_Gen_DynamicProxy_EJBHome::EJBHome
    ::EJBMetaData' : member from enclosing class is not a type name, static,or enum
    erator
    [exec] clientC.cpp(1785) : error C2065: 'itlocal_result' : undeclaredident
    ifier
    [exec] clientC.cpp(1785) : error C2296: '*' : illegal, left operandhas typ
    e 'class javax::ejb::EJBMetaData *(__thiscall javax::ejb::IT_Gen_DynamicProxy_EJ
    BHome::*)(void)'
    [exec] clientC.cpp(1789) : error C2440: '=' : cannot convert from'class
    ja
    vax::ejb::EJBMetaData *' to 'int'
    [exec] This conversion requires a reinterpret_cast, aC-style cast
    or function-style cast
    [exec] client.cpp
    [exec] client.hh(1008) : error C2327: 'IT_Gen_DynamicProxy_EJBHome::EJBHome
    ::EJBMetaData' : member from enclosing class is not a type name, static,or enum
    erator
    [exec] Generating Code...
    BUILD FAILED
    Any help will be appreciated.
    "Ameet Kanguri" <[email protected]> wrote:
    Hi All,
    I am trying to have a corba client(written in java) communicate
    to
    an EJB,
    but I am facing a few problems. As per the procedure specified bythe
    BEA documentation
    I have created the idl files. Then using the idl (idl -jpoa=. -jbase=.
    Hello.idl)
    command I have created the respective java classes. But I am notsure
    wether
    the Weblogic server by default binds the EJB to a COSNaming serviceor
    not(In
    Borland App server it binds to a COSNaming service). Incase it doesnot
    then what
    do I need to do, to have the EJB bound to a COSNaming service. Generally
    how do
    I find out wether a Home Interface is bound to a Naming service? Iam
    using Weblogic6.1
    app server and IONA Orbix 2000.
    Regards,
    Ameet.--

  • How do you factory default the MSE 3350 Mobility Solution Engine

    Hi Guys
    I was wondering if anyone knows how to factory default the MSE or know of a way to enable the setup wizard again.
    Is there a way to check the status or change the WCS communication password manually.
    Thanks in advanced

    You can use following steps to restore factory default fo MSE:
    Step 1 In Cisco WCS, click Mobility > Mobility Service Engines.
    Step 2 Click the name of the mobility services engine you want to configure.
    Step 3 Click System (left panel).
    Step 4 Click Advanced Parameters.
    Step 5 In the Advanced Commands section (right), click Clear Configuration.
    Step 6Click OK to clear the mobility services engine configurations.

  • How do you create default Read/Write Permissions for more than 1 user?

    My wife and I share an iMac, but use separate User accounts for separate mail accounts, etc.
    However, we have a business where we both need to have access to the same files and both have Read/Write permissions on when one of us creates a new file/folder.
    By default new files and folders grant Read/Write to the creator of the new file/folder, and read-only to the Group "Staff" in our own accounts or "Wheel" in the /Users/Public/ folder, and read-only to Everyone.
    We are both administrators on the machine, and I know we can manually override the settings for a particular file/folder by changing the permissions, but I would like to set things up so that the Read/Write persmissions are assigned for both of us in the folder for that holds our business files.
    It is only the 2 of us on the machine, we trust each other and need to have complete access to these many files that we share. I have archiveing programs running so I can get back old versions if we need that, so I'm not worried about us overwriting the file with bad info. I'm more concerned with us having duplicates that are not up to date in our respective user accounts.
    Here is what I have tried so far:
    1. I tried to just set the persmissions of the containing folder with us both having read/write persmissions, and applied that to all containing elements.
    RESULT -> This did nothing for newly created files or folders, they still had the default permissions of Read/Write for the creating User, Read for the default Group, Read for Everyone
    2. I tried using Sandbox ( http://www.mikey-san.net/sandbox/ ) to set the inheritance of the folder using the methods laid out at http://forums.macosxhints.com/showthread.php?t=93742
    RESULT -> Still this did nothing for newly created files or folders, they still had the default permissions of Read/Write for the creating User, Read for the default Group, Read for Everyone
    3. I have set the umask to 002 ( http://support.apple.com/kb/HT2202 ) so that new files and folders have a default permission that gives the default group Read/Write permissions. This unfortunately changes the default for the entire computer, not just a give folder.
    I then had to add wife's user account to the "Staff" group because for some reason her account was not included in that. I think this is due to the fact that her account was ported into the computer when we upgraded, where as mine was created new. I read something about that somewhere, but don't recall where now. I discovered what groups we were each in by using the Terminal and typing in "groups username" where username was the user I was checking on.
    I added my wife to the "Staff" group, and both of us to the "Wheel" group using the procedures I found at
    http://discussions.apple.com/thread.jspa?messageID=8765421&#8765421
    RESULT -> I could create a new file using TextEdit and save it anywhere in my account and it would have the permissions: My Username - Read/Write, "Staff" or "Wheel" (depending on where I saved it) - Read/Write, Everyone - Read Only, as expected from the default umask.
    I could then switch over to my wife's account, open the file, edited it, and save it, but then the permissions changed to: Her Username - Read/Write, (unknown) - Read/Write, Everyone - Read Only.
    And when I switch back to my account, now I can open the file, but I can't save it with my edits.
    I'm at my wits end with this, and I can believe it is impossible to create a common folder that we can both put files in to have Read/Write permissions on like a True Shared Folder. Anyone who has used windows knows what you can do with the Shared folder in that operating system, ie. Anyone with access can do anything with those files.
    So if anyone can provide me some insight on how to accomplish what I really want to do here and help me get my system back to remove the things it seems like I have screwed up, I greatly appreciate it.
    I tried to give as detailed a description of the problem and what I have done as possible, without being to long winded, but if you need to know anything else to help me, please ask, I certainly won't be offended!
    Thanks In Advance!
    Steve

    Thanks again, V.K., for your assistance and especially for the very prompt responses.
    I was unaware that I could create a volume on the HD non-destructively using disk utility. This may then turn out to be the better solution after all, but I will have to free up space on this HD and try that.
    Also, I was obviously unaware of the special treatment of file creation by TextEdit. I have been using this to test my various settings, and so the inheritance of ACLs has probably been working properly, I just have been testing it incorrectly. URGH!
    I created a file from Word in my wife's account, and it properly inherited the permissions of the company folder: barara - Custom, steve - Custom, barara - Read/Write, admin - Read Only, Everyone - Read Only
    I tried doing the chmod commands on $TMPDIR for both of us from each of our accounts, but I still have the same behavior for TextEdit files though.
    I changed the group on your shared folder to admin from wheel as you instructed with chgrp. I had already changed the umask to 002, and I just changed it back to 022 because it didn't seem to help. But now I know my testing was faulty. I will leave it this way though because I don't think it will be necessary to have it set to 002.
    I do apparently still have a problem though, probably as a result of all the things I have tried to get this work while I was testing incorrectly with TextEdit.
    I have just discovered that the "unknown user" only appears when I create the a file from my wife's account. It happens with any file or folder I create in her account, and it exists for very old files and folders that were migrated from the old computer. i.e. new and old files and foders have permissions: barara - Read/Write, unknown user - Read Only, Everyone - Read Only
    Apparently the unknown user gets the default permissions of a group, as the umask is currently set to 022 and unknown user now gets Read Only permissions on new items, but when I had umask set to 002, the unknown user got Read/Write permissions on new items.
    I realize this is now taking this thread in a different direction, but perhaps you know what might be the cause of this and how to correct or at least know where to point me to get the answer.
    Also, do you happen to know how to remove users from groups? I added myself and my wife to the Wheel group because that kept showing up as the default group for folders in /Users/Shared
    Thanks for your help on this, I just don't know how else one can learn these little "gotchas" without assistance from people like you!
    Steve

  • Inactive Gift Card - How do you get constructive service from Apple?

    I bought a Gift Card on 22 October from the local supermarket.  It apparently wasn't activated by them.  Somehow Apple have made that my problem.  My first request was answered by a computer.  I am now dealing with humans who do not seem to have any authority to resolve the issue.  This is a ridiculous waste of peoples time over something that is relatively simple. 
    How does anyone ever get Apple to resolve an issue?  Is anyone within Apple actually authorised to make a decision?  Honestly, I am exasperated.  How does anyone get Apple to resolve these issues?
    For the last 3 weeks I have been patient - a model citizen.  Here is my latest email.  Apple keep removing its content.  They have also removed previous threads.  I have edited it slighltly for privacy reasons if that is their problem:
    This verging on the ridiculous.  I was quite excited to get my first iPhone.  Now I am not.  This has taken weeks to resolve.  It has included my returning to the store to be told that they can not help me and to contact Apple.  I contacted Apple, number [########] and received nothing but an automated response that had absolutely nothing to do with the inactive card.  Apple did nothing else and then sent me a satisfaction survey.  I could not believe that.
    [#######]  is my second attempt.  I have now spent hours trying to get this resolved.  We are talking about NZ$30 here! It is not the crown jewels.  It is not the value of an iPod, iPhone, or iPad.
    I have proved that I purchased the card, again and again.  Obviously, for whatever reason, it was not activated at the store.
    We have consumer laws in New Zealand.  I know them well.  I should never have let the store send me back to Apple as under our consumer laws it is the stores problem to solve.  It should not have been my problem and I should not have been put to this trouble.  I am not a criminal.  I purchased an iTunes card that didn't work.  That should be Apple's problem and the Countdown Store's problem.
    So that this is in language that hopefully Apple can understand - iMad.  Yes, very angry.  Angrier than an 'Angry Bird'.
    What I will do is:
    Tell everyone I know not to buy an iTunes card.  There is no service associated with it.
    Tell everyone I know that Apple spends weeks messing you around and does not actually provide any service.
    Tell everyone I know that Apple has a great product let down by poor service processes.
    What I do want to make very clear is that I do not hold you or [name] responsible.  At least I am dealing with humans after the nonsense automated response I first received.  However, someone in Apple somewhere must be able to make a decision.  Whoever it is and wherever they are please pass on the following message - STOP MESSING ME AROUND!  I deserve an iPad2 for the time you have taken out of my life.  I can never get those hours back.

    We have consumer laws in New Zealand.  I know them well.  I should never have let the store send me back to Apple as under our consumer laws it is the stores problem to solve.
    You have let the original store off the hook? I think this is where I would spend all my focus. They need to activate it, not Apple.

  • How do you change default program?

    I have photoshop on an external drive which is fine... But it is listed as the default program to open jpeg files, and I am often not connected to the external, when I'm on the go.
    How do I change the default program back to Preview?

    Yes it does list Preview as default, when the ext is not connected, but once the external is connected Photoshop takes over. I unfortunately can't do anything more about this at the moment as the External decided to stop working.
    I've already posted this error on the Western Digital website, but maybe I can get feedback her as well... My 500Gb WD My Book, worked fine for months now, yesterday I started it up and it would not access it, when i went into drive utility it is not listed as a 2 Tb WD Esternal. **** it grew!?! Same thing when connected to a PC, connection established, but you cant see the drive in Explorer. Weird...?

  • How do you change default settings for Pdf document viewing?

    Somehow the default setting for all my PDF documents and photos is now ColorSync. How do I change the main default setting, which I think should be Safari?

    The default is Preview, and you change it thus:
    Select a pdf file, rightclick and select 'Get Info', in the pane that opens scroll down to the section marked 'Open With', select Preview and check the box to 'Change All'

  • How do you change default note size font

    I accidentally posted this for iWork previous to 08, sorry. I want to change the default font size for all notes in a file. I realize you can change them one slide at a time by using Cmd-+or-, but I don't want to have to do every one separately since I'm just trying to record a narration. Likewise I still have no answer to how one sees presenter notes on the slide while recording a narration! Help!

    Thanks, Sam. Yes, I could easily change the individual slides, too, but there seems to be a rather large hole in the program, if you're promoting this for kiosk use or even just being able to send to possible interested parties without being present and therefore you want to narrate it. AARGH! Is there NO one at Apple who even occasionally looks at it's own forums! And it's not in the Knowledge database either.

  • How do you set default save file type

    My Photoshop when I choose save as is choosing TIF as the default file type after opening a raw file. I want to choose PSD as the default. I cannot figure out how to change the setting to raw.

    Hi, Unfortunately, Photoshop will chose a format that fits the minimal requirements of a file according to the absence/presence of layers.
    You could go to the feedback website, http://feedback.photoshop.com and ask for a preference to set the default file type.

Maybe you are looking for

  • Using Java2 Platform Standard Edition

    This is my first time using this forum and I am not sure if I am in the proper place. The edition of java I have is listed as above in Java Cntl Pnl but says J2SE Runtime Environment 5.0 Update 6 in my A/R Programs list. My problem is that I keep get

  • Save a document as a jpeg

    I prepared a newsletter, on a Mac operating in Clasic mode using Pagemaker 7, a few months ago and somehow saved each page as a jpeg so that I could transport it on a flash drive to various PCs for printing. It printed the same as the original and I

  • Acquiring High resolution data from usb mouse movement

    Is there a way of acquiring high resolution data from the movement of a usb mouse?  I have a NI PCI 6221 daq card to use. I have a Pentium 4 PC with 1 Gb of RAM. I need to get the position, velocity and acceleration of the mouse. Is there a way to do

  • Excise modvat accounts not defined for CAPE transaction

    Dear All, Hi, I'm getting error "Excise modvat accounts not defined for CAPE transaction and 30 excise group" during receiving material. I have checked up in "excise account assignment table in IMG" , which I found to be ok . Does anyone came accross

  • Trouble importing photos to Mac

    When I connected my iPhone to my Mac, I got an error message saying that I could not import some of my photos. It said, "The file is in an unrecognized format."  I looked at the file name... it is IMG_0364.JPG.  I thought that was what all of my othe