Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: allowing incoming http requests-iptables-red hat 9.0

  1. #21
    Junior Member
    Join Date
    Mar 2006
    Posts
    57
    reg the cd-rw i got ur concept of the file system.I blanked it with the blank=fast command and then ran ur backup script.It successfully burned the data into the cd.

    but teh problem arised when i added some more data into the backup and tried to burn it on the same cd.It shows that the cdrw is read only and write protected.

    is it that the session is closed after i ran the script .Kindly help

  2. #22
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    This is because the script makes a single-session cd, as default. In the last recording line
    Code:
    $MKISOFS -R -J -quiet $DIR | $CDRECORD dev=$DEVICE \
                                     tsize=$TSIZE $SESSION - >/dev/null 2>&1
    Add teh flag -multi so it will be:
    Code:
    $MKISOFS -R -J -quiet $DIR | $CDRECORD dev=$DEVICE \
                                     tsize=$TSIZE -multi $SESSION -data - >/dev/null 2>&1
    this will make it a multisession cd, so you can burn and burn and burn and ... untill the check for cd-size in the script will render the backup too large for the cd..

    My intentions were to have the script take a flag, like -m for multi-session, and then in the $SESSION, when a previus session was found on the cd, add the -multi flag.. But since I was in a hurry, I didn't bother to cover that option..

    Then later on, when you dont want to burn any more to the cd, you'd simply run cdrecord with the -fix flag, to close the sessions.
    Last edited by redhead; 08-10-2006 at 02:16 PM.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  3. #23
    Junior Member
    Join Date
    Mar 2006
    Posts
    57
    ya ,multi session was need to be included.I will try that option .After posting the query ,i was looking into the cdrecord options and had come across the multi option .

    As u said that when multi session is on and my cd has reached a limit ,i will have to instruct via script to run the FIX command as suggested by u.Else will it display that the cd is full.


    *******
    Another query ,i have not seen it in windows ,is it possible to span the data across multiple cds ,,,, say if i had to write a data of 800 mb,,, 700 mb will be written in the first cd and 100 mb in the second.I hope this might not exsist ,have u come across such fuction

  4. #24
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811
    is it possible to span the data across multiple cds
    You can with split, or you can compress the files using the rar program, this you can tell to create archives which isn't supposed to exceed 700Mb.
    Don't worry Ma'am. We're university students, - We know what We're doing.
    'Ruiat coelum, fiat voluntas tua.'
    Datalogi - en livsstil; Intet liv, ingen stil.

  5. #25
    Junior Member
    Join Date
    Mar 2006
    Posts
    57
    hi

    I tried using the multi option in the script ,but it still dosen't create a multi session ,as when i try to rewrite it ,it loads the cdrw in the read only mode.

    kindly let me know wheere am i going wrong.


    else the script is perfect and backs up the data..

  6. #26
    Junior Member
    Join Date
    Mar 2006
    Posts
    57
    as regds to the multi session option i came acros the following details

    1)When i used the command cdrecord dev=/dev/hdc blank=fast .... it used to blank the cd as a single session.

    2)When i used the command cdrecord -multi dev=/dev/hdc blank=fast .... it blnaked the cd as multi session


    3)When i ran the script it burned the data ,but again it showed it as readonly and write protected.I had added the -multi parammeter in the MKISOFS option in the script.

    4)Any way as i m taking backup ,i won't need the multi option as i would be erasing the data everytime and taking backup in 2 cds as precuation,and alternatively reasing the cd.

    5)But needed to check why multi option is not working... nay clues

    6)will be wrkg on restoring and spanning the data ,,,will let u know

Similar Threads

  1. How to forward local HTTP requests to remote Proxy with IPTables ?
    By asdamha in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 05-12-2011, 11:51 AM
  2. iptables http forwarding problem
    By sirstan in forum Security
    Replies: 1
    Last Post: 04-23-2008, 11:24 AM
  3. Problem recving HTTP requests when Apache listens on port 80
    By hecter in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 10-30-2004, 05:27 AM
  4. IPTABLES: block ALL incoming and outgoing except...
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 07-06-2004, 03:17 AM
  5. SSH Not allowing users to login?
    By Rastar in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 05-08-2003, 06:12 PM

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
  •