Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    xinetd entries

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 3 Posters 795 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      davec25
      last edited by

      Does anyone know why on pfSense 2.4.2 I'd be seeing entries like this in xinetd.conf?

      service 19004-tcp
      {
      type = unlisted
      bind = 127.0.0.1
      port = 19004
      socket_type = stream
      protocol = tcp
      wait = no
      user = nobody
      server = /usr/bin/nc
      server_args = -w 2000 172.16.0.119 80
      }

      It's leaving several hung netcat processes in the process stack.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        @davec25 said in xinetd entries:

        xinetd.conf

        Where are you viewing this exactly.. What packages do you have installed?

        Did you manually install something?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • D
          davec25
          last edited by

          I can get the list of packages if we really need it, but after some research, it looks like this is how pfSense does NAT redirection. Maybe you can confirm that for me.

          I'm seeing 111 hung processes for this particular rule, so I suspect there was a problem with host 127.16.0.119 for a while and these processes never self terminated.

          If you would, please let me know if my analysis is correct.

          Thanks

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            I have nat redirection setup.. And do not see that. Do you mean nat reflection?

            What redirection do you have setup, and where exactly is this xinetd.conf file your seeing - what is the full path to the file?

            And what exact redirection are you doing?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Those are almost certainly from using NAT reflection in NAT+proxy mode. You probably don't need that, Pure NAT mode works for almost all cases.

              Steve

              1 Reply Last reply Reply Quote 0
              • D
                davec25
                last edited by davec25

                Thanks for the clarification!

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  to be honest any sort of nat "reflection" is just an abomination if you ask me.. Why not just have your local stuff resolve the local IP vs any sort of reflection off your public IP.. Simple host override is all it takes.

                  Only reason I can think of doing a reflection would be to work around the horrible coding of some app that uses a IP vs a fqdn as destination.

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.