CPUG: The Check Point User Group

Resources for the Check Point Community, by the Check Point Community.


Tim Hall has done it again! He has just released the 2nd edition of "Max Power".
Rather than get into details here, I urge you to check out this announcement post.
It's a massive upgrade, and well worth checking out. -E

 

Results 1 to 7 of 7

Thread: Wget in Gaia R77.30

  1. #1
    Join Date
    2016-10-19
    Posts
    43
    Rep Power
    0

    Default Wget in Gaia R77.30

    Hello All,

    Can someone tell me where the wget is in Gaia R77.30 or did Checkpoint replace it with something else?

    #find / -name wget did not come back with any results.

    Thanks in Advance!

  2. #2
    Join Date
    2006-09-26
    Posts
    3,190
    Rep Power
    16

    Default Re: Wget in Gaia R77.30

    Quote Originally Posted by venkata View Post
    Hello All,

    Can someone tell me where the wget is in Gaia R77.30 or did Checkpoint replace it with something else?

    #find / -name wget did not come back with any results.

    Thanks in Advance!
    This is the idiotic about Checkpoint. they took away wget utilities. In R65/R71 and even R75, there is an add-on package that you can install to get wget but no more with R77.30 and above. Why can't add lynx since this is a built-in with IPSO. Isn't Gaia combining the best between SPLAT and IPSO? Guess not.

    [Expert@lab-fw]# fw ver
    This is Check Point VPN-1(TM) & FireWall-1(R) NGX (R65) HFA_70, Hotfix 670 - Build 033
    [Expert@lab-fw]# which wget
    /usr/bin/wget
    [Expert@lab-fw]#
    Last edited by cciesec2006; 2019-02-13 at 08:58.

  3. #3
    Join Date
    2011-08-02
    Location
    http://spikefishsolutions.com
    Posts
    1,648
    Rep Power
    9

    Default Re: Wget in Gaia R77.30

    Quote Originally Posted by venkata View Post
    Hello All,

    Can someone tell me where the wget is in Gaia R77.30 or did Checkpoint replace it with something else?

    #find / -name wget did not come back with any results.

    Thanks in Advance!
    yes, they replaced wget with curl. I can't say for sure, but my guess is they did this just to spite PIX admins.

  4. #4
    Join Date
    2007-03-30
    Location
    DFW, TX
    Posts
    299
    Rep Power
    13

    Default Re: Wget in Gaia R77.30

    Huh. I've never thought about installing wget on a Check Point box. I've always just used SCP or curl. They could have stripped that out and left us with 'fetch'.

    What are you trying to accomplish with wget? There may be another way to do it.
    Zimmie

  5. #5
    Join Date
    2007-02-07
    Posts
    161
    Rep Power
    13

    Default Re: Wget in Gaia R77.30

    I'm using the curl_cli command to fetch the ccc script onto Check Point machines.

    Example:
    curl_cli http://dannyjung.de/ccc | zcat > /usr/bin/ccc && chmod +x /usr/bin/ccc

  6. #6
    Join Date
    2007-03-30
    Location
    DFW, TX
    Posts
    299
    Rep Power
    13

    Default Re: Wget in Gaia R77.30

    WARNING! THIS DOWNLOADS A REMOTE FILE OVER HTTP AND MAKES IT EXECUTABLE. THIS IS DANGEROUS!

    Code:
    curl -O http://dannyjung.de/ccc && chmod u+x ccc && mv ccc /usr/bin/
    The -O switch to curl causes it to save the data to a file in the PWD with the same name as the remote file.

    Be really careful doing this. HTTP has no authentication, obviously, so somebody who could impersonate dannyjung.de could hand you completely different data. TLS certificates are free, so the provider of the script should really get one and stop offering HTTP at all.

    Edited to add: Oh. Derp. Just saw the person I sort-of replied to is the provider of the script. Check out ACME and Let's Encrypt. Seriously, TLS certificates provided via an automated system for free, and they're trusted by all the current browsers. I would never download code straight from some site out on the Internet to my firewall via HTTP.

    Back to the OP, depending on what you're trying to do with wget, it should be pretty straightforward to do with curl instead.
    Last edited by Bob_Zimmerman; 2019-02-15 at 10:33.
    Zimmie

  7. #7
    Join Date
    2011-08-02
    Location
    http://spikefishsolutions.com
    Posts
    1,648
    Rep Power
    9

    Default Re: Wget in Gaia R77.30

    or just put it in github and have the link be to the raw version. cert issue resolved.

    Really cool script BTW. major props.
    Last edited by jflemingeds; 2019-02-15 at 14:47.

Similar Threads

  1. How to export all the Objects in 75.40(GAIA) to R77.20(GAIA)??.
    By muralidkosaraju in forum R75.40 (GAiA)
    Replies: 3
    Last Post: 2014-10-10, 14:55
  2. Replies: 2
    Last Post: 2014-05-27, 13:30
  3. monitord fun! R75.45 gaia
    By jflemingeds in forum R75.40 (GAiA)
    Replies: 0
    Last Post: 2014-04-25, 13:14
  4. GAIA to GAIA+
    By globix in forum R75.40 (GAiA)
    Replies: 1
    Last Post: 2012-07-27, 12:59
  5. Gaia+ is available
    By PhoneBoy in forum Check Point Release Notifications
    Replies: 0
    Last Post: 2012-06-06, 20:17

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •